	/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    /* Greens â€” primary accent system */
    --green-900:     #091603;
    --green-800:     #173404;
    --green-700:     #265710;
    --green-600:     #3B6D11;
    --green-500:     #639922;
    --green-100:     #DCEBC7;
    --green-50:      #EAF3DE;

    /* Coral â€” disonant accent, used sparingly */
    --coral:         #E8783C;

    /* Neutrals â€” cool, institutional */
    --ink:           #191c1d;
    --body:          #4A5160;
    --muted:         #8A8F9A;
    --line:          #E5E5E1;
    --line-soft:     #F0F0EC;
    --surface:       #FAFAF8;
    --white:         #FFFFFF;

    --container:     1340px;
    --gap:           2rem;
    --radius-btn:    7px;
    --radius-pill:   999px;

    /* Sections rhythm */
    --section-v:     6rem;

    /* Mono font for technical details (numbers, eyebrows, foliated) */
    --font-mono:     'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Motion â€” easing & durations.
       --ease-out: gentle deceleration (no aggressive snap at the end â€”
       avoids the "tug" feel that out-expo gives).
       --ease-soft: kept for hover micro-transitions where snap is fine. */
    --ease:          cubic-bezier(0.33, 0.05, 0.2, 1);  /* gentle, natural */
    --ease-soft:     cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast:      0.22s;
    --dur:           0.55s;                             /* reveals breathe */
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 19px; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--green-700); }
a:hover { color: var(--green-600); }
p a { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--ink); }

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
body {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    color: var(--body);
    line-height: 1.5;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv11" on, "calt" on, "kern" on, "liga" on;
	 letter-spacing: 0.012em;
}
h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.15;
    font-weight: 500;
    font-feature-settings: "cv11" on, "calt" on, "kern" on;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 2.35rem);
    margin-bottom: 1.3rem;
    line-height: 1.05;
}
h2 {
    font-size: clamp(1.88rem, 3.5vw, 2.05rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}
h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 0.8rem;
    max-width: 22ch;
}
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 500; }
p  { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

/* Editorial body â€” single declaration used by cards, testimonials and any
   prose block that needs the "premium" tracking. Apply via class .body-editorial,
   or it is inherited automatically by .card p, .testimonial-text and .featured-info-col p. */
.body-editorial,
.card p,
.testimonial-card .testimonial-text,
.featured-info-col p {
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 400;
}

/* ============================================================
   FONT RENDERING â€” uniform grayscale antialiasing site-wide
   `-webkit-font-smoothing: antialiased` already declared on body
   (line 76) forces grayscale antialiasing in Chrome/Safari, both
   on macOS and on Windows. Same algorithm everywhere, regardless of
   whether the element lives in the normal flow or in a compositor
   layer â€” no rendering inconsistencies between cards and carousel.
   Note: GPU compositor layers (transform: translateZ(0)) would also
   force grayscale, but rasterize text through a bitmap texture whose
   quality depends on the graphics driver. We avoid that path here.
   ============================================================ */

/* Mark / highlight â€” green accent */
mark {
    background: transparent;
    color: var(--green-700);
    font-weight: 600;
    position: relative;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: var(--section-v) 0; }
.section-center { text-align: center; max-width: 880px; margin: 0 auto 3.5rem; }

/* Section head â€” asymmetric Nordic layout (mono label left, H2 right) */
.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: end;
    margin: 0 0 4rem;
    max-width: none;
}
.section-head .eyebrow-plain {
    margin-bottom: 0;
    align-self: end;
    padding-bottom: 0.3rem;
}
.section-head h2 {
    margin: 0;
    max-width: 22ch;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* ============================================================
   EYEBROW â€” mono technical label (the pill variant was retired)
   ============================================================ */
/* Plain eyebrow â€” mono technical detail, for section heads and meta */
.eyebrow-plain {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

/* ============================================================
   BUTTONS â€” Nordic flat, no levitation, arrow micro-animation
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: .85rem;
    line-height: 1.4;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}
.btn:active { opacity: 0.85; }

.btn-primary {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}
.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
}
/* Secondary â€” quiet "ghost" link, not a competing box.
   No border, no fill; just a hairline that draws itself on hover. */
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    position: relative;
}
.btn-secondary::after {
    content: '';
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.25rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0.5;
    transition: transform 0.3s var(--ease);
}
.btn-secondary:hover {
    background: transparent;
    color: var(--green-700);
}
.btn-secondary:hover::after {
    transform: scaleX(1);
}

/* Arrow micro-animation â€” when a button ends with the arrow glyph,
   we keep it inline and slide it 3px right on hover.
   To opt-in, write the arrow inside <span class="btn-arrow">âžž</span>. */
.btn-arrow {
    display: inline-block;
    transition: transform 0.35s var(--ease);
    will-change: transform;
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:active .btn-arrow { transform: translateX(2px); }

/* ============================================================
   SCROLL ANIMATIONS â€” gentle, GPU-friendly reveals
   
   Animation principles:
   - opacity + transform only (cheap, GPU-composited).
   - will-change kept until revealed, then removed (no permanent layer).
   - transform: translate3d(0,0,0) used as initial state hint so the
     browser pre-allocates a compositor layer before the animation
     starts. This is what kills the "first-frame stutter".
   - One unified duration. Differences in feel come from easing, not speed.
   
   Variants:
   .scroll-reveal           â†’ default: gentle upward fade (12px â†’ 0)
   .scroll-reveal-fade      â†’ pure opacity, no movement (for centered blocks)
   .scroll-reveal-from-left â†’ enters from the left  (use on LEFT cards of a row)
   .scroll-reveal-from-rightâ†’ enters from the right (use on RIGHT cards of a row)
   .scroll-reveal-left      â†’ legacy alias, same as -from-left
   .scroll-reveal-right     â†’ legacy alias, same as -from-right
   .scroll-reveal-scale     â†’ soft scale-in for statement-like blocks
   ============================================================ */
.scroll-reveal,
.scroll-reveal-fade,
.scroll-reveal-from-left,
.scroll-reveal-from-right,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale {
    opacity: 0;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    will-change: opacity, transform;
    /* Pre-create the compositor layer so the very first frame
       of the animation does not stutter. */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* All variants now enter as a single gentle upward fade. The directional
   variants (-left / -right) are kept as aliases so existing markup works,
   but they no longer pull from opposite sides â€” a title and its body now
   enter together as one block. */
.scroll-reveal,
.scroll-reveal-from-left,
.scroll-reveal-left,
.scroll-reveal-from-right,
.scroll-reveal-right { transform: translate3d(0, 8px, 0); }
.scroll-reveal-fade         { transform: translate3d(0, 0, 0); }
.scroll-reveal-scale        { transform: scale(0.992) translate3d(0, 0, 0); }

.scroll-reveal.revealed,
.scroll-reveal-fade.revealed,
.scroll-reveal-from-left.revealed,
.scroll-reveal-from-right.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: none;
}
/* Once revealed, drop EVERY hook that keeps the element on a GPU
   compositor layer. translate3d(0,0,0) would keep the layer alive;
   `transform: none` above releases it. We also clear will-change and
   backface-visibility to return the element to the standard render
   path (sharper kerning, no GPU texture, no font weight inflation). */
.scroll-reveal.revealed,
.scroll-reveal-fade.revealed,
.scroll-reveal-from-left.revealed,
.scroll-reveal-from-right.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.scroll-reveal-scale.revealed {
    will-change: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal, .scroll-reveal-fade,
    .scroll-reveal-from-left, .scroll-reveal-from-right,
    .scroll-reveal-left, .scroll-reveal-right, .scroll-reveal-scale,
    .hero-fade {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}

/* ============================================================
   HERO ENTRY â€” CSS-only fade, fires on page load without
   waiting for the IntersectionObserver. Same easing as the
   scroll reveals so the page feels of a piece.
   ============================================================ */
/* ============================================================
   HERO ENTRY
   
   The hero blocks start hidden (opacity 0 + 8px down). A small JS
   bootstrap waits for fonts to be ready, then adds .hero-ready to
   <body> on the next animation frame, which triggers the transition.
   
   Why not pure CSS animation:
   - CSS `animation` runs the moment styles parse, regardless of
     whether the webfont has loaded. If Inter arrives mid-animation,
     the text re-renders and we get a visible jolt.
   - A JS-coordinated transition lets us hold the curtain until the
     font is ready, so the animation plays on stable typography.
   
   Stagger is short (40ms between blocks, total ~200ms tail) so the
   hero reads as a single graceful entrance, not a 6-step cascade.
   ============================================================ */
.hero-fade {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    transition-delay: var(--hero-delay, 0ms);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
body.hero-ready .hero-fade {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.top-bar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    padding: 1.1rem 0;
    z-index: 1000;
    transition: border-color var(--dur-fast) var(--ease-soft);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-size: 1.1rem;        /* más grande que ahora */
    font-weight: 550;          /* más bold */
    color: var(--green-800);   /* color de marca, no negro plano */
    letter-spacing: 0.015em;
    text-transform: uppercase;
}
.logo:hover { color: var(--green-700); transition: color var(--dur-fast) var(--ease-soft); }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
    color: var(--body);
    font-size: 0.92rem;
    font-weight: 400;
    transition: color var(--dur-fast) var(--ease-soft);
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.lang-switch { display: flex; align-items: center; gap: 0.4rem; margin-left: 0.5rem; padding-left: 1.5rem; border-left: 1px solid var(--line); font-family: var(--font-mono); }
.lang-switch a { font-size: 0.82rem; font-weight: 400; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; padding: 0; border-radius: 0; background: none; transition: color var(--dur-fast) var(--ease-soft); }
.lang-switch a:hover { color: var(--ink); background: none; }
.lang-switch a.active-lang { color: var(--ink); background: none; }
.lang-switch .lang-sep { font-size: 0.72rem; color: var(--line); user-select: none; font-weight: 400; }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--ink);
}

/* ============================================================
   HERO â€” split layout with mosaic + integrated stats
   ============================================================ */
.hero {
    padding: 4rem 0 4rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
/* Subtle technical grid â€” barely perceptible texture, not decoration */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--green-700) 1px, transparent 1px),
        linear-gradient(to bottom, var(--green-700) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: -1px -1px;
    opacity: 0.055;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
/* Diagonal de luz — foco verde vivo arriba-derecha + halo suave abajo-izquierda.
   Da profundidad real sin elemento decorativo; reemplaza el glow plano anterior. */
.hero::after {
    content: '';
    position: absolute;
    top: -34%;
    right: -14%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-500) 0%, transparent 70%);
    opacity: 0.16;
    filter: blur(70px);
    pointer-events: none;
}
.hero-d::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
/* ============================================================
   HERO â€” Direction D: wide H1, asymmetric body, specialties on right
   ============================================================ */
.hero-d {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Meta row â€” availability line on the left, section index on the right */
.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.3rem;
}

/* Editorial availability line with live status dot */
.hero-availability {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}
.hero-availability-rule {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--green-700);
    margin-right: 14px;
}
.hero-availability-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}
.hero-availability-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.3;
    animation: hero-dot-pulse 2.4s ease-out infinite;
}
@keyframes hero-dot-pulse {
    0%   { transform: scale(0.6); opacity: 0.45; }
    70%  { transform: scale(1.6); opacity: 0;    }
    100% { transform: scale(1.6); opacity: 0;    }
}

/* Section index â€” '/ 01' marker on the right of the meta row */
.hero-index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.hero-headline {
    font-size: clamp(2.4rem, 5.2vw, 3.2rem);
    font-weight: 500;
    line-height: 1.06;
    margin: 0 0 2rem;
    color: var(--ink);
    font-feature-settings: "cv11" on, "calt" on, "kern" on, "liga" on;
    letter-spacing: -0.018em;
}
.h1-tail {
/*    color: var(--green-700); */
    color: inherit;
}

/* Main hero grid: lede (headline + intro + CTA) on the left,
   specialties as an editorial side-column on the right.
   The side-column starts at the top, anchoring the upper-right
   quadrant that used to read as dead space. */
.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr);
    gap: 4rem;
    align-items: start;
    margin-bottom: 3.25rem;
}
.hero-lede {
    align-self: center;
}
.hero-intro p {
    font-size: 1rem;
    color: var(--body);
    margin: 0 0 2.5rem;
    max-width: 590px;
}
.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Specialties â€” numbered editorial index in the right column.
   Sits against a hairline rule, aligned to the headline's optical top. */
.hero-specialties {
    border-left: 1px solid var(--line);
    padding-left: 2.25rem;
    position: relative;
    padding-top: 0.1rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}
.hero-specialties-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin: 0 0 1.75rem;
}
.hero-specialties-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}
.hero-specialties-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: baseline;
    gap: 0.85rem;
    padding: 0.1rem 0;
    position: relative;
    transition: color var(--dur-fast) var(--ease-soft);
}
.hero-specialties-list li::before {
    content: '';
    position: absolute;
    left: -2.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--green-700);
    transition: height var(--dur-fast) var(--ease);
}
.hero-specialties-list li:hover::before {
    height: 80%;
}
.hero-spec-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color var(--dur-fast) var(--ease-soft);
}
.hero-specialties-list li:hover .hero-spec-num {
    color: var(--green-700);
}
.hero-spec-name {
    font-size: 1rem;
    font-weight: 550;
    color: var(--ink);
}
/* Quiet provenance note under the specialties â€” replaces the old footnotes.
   margin-top:auto pushes it to the column's baseline so the hairline rule
   reads as a full-height structural divider, balancing the tall headline. */
.hero-specialties-note {
    margin: auto 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-soft);
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--muted);
    letter-spacing: 0.01em;
	 max-width: 350px;
}

/* Hero stats â€” bottom band with old-style figures (editorial feel) */
.hero-stats {
    display: flex;
    gap: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.hero-stat .stat-num {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.042em;
    line-height: 1;
    margin: 0 0 0.4rem;
    display: block;
    font-variant-numeric: oldstyle-nums;
    font-feature-settings: "onum" on, "cv11" on;
}
.hero-stat .stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Hero footnote marker â€” kept as a utility for inline superscripts elsewhere */
.hero-fn {
    color: var(--coral);
    font-size: 0.92em;
    font-weight: 500;
    margin-left: 2px;
    vertical-align: super;
    line-height: 1;
}

/* ============================================================
   CLIENT LOGOS STRIP
   ============================================================ */
/* ============================================================
   TRUSTED BY â€” client logos strip
   Per-logo optical scale via data-scale on .logo-item:
     data-scale="0.85" reduces a visually oversized logo
     data-scale="1.1"  enlarges a visually undersized one
   Default 1.0 (no attribute needed). Tune per logo to match
   perceived weight, not pixel height.
   ============================================================ */
.client-logos {
    padding: 3.5rem 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--white);
}
.logos-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
    font-weight: 400;
}
.logos-grid {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.logos-grid .logo-item {
    width: 140px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Optical scale â€” overridable per item with --scale */
    --scale: 1;
}
.logos-grid .logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(var(--scale));
    transform-origin: center;
    /* Desaturate to monochrome â€” unifies palette regardless of original logo colors */
    filter: grayscale(1) brightness(0) opacity(0.6);
    transition: filter var(--dur-fast) var(--ease-soft);
}
.logos-grid .logo-item img:hover {
    filter: grayscale(1) brightness(0) opacity(1);
}
/* Per-logo optical correction. Tweak these values until each logo
   feels the same visual weight as its neighbors. */
.logos-grid .logo-item[data-scale="0.7"]  { --scale: 0.7; }
.logos-grid .logo-item[data-scale="0.75"] { --scale: 0.75; }
.logos-grid .logo-item[data-scale="0.8"]  { --scale: 0.8; }
.logos-grid .logo-item[data-scale="0.85"] { --scale: 0.85; }
.logos-grid .logo-item[data-scale="0.9"]  { --scale: 0.9; }
.logos-grid .logo-item[data-scale="0.95"] { --scale: 0.95; }
.logos-grid .logo-item[data-scale="1.05"] { --scale: 1.05; }
.logos-grid .logo-item[data-scale="1.1"]  { --scale: 1.1; }
.logos-grid .logo-item[data-scale="1.15"] { --scale: 1.15; }
.logos-grid .logo-item[data-scale="1.2"]  { --scale: 1.2; }

/* ============================================================
   FEATURED CLIENT
   ============================================================ */
.featured-client {
    padding: var(--section-v) 0;
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.85);
}
.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--green-900);
    align-items: stretch;
}
.featured-photo-col {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.featured-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.8s var(--ease);
}
.featured-card:hover .featured-photo-col img { transform: scale(1.04); }
.featured-photo-col::after {
    content: '';
    position: absolute;
    inset: 0;
}
.featured-info-col {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-info-col .featured-eyebrow {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.featured-info-col h3 {
    /* Featured H3 is intentionally larger (1.6rem vs 1.25rem base) â€” destacado.
       Other props inherited from base h3. Override color for dark background. */
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.featured-info-col p {
    /* Override body color for dark background. Typography inherited. */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}
.featured-info-col p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Stats â€” typographic, no pills, separated by hairline */
.featured-stats {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.featured-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}
.featured-stat::before {
    content: attr(data-num);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
}

/* ============================================================
   STATEMENT â€” quote, distinct from H2, asymmetric, breathing
   ============================================================ */
.statement {
    padding: var(--section-v) 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.statement p,
.statement blockquote {
    font-size: clamp(1.15rem, 1.85vw, 1.8rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.45;
    text-align: left;
    max-width: 50ch;
    margin: 0 0 1.75rem 14%;
    letter-spacing: 0em;
    font-feature-settings: "cv11" on, "calt" on, "kern" on;
}
.statement cite {
    display: block;
    text-align: left;
    font-style: normal;
    font-size: 0.78rem;
    max-width: 50ch;
    margin: 0 0 0 14%;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
    color: var(--muted);
}
.statement .cite-name {
    font-weight: 500;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}
.statement .cite-role {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

@media (max-width: 820px) {
    .statement p,
    .statement blockquote,
    .statement cite { margin-left: 0; }
}

/* ============================================================
   CARDS (generic â€” value prop, services)
   ============================================================ */
/* ============================================================
   CARDS â€” Nordic editorial system
   No box, no border, no radius, no hover translateY.
   Hairline on top + mono numbering + typographic hierarchy.
   ============================================================ */
.card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 1.5rem 0 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 1px solid var(--ink);
    transition: border-color var(--dur-fast) var(--ease-soft);
}
.card h3 {
    /* Inherits font-size, line-height, font-weight, letter-spacing, max-width from base h3.
       Only component-specific behavior here: color transition for hover. */
    margin-bottom: 0.8rem;
    transition: color var(--dur-fast) var(--ease-soft);
}
.card p {
    /* Inherits all typography from .body-editorial rule above.
       Component-specific only: layout (flex-grow for sticky-bottom in card). */
    margin-bottom: 0;
    flex-grow: 1;
}
.card:hover h3 { color: var(--green-700); }

/* Card numbering â€” mono, technical, discreet */
.card-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    margin-bottom: 2.5rem;
}

/* Card list (bullet points inside cards) */
.card-list {
    list-style: none;
    margin-top: 1rem;
    border-top: 1px solid var(--line-soft);
    padding-top: 0.8rem;
}
.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--body);
    padding: 0.25rem 0;
}
.card-list li::before {
    content: 'â†’';
    color: var(--green-700);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: -0.05em;
}

/* Service detail cards (inside service page) */
.service-details { margin-top: 1rem; border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.service-details h4 { font-size: 0.82rem; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.mini-bullets { list-style: none; }
.mini-bullets li { font-size: 0.82rem; padding: 0.15rem 0; color: var(--body); }
.mini-bullets li::before { content: 'â†’ '; color: var(--green-700); font-weight: 700; }

/* ============================================================
   TESTIMONIALS â€” carousel with cards extending the generic .card
   ============================================================ */
.testimonials-section { background: var(--surface); }

.carousel-wrap {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    cursor: grab;
    transition: transform var(--dur) var(--ease);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.carousel-track.is-dragging {
    cursor: grabbing;
    transition: none;
}
.carousel-track.is-dragging * {
    pointer-events: none;
}

/* Testimonial card â€” Nordic editorial, no box, no curly quote.
   All cards in the track stretch to the height of the tallest card
   (align-items: stretch on the parent), and inside each card the
   author/role meta block is pinned to the bottom via margin-top: auto
   on the testimonial-text. */
.testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--ink);
    padding: 1.75rem 0 0.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: border-color var(--dur-fast) var(--ease-soft);
}
.testimonial-card:hover {
    border-top-color: var(--green-700);
}
/* Curly quote disabled â€” replaced by em dash in author meta */
.testimonial-card .quote-mark { display: none; }

.testimonial-card .testimonial-text {
    /* Typography inherited from .body-editorial rule above.
       The text grows naturally; margin-bottom: auto pushes the meta
       block (author + role) down so it anchors at the bottom of every
       card, regardless of how long the quote is. */
    margin-bottom: auto;
    padding-bottom: 1.6rem;
}
.testimonial-card .testimonial-author {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}
.testimonial-card .testimonial-author::before {
    content: 'â€” ';
    color: var(--muted);
    font-weight: 400;
}
.testimonial-card .testimonial-role {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

/* Pagination strip: prev arrow Â· dots Â· next arrow */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
/* Carousel arrows â€” Nordic minimal: no pill, no box.
   Just a chevron that slides on hover, like the .btn-arrow micro-animation. */
.carousel-arrow {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    padding: 0;
    transition: color var(--dur-fast) var(--ease-soft);
}
.carousel-arrow svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.25;
    transition: transform var(--dur-fast) var(--ease);
    will-change: transform;
}
.carousel-arrow:hover {
    color: var(--green-700);
}
.carousel-arrow.prev:hover svg { transform: translateX(-3px); }
.carousel-arrow.next:hover svg { transform: translateX(3px); }
.carousel-arrow:active svg { transform: translateX(0); }
.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.carousel-arrow:disabled:hover {
    color: var(--ink);
}
.carousel-arrow:disabled:hover svg { transform: none; }

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-soft),
                width var(--dur-fast) var(--ease);
}
.carousel-dot:hover {
    background: var(--muted);
}
.carousel-dot.active {
    background: var(--green-700);
    width: 20px;
}

/* ============================================================
   CTA â€” centered, light background, generous spacing
   ============================================================ */
.cta-section {
    padding: var(--section-v) 0;
    background: var(--white);
    border-top: 1px solid var(--line);
}
.cta-section .container { text-align: left; }

/* CTA inner â€” mirrors .section-head grid (1fr / 2fr).
   H2 sits on the left like an eyebrow position; body + button on the right. */
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: none;
}
.cta-section h2 {
    color: var(--ink);
    margin: 0;
    max-width: 14ch;
    letter-spacing: -0.025em;
    align-self: start;
}
.cta-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    max-width: 48ch;
}
.cta-section .cta-right p {
    color: var(--body);
    font-size: 1.25rem;
    line-height: 1.55;
    margin: 0;
    max-width: 38ch;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 820px) {
    .cta-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--white);
    color: var(--body);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--line);
}
.footer h4 {
    color: var(--ink);
    font-size: 0.82rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.035rem;
}
.footer-links { list-style: none; }
.footer-links li { padding: 0.3rem 0; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links a { color: var(--body); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-links svg { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid var(--line-soft);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0;
}
.footer-bottom p {
    margin: 0 0 0.4rem;
}
.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--ink);
    color: var(--white);
    border: none; border-radius: var(--radius-pill);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 350px;
    gap: 8rem;
    align-items: start;
}
.lead-text { font-size: 1.25rem; line-height: 1.4; color: var(--ink); margin-bottom: 1.2rem; }
.profile-image-wrapper {
    border: 1px solid var(--line);
    overflow: hidden;
    position: sticky;
    top: 6rem;
}
.profile-image-wrapper img { width: 100%; height: auto; display: block; filter: grayscale(1); }

/* Signature + CV row */
.about-signature-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.about-signature { display: block; opacity: 0.85; }
.cv-download svg { width: 16px; height: 16px; stroke-width: 2; }

/* Timeline â€” Nordic editorial: no boxes, hairline rail, mono dates */
.experience-timeline { max-width: 820px; margin: 0 auto; }
.timeline-item {
    display: grid;
    grid-template-columns: 11px 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-marker {
    width: 11px; height: 11px;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    z-index: 1;
}
.timeline-content {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--ink);
    padding: 1.25rem 0 0;
}
.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.9rem;
    font-weight: 400;
}
.timeline-content h3 { margin-bottom: 0.6rem; }
.timeline-content p { font-size: 1.02rem; line-height: 1.5; color: var(--ink); letter-spacing: -0.012em; }
.timeline-highlights { list-style: none; margin-top: 1.1rem; border-top: 1px solid var(--line-soft); padding-top: 0.9rem; }
.timeline-highlights li { font-size: 0.88rem; color: var(--body); padding: 0.25rem 0; }
.timeline-highlights li::before { content: 'â†’ '; color: var(--green-700); font-weight: 600; }

/* Expertise grid â€” holds .card items (Nordic), 2 columns, centered */
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); max-width: 900px; margin: 0 auto; }

/* Notable project stats â€” flat, hairline-separated, no pills */
.project-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.stat {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-transform: none;
}
.stat strong { display: block; font-family: 'Google Sans Flex', system-ui, sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--green-700); letter-spacing: -0.02em; margin-bottom: 0.15rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.contact-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--ink);
    padding: 1.25rem 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-card-icon {
    color: var(--ink);
    margin-bottom: 1rem;
    transition: color 0.25s;
}
.contact-card:hover .contact-card-icon { color: var(--green-700); }
.contact-card-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.92rem; color: var(--body); margin-bottom: 1.1rem; line-height: 1.5; flex-grow: 1; }
.contact-link { color: var(--green-700); font-weight: 600; font-size: 0.9rem; }
.contact-link:hover { color: var(--green-800); }
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; max-width: 900px; margin: 0 auto; }
.contact-info-grid h2 { margin-bottom: 2rem; }
.info-block { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.info-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--green-700); flex-shrink: 0; margin-top: 0.15rem; }
.info-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.info-block h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.info-block p { font-size: 0.9rem; color: var(--body); margin: 0; line-height: 1.6; }

/* ============================================================
   CLIENTS PAGE
   ============================================================ */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
}
.client-logo-item {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    transition: border-color 0.2s;
}
.client-logo-item:hover { border-color: var(--green-500); }
.client-logo-item img {
    max-height: 38px;
    max-width: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.25s, opacity 0.25s;
}
.client-logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Placeholder logo item */
.client-logo-placeholder {
    padding: 0;
    border-style: dashed;
    border-color: var(--green-500);
    background: var(--white);
    transition: border-color 0.25s;
}
.client-logo-placeholder:hover {
    border-color: var(--ink);
}
.client-logo-placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: var(--green-700);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}
.client-logo-placeholder:hover a { color: var(--ink); }

/* ============================================================
   PAGE HEADER (inner pages: Services, Clients, About, Contact)
   ============================================================ */
.page-header {
    padding: 3rem 0 4rem;
}
.page-header .section-center {
    margin-bottom: 0;
}

/* ============================================================
   CLIENTS PAGE â€” Agency partnerships
   Asymmetric editorial layout: intro left, hairline name grid right.
   The eyebrow + h2 live in a section-head ABOVE both columns.
   ============================================================ */
.agency-section {
    padding-top: 2rem;
}
.agency-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}
.agency-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 1.4rem;
}

/* Hairline grid of agency-mediated account names */
.agency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.agency-cell {
    background: var(--white);
    padding: 1.1rem 0.8rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.005em;
    transition: background 0.2s, color 0.2s;
}
.agency-cell:hover {
    background: var(--green-50);
    color: var(--green-800);
}
.agency-cell-more {
    font-style: italic;
    font-weight: 400;
    color: var(--muted);
}
.agency-cell-more:hover {
    background: var(--white);
    color: var(--muted);
}

/* ============================================================
   CLIENTS PAGE â€” At a glance
   Horizontal stats strip framed by a hairline top border only.
   ============================================================ */
.glance-section {
    padding-top: 1rem;
}
.glance-frame {
    border-top: 1px solid var(--line);
    padding: 2rem 0 0;
}
.glance-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.glance-item {
    text-align: center;
    padding: 0 1.5rem;
    border-right: 1px solid var(--line);
}
.glance-item:last-child {
    border-right: none;
}
.glance-num {
    font-size: 2.6rem;
    font-weight: 450;
    color: var(--green-700);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 0.9rem;
}
.glance-label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin: 0 0 0.55rem;
}
.glance-sub {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--body);
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Section-head asymmetric collapses to single column on tablet */
@media (max-width: 900px) {
    .section-head {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    .section-head .eyebrow-plain {
        padding-bottom: 0;
    }
    .section-head h2 {
        max-width: 30ch;
    }
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
    .client-logos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .contact-methods-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-main { grid-template-columns: 1fr; gap: 2.75rem; }
    .hero-lede { align-self: stretch; }
    .hero-specialties { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.75rem; }
    .hero-specialties-list li::before { display: none; }
    .about-hero-grid { grid-template-columns: 1fr 300px; }
    .agency-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --section-v: 4rem; }
    html { font-size: 17px; }

    .nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.2rem 2rem;
        border-bottom: 1px solid var(--line);
        gap: 1.2rem;
    }
    .nav.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .lang-switch { margin-left: 0; padding-left: 0; border-left: none; border-top: 1px solid var(--line-soft); padding-top: 1rem; gap: 0.6rem; }

    .hero-main,
    .about-hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6 {
        grid-template-columns: 1fr;
    }
    .hero { padding: 0.5rem 0 4rem; }
    .hero::before { background-size: 50px 50px; opacity: 0.025; }
    .hero-index { display: none; }
    .hero-headline { font-size: clamp(2.15rem, 7vw, 3.4rem); line-height: 1.08; max-width: 18ch; }
    .hero-main { gap: 2rem; }
    .hero-specialties { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.75rem; }
    .hero-stats { gap: 2rem; flex-wrap: wrap; }

    .profile-image-wrapper { position: static; max-width: 300px; margin: 0 auto; }
    .about-hero-grid { grid-template-columns: 1fr; }

    .expertise-grid { grid-template-columns: 1fr; }
    .contact-methods-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; gap: 2rem; }
    .client-logos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .client-logos-grid.scroll-reveal { opacity: 1; transform: none; transition: none; }

    .featured-card { grid-template-columns: 1fr; }
    .featured-photo-col { height: 260px; }
    .featured-photo-col::after { background: linear-gradient(to bottom, transparent 60%, var(--ink) 100%); }
    .featured-info-col { padding: 2rem 0; }

    .testimonial-card { flex: 0 0 100%; }
    .carousel-arrow { width: 28px; height: 28px; }
    .carousel-arrow svg { width: 20px; height: 20px; }

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

    /* Hero "Trusted by" logos: from a free-flowing flex row to a tidy
       2-column grid on mobile, so the six marks read as 3 even rows
       instead of an uneven wrap. */
    .logos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        justify-items: center;
    }
    .logos-grid .logo-item { width: 100%; max-width: 150px; }

    .agency-grid { grid-template-columns: repeat(2, 1fr); }
    .agency-cell { padding: 0.95rem 0.6rem; font-size: 0.85rem; }
    .glance-frame { padding: 1.5rem 0 0; }
    .glance-row { grid-template-columns: 1fr; }
    .glance-item {
        padding: 1.5rem 0;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
    .glance-item:last-child { border-bottom: none; }
    .glance-num { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    html { font-size: 16px; }
    .client-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer .grid-4 { grid-template-columns: 1fr; text-align: center; }
    .footer-links { text-align: center; }
    .footer-links li { justify-content: center; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat .stat-num { font-size: 1.5rem; }
    .hero-stat .stat-label { font-size: 0.7rem; }
}
