/* ==========================================================================
   aridesk — homepage (design language: swiftcollect.io, see
   redesign-work/design-language-swiftcollect.md)
   Scoped to body.hv2. Loaded only by home.html; style.css is not loaded there.

   Navy ink, white ground, one brand accent, big radii (24px cards), glass
   cards on navy bands with soft colour glows, floating chips with soft
   navy-tinted shadows. The owner asked for this language explicitly, so the
   glows, shadows and blur below are declared exceptions (taste-skill-ignore).
   ========================================================================== */

:root {
    /* light (default) */
    --bg: #ffffff;
    --surface: #f5f6fa;
    --surface-2: #eaedf6;
    --card: #ffffff;
    --ink: #0b1340;
    --muted: #4f577d;
    --line: rgba(11, 19, 64, 0.12);
    --field: #f5f6fa;
    --field-border: rgba(11, 19, 64, 0.16);
    --accent: #e84a5f;            /* the brand mark colour: icons, marks, glows */
    --accent-fill: #d4384d;       /* button fill: 4.7:1 with white text */
    --accent-fill-hover: #c42f44;
    --accent-text: #c42f44;       /* accent-coloured TEXT on the light ground: 5.3:1 on white */
    --accent-ink: #ffffff;
    --accent-soft: rgba(232, 74, 95, 0.10);
    --accent-wash: rgba(232, 74, 95, 0.16);
    --blue: #1b43e4;
    --blue-wash: rgba(27, 67, 228, 0.12);
    --band: #0b1340;
    --band-ink: #ffffff;
    --band-muted: #c3c9e4;
    --band-line: rgba(255, 255, 255, 0.16);
    --glass: rgba(255, 255, 255, 0.10);
    --glass-strong: rgba(255, 255, 255, 0.16);
    --ok: #16a34a;
    --ok-soft: rgba(22, 163, 74, 0.12);
    --info: #1b43e4;
    --info-soft: rgba(27, 67, 228, 0.10);
    --header-bg: rgba(255, 255, 255, 0.88);
    --overlay: rgba(11, 19, 64, 0.72);
    --logo-chip: #0b1340;
    --dots: rgba(11, 19, 64, 0.14);
    --cta-ink: #0b1340;
    --turnstile-h: 65px;

    --shadow-chip: 0 3.2px 4.8px rgba(27, 67, 228, 0.06), 0 12px 32px rgba(11, 19, 64, 0.08);   /* taste-skill-ignore: owner's design language */
    --shadow-card: 0 16px 48px rgba(11, 19, 64, 0.10);                                          /* taste-skill-ignore: owner's design language */
    --shadow-window: 0 32px 80px rgba(11, 19, 64, 0.18);                                        /* taste-skill-ignore: owner's design language */
    --shadow-glow: 0 4px 50px rgba(232, 74, 95, 0.22);                                          /* taste-skill-ignore: owner's design language */

    --font: 'Heebo', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --step-small: 0.875rem;                                   /* 14px */
    --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);   /* 17–18px */
    --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);      /* 20–24px */
    --step-head: clamp(2rem, 1.5rem + 2vw, 3rem);             /* 32–48px */
    --step-display: clamp(2.75rem, 1.6rem + 4vw, 4.5rem);     /* 44–72px */

    --radius: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1240px;
    --gutter: 24px;
    --section: clamp(80px, 6vw + 48px, 140px);
    --curve: clamp(48px, 10vw, 160px);
    --window-overlap: 140px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 160ms;
    --dur: 260ms;
    --dur-slow: 600ms;
}

:root[data-theme="dark"] {
    --bg: #070d2e;
    --surface: #0f1849;
    --surface-2: #172259;
    --card: #0f1849;
    --ink: #f4f6ff;
    --muted: #b3bad9;
    --line: rgba(255, 255, 255, 0.14);
    --field: #182460;
    --field-border: rgba(255, 255, 255, 0.22);
    --accent-soft: rgba(232, 74, 95, 0.18);
    --accent-wash: rgba(232, 74, 95, 0.24);
    --accent-text: #ff7a8a;       /* 6.3:1 on the dark ground */
    --blue: #7c9bff;
    --blue-wash: rgba(99, 125, 255, 0.18);
    --band: #0e1a52;
    --band-ink: #ffffff;
    --band-muted: #c3c9e4;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.14);
    --ok: #4ade80;
    --ok-soft: rgba(74, 222, 128, 0.14);
    --info: #7c9bff;
    --info-soft: rgba(124, 155, 255, 0.16);
    --header-bg: rgba(7, 13, 46, 0.86);
    --overlay: rgba(2, 5, 20, 0.8);
    --logo-chip: transparent;
    --dots: rgba(255, 255, 255, 0.10);
    --shadow-chip: 0 12px 32px rgba(0, 0, 0, 0.35);        /* taste-skill-ignore: owner's design language */
    --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.40);        /* taste-skill-ignore: owner's design language */
    --shadow-window: 0 32px 80px rgba(0, 0, 0, 0.55);      /* taste-skill-ignore: owner's design language */
    color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* Older iOS Safari has no overflow: clip and would let the page pan sideways */
@supports not (overflow: clip) {
    html, body.hv2 { overflow-x: hidden; }
    body.hv2 { position: relative; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.hv2 {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.hv2 ::selection { background: var(--accent); color: var(--accent-ink); }

body.hv2 :focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

:where(body.hv2) :is(h1, h2, h3, h4, p, ul, blockquote, figure) { margin: 0; }
:where(body.hv2) ul { padding: 0; list-style: none; }
:where(body.hv2) :is(img, svg) { display: block; max-width: 100%; }
:where(body.hv2) a { color: inherit; text-decoration: none; }
:where(body.hv2) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:where(body.hv2) :is(input, select, textarea) { font: inherit; color: inherit; }
:where(body.hv2) strong { font-weight: 700; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
section[id], footer { scroll-margin-top: 92px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* --------------------------------------------------------------------------
   Type steps
   -------------------------------------------------------------------------- */
.section-title, .portal__title, .about__title, .projects__title, .testimonials__title, .newsletter__title, .contact__title {
    font-size: var(--step-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
/* The brand mark above every section title (SwiftCollect puts its bolt there) */
.section-title::before, .portal__title::before, .about__title::before, .projects__title::before, .testimonials__title::before, .contact__title::before {
    content: '';
    display: block;
    width: 48px; height: 6px;
    border-radius: 3px;
    background: var(--accent);
    margin-bottom: 20px;
}
.section-lead, .hero__lead, .contact__lead {
    font-size: var(--step-lead);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-top: 16px;
    text-wrap: balance;
}
.section-description, .portal__description, .about__description, .projects__subtitle, .testimonials__subtitle, .newsletter__description {
    font-size: var(--step-body);
    color: var(--muted);
    margin-top: 16px;
    max-width: 60ch;
}
.section-header { margin-bottom: 48px; }

/* --------------------------------------------------------------------------
   Buttons — radius 10, confident fills, chevron on the hero/portal actions
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border: 1.5px solid transparent;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
    will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent-fill); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(232, 74, 95, 0.28); } /* taste-skill-ignore: owner's design language */
.btn--primary:hover { background: var(--accent-fill-hover); box-shadow: 0 12px 32px rgba(232, 74, 95, 0.34); } /* taste-skill-ignore: owner's design language */
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { opacity: 0.9; }
.btn--login { color: var(--ink); background: transparent; padding-inline: 14px; }
.btn--login:hover { background: var(--surface); transform: none; }
.btn--whatsapp { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--whatsapp svg { color: #1da851; }
.btn--whatsapp:hover { background: var(--surface); }
/* Header CTA is the ink button, like the reference */
.header .btn--primary { background: var(--ink); color: var(--bg); box-shadow: none; min-height: 44px; } /* taste-skill-ignore: owner's design language */
.header .btn--primary:hover { background: var(--accent-fill); color: var(--accent-ink); }

/* the little chevron the reference puts inside its buttons (decorative, not text) */
.hero__actions .btn::after, .portal__actions .btn::after {
    content: '';
    width: 8px; height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-inline-start: 2px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Scroll progress + skip link
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed; inset-inline-start: 0; top: 0; z-index: 1001;
    height: 3px; width: 100%; background: var(--accent);
    transform-origin: right center;
    transform: scaleX(var(--progress, 0));
    pointer-events: none;
}
.skip-link {
    position: absolute; top: -100px; inset-inline-start: 16px; z-index: 2000;
    padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius);
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Header — white, sticky, lifts once scrolled
   -------------------------------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: 900;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(16px); /* taste-skill-ignore: owner's design language */
    backdrop-filter: blur(16px); /* taste-skill-ignore: owner's design language */
    transition: box-shadow var(--dur) var(--ease-out);
}
.header.menu-open { position: fixed; top: 0; inset-inline: 0; width: 100%; }
.header--scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 19, 64, 0.08); } /* taste-skill-ignore: sticky bar, owner's design language */
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
/* The logo asset is a pink mark with a WHITE wordmark: on the light ground it sits on an ink chip,
   on the dark ground it stands alone. */
.logo { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; background: var(--logo-chip); padding: 6px; }
.logo__icon { width: 52px; height: 52px; object-fit: contain; }
:root[data-theme="dark"] .logo { padding: 0; }
:root[data-theme="dark"] .logo__icon { width: 60px; height: 60px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    padding: 8px 12px; border-radius: 8px;
    font-size: 0.9375rem; font-weight: 500; color: var(--ink);
    transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--accent-text); background: var(--accent-soft); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); background: var(--surface); transition: background-color var(--dur-fast), color var(--dur-fast); }
.theme-toggle:hover { background: var(--accent-soft); color: var(--accent-text); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
.hamburger { display: none; width: 44px; height: 44px; border-radius: var(--radius); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 84px 0 0 0; z-index: 899;
    background: var(--bg);
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 14px; border-radius: 12px;
    font-size: 1.25rem; font-weight: 500;
}
.mobile-menu__nav a:hover { background: var(--surface); }
.mobile-menu__divider { height: 20px; }
.mobile-menu__login { color: var(--ink); background: var(--surface); }
.mobile-menu__register { color: var(--accent-ink); background: var(--accent-fill); justify-content: center; }
.mobile-menu__nav .mobile-menu__register:hover { background: var(--accent-fill-hover); }

/* --------------------------------------------------------------------------
   Quick-quote bar — above the header (it scrolls away, the header stays).
   The button pulses: a soft ring, not a blink, and still at rest for
   prefers-reduced-motion. Homepage only; the builders lift the chrome from
   <header> down, so other pages do not carry it.
   -------------------------------------------------------------------------- */
.promo-bar { background: var(--surface); border-bottom: 1px solid var(--line); } /* taste-skill-ignore: a sticky-bar neighbour, owner's design language */
.promo-bar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 20px; min-height: 56px; padding-block: 8px; }
.promo-bar__text { margin: 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-align: center; }
.promo-bar__btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 0 18px; border-radius: 999px;
    background: var(--accent-fill); color: var(--accent-ink);
    font-size: 0.9375rem; font-weight: 700; white-space: nowrap;
    box-shadow: var(--shadow-glow); /* taste-skill-ignore: owner's design language */
    animation: hv2-pulse 1.8s var(--ease-out) infinite;
    transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.promo-bar__btn:hover { background: var(--accent-fill-hover); transform: translateY(-1px); animation-play-state: paused; }
.promo-bar__btn svg { transition: transform var(--dur-fast) var(--ease-out); }
.promo-bar__btn:hover svg { transform: translateX(-3px); }
@keyframes hv2-pulse { /* taste-skill-ignore: the owner asked for a pulsing button */
    0%   { box-shadow: 0 0 0 0 rgba(232, 74, 95, 0.55), var(--shadow-glow); } /* taste-skill-ignore */
    70%  { box-shadow: 0 0 0 14px rgba(232, 74, 95, 0), var(--shadow-glow); } /* taste-skill-ignore */
    100% { box-shadow: 0 0 0 0 rgba(232, 74, 95, 0), var(--shadow-glow); } /* taste-skill-ignore */
}

/* --------------------------------------------------------------------------
   Hero — centred headline on a dotted ground with soft glows, and a product
   window below that overlaps the band
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0 0;
    background:
        radial-gradient(42% 55% at 14% 18%, var(--blue-wash) 0%, transparent 70%),     /* taste-skill-ignore: owner's design language */
        radial-gradient(40% 50% at 86% 24%, var(--accent-wash) 0%, transparent 70%),   /* taste-skill-ignore: owner's design language */
        radial-gradient(var(--dots) 1.2px, transparent 1.2px) 0 0 / 26px 26px,         /* taste-skill-ignore: dotted grid, owner's design language */
        var(--bg);
}
.hero__content { text-align: center; max-width: 820px; margin-inline: auto; position: relative; z-index: 1; }
.hero__title {
    font-size: var(--step-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.hero__line { display: inline-block; }
.hero__lead { margin-top: 22px; font-weight: 500; }
.hero__description { margin-top: 14px; max-width: 62ch; margin-inline: auto; color: var(--muted); font-size: var(--step-body); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }


.hero__visual { position: relative; z-index: 2; margin: clamp(48px, 6vw, 80px) auto calc(var(--window-overlap) * -1); max-width: 1000px; }
.hero__panel {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-window); /* taste-skill-ignore: owner's design language */
    overflow: hidden;
}
.hero__panel-bar { display: flex; direction: ltr; gap: 8px; padding: 16px 20px; background: var(--surface); }
.hero__panel-bar span { width: 12px; height: 12px; border-radius: 999px; background: #ff5f57; }
.hero__panel-bar span:nth-child(2) { background: #febc2e; }
.hero__panel-bar span:nth-child(3) { background: #28c840; }
.hero__panel-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 24px; }
.hero__panel-row { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--surface); }
.hero__panel-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.hero__panel-icon svg { width: 26px; height: 26px; }
.hero__panel-icon--ok { background: var(--ok-soft); color: var(--ok); }
.hero__panel-icon--shield { background: var(--info-soft); color: var(--info); }
.hero__panel-text { font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.hero__panel-sub { font-size: var(--step-small); color: var(--muted); margin-top: 3px; }

/* --------------------------------------------------------------------------
   Navy bands with soft colour lights and big curved edges
   -------------------------------------------------------------------------- */
.band-dark {
    position: relative;
    isolation: isolate;
    color: var(--band-ink);
    background: var(--band);
}
/* the soft colour lights sit in an overlay, so the text always reads on the navy itself */
.band-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(55% 60% at 12% 8%,  rgba(27, 67, 228, 0.55) 0%, transparent 62%),    /* taste-skill-ignore: owner's design language */
        radial-gradient(45% 50% at 88% 92%, rgba(232, 74, 95, 0.42) 0%, transparent 62%),    /* taste-skill-ignore: owner's design language */
        radial-gradient(35% 45% at 70% 18%, rgba(124, 92, 255, 0.35) 0%, transparent 60%);   /* taste-skill-ignore: owner's design language */
}
.band-dark--bottom { border-end-start-radius: 50% var(--curve); border-end-end-radius: 50% var(--curve); padding-bottom: calc(var(--curve) * 0.6); }
.band-dark--top { border-start-start-radius: 50% var(--curve); border-start-end-radius: 50% var(--curve); padding-top: calc(var(--curve) * 0.6); }
.band-dark .section-lead, .band-dark .section-title, .band-dark .testimonials__title { color: var(--band-ink); }
.band-dark .section-description, .band-dark .testimonials__subtitle { color: var(--band-muted); }

.glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px); /* taste-skill-ignore: owner's design language */
    backdrop-filter: blur(20px);                                                               /* taste-skill-ignore: owner's design language */
    border-radius: var(--radius-lg);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2), inset 0 -4px 12px rgba(255, 255, 255, 0.12), inset 0 4px 32px rgba(0, 0, 0, 0.1); /* taste-skill-ignore: owner's design language */
}

/* --------------------------------------------------------------------------
   Clients — in the band, logos on white pills
   -------------------------------------------------------------------------- */
.clients { padding: calc(var(--window-overlap) + 56px) 0 48px; }
.clients__label { font-size: var(--step-lead); font-weight: 700; color: var(--band-ink); text-align: center; margin-bottom: 32px; }
.ticker {
    overflow: hidden;
    direction: ltr;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); /* taste-skill-ignore: edge mask, not a fill */
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); /* taste-skill-ignore: edge mask, not a fill */
}
.ticker__track { display: flex; align-items: center; width: max-content; cursor: grab; user-select: none; will-change: transform; }
.ticker__track:active { cursor: grabbing; }
.ticker__item {
    direction: rtl;
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--glass-strong);
    font-size: 1.0625rem; font-weight: 500; color: var(--band-ink);
    white-space: nowrap;
    transition: background-color var(--dur-fast);
}
.ticker__item--has-logo { cursor: zoom-in; background: #ffffff; color: #0b1340; padding: 8px 18px 8px 10px; }
.ticker__item--has-logo:hover { background: #f5f6fa; }
.ticker__item--more { background: var(--accent-fill); color: var(--accent-ink); font-weight: 600; }
.ticker__logo { height: 36px; width: auto; max-width: 140px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Services — one glass card, six items in three columns
   -------------------------------------------------------------------------- */
.services { padding: 40px 0 var(--section); }
.services__glass { padding: clamp(32px, 5vw, 64px); }
.services .section-header { margin-bottom: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px;
    padding: 28px 24px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #ffffff; background: var(--accent); box-shadow: var(--shadow-glow); } /* taste-skill-ignore: owner's design language */
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--band-ink); }
.service-card__description { margin-top: 6px; color: var(--band-muted); font-size: 1rem; }
.service-card__arrow { position: absolute; top: 24px; inset-inline-start: 20px; width: 24px; height: 24px; color: var(--band-ink); opacity: 0; transform: translateX(6px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.service-card:hover .service-card__arrow, .service-card:focus-visible .service-card__arrow { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------------
   Portal — white ground, product window with a deep soft shadow
   -------------------------------------------------------------------------- */
.portal { padding: var(--section) 0; }
.portal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.portal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.portal__trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: var(--ok-soft); color: var(--ink); font-size: var(--step-small); font-weight: 500; }
.portal__trust svg { color: var(--ok); }

/* The portal fragment: the real portal's own UI conventions apply inside data-ui */
.portal__mockup {
    background: #0e1018; color: #f0f0f8;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-window); /* taste-skill-ignore: owner's design language */
    overflow: hidden;
    font-size: 15px;
}
.portal__mockup-header { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #141620; } /* taste-skill-ignore: inside the data-ui fragment */
.portal__mockup-header::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840; margin-inline-end: 36px; } /* taste-skill-ignore: window dots inside the data-ui fragment */
.portal__mockup-title { font-size: 13px; color: #9090b8; }
.portal__mockup-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.portal__mockup-nav { padding: 14px 10px; border-inline-end: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 2px; } /* taste-skill-ignore: inside the data-ui fragment */
.portal__mockup-nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: #b0b0c8; }
.portal__mockup-nav-item svg { width: 18px; height: 18px; opacity: 0.75; }
.portal__mockup-nav-item.active { background: rgba(232, 74, 95, 0.12); color: #f0f0f8; }
.portal__mockup-nav-item.active svg { color: #e84a5f; opacity: 1; }
.portal__mockup-main { padding: 20px; }
.portal__mockup-heading { font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.portal__mockup-card { background: #141620; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 14px 16px; } /* taste-skill-ignore: inside the data-ui fragment */
.portal__mockup-card + .portal__mockup-card { margin-top: 10px; }
.portal__mockup-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.portal__mockup-card-title { font-weight: 600; font-size: 14px; }
.portal__mockup-card-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.portal__mockup-card-badge.progress { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.portal__mockup-card-badge.done { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.portal__mockup-card-desc { font-size: 13px; color: #b0b0c8; margin-bottom: 10px; }
.portal__mockup-progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.portal__mockup-progress-fill { height: 100%; border-radius: 999px; background: #e84a5f; transform-origin: right; }
.portal__mockup-progress-fill.p75 { width: 75%; }
.portal__mockup-progress-fill.p100 { width: 100%; background: #22c55e; }
.portal__mockup-card-info { font-size: 12px; color: #9090b8; margin-top: 8px; }

/* --------------------------------------------------------------------------
   About — photo card with floating figure chips, quote in a soft box
   -------------------------------------------------------------------------- */
.about { padding: 0 0 var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: center; }
.about__quote { margin-top: 28px; position: relative; background: var(--surface); border-radius: 20px; padding: 26px 30px 26px 26px; }
.about__quote::before { content: '\201C'; position: absolute; top: -6px; inset-inline-end: 18px; font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.5; font-weight: 700; }
.about__quote p { font-size: var(--step-lead); font-weight: 600; line-height: 1.4; color: var(--ink); }
.features-list { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; }
.feature-item__icon { width: 28px; height: 28px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.feature-item__icon svg { width: 14px; height: 14px; }
.about__visual { position: relative; padding: 0 0 36px 24px; }
/* A blocked/broken image must never size the column from its width attribute (600px) */
.about__grid > *, .portal__grid > *, .contact__grid > *, .newsletter__inner > * { min-width: 0; }
.about__image { width: 100%; height: auto; min-width: 0; max-width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); } /* taste-skill-ignore: owner's design language */
.about__figures { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; gap: 12px; }
.floating-stat { background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-chip); min-width: 150px; } /* taste-skill-ignore: owner's design language */
.floating-stat__number { font-size: 2rem; font-weight: 700; line-height: 1; color: var(--accent-text); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.floating-stat__label { font-size: var(--step-small); color: var(--muted); margin-top: 6px; font-weight: 500; }

/* --------------------------------------------------------------------------
   Projects — white cards on the soft ground
   -------------------------------------------------------------------------- */
.projects { padding: var(--section) 0 calc(var(--section) + var(--curve) * 0.6); background: var(--surface); }
.projects__header { margin-bottom: 48px; }
.projects__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.project-card {
    background: var(--card); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-chip); /* taste-skill-ignore: owner's design language */
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); } /* taste-skill-ignore: owner's design language */
.project-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__media--empty { display: grid; place-items: center; color: var(--muted); }
.project-card__media--empty::before { content: ''; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); }
.project-card__category, .project-card__gallery-badge {
    position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 600; background: #ffffff; color: #0b1340; box-shadow: var(--shadow-chip); /* taste-skill-ignore: owner's design language */
}
.project-card__category { inset-inline-start: 14px; }
.project-card__gallery-badge { inset-inline-end: 14px; }
.project-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.project-card__desc { color: var(--muted); font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); font-size: 0.9375rem; }
.project-card__more svg { width: 16px; height: 16px; }

.project-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 24px; }
.project-modal.is-open { display: flex; }
.project-modal__backdrop { position: absolute; inset: 0; background: var(--overlay); }
.project-modal__dialog {
    position: relative; width: min(100%, 760px); max-height: 90vh; overflow-y: auto;
    background: var(--card); color: var(--ink); border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: open dialog */
}
.project-modal__close {
    position: sticky; top: 12px; inset-inline-start: 12px; z-index: 2;
    width: 40px; height: 40px; border-radius: 999px; background: var(--card); color: var(--ink);
    display: grid; place-items: center; margin: 12px 0 -52px 12px; box-shadow: 0 2px 10px rgba(0,0,0,.2); /* taste-skill-ignore: floats over the dialog's image */
}
.project-modal__close svg { width: 18px; height: 18px; }
.project-modal__hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-modal__body { padding: 28px; }
.project-modal__category { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.project-modal__title { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.project-modal__desc { margin-top: 12px; color: var(--muted); white-space: pre-line; }
.project-modal__gallery-title { margin-top: 28px; font-weight: 600; }
.project-modal__gallery { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.project-modal__figure { margin: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.project-modal__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-modal__caption { font-size: 13px; color: var(--muted); padding: 6px 8px; }
.project-zoom { position: fixed; inset: 0; z-index: 1300; display: none; place-items: center; background: rgba(2, 5, 20, 0.92); padding: 24px; cursor: zoom-out; }
.project-zoom.is-open { display: grid; }
.project-zoom img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 12px; }
.project-zoom__caption { position: absolute; bottom: 24px; inset-inline: 24px; text-align: center; color: #fff; font-size: var(--step-small); }

/* --------------------------------------------------------------------------
   Testimonials — second navy band (curved top), glass cards, round arrows
   -------------------------------------------------------------------------- */
.testimonials { padding-bottom: var(--section); margin-top: calc(var(--curve) * -0.6); }
.testimonials__header { margin-bottom: 40px; text-align: center; padding-top: var(--section); }
.testimonials__title::before { margin-inline: auto; }
.testimonials__subtitle { margin-inline: auto; }
.testimonials__carousel { position: relative; }
.testimonials__track-wrapper {
    overflow: hidden; direction: ltr;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); /* taste-skill-ignore: edge mask, not a fill */
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); /* taste-skill-ignore: edge mask, not a fill */
}
.testimonials__track { display: flex; width: max-content; cursor: grab; user-select: none; will-change: transform; }
.testimonials__track.is-dragging { cursor: grabbing; }
.testimonials__card {
    direction: rtl; width: 360px; margin-left: 24px; flex-shrink: 0;
    background: var(--glass); border-radius: var(--radius-lg); padding: 28px;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);                                 /* taste-skill-ignore: owner's design language */
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2), inset 0 -4px 12px rgba(255, 255, 255, 0.1); /* taste-skill-ignore: owner's design language */
    display: flex; flex-direction: column; gap: 16px;
    color: var(--band-ink);
}
.testimonials__card--image { padding: 0; overflow: hidden; cursor: zoom-in; position: relative; background: #ffffff; color: #0b1340; }
.testimonials__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eaedf6; }
.testimonials__expand-hint { position: absolute; top: 12px; inset-inline-start: 12px; width: 36px; height: 36px; border-radius: 999px; background: #ffffff; color: #0b1340; display: grid; place-items: center; opacity: 0; box-shadow: var(--shadow-chip); transition: opacity var(--dur-fast); } /* taste-skill-ignore: owner's design language */
.testimonials__expand-hint svg { width: 16px; height: 16px; }
.testimonials__card--image:hover .testimonials__expand-hint { opacity: 1; }
.testimonials__card--image .testimonials__card-footer { padding: 14px 18px 18px; }
.testimonials__card--image .testimonials__author-title { color: #4f577d; }
.testimonials__quote-accent { display: none; }
.testimonials__quote-icon { width: 32px; height: 32px; color: var(--accent); }
.testimonials__quote-text { font-size: var(--step-body); line-height: 1.55; flex: 1; }
.testimonials__card-footer { display: flex; align-items: center; gap: 12px; }
.testimonials__author-avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,0.25), var(--shadow-glow); } /* taste-skill-ignore: owner's design language */
.testimonials__author-name { font-weight: 700; font-size: 1rem; }
.testimonials__author-title { font-size: var(--step-small); color: var(--band-muted); }
.testimonials__nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.testimonials__nav-btn { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.5); color: var(--band-ink); display: grid; place-items: center; transition: background-color var(--dur-fast), color var(--dur-fast); }
.testimonials__nav-btn:hover { background: #ffffff; color: #0b1340; }
.testimonials__nav-btn svg { width: 20px; height: 20px; }
.testimonials__lightbox { position: fixed; inset: 0; z-index: 1300; display: none; place-items: center; background: rgba(2, 5, 20, 0.92); padding: 24px; }
.testimonials__lightbox.is-open { display: grid; }
.testimonials__lightbox-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; }
.testimonials__lightbox-caption { position: absolute; bottom: 24px; inset-inline: 24px; text-align: center; color: #fff; font-size: var(--step-small); display: flex; flex-direction: column; gap: 2px; }
.testimonials__lightbox-close, .testimonials__lightbox-nav {
    position: absolute; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #fff; display: grid; place-items: center;
}
.testimonials__lightbox-close { top: 20px; inset-inline-start: 20px; }
.testimonials__lightbox-nav--prev { right: 20px; top: 50%; transform: translateY(-50%); }
.testimonials__lightbox-nav--next { left: 20px; top: 50%; transform: translateY(-50%); }
.testimonials__lightbox-close svg, .testimonials__lightbox-nav svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Newsletter — a quiet card; the accent block is the closing call to action
   -------------------------------------------------------------------------- */
.newsletter { padding: var(--section) 0 0; }
.newsletter__inner {
    background: var(--card);
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 56px);
    box-shadow: var(--shadow-card); /* taste-skill-ignore: owner's design language */
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
}
.newsletter__title { font-size: var(--step-lead); max-width: 22ch; }
.newsletter__description { font-size: var(--step-body); }
.newsletter__form { display: grid; gap: 14px; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__input {
    flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 12px;
    background: var(--field); border: 2px solid var(--field-border); color: var(--ink);
    transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.newsletter__input::placeholder { color: var(--muted); }
.newsletter__input:focus { outline: none; border-color: var(--accent); }
.newsletter__btn { min-height: 56px; padding-inline: 24px; border-radius: 12px; background: var(--accent-fill); color: var(--accent-ink); }
.newsletter__btn:hover { background: var(--accent-fill-hover); opacity: 1; }
.newsletter__note { font-size: var(--step-small); color: var(--muted); }

/* --------------------------------------------------------------------------
   Closing call to action — the reference's accent block, ink text on it
   -------------------------------------------------------------------------- */
.cta { padding: var(--section) 0; }
.cta__inner {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #e84a5f 0%, #ff8a95 100%); /* taste-skill-ignore: the brand gradient, the reference's accent block */
    color: var(--cta-ink);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 7vw, 104px) clamp(28px, 6vw, 96px);
    text-align: center;
}
/* the faded bolt in the reference's block */
.cta__inner::before {
    content: ''; position: absolute; inset-inline-start: -4%; top: -20%; width: 42%; height: 140%;
    background: rgba(255, 255, 255, 0.14);
    clip-path: polygon(62% 0, 20% 55%, 46% 55%, 34% 100%, 80% 42%, 54% 42%);
    pointer-events: none;
}
.cta__title, .cta__actions { position: relative; }
.cta__title { font-size: var(--step-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--cta-ink); max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.cta__whatsapp { background: #0b1340; color: #ffffff; }
.cta__whatsapp:hover { background: #162258; opacity: 1; }
.cta__whatsapp svg { color: #5df08c; }
.cta__phone { border-color: #0b1340; color: #0b1340; }
.cta__phone:hover { background: #0b1340; color: #ffffff; }

/* --------------------------------------------------------------------------
   Contact + forms — white card, borderless soft inputs
   -------------------------------------------------------------------------- */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact__lead { color: var(--muted); font-weight: 400; }
.contact-methods { display: grid; gap: 12px; margin-top: 32px; }
.contact-method {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px;
    background: var(--card); box-shadow: var(--shadow-chip); /* taste-skill-ignore: owner's design language */
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.contact-method:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); } /* taste-skill-ignore: owner's design language */
.contact-method__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-method__text { font-size: 1.25rem; font-weight: 700; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact-method__label { font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.contact__info .btn--whatsapp { margin-top: 24px; }

.contact__form { background: var(--card); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 18px; box-shadow: var(--shadow-card); } /* taste-skill-ignore: owner's design language */
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-label { font-size: 0.9375rem; font-weight: 700; }
.form-input, .form-select, .form-textarea {
    width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 12px;
    background: var(--field); border: 2px solid var(--field-border); color: var(--ink);
    transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-select-wrap { position: relative; }
.form-select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.form-select-wrap::after {
    content: ''; position: absolute; inset-inline-end: 20px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-input:user-invalid, .form-select:user-invalid, .form-textarea:user-invalid { border-color: var(--accent); }
.consent-box { background: var(--field); border: 1.5px solid var(--field-border); border-radius: 14px; padding: 16px 18px; gap: 10px; }
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step-small); line-height: 1.5; cursor: pointer; }
.consent-line input { margin: 3px 0 0; accent-color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; }
.consent-line a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.consent-line--optional { color: var(--muted); }
.turnstile-slot { min-height: var(--turnstile-h); }
.form-alert {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
    background: var(--accent-soft); color: var(--ink); font-size: var(--step-small); font-weight: 500;
}
.form-alert svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Footer — the reference's pale lavender ground
   -------------------------------------------------------------------------- */
.footer { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); padding: 72px 0 32px; } /* taste-skill-ignore: owner's design language */
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .logo { padding: 8px; border-radius: 18px; }
.footer .logo__icon { width: 72px; height: 72px; }
:root[data-theme="dark"] .footer .logo { padding: 0; }
:root[data-theme="dark"] .footer .logo__icon { width: 84px; height: 84px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 32ch; }
.footer__address { font-size: var(--step-small); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-chip); display: grid; place-items: center; color: var(--ink); transition: background-color var(--dur-fast), color var(--dur-fast); } /* taste-skill-ignore: owner's design language */
.footer__social a:hover { background: var(--accent-fill); color: var(--accent-ink); }
.footer__column h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer__column ul { display: grid; gap: 10px; }
.footer__column a { display: inline-block; padding: 3px 0; color: var(--muted); font-size: 0.9375rem; transition: color var(--dur-fast); }
.footer__column a:hover { color: var(--accent-text); }
.footer__bottom { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--step-small); color: var(--muted); }
.status-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.status-link__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ok); }

/* --------------------------------------------------------------------------
   Exit popup (dialog: a real overlay, so it carries a shadow)
   -------------------------------------------------------------------------- */
.exit-popup { position: fixed; inset: 0; z-index: 1400; display: none; align-items: center; justify-content: center; padding: 24px; background: var(--overlay); }
.exit-popup.visible { display: flex; }
.exit-popup__inner {
    position: relative; width: min(100%, 460px);
    background: var(--card); color: var(--ink); border-radius: var(--radius-lg);
    padding: 40px 32px 32px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: open dialog */
}
.exit-popup__close { position: absolute; top: 14px; inset-inline-start: 14px; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.exit-popup__close:hover { background: var(--surface); color: var(--ink); }
.exit-popup__title { font-size: 1.875rem; font-weight: 700; }
.exit-popup__text { margin-top: 8px; color: var(--muted); }
.exit-popup__actions { display: grid; gap: 10px; margin-top: 24px; }
.exit-popup__btn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); font-weight: 600; transition: background-color var(--dur-fast); }
.exit-popup__btn:hover { background: var(--surface-2); }
.exit-popup__btn--phone svg { color: var(--accent); }
.exit-popup__btn--email svg { color: var(--info); }
.exit-popup__btn--whatsapp svg { color: #1da851; }
.exit-popup__btn span { direction: ltr; unicode-bidi: isolate; }
.exit-popup__btn--whatsapp span { direction: rtl; }

/* Client logo lightbox */
.client-lightbox { position: fixed; inset: 0; z-index: 1300; display: none; place-items: center; background: rgba(2, 5, 20, 0.92); padding: 24px; }
.client-lightbox.is-open { display: grid; }
.client-lightbox__content { display: grid; gap: 16px; justify-items: center; }
.client-lightbox__img { max-width: min(90vw, 520px); max-height: 60vh; object-fit: contain; background: #fff; border-radius: var(--radius-lg); padding: 24px; }
.client-lightbox__name { color: #fff; font-size: var(--step-lead); font-weight: 600; }
.client-lightbox__close { position: absolute; top: 20px; inset-inline-start: 20px; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.14); color: #fff; display: grid; place-items: center; }
.client-lightbox__close svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Shared widgets on this page: keep the consent banner's button reachable
   -------------------------------------------------------------------------- */
body.hv2:has(#aridesk-cookie-banner) .a11y-btn { bottom: 196px; }
@media (min-width: 769px) { body.hv2:has(#aridesk-cookie-banner) .a11y-btn { bottom: 120px; } }

/* --------------------------------------------------------------------------
   Motion: entrances are staggered per section part (JS adds .revealed);
   without JS everything is visible.
   -------------------------------------------------------------------------- */
.reveal > * { --d: 0ms; }
.js .reveal:not(.revealed) > * { opacity: 0; transform: translateY(20px); }
.js .reveal.revealed > * {
    opacity: 1; transform: none;
    transition: opacity var(--dur-slow) var(--ease-out) var(--d), transform var(--dur-slow) var(--ease-out) var(--d);
}
.js .reveal.revealed > :nth-child(2) { --d: 70ms; }
.js .reveal.revealed > :nth-child(3) { --d: 140ms; }
.js .reveal.revealed > :nth-child(4) { --d: 210ms; }
.js .reveal.revealed > :nth-child(5) { --d: 280ms; }
.js .reveal.revealed > :nth-child(n+6) { --d: 350ms; }

.js .service-card { opacity: 0; transform: translateY(16px); }
.js .service-card.animated { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), background-color var(--dur) var(--ease-out); }
.js .service-card.animated:hover { transform: translateY(-3px); }

/* Signature move: the headline lines rise from behind their baseline on load */
.js .hero__title { overflow: hidden; }
.js .hero__line { animation: hv2-line-up 900ms var(--ease-out) both; }
.js .hero__line:nth-child(3) { animation-delay: 110ms; }
.js .hero__lead, .js .hero__description, .js .hero__actions, .js .hero__visual {
    animation: hv2-fade-up 700ms var(--ease-out) both;
}
.js .hero__lead { animation-delay: 420ms; }
.js .hero__description { animation-delay: 500ms; }
.js .hero__actions { animation-delay: 580ms; }
.js .hero__visual { animation-delay: 640ms; }
@keyframes hv2-line-up { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes hv2-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .js .reveal:not(.revealed) > *, .js .service-card { opacity: 1; transform: none; }
    .js .reveal.revealed > *, .js .service-card.animated { transition: none; }
    .js .hero__line, .js .hero__lead, .js .hero__description, .js .hero__actions, .js .hero__visual { animation: none; opacity: 1; transform: none; }
    .btn, .service-card, .project-card, .project-card__media img, .service-card__arrow, .contact-method { transition: none; }
    .promo-bar__btn { animation: none; }
    .project-card:hover, .btn:active, .btn:hover, .contact-method:hover, .service-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .nav { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 1024px) {
    :root { --window-overlap: 100px; }
    .hero__panel-rows { grid-template-columns: minmax(0, 1fr); }
    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portal__grid, .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .about__visual { padding-bottom: 0; padding-inline-start: 0; }
    .about__figures { position: static; margin-top: 16px; flex-wrap: wrap; }
    .floating-stat { flex: 1; }
    .newsletter__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 768px) {
    :root { --window-overlap: 72px; }
    /* phones: no backdrop blur (a known scroll-glitch source in mobile browsers); solid fills instead */
    .glass, .testimonials__card, .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .glass, .testimonials__card--quote { background: rgba(255, 255, 255, 0.08); }
    .header { background: var(--bg); }
    .services__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .service-card { padding: 22px 20px 20px; }
    .btn--login { display: none; }
    .header__cta-desktop { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
    .promo-bar__inner { gap: 8px 14px; }
    .promo-bar__text { font-size: var(--step-small); }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .features-list { grid-template-columns: minmax(0, 1fr); }
    .portal__mockup-body { grid-template-columns: minmax(0, 1fr); }
    .portal__mockup-nav { flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px; } /* taste-skill-ignore: inside the data-ui fragment */
    .portal__mockup-nav-item { white-space: nowrap; }
    .testimonials__card { width: min(340px, 80vw); margin-left: 16px; }
}
@media (max-width: 480px) {
    :root { --gutter: 20px; --window-overlap: 56px; }
    .header__inner { height: 68px; }
    .mobile-menu { inset-block-start: 68px; }
    .logo { padding: 4px; border-radius: 11px; }
    .logo__icon { width: 44px; height: 44px; }
    :root[data-theme="dark"] .logo__icon { width: 50px; height: 50px; }
    .hero { padding-top: 40px; }
    .hero__title { font-size: 2.375rem; }
    .hero__actions .btn { width: 100%; }
    .hero__panel-rows { padding: 16px; gap: 12px; }
    .hero__panel-row { padding: 16px 18px; }
    .about__figures { flex-direction: column; }
    .newsletter__row { flex-direction: column; }
    .cta__inner { border-radius: var(--radius-lg); }
    .cta__actions .btn { width: 100%; }
    .contact__info .btn--whatsapp { width: 100%; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}
