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

:root {
  --crimson: #4f0013;
  --crimson-light: #6a0a1f;
  --accent: #bd1b10;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text-dark: #151515;
  --text-muted: #808080;
  --text-soft: #afafaf;
  --text-ghost: rgba(0, 0, 0, 0.08);
  --text-ghost-mid: rgba(0, 0, 0, 0.12);
  --nav-bg: #f5f5f7;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
  --tab-gradient: linear-gradient(158deg, #4f0013 40%, #bd1b10 84%);
  --nav-offset: 100px;
  --nav-robot-h: 150px;
  --word-grey: #e5e5e6;
  /* rob.gif native 352×449; Figma frame 571×585 (scaled to stage) */
  --robot-w: 352;
  --robot-native-h: 449;
  --robot-gap-top: 29px;
  --robot-figma-w: 571;
  --robot-figma-h: 585;
  /* Hero section frame (Figma) */
  --hero-w: 1920px;
  --hero-h: 692px;
  --about-w: 1920px;
  --about-h: 758px;
  --about-title-gap: 85px;
  --about-columns-gap: 41px;
  --about-copy-w: 878px;
  --about-copy-h: 578px;
  --about-visual-w: 610px;
  --about-visual-h: 343px;
  --about-desc-size: 24px;
  /* Section Contacts (CTA + footer) */
  --cta-w: 1920px;
  --cta-h: 1088px;
  --cta-pad-x: 140px;
  --cta-pad-top: 100px;
  --cta-pad-bottom: 32px;
  --stage-w: 1920px;
  --stage-h: 436px;
  --word-top: 110px;
  --word-bottom: 80px;
  /* Innovative. — Figma typography */
  --innovative-size: 127px;
  --innovative-lh: 107px;
  --innovative-tracking: -7.64px;
  --innovative-left: 215px;
  /* Notch / rounded-display insets (0 on devices without them) */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
  /* Stop iOS Safari inflating text in landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Media never forces horizontal overflow, whatever the container */
img,
svg,
video {
  max-width: 100%;
}

/* Visible keyboard focus everywhere (mouse users unaffected) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.service-dark :focus-visible,
.cta-banner :focus-visible {
  outline-color: #fff;
}

/* ── NAVBAR (Figma: 1920×168, pad 41/83, bg #F5F5F7) ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-offset);
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 41px clamp(16px, 4.3vw, 83px) 41px
    clamp(16px, 2.1vw, 41px);
  padding-left: max(clamp(16px, 2.1vw, 41px), var(--safe-l));
  padding-right: max(clamp(16px, 4.3vw, 83px), var(--safe-r));
  box-sizing: border-box;
  overflow: visible;
}

.nav-robot {
  position: fixed;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  height: var(--nav-robot-h);
  max-width: none;
  object-fit: contain;
  object-position: 100% 100%;
  transform: none;
  pointer-events: none;
  z-index: 150;
  opacity: 1;
  visibility: visible;
}

/* 3-track grid: logo | centred links | language pills.
   Keeps the pills out of the links' flow at every width. */
.nav-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  min-height: 56px;
  gap: clamp(12px, 2.4vw, 40px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1.25px solid rgba(79, 0, 19, 0.2);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--crimson);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 0;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  width: 120px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  white-space: nowrap;
}

.nav-logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--crimson);
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.6vw, 52px);
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
}

.nav-langs {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
}

.lang-btn {
  border: 1px solid rgba(79, 0, 19, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--crimson);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  min-width: 40px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: #fff;
  border-color: var(--crimson);
}

.lang-btn.active {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

nav a {
  text-decoration: none;
  color: rgba(21, 21, 21, 0.957);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.35vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  padding: 10px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--crimson);
}

/* ── HERO (Figma: 1920×692) ── */
.hero {
  position: relative;
  margin-top: var(--nav-offset);
  width: 100%;
  max-width: var(--hero-w);
  min-height: var(--hero-h);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  overflow: visible;
  box-sizing: border-box;
}

.hero-top {
  text-align: center;
  max-width: 945px;
  width: 100%;
  padding-top: 45px;
  position: relative;
  z-index: 2;
}

.hero-top h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  color: var(--crimson);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-top p {
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

/* Horizontal scroll strip: centred while it fits, swipeable once it
   doesn't. `safe center` keeps the left edge reachable when overflowing. */
.tabs-wrap {
  position: relative;
  z-index: 2;
  margin-top: 55px;
  display: flex;
  justify-content: center;
  justify-content: safe center;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.tabs-wrap::-webkit-scrollbar {
  display: none;
}

.tabs {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  border: 1.25px solid var(--crimson);
  border-radius: 500px;
  padding: 8px 12px;
  gap: clamp(6px, 1vw, 14px);
  background: var(--surface);
  box-sizing: border-box;
  width: max-content;
  max-width: none;
  overflow: visible;
}

.tab:not(.active) {
  color: var(--crimson);
}

.tab {
  flex: 0 0 auto;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 127px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  border: 1.25px solid transparent;
  background: var(--surface);
  color: var(--crimson);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
  font-family: var(--font-display);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  scroll-snap-align: center;
}

.tab:hover {
  border-color: var(--crimson);
}

.tab.active {
  background: var(--tab-gradient);
  border-color: var(--crimson);
  color: #fff;
}

.stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--stage-w));
  height: var(--stage-h);
  max-width: var(--stage-w);
  margin: 0;
  overflow: hidden;
}

/* Background words — position with --word-top / --word-bottom on this box */
/* No z-index here on purpose: it would create a stacking context that
   traps .word-creative (z-index 12) behind .robot-slot (z-index 10). */
.stage-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.word {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Innovative. — Figma: ExtraBold 127px / 107px / -7.64px, #E5E5E6 */
.word-innovative {
  left: clamp(12px, 11.2vw, var(--innovative-left));
  top: clamp(40px, 10vw, var(--word-top));
  z-index: 1;
  font-size: clamp(48px, 6.61vw, var(--innovative-size));
  font-weight: 800;
  font-variation-settings: "wght" 800;
  line-height: var(--innovative-lh);
  letter-spacing: var(--innovative-tracking);
  text-align: left;
  color: #e5e5e6;
  -webkit-text-fill-color: #e5e5e6;
  -webkit-text-stroke: 0;
  paint-order: normal;
}

/* Since 2022. — hollow: 2px #4F0013 stroke, fill = page bg (matches Figma) */
.word-since {
  right: clamp(12px, 10.16vw, 195px);
  top: clamp(40px, 10vw, var(--word-top));
  z-index: 1;
  font-size: clamp(48px, 8vw, 127px);
  line-height: 0.854;
  letter-spacing: -0.061em;
  color: var(--bg);
  -webkit-text-fill-color: var(--bg);
  -webkit-text-stroke: 2px var(--crimson);
  paint-order: stroke fill;
}

/* Bottom row — 170px, in front of robot */
.word-creative {
  left: clamp(12px, 11.35vw, 218px);
  bottom: clamp(20px, 8vw, var(--word-bottom));
  z-index: 12;
  font-size: clamp(56px, 12vw, 170px);
  line-height: 0.841;
  letter-spacing: -0.06em;
  color: var(--crimson);
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

/* Strategic. — Figma: 170px, #E5E5E6 solid, behind robot */
.word-strategic {
  right: clamp(12px, 8.18vw, 157px);
  bottom: clamp(20px, 8vw, var(--word-bottom));
  z-index: 1;
  font-size: clamp(56px, 10vw, 170px);
  line-height: 0.841;
  letter-spacing: -0.06em;
  color: var(--word-grey);
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

.robot-slot {
  position: absolute;
  left: 50%;
  top: clamp(18px, 6%, var(--robot-gap-top));
  bottom: 0;
  z-index: 10;
  width: clamp(260px, 26.5%, 360px);
  max-width: calc(var(--robot-figma-w) * 1px);
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}

.robot-slot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
}

/* ══════════════════════════════
 ABOUT US
    ══════════════════════════════ */
.about {
  background: var(--bg);
  /* Fallback first: browsers without svh drop the clamp() entirely, which
     would otherwise collapse the gap to 0 and let the hero stage overlap. */
  margin-top: 180px;
  margin-top: clamp(
    116px,
    calc(100svh - var(--nav-offset) - var(--hero-h) + 56px),
    248px
  );
  width: 100%;
  max-width: var(--about-w);
  min-height: var(--about-h);
  margin-left: auto;
  margin-right: auto;
  padding: 88px clamp(24px, 10.4vw, 200px) 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 6;
  overflow: hidden;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, var(--about-copy-w)) minmax(
      0,
      var(--about-visual-w)
    );
  align-items: start;
  justify-content: center;
  gap: var(--about-columns-gap);
  flex: 1;
  width: 100%;
  max-width: calc(
    var(--about-copy-w) + var(--about-columns-gap) + var(--about-visual-w)
  );
  margin: 0 auto;
  min-height: 0;
}

.about-copy {
  width: 100%;
  max-width: var(--about-copy-w);
  height: auto;
  min-height: var(--about-copy-h);
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: start;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--crimson);
  text-align: center;
  width: 100%;
  margin: 0 0 var(--about-title-gap);
  padding: 0;
  padding-top: 70px;
  letter-spacing: -0.045em;
  line-height: 1.1;
  flex-shrink: 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.about-tagline {
  width: 100%;
  max-width: 100%;
}

.about-tagline-marquee {
  overflow: hidden;
  width: 100%;
}

.about-tagline-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.about-tagline-track:hover {
  animation-play-state: paused;
}

.about-tagline-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 44px;
  margin: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .about-tagline-track {
    animation-play-state: paused;
  }

  .partner-logo img {
    transition: none;
  }
}

.about-desc {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, var(--about-desc-size));
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.55;
  letter-spacing: -0.02em;
  max-width: 100%;
  margin: 0;
}

.about-visual {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: var(--about-visual-w);
  height: var(--about-visual-h);
  justify-self: end;
  align-self: start;
  flex-shrink: 0;
  background: var(--bg);
}

.about-visual img,
.about-visual video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--bg);
}

/* ══════════════════════════════
 LOGO MARQUEE
    ══════════════════════════════ */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  padding: 24px 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 56s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  min-width: 150px;
  height: 52px;
}

.marquee-item img {
  max-height: 46px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(100%);
}

/* ══════════════════════════════
 OUR PARTNERS
    ══════════════════════════════ */
.partners {
  background: var(--bg);
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
}

.partners-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: #888;
  letter-spacing: 0.01em;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* 4×2 grid with fading divider lines */
.partners-grid {
  --partner-line: rgba(0, 0, 0, 0.28);
  --partner-line-thick: 2px;
  --partner-logo-w: clamp(110px, 10vw, 148px);
  --partner-logo-h: clamp(32px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
  position: relative;
  background-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      var(--partner-line) 7%,
      var(--partner-line) 93%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      var(--partner-line) 7%,
      var(--partner-line) 93%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      var(--partner-line) 7%,
      var(--partner-line) 93%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      var(--partner-line) 2%,
      var(--partner-line) 98%,
      transparent 100%
    );
  background-size:
    var(--partner-line-thick) 100%,
    var(--partner-line-thick) 100%,
    var(--partner-line-thick) 100%,
    100% var(--partner-line-thick);
  background-position:
    25% 0,
    50% 0,
    75% 0,
    0 50%;
  background-repeat: no-repeat;
}

/* Darker crosshair where dividers meet */
/* .partners-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 920px);
  height: min(88%, 360px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(0, 0, 0, 0.06) 45%,
      rgba(0, 0, 0, 0.06) 55%,
      transparent
    ),
    linear-gradient(
      to bottom,
      transparent,
      rgba(0, 0, 0, 0.06) 45%,
      rgba(0, 0, 0, 0.06) 55%,
      transparent
    );
} */

.partner-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 3vw, 36px);
  min-height: clamp(140px, 16vw, 200px);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--partner-logo-w);
  height: var(--partner-logo-h);
  flex-shrink: 0;
}

.partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0);
  transition: filter 0.3s ease;
}

.partner-cell:hover .partner-logo img,
.partner-cell:focus-within .partner-logo img {
  filter: none;
}

/* ══════════════════════════════
 OUR SERVICES
    ══════════════════════════════ */
.services-section {
  background: var(--bg);
}

.services-main-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  font-style: normal;
  color: var(--crimson);
  letter-spacing: -0.02em;
  padding: 70px 20px 40px;
  position: relative;
  z-index: 0;
}

.services-sticky-stack {
  position: relative;
}

/* Each service panel — sticky stack on scroll */
.service-block {
  position: sticky;
  top: var(--nav-offset);
  width: 100%;
  min-height: calc(100vh - var(--nav-offset));
  min-height: calc(100svh - var(--nav-offset));
  padding: 72px clamp(24px, 16.67vw, 320px);
  padding-left: max(clamp(24px, 16.67vw, 320px), var(--safe-l));
  padding-right: max(clamp(24px, 16.67vw, 320px), var(--safe-r));
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.service-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.services-sticky-stack .service-block:nth-child(1) {
  z-index: 1;
}
.services-sticky-stack .service-block:nth-child(2) {
  z-index: 2;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.1);
}
.services-sticky-stack .service-block:nth-child(3) {
  z-index: 3;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.1);
}
.services-sticky-stack .service-block:nth-child(4) {
  z-index: 4;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.1);
}
.services-sticky-stack .service-block:nth-child(5) {
  z-index: 5;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.1);
}

.service-dark {
  background: var(--crimson);
  color: rgba(255, 255, 255, 0.88);
}

.service-light {
  background: var(--bg);
  color: var(--text-dark);
}

/* Service name */
.service-name {
  font-size: clamp(36px, 5.5vw, 50px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 32px;
  color: inherit;
}

.service-dark .service-name {
  color: rgba(255, 255, 255, 0.9);
}
.service-light .service-name {
  color: var(--text-dark);
}

/* Pills row */
.service-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 14px 28px;
  margin-bottom: 36px;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  max-width: 860px;
}

.service-pills-dark {
  border-color: rgba(0, 0, 0, 0.18);
  color: #444;
}

.service-desc + .service-pills {
  margin-top: 28px;
}

.pill-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

.service-pills-dark .pill-arrow {
  color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  #service-digital-marketing .service-pills,
  #service-smm .service-pills {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: clamp(6px, 0.85vw, 14px);
    padding: 14px clamp(16px, 2vw, 28px);
    font-size: clamp(12px, 1.05vw, 16px);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #service-digital-marketing .service-pills > span,
  #service-smm .service-pills > span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  #service-digital-marketing .service-pills::-webkit-scrollbar,
  #service-smm .service-pills::-webkit-scrollbar {
    display: none;
  }
}

/* Description */
.service-desc {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 1000px;
}

.service-desc-dark {
  color: #555;
}

.service-desc + .service-desc {
  margin-top: 18px;
}

/* ══════════════════════════════
 FAQ
    ══════════════════════════════ */
.faq-section {
  background: var(--bg);
  padding: 70px clamp(24px, 16.67vw, 320px) 100px;
}

.faq-main-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  font-style: normal;
  color: var(--crimson);
  letter-spacing: -0.02em;
  margin-bottom: 44px;
}

.faq-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each accordion card */
.faq-item {
  background: #e8e5e5;
  border-radius: 18px;
  overflow: hidden;
  transition: background 0.2s;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px;
  cursor: pointer;
  user-select: none;
}

.faq-item-title {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* + / × button */
.faq-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.25s;
  line-height: 1;
}

.faq-btn-open {
  background: var(--crimson);
  color: #fff;
}

.faq-btn-close {
  background: var(--crimson);
  color: #fff;
  font-size: 15px;
}

.faq-btn:hover {
  opacity: 0.85;
}

/* Body — hidden by default, shown when open */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s ease;
  padding: 0 30px;
}

/* --faq-h is measured and set by granat.js so long answers (the Armenian
   and Russian copy runs much longer) are never clipped. The 1200px
   fallback covers the no-JS / pre-hydration case. */
.faq-open .faq-body {
  max-height: var(--faq-h, 1200px);
  padding: 0 30px 32px;
}

.faq-desc {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.7;
  color: #444;
  max-width: 760px;
  margin-bottom: 24px;
}

.faq-tags-label {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.faq-tag {
  padding: 7px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.01em;
}

.faq-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition:
    color 0.2s,
    gap 0.2s;
}

.faq-learn span {
  font-size: 18px;
  transition: transform 0.2s;
}
.faq-learn:hover {
  color: var(--crimson);
}
.faq-learn:hover span {
  transform: translateX(4px);
}

/* ══════════════════════════════
 CTA BANNER + FOOTER (Figma: Section Contacts 1920×1088)
    ══════════════════════════════ */
.cta-banner {
  background: var(--crimson);
  width: 100%;
  max-width: var(--cta-w);
  margin-left: auto;
  margin-right: auto;
  padding: var(--cta-pad-top) clamp(24px, 16.67vw, var(--cta-pad-x))
    var(--cta-pad-bottom);
  padding-left: max(clamp(24px, 16.67vw, var(--cta-pad-x)), var(--safe-l));
  padding-right: max(clamp(24px, 16.67vw, var(--cta-pad-x)), var(--safe-r));
  padding-bottom: calc(var(--cta-pad-bottom) + var(--safe-b));
  border: 1px solid var(--accent);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.cta-inner {
  width: 100%;
  max-width: calc(var(--cta-w) - var(--cta-pad-x) * 2);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.cta-main {
  max-width: 1200px;
}

.cta-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(16px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-big {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 120px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.cta-white {
  color: #fff;
  display: block;
}

.cta-red {
  color: var(--accent);
}

.cta-last-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: -0.04em;
}

.cta-last-row .cta-red {
  display: inline;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  min-width: 210px;
  padding: 0 6px 0 28px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.cta-btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.cta-btn-text {
  flex: 1;
  text-align: center;
  padding-right: 12px;
}

.cta-btn-arrow {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cta-btn:hover .cta-btn-arrow {
  background: #5d0000;
  color: #fff;
}

.cta-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 40px);
  flex-shrink: 0;
}

.cta-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "left right"
    "contact right";
  gap: 16px 48px;
  align-items: start;
}

.cta-footer-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 310px;
}

.cta-location {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.cta-footer-contact,
.cta-footer-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-footer-contact {
  grid-area: contact;
  align-items: flex-start;
  margin-left: 0;
}

.cta-footer-right {
  grid-area: right;
  align-items: flex-end;
}

.cta-footer-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.cta-footer-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
  display: block;
  line-height: 1.35;
  text-align: right;
}

.cta-footer-link:hover {
  opacity: 0.75;
}

.cta-footer-link--reveal {
  position: relative;
  min-height: 1.35em;
}

.cta-footer-link--reveal .cta-footer-link-default,
.cta-footer-link--reveal .cta-footer-link-hover {
  display: block;
  transition: opacity 0.2s ease;
}

.cta-footer-link--reveal .cta-footer-link-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  opacity: 0;
}

.cta-footer-link--reveal:hover .cta-footer-link-default {
  opacity: 0;
}

.cta-footer-link--reveal:hover .cta-footer-link-hover {
  opacity: 1;
}

.cta-footer-link--reveal:focus-visible .cta-footer-link-default {
  opacity: 0;
}

.cta-footer-link--reveal:focus-visible .cta-footer-link-hover {
  opacity: 1;
}

.cta-copyright-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: clamp(12px, 1.5vw, 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-copyright-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 273px;
}

.cta-copyright-main {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.cta-copyright-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.35;
}

.cta-privacy {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
  align-self: center;
}

.cta-privacy:hover {
  color: #fff;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero stage — tablet & desktop (769px+, mobile unchanged below) */
@media (min-width: 769px) {
  .stage {
    container-type: inline-size;
    container-name: hero-stage;
  }

  /* Every value below is a proportion of the stage, so 769px → 1920px is
     one continuous scale of the same composition. Letter-spacing is in em
     and offsets are in %, so nothing can drift out of alignment. */
  .word-innovative {
    left: 15%;
    top: 26%;
    font-size: min(9cqi, var(--innovative-size));
    line-height: 0.84;
    letter-spacing: -0.06em;
  }

  .word-since {
    right: 13%;
    top: 26%;
    font-size: min(9cqi, 127px);
    line-height: 0.84;
    letter-spacing: -0.061em;
  }

  .word-creative {
    left: 15%;
    bottom: 17%;
    font-size: min(9.3cqi, 170px);
    line-height: 0.84;
    letter-spacing: -0.06em;
  }

  .word-strategic {
    right: 11%;
    bottom: 17%;
    font-size: min(9.3cqi, 170px);
    line-height: 0.84;
    letter-spacing: -0.06em;
  }

  .robot-slot {
    width: clamp(180px, 27%, 420px);
    top: 9.6%;
    max-width: calc(var(--robot-figma-w) * 1px);
  }

  .robot-slot img {
    height: 84%;
  }
}

/* Tabs get tighter on small tablets; the strip scrolls if they still
   overflow (see .tabs-wrap). */
@media (min-width: 769px) and (max-width: 1100px) {
  .tab {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .tab {
    font-size: 13px;
    padding: 10px 10px;
  }
}

@media (min-width: 769px) and (max-width: 1399px) {
  .stage {
    width: min(95vw, var(--stage-w));
    max-width: var(--stage-w);
    height: auto;
    aspect-ratio: 1920 / 436;
    max-height: var(--stage-h);
  }
}

/* Figma desktop frame (1400px+) */
@media (min-width: 1400px) {
  .hero {
    height: var(--hero-h);
    min-height: var(--hero-h);
    padding-left: 0;
    padding-right: 0;
  }

  .hero-top h1 {
    font-size: clamp(44px, 2.9vw, 56px);
  }

  .hero-top p {
    font-size: clamp(20px, 1.45vw, 28px);
  }

  .stage {
    width: 100%;
    max-width: var(--stage-w);
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 436;
    max-height: var(--stage-h);
    transform: translateX(-50%);
    bottom: -125px;
  }

  .word-innovative {
    left: 15%;
    top: 26%;
    font-size: clamp(96px, 9vw, 132px);
    color: #e5e5e6;
    -webkit-text-fill-color: #e5e5e6;
  }

  .word-since {
    right: 13%;
    top: 26%;
    font-size: clamp(96px, 7vw, 132px);
    -webkit-text-stroke: 3px #4f0013;
  }

  .word-creative {
    left: 15%;
    bottom: 17%;
    font-size: clamp(130px, 9vw, 170px);
  }

  .word-strategic {
    right: 11%;
    bottom: 17%;
    font-size: clamp(130px, 9vw, 170px);
    color: var(--word-grey);
    -webkit-text-fill-color: var(--word-grey);
  }

  .robot-slot {
    width: clamp(320px, 27%, 420px);
    max-width: 420px;
    top: clamp(18px, 5.2vw, 42px);
  }

  /* The Figma frame needs 878+41+610 = 1529px of content plus 400px of
     padding. Only commit to that once the viewport can actually hold it,
     otherwise the columns overflow and get clipped by body's overflow-x. */
  .about {
    height: var(--about-h);
    min-height: var(--about-h);
    padding-left: clamp(24px, 10.4vw, 200px);
    padding-right: clamp(24px, 10.4vw, 200px);
  }

  .about-title {
    font-size: 55.9px;
    text-align: center;
    width: 100%;
    margin-bottom: var(--about-title-gap);
  }

  .about-body {
    grid-template-columns:
      minmax(0, var(--about-copy-w))
      minmax(0, var(--about-visual-w));
    gap: var(--about-columns-gap);
    align-items: start;
    max-width: calc(
      var(--about-copy-w) + var(--about-columns-gap) + var(--about-visual-w)
    );
  }

  .about-copy {
    width: 100%;
    max-width: var(--about-copy-w);
    min-height: var(--about-copy-h);
  }

  .about-visual {
    width: 100%;
    max-width: var(--about-visual-w);
    height: auto;
    aspect-ratio: 610 / 343;
  }

  .about-tagline-item {
    font-size: 55.9px;
  }

  .about-desc {
    font-size: var(--about-desc-size);
  }

  .services-main-title,
  .faq-main-title {
    font-size: 56px;
  }

  .cta-banner {
    padding: var(--cta-pad-top) var(--cta-pad-x) var(--cta-pad-bottom);
  }

  .cta-inner {
    max-width: calc(var(--cta-w) - var(--cta-pad-x) * 2);
  }

  .cta-big {
    font-size: 120px;
  }

  .cta-sub {
    font-size: 24px;
  }
}

/* About — 2880×1864 display (1.5× Figma 1920 layout) */
@media (min-width: 2560px) {
  :root {
    --about-w: 2880px;
    --about-h: 1137px;
    --about-title-gap: 72px;
    --about-columns-gap: 62px;
    --about-copy-w: 1317px;
    --about-copy-h: 599px;
    --about-visual-w: 915px;
    --about-visual-h: 515px;
  }

  .about {
    max-width: var(--about-w);
    width: 100%;
    height: var(--about-h);
    min-height: var(--about-h);
    padding: 132px 0 0;
  }

  .about-title {
    font-size: 60px;
    text-align: center;
    width: 100%;
    margin-bottom: var(--about-title-gap);
  }

  .about-body {
    grid-template-columns:
      minmax(0, var(--about-copy-w))
      minmax(0, var(--about-visual-w));
    gap: var(--about-columns-gap);
    align-items: start;
    max-width: calc(
      var(--about-copy-w) + var(--about-columns-gap) + var(--about-visual-w)
    );
  }

  .about-copy {
    width: 100%;
    max-width: var(--about-copy-w);
    min-height: var(--about-copy-h);
  }

  .about-visual {
    width: 100%;
    max-width: var(--about-visual-w);
    height: auto;
    aspect-ratio: 610 / 343;
  }

  .about-tagline-item {
    font-size: 51px;
  }

  .about-desc {
    font-size: var(--about-desc-size);
  }
}

/* CTA — 2880 display (1.5× Section Contacts 1920×1088) */
@media (min-width: 2560px) {
  :root {
    --cta-w: 2880px;
    --cta-h: 1632px;
    --cta-pad-x: 480px;
    --cta-pad-top: 195px;
    --cta-pad-bottom: 48px;
  }

  .cta-banner {
    padding: var(--cta-pad-top) var(--cta-pad-x) var(--cta-pad-bottom);
  }

  .cta-inner {
    max-width: calc(var(--cta-w) - var(--cta-pad-x) * 2);
  }

  .cta-big {
    font-size: 180px;
  }

  .cta-sub {
    font-size: 36px;
  }
}

.hero-top {
  animation: fadeUp 0.7s ease both;
}
.tabs-wrap {
  animation: fadeUp 0.7s 0.15s ease both;
}
.stage {
  animation: heroStageIn 0.7s 0.28s ease both;
}

@keyframes heroStageIn {
  from {
    opacity: 0;
    transform: translate(-50%, 28px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Tablet & small laptop — fluid hero layout (769px–1399px) */
@media (min-width: 769px) and (max-width: 1399px) {
  /* Stage is in flow here, so let the hero take its content height instead
     of reserving a fixed block that leaves dead space under the robot. */
  .hero {
    height: auto;
    min-height: 0;
    padding-bottom: clamp(16px, 3vw, 40px);
    overflow: visible;
  }

  .tabs-wrap {
    margin-top: clamp(28px, 4.5vw, 48px);
  }

  .stage {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: var(--stage-w);
    aspect-ratio: 1920 / 436;
    height: auto;
    min-height: clamp(220px, 32vw, var(--stage-h));
    margin: clamp(16px, 2.5vw, 28px) auto 0;
    animation: fadeUp 0.7s 0.28s ease both;
  }

  /* The stage is in normal flow here, so the hero no longer overlaps —
     drop the desktop overlap compensation or a dead gap appears. */
  .about {
    margin-top: clamp(40px, 5vw, 88px);
    padding-top: clamp(40px, 5vw, 72px);
  }

  /* Desktop stacks 88 + 70 + 85px of lead-in above the copy; too much
     vertical rhythm for a tablet viewport. */
  .about-title {
    padding-top: 0;
    margin-bottom: clamp(28px, 4.5vw, 60px);
  }
}

/* Two columns below ~1024px squeezes the copy to ~350px and the image to
   ~260px. One full-width column reads far better on a portrait tablet. */
@media (min-width: 769px) and (max-width: 1023px) {
  .about-body {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 40px);
    max-width: 720px;
  }

  .about-copy {
    min-height: 0;
  }

  .about-visual {
    justify-self: center;
    width: 100%;
    max-width: var(--about-visual-w);
    height: auto;
    aspect-ratio: 610 / 343;
  }
}

/* Below Figma desktop frame — about / cta height */
@media (max-width: 1399px) {
  .about {
    height: auto;
    min-height: 0;
  }

  .cta-banner {
    height: auto;
    min-height: 0;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --nav-offset: 72px;
    --nav-robot-h: 72px;
  }

  nav {
    height: var(--nav-offset);
    padding: 14px 16px;
    align-items: center;
  }

  .nav-inner {
    min-height: auto;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-logo {
    margin-right: auto;
  }

  .nav-logo-sub {
    display: none;
  }

  .nav-logo-title {
    font-size: 14px;
  }

  .nav-langs {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    order: 2;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: var(--nav-offset);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(79, 0, 19, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(calc(-100% - var(--nav-offset)));
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.28s ease,
      opacity 0.28s ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    font-size: 16px;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  nav a:last-child {
    border-bottom: 0;
  }

  .nav-robot {
    display: none;
  }

  .hero {
    margin-top: var(--nav-offset);
    min-height: 0;
    height: auto;
    padding: 0 16px 24px;
    overflow: visible;
  }

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

  .hero-top h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
  }

  .hero-top p {
    font-size: clamp(15px, 4.2vw, 18px);
    margin-top: 8px;
  }

  /* Service tabs are desktop/tablet only — on phones the services are
     reached by scrolling or via the nav menu. */
  .tabs-wrap {
    display: none;
  }

  .stage {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 260px;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    animation: fadeUp 0.7s 0.28s ease both;
  }

  .stage-words {
    display: none;
  }

  .robot-slot {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: min(240px, 72vw);
    max-width: none;
    height: auto;
    margin: 0 auto;
  }

  .robot-slot img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-position: center bottom;
  }

  .about {
    margin-top: 0;
    min-height: 0;
    height: auto;
    padding: 48px 16px 56px;
  }

  .about-title {
    font-size: clamp(26px, 7vw, 32px);
    margin-bottom: 28px;
    /* base rule adds 70px on top of the section's own 48px padding */
    padding-top: 0;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 100%;
  }

  .about-copy {
    width: 100%;
    min-height: 0;
  }

  .about-content {
    gap: 18px;
  }

  .about-tagline-item {
    font-size: 20px;
    padding: 0 20px;
  }

  .about-desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 610 / 343;
  }

  .marquee-wrap {
    padding: 16px 0;
  }

  .marquee-item {
    min-width: 110px;
    height: 44px;
    padding: 0 20px;
  }

  .marquee-item img {
    max-height: 28px;
    max-width: 96px;
  }

  .partners {
    padding: 48px 0 56px;
  }

  .partners-title {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    padding: 0 12px;
    --partner-logo-w: min(112px, 34vw);
    --partner-logo-h: 30px;
    --partner-line: rgba(0, 0, 0, 0.28);
    --partner-line-thick: 2px;
    background-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        var(--partner-line) 7%,
        var(--partner-line) 93%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        var(--partner-line) 4%,
        var(--partner-line) 96%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        var(--partner-line) 4%,
        var(--partner-line) 96%,
        transparent 100%
      ),
      linear-gradient(
        to right,
        transparent 0%,
        var(--partner-line) 4%,
        var(--partner-line) 96%,
        transparent 100%
      );
    background-size:
      var(--partner-line-thick) 100%,
      100% var(--partner-line-thick),
      100% var(--partner-line-thick),
      100% var(--partner-line-thick);
    background-position:
      50% 0,
      0 25%,
      0 50%,
      0 75%;
  }

  .partner-cell {
    min-height: 96px;
    padding: 24px 12px;
  }

  .services-main-title,
  .faq-main-title {
    font-size: clamp(28px, 7vw, 34px);
    padding: 48px 16px 24px;
  }

  .service-block {
    min-height: calc(100svh - var(--nav-offset));
    padding: 40px 20px;
  }

  .service-name {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 20px;
  }

  .service-pills,
  .service-pills-dark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: none;
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 24px;
  }

  .pill-arrow {
    display: none;
  }

  .service-desc,
  .service-desc-dark {
    font-size: 15px;
    line-height: 1.6;
    max-width: none;
  }

  .faq-section {
    padding: 40px 16px 64px;
  }

  .faq-item-title {
    font-size: clamp(16px, 4.5vw, 20px);
    padding-right: 12px;
  }

  /* 28px/30px of chrome left ~200px for the title on a 320px screen */
  .faq-header {
    gap: 12px;
    padding: 20px 18px;
  }

  .faq-body {
    padding: 0 18px;
  }

  .faq-open .faq-body {
    padding: 0 18px 24px;
  }

  .faq-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .cta-banner {
    min-height: auto;
    padding: 48px 16px 28px;
  }

  .cta-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .cta-big {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 0.95;
  }

  .cta-divider {
    margin: 36px 0 28px;
  }

  /* .cta-footer is a grid — flex-direction was a no-op, so the footer was
     still two columns on a 360px screen. Stack the areas properly. */
  .cta-footer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "left"
      "contact"
      "right";
    gap: 28px;
  }

  .cta-footer-left,
  .cta-footer-contact,
  .cta-footer-right {
    max-width: none;
    width: 100%;
  }

  .cta-footer-contact,
  .cta-footer-right {
    align-items: flex-start;
    margin-left: 0;
  }

  .cta-footer-link {
    text-align: left;
  }

  .cta-footer-link--reveal .cta-footer-link-hover {
    right: auto;
    left: 0;
  }

  .cta-location {
    margin-bottom: 16px;
  }

  .cta-last-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .cta-copyright-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
  }

  .cta-privacy {
    align-self: flex-start;
  }
}

/* ══════════════════════════════
 SMALL PHONES (≤380px) — iPhone SE, folded foldables
    ══════════════════════════════ */
@media (max-width: 380px) {
  .nav-inner {
    gap: 8px;
  }

  .lang-btn {
    padding: 6px 8px;
    min-width: 36px;
    font-size: 12px;
  }

  .partner-cell {
    padding: 20px 8px;
  }

  .service-block {
    padding: 32px 16px;
  }

  .faq-header {
    padding: 18px 14px;
  }

  .faq-body {
    padding: 0 14px;
  }

  .faq-open .faq-body {
    padding: 0 14px 20px;
  }

  .faq-btn {
    width: 38px;
    height: 38px;
  }

  .cta-banner {
    padding-left: max(14px, var(--safe-l));
    padding-right: max(14px, var(--safe-r));
  }
}

/* ══════════════════════════════
 LANDSCAPE PHONES / SHORT VIEWPORTS
 A 100vh sticky panel cannot work when the viewport is 350px tall — the
 panels overlap and clip their own copy. Fall back to a plain stack.
    ══════════════════════════════ */
@media (max-height: 560px) and (orientation: landscape) {
  .services-sticky-stack .service-block {
    position: static;
    min-height: 0;
    box-shadow: none;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero {
    min-height: 0;
  }

  .nav-links {
    max-height: calc(100svh - var(--nav-offset));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-robot {
    display: none;
  }
}

/* Tall-and-narrow (foldables unfolded, tablets in portrait) keep the
   services panel readable rather than stretched to a full screen. */
@media (min-width: 769px) and (max-aspect-ratio: 3 / 4) {
  .service-block {
    min-height: 0;
    padding-top: clamp(56px, 9vh, 96px);
    padding-bottom: clamp(56px, 9vh, 96px);
  }
}

/* ══════════════════════════════
 MOTION PREFERENCES
    ══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-top,
  .tabs-wrap,
  .stage {
    animation: none !important;
  }

  .marquee-track,
  .about-tagline-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The about tagline marquee is currently empty markup — don't reserve
   space (or run an animation) for nothing. */
.about-tagline:has(.about-tagline-track:empty) {
  display: none;
}
