:root {
    --bg: #05050b;
    --bg-soft: #080813;
    --panel: rgba(12, 12, 24, 0.76);
    --panel-strong: rgba(20, 16, 38, 0.88);
    --text: #f6f4ff;
    --muted: #bdb7cc;
    --dim: #7f7892;
    --line: rgba(150, 120, 255, 0.26);
    --violet: #7c3cff;
    --violet-2: #5a22ff;
    --magenta: #b742ff;
    --cyan: #99a6ff;
    --radius: 8px;
    --max: 1460px;
    --page-gutter: clamp(16px, 1.8vw, 26px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background:
        radial-gradient(circle at 18% 82%, rgba(140, 46, 255, 0.15), transparent 32rem),
        linear-gradient(180deg, #010104 0%, var(--bg) 42%, #020207 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 50% 16%, #000 0, transparent 72%);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max));
    margin: 0 auto;
    padding: 34px 0 22px;
    transition: padding 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    top: 14px;
    padding: 12px 18px;
    border: 1px solid rgba(124, 60, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(3, 3, 9, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.brand {
    display: inline-flex;
    width: max-content;
}

.brand img {
    display: block;
    width: clamp(170px, 13vw, 210px);
    height: auto;
}

.main-nav {
    justify-self: center;
    display: flex;
    gap: clamp(18px, 3vw, 48px);
    align-items: center;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 750;
    text-transform: uppercase;
}

.main-nav a {
    transition: color 160ms ease;
}

.main-nav a:hover {
    color: var(--violet);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher a {
    opacity: 0.72;
    transition: transform 160ms ease, opacity 160ms ease;
}

.language-switcher a:hover,
.language-switcher a.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

.flag {
    display: block;
    width: 28px;
    height: 18px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 4px 18px rgba(124, 60, 255, 0.22);
}

.flag-pl {
    background: linear-gradient(#fff 0 50%, #df1f3a 50%);
}

.flag-ua {
    background: linear-gradient(#1f6cff 0 50%, #ffd847 50%);
}

.flag-en {
    background: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid var(--violet);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--magenta);
    box-shadow: 0 0 36px rgba(124, 60, 255, 0.24);
}

.button-outline {
    background: rgba(5, 5, 12, 0.38);
}

.button-solid {
    border-color: transparent;
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    box-shadow: 0 0 42px rgba(124, 60, 255, 0.22);
}

.button-large {
    min-height: 60px;
    padding-inline: 34px;
}

.nav-toggle {
    display: none;
}

.social-rail {
    position: fixed;
    top: 50%;
    right: clamp(18px, 4vw, 58px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transform: translateY(-50%);
}

.social-rail-menu {
    display: none;
}

.social-rail a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-rail svg {
    width: 19px;
    height: 19px;
}

.social-rail a:hover {
    border-color: var(--violet);
    color: var(--magenta);
    transform: translateX(-3px);
}

.section,
.section-full {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max));
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 4vw, 68px);
    align-items: center;
    min-height: 100svh;
    padding-top: 118px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero h1,
.section-heading h2,
.showcase-heading h2,
.contact h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 7vw, 5.95rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero h1 span {
    color: var(--violet);
}

.hero h1 span,
.section-heading h2 span,
.showcase-heading h2 span,
.contact h2 span {
    background: linear-gradient(100deg, var(--violet), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 560px;
    margin: 32px 0 40px;
    color: #eeeaf9;
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
    margin: 0;
}

.hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.scroll-cue {
    position: absolute;
    bottom: 42px;
    left: 4px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scroll-cue span {
    position: relative;
    display: block;
    width: 30px;
    height: 54px;
    border: 1px solid var(--violet);
    border-radius: 999px;
}

.scroll-cue span::before {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 4px;
    height: 4px;
    content: "";
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    animation: wheel 1.6s infinite;
}

@keyframes wheel {
    50% {
        transform: translate(-50%, 18px);
        opacity: 0.4;
    }
}

.section {
    padding: 92px 0;
    scroll-margin-top: 104px;
}

.section-intro {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 54px;
    align-items: end;
    padding-top: 112px;
}

.kicker {
    margin: 0 0 22px;
    color: var(--violet);
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-heading h2,
.showcase-heading h2,
.contact h2 {
    max-width: 780px;
    font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.section-lead,
.showcase-intro p,
.contact-panel p,
.service-card p,
.step p,
.testimonial blockquote,
.metric span,
.trusted-strip p,
.trusted-strip span,
.case-copy p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.section-lead {
    max-width: 720px;
    margin: 0;
    font-size: 1.12rem;
}

.compact {
    max-width: 590px;
    margin-top: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 456px;
    overflow: hidden;
    padding: 250px 26px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(9, 9, 18, 0.64), rgba(4, 4, 10, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 12, 0.18) 48%, rgba(5, 5, 12, 0.96) 70%);
}

.service-card > *:not(img) {
    position: relative;
    z-index: 2;
}

.service-card img {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.service-card h3,
.step h3,
.benefits h3,
.qr-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.2;
}

.service-card a {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    margin-top: 26px;
    color: var(--magenta);
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
}

.results {
    padding-top: 126px;
}

.case-panel {
    position: relative;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 32px;
    align-items: center;
    min-height: 462px;
    margin-top: 34px;
    padding: 42px 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(9, 9, 19, 0.94), rgba(9, 9, 19, 0.5)),
        radial-gradient(circle at 57% 100%, rgba(124, 60, 255, 0.5), transparent 38%);
}

.case-copy .label {
    margin: 0 0 16px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.case-copy h3 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 42px 0 34px;
}

.case-stats div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.case-stats strong,
.metric strong {
    display: block;
    color: var(--violet);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1;
}

.case-stats span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.case-pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #fff;
}

.case-pagination i {
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, var(--violet) 48%, rgba(255, 255, 255, 0.22) 48%);
}

.case-image {
    width: 100%;
    margin: -110px 0 -70px;
    filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.6));
}

.trusted-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
    align-items: center;
    margin-top: 62px;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-strip p {
    grid-column: 1 / -1;
    margin: 0 0 6px;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.trusted-strip span {
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.75rem);
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.process-layout {
    display: block;
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 56px;
}

.steps::before {
    position: absolute;
    top: 25px;
    left: 34px;
    right: 34px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(124, 60, 255, 0.54), rgba(255, 255, 255, 0.16));
}

.step {
    position: relative;
    z-index: 1;
}

.step span {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    place-items: center;
    border: 2px solid var(--violet);
    border-radius: 50%;
    color: #fff;
    font-weight: 850;
    background: #11091f;
    box-shadow: 0 0 24px rgba(124, 60, 255, 0.56);
}

.testimonial {
    padding: 42px;
    border: 1px solid rgba(124, 60, 255, 0.56);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 100%, rgba(124, 60, 255, 0.24), transparent 34%),
        rgba(8, 8, 18, 0.82);
}

.quote-mark {
    color: var(--violet);
    font-size: 5rem;
    line-height: 0.7;
    font-weight: 900;
}

.testimonial blockquote {
    margin: 28px 0;
    color: #f3efff;
    font-size: 1.08rem;
}

.person {
    display: flex;
    gap: 20px;
    align-items: center;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.35), transparent 36%),
        radial-gradient(circle at 50% 28%, #dfc1a1 0 15%, transparent 16%),
        linear-gradient(180deg, #201929, #0b0b12);
}

.person p {
    margin: 0;
}

.person strong,
.person span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.person span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.78rem;
}

.arrows {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 34px;
}

.arrows span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--violet);
    border-radius: 50%;
    color: var(--magenta);
}

.showcase {
    padding-top: 126px;
}

.showcase-heading {
    margin-bottom: 48px;
}

.showcase-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.54fr);
    gap: clamp(36px, 8vw, 138px);
    align-items: end;
}

.showcase-heading h2 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(3rem, 4.5vw, 4.35rem);
}

.showcase-intro p {
    max-width: 390px;
    margin: 0 0 10px;
}

.showcase-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 20px;
    align-items: center;
}

.showcase-nav {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(246, 244, 255, 0.64);
    border-radius: 50%;
    background: transparent;
    color: var(--violet);
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.showcase-nav svg {
    width: 22px;
    height: 22px;
}

.showcase-nav:not(:disabled):hover {
    border-color: var(--violet);
    color: var(--magenta);
    transform: scale(1.05);
}

.showcase-nav:disabled {
    cursor: default;
    opacity: 0.42;
}

.reel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    grid-template-columns: none;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.reel-track::-webkit-scrollbar {
    display: none;
}

.reel-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(246, 244, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(18, 18, 32, 0.96), rgba(7, 7, 13, 0.98));
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    scroll-snap-align: start;
}

.reel-media {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #07070d;
}

.reel-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #07070d;
}

.reel-meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 76px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reel-meta span {
    color: var(--violet);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.reel-meta strong {
    overflow: hidden;
    color: #fff;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reel-poster {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.reel-poster::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.88) 100%);
}

.reel-card--1 .reel-poster {
    background: radial-gradient(ellipse at 48% 34%, rgba(255, 255, 255, 0.2), transparent 17%), linear-gradient(138deg, #07070b 8%, #242631 52%, #060609 100%);
}

.reel-card--2 .reel-poster {
    background: radial-gradient(ellipse at 40% 70%, rgba(99, 42, 255, 0.74), transparent 52%), linear-gradient(145deg, #10071e 0%, #362072 43%, #06060b 100%);
}

.reel-card--3 .reel-poster {
    background: radial-gradient(ellipse at 72% 20%, rgba(255, 255, 255, 0.2), transparent 20%), linear-gradient(145deg, #161116 4%, #08090d 48%, #2c2044 100%);
}

.reel-card--4 .reel-poster {
    background: radial-gradient(ellipse at 50% 28%, rgba(148, 164, 190, 0.6), transparent 38%), linear-gradient(180deg, #5b687b 0%, #1d2838 54%, #040509 100%);
}

.reel-card--5 .reel-poster {
    background: radial-gradient(ellipse at 52% 16%, rgba(255, 255, 255, 0.24), transparent 19%), linear-gradient(145deg, #18222c 0%, #090a0e 55%, #28202f 100%);
}

.reel-card--6 .reel-poster {
    background: radial-gradient(ellipse at 58% 38%, rgba(255, 255, 255, 0.2), transparent 25%), linear-gradient(145deg, #22212a 0%, #07070b 54%, #111017 100%);
}

.reel-play {
    position: relative;
    z-index: 1;
    display: grid;
    width: 38px;
    height: 38px;
    padding-left: 2px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 50%;
    color: #fff;
}

.reel-play svg {
    width: 17px;
    height: 17px;
}

.reel-card > strong {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 1;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.metrics {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 44px;
    padding: 38px 0 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    content: "";
    background: radial-gradient(ellipse at center, var(--violet) 0, rgba(124, 60, 255, 0.42) 12%, transparent 42%);
    filter: blur(0.5px);
}

.metric {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-width: 0;
    padding: 0 clamp(18px, 2vw, 34px);
}

.metric:first-child {
    padding-left: 0;
}

.metric:last-child {
    padding-right: 0;
}

.metric:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(124, 60, 255, 0.48);
    border-radius: 9px;
    color: var(--violet);
    box-shadow: inset 0 0 20px rgba(124, 60, 255, 0.08);
}

.metric-icon svg {
    width: 26px;
    height: 26px;
}

.metric strong {
    display: block;
    color: var(--violet);
    font-size: clamp(1.7rem, 2.4vw, 2.28rem);
    line-height: 1;
}

.metric span:not(.metric-icon) {
    display: block;
    margin-top: 7px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.contact {
    padding-bottom: 72px;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.72fr) 280px;
    gap: 36px;
    padding: clamp(28px, 5vw, 62px);
    border: 1px solid rgba(124, 60, 255, 0.42);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 20% 0%, rgba(124, 60, 255, 0.22), transparent 30%),
        radial-gradient(circle at 92% 100%, rgba(183, 66, 255, 0.16), transparent 36%),
        rgba(8, 8, 18, 0.86);
}

.contact-panel > div:first-child p:not(.kicker) {
    max-width: 660px;
    margin: 24px 0 34px;
}

.benefits {
    display: grid;
    gap: 16px;
}

.benefits article,
.qr-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
}

.benefits h3,
.qr-card h3 {
    font-size: 1.05rem;
}

.benefits p,
.qr-card p {
    margin: 0;
    color: var(--muted);
}

.qr-card img {
    width: 156px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
    align-items: center;
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max));
    margin: 0 auto;
    padding: 42px 0 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p,
.site-footer small,
.site-footer address {
    margin: 0;
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}

.site-footer address {
    display: grid;
    gap: 4px;
}

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

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

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        justify-self: end;
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.32);
    }

    .nav-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        background: #fff;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .site-header.is-open .main-nav,
    .site-header.is-open .header-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .site-header.is-open {
        top: var(--page-gutter);
        align-items: center;
        gap: 14px;
        max-height: calc(100dvh - 2 * var(--page-gutter));
        padding: 16px;
        overflow-y: auto;
        border: 1px solid rgba(124, 60, 255, 0.3);
        border-radius: var(--radius);
        background: rgba(3, 3, 9, 0.96);
        backdrop-filter: blur(20px);
        box-shadow: 0 22px 64px rgba(0, 0, 0, 0.56);
    }

    .site-header.is-open .main-nav {
        justify-self: stretch;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header.is-open .main-nav a {
        display: grid;
        min-height: 44px;
        place-items: center;
        padding: 8px 10px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.035);
        text-align: center;
    }

    .site-header.is-open .header-actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px 18px;
        align-items: center;
    }

    .site-header.is-open .language-switcher {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        border-right: 0;
    }

    .site-header.is-open .header-actions > .button {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .social-rail-desktop {
        display: none;
    }

    .site-header .social-rail-menu {
        position: static;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 10px;
        margin: 0;
        transform: none;
    }

    .site-header .social-rail-menu a {
        width: 36px;
        height: 36px;
    }

    .site-header .social-rail-menu a:hover {
        transform: translateY(-2px);
    }

    .site-header .social-rail-menu svg {
        width: 17px;
        height: 17px;
    }

    .hero,
    .section-intro,
    .case-panel,
    .process-layout,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 132px 0 88px;
    }

    .hero-visual {
        width: min(100%, 760px);
        margin: 40px auto 0;
    }

    .scroll-cue {
        position: static;
        margin-top: 32px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-image {
        margin: 0;
    }

    .steps,
    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .trusted-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .showcase-intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .reel-track {
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 20px) / 2);
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .reel-track::-webkit-scrollbar {
        display: none;
    }

    .reel-card {
        scroll-snap-align: start;
    }

    .metric {
        padding: 18px 24px;
    }

    .metric:first-child,
    .metric:last-child {
        padding-inline: 24px;
    }

    .metric:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        gap: 18px;
        padding-top: 20px;
    }

    .site-header .brand img {
        width: clamp(132px, 42vw, 170px);
    }

    .hero {
        min-height: auto;
        padding: 112px 0 72px;
        align-items: start;
    }

    .hero-copy {
        padding-top: 20px;
    }

    .hero h1 {
        font-size: clamp(2.68rem, 13vw, 4.2rem);
    }

    .hero p {
        margin: 24px 0 30px;
        font-size: 1rem;
    }

    .hero-visual {
        width: 100%;
        margin: 32px 0 0;
    }

    .scroll-cue {
        margin-top: 28px;
    }

    .section {
        padding: 72px 0;
    }

    .section-intro {
        gap: 30px;
    }

    .section-heading h2,
    .showcase-heading h2,
    .contact h2 {
        font-size: clamp(2.14rem, 10vw, 3.2rem);
    }

    .service-grid,
    .steps,
    .metrics,
    .trusted-strip {
        grid-template-columns: 1fr;
    }

    .showcase {
        padding-top: 78px;
    }

    .showcase-heading {
        margin-bottom: 30px;
    }

    .showcase-carousel {
        position: relative;
        display: block;
    }

    .showcase-nav {
        position: absolute;
        top: 50%;
        z-index: 4;
        width: 40px;
        height: 40px;
        background: rgba(5, 5, 11, 0.82);
        backdrop-filter: blur(10px);
        transform: translateY(-50%);
    }

    .showcase-nav[data-showcase-previous] {
        left: 12px;
    }

    .showcase-nav[data-showcase-next] {
        right: 12px;
    }

    .showcase-nav:not(:disabled):hover {
        transform: translateY(-50%) scale(1.05);
    }

    .reel-track {
        grid-auto-columns: 100%;
        gap: 12px;
    }

    .reel-meta {
        min-height: 68px;
        padding: 14px 16px;
    }

    .metrics {
        margin-top: 30px;
        padding: 22px 0 36px;
    }

    .metric,
    .metric:first-child,
    .metric:last-child {
        padding: 18px 0;
    }

    .metric:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .service-card {
        min-height: 420px;
        padding-top: 232px;
    }

    .case-panel {
        padding: 26px;
    }

    .case-stats {
        grid-template-columns: 1fr;
    }

    .case-stats div:not(:last-child) {
        padding-bottom: 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .steps::before {
        display: none;
    }

    .testimonial {
        padding: 28px;
    }

    .site-header.is-open {
        top: 8px;
        gap: 12px;
        max-height: calc(100dvh - 16px);
        padding: 14px;
    }

    .site-header.is-open .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px 0;
    }

    .site-header.is-open .header-actions {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 14px;
    }

    .site-header.is-open .language-switcher {
        gap: 12px;
    }

    .button {
        width: 100%;
        min-width: 0;
        padding-inline: 18px;
        white-space: normal;
        text-align: center;
    }
}

/* Contact and footer refinements */
body.has-open-modal {
    overflow: hidden;
}

.brand {
    align-items: center;
}

.button {
    cursor: pointer;
    font-family: inherit;
}

.social-rail .social-handle {
    width: auto;
    height: auto;
    padding: 8px 5px;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
}

.qr-card {
    display: block;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.qr-card img {
    padding: 8px;
    background: #fff;
}

.qr-card:hover {
    border-color: rgba(124, 60, 255, 0.62);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.site-footer > p {
    justify-self: center;
    max-width: 520px;
    text-align: center;
}

.site-footer > small {
    justify-self: end;
    text-align: right;
}

.site-footer .footer-contact {
    grid-column: 1 / -1;
    justify-self: center;
    display: grid;
    gap: 10px;
    width: min(100%, 720px);
    margin-top: 10px;
    padding: 22px 28px;
    border: 1px solid rgba(124, 60, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(12, 12, 24, 0.48);
    text-align: center;
}

.footer-contact > strong {
    color: #fff;
    font-size: 1.08rem;
    letter-spacing: 0.04em;
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
}

.footer-contact-links a {
    padding: 0 22px;
    color: var(--muted);
    transition: color 160ms ease;
}

.footer-contact-links a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-contact-links a:hover {
    color: var(--magenta);
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 7, 0.9);
    backdrop-filter: blur(16px);
}

.contact-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(124, 60, 255, 0.5);
    border-radius: 14px;
    outline: 0;
    background:
        radial-gradient(circle at 0 0, rgba(124, 60, 255, 0.24), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(183, 66, 255, 0.16), transparent 38%),
        #090912;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.66), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-dialog h2 {
    max-width: 500px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 6vw, 3.45rem);
    line-height: 1.06;
}

.contact-dialog > p:not(.kicker) {
    max-width: 500px;
    margin: 20px 0 30px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
}

.contact-modal-close::before,
.contact-modal-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 1px;
    content: "";
    background: currentColor;
}

.contact-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-options {
    display: grid;
    gap: 12px;
}

.contact-option {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-option:hover {
    border-color: rgba(124, 60, 255, 0.7);
    background: rgba(124, 60, 255, 0.09);
    transform: translateX(3px);
}

.contact-option-whatsapp {
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-option-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(124, 60, 255, 0.42);
    border-radius: 50%;
    color: var(--magenta);
    background: rgba(124, 60, 255, 0.08);
}

.contact-option-whatsapp .contact-option-icon {
    border-color: rgba(76, 217, 100, 0.38);
    color: #4cd964;
    background: rgba(76, 217, 100, 0.08);
}

.contact-option-icon svg {
    width: 23px;
    height: 23px;
}

.contact-option strong,
.contact-option small {
    display: block;
}

.contact-option strong {
    color: #fff;
    font-size: 1rem;
}

.contact-option small {
    margin-top: 5px;
    color: #cec8db;
    font-size: 0.82rem;
}

.contact-option-arrow {
    color: var(--violet);
    font-size: 1.35rem;
}

:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 4px;
}

@media (max-width: 1180px) {
    .site-header .social-rail-menu .social-handle {
        width: auto;
        height: auto;
        padding: 0 8px 0 0;
        color: var(--muted);
        font-size: 0.68rem;
        writing-mode: horizontal-tb;
    }

    .site-footer > .brand,
    .site-footer > p,
    .site-footer > small {
        justify-self: center;
        text-align: center;
    }

    .site-footer .footer-contact {
        grid-column: 1;
    }
}

@media (max-width: 720px) {
    .footer-contact-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-contact-links a {
        padding: 0;
    }

    .footer-contact-links a + a {
        border-left: 0;
    }

    .contact-modal {
        padding: 10px;
    }

    .contact-dialog {
        max-height: calc(100dvh - 20px);
        padding: 42px 18px 20px;
    }

    .contact-option {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 74px;
        padding: 12px;
    }

    .contact-option-icon {
        width: 42px;
        height: 42px;
    }
}
