:root {
    --surface: rgba(255, 255, 255, 0.06);
    --text: #f8f8ff;
    --text-soft: #d6d2e4;
    --line: rgba(255, 255, 255, 0.14);
    --accent-gradient: linear-gradient(135deg, #9b6dff 0%, #ec4899 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        radial-gradient(circle at 15% 20%, rgba(155, 109, 255, 0.22), transparent 45%),
        radial-gradient(circle at 82% 15%, rgba(236, 72, 153, 0.2), transparent 45%),
        linear-gradient(180deg, #05050a 0%, #0a0812 40%, #06050b 100%);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.section {
    padding: 6.8rem 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #111;
    padding: 0.75rem 1rem;
    z-index: 3000;
}

.skip-link:focus {
    left: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    backdrop-filter: blur(14px);
    background: rgba(5, 5, 10, 0.82);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    width: min(1280px, calc(100% - 1.2rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 74px;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 0.08rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
}

.brand-main {
    font-size: 1.07rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-sub {
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a,
.footer-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #fff;
}

.lang-switch {
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    color: var(--text-soft);
}

.lang-switch:hover,
.lang-switch:focus-visible {
    border-color: rgba(155, 109, 255, 0.65);
    color: #fff;
}

.hero {
    padding-top: 0;
}

.hero-cover {
    position: relative;
    min-height: clamp(460px, 76vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 7, 14, 0.22) 0%, rgba(11, 8, 22, 0.72) 58%, rgba(21, 12, 44, 0.94) 80%, rgba(20, 10, 45, 0.99) 100%),
        radial-gradient(circle at 22% 18%, rgba(155, 109, 255, 0.34), transparent 40%);
}

.hero-cover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(140px, 28vh, 280px);
    background: linear-gradient(to bottom, rgba(18, 10, 38, 0), rgba(25, 11, 54, 0.95) 58%, rgba(20, 10, 45, 1) 100%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 5.8rem 0 3rem;
    max-width: 740px;
}

.hero-overlay h1,
.hero-overlay .hero-lead {
    text-shadow: 0 6px 26px rgba(0, 0, 0, 0.42);
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #b89bfd;
    font-size: 0.75rem;
    font-weight: 700;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    margin: 0.7rem 0 1.1rem;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0.6rem 0 1rem;
}

h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.hero-lead,
.section-heading p,
.panel p {
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.7rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    padding: 0.8rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(155, 109, 255, 0.35);
}

.btn-ghost {
    border-color: var(--line);
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.45rem;
}

.filter-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-soft);
    padding: 0.42rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    color: #fff;
    border-color: rgba(155, 109, 255, 0.55);
}

.filter-chip.is-active {
    background: rgba(155, 109, 255, 0.22);
    border-color: rgba(155, 109, 255, 0.75);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.project-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.project-card:hover {
    border-color: rgba(155, 109, 255, 0.55);
}

.project-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-media img {
    transform: scale(1.03);
}

.project-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.project-summary {
    color: var(--text-soft);
    font-size: 0.96rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tag {
    font-size: 0.74rem;
    color: #efebff;
    background: rgba(155, 109, 255, 0.25);
    border-radius: 999px;
    padding: 0.24rem 0.54rem;
    border: 1px solid rgba(155, 109, 255, 0.4);
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    color: var(--text-soft);
    margin-top: 1rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.approach-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.3rem;
}

.profile-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: var(--surface);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 380px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.panel,
.offer-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.panel:hover,
.offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 109, 255, 0.55);
}

.offer-card p {
    color: var(--text-soft);
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1rem;
}

.contact-mail {
    display: inline-flex;
    width: fit-content;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 0.4rem;
}

.contact-social {
    font-size: 0.98rem;
    color: var(--text-soft);
    border-bottom-color: rgba(214, 210, 228, 0.55);
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    display: grid;
    gap: 0.5rem;
}

.contact-form label {
    font-size: 0.9rem;
    color: #ede9fd;
}

.contact-form input,
.contact-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 5, 11, 0.65);
    color: #fff;
    padding: 0.72rem 0.8rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.filter-chip:focus-visible,
.btn:focus-visible,
.site-nav a:focus-visible,
.lang-switch:focus-visible {
    outline: 2px solid rgba(155, 109, 255, 0.95);
    outline-offset: 2px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.trust-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.logo-img-trust {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.trust-logo:hover,
.trust-logo:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(155, 109, 255, 0.45);
}

.trust-logo:hover .logo-img-trust,
.trust-logo:focus-visible .logo-img-trust {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    background: rgba(6, 5, 11, 0.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.6fr) minmax(190px, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: 1.9rem 0 1.7rem;
}

.footer-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer-brand-text {
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
}

.footer-brand-icon {
    width: 28px;
    height: 28px;
    margin-top: 0.08rem;
}

.footer-tagline {
    margin: 0.22rem 0 0;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.footer-nav {
    display: flex;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.3rem;
}

.footer-meta {
    justify-self: end;
    text-align: right;
}

.footer-social-link {
    display: inline-flex;
    margin-bottom: 0.52rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-soft);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #fff;
}

.copyright {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.legal-content {
    max-width: 860px;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-top: 1.6rem;
}

@media (max-width: 980px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .approach-intro-grid,
    .approach-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .hero-overlay {
        padding-top: 5.2rem;
    }
}

@media (max-width: 760px) {
    .site-nav {
        display: none;
    }

    .section {
        padding: 5.2rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.3rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-meta {
        justify-self: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}