/* ============================================================
   AYCW Romania — Placement Agency Website
   Design system extracted from "Allyoucan" Figma file
   Font: Bricolage Grotesque (variable, self-hosted)
   Colors: Blue_1 #80B3FA, Blue_2 #98C7F9, Dark_1 #323232,
           Dark_2 #979797, text_grey #707070, bg #F4F4F4
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Yellow Pen';
  src: url('../fonts/YellowPen.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue-1: #4F9CFF;
  --blue-2: #A8D3FF;
  --navy: #17213D;
  --teal: #42D2B8;
  --amber: #FFB35F;
  --dark-1: #202331;
  --dark-2: #979797;
  --grey-text: #707070;
  --bg: #F5F7FB;
  --white: #FFFFFF;
  --shadow-soft: 0 16px 44px rgba(23, 33, 61, .16);
  --radius-card: 20px;
  --radius-pill: 153px;
  --fs-display: clamp(56px, 6.8vw, 108px);
  --fs-h: clamp(28px, 2.9vw, 46px);
  --fs-card-title: clamp(20px, 1.5vw, 24px);
  --fs-body: clamp(16px, 1.25vw, 20px);
  --fs-body-sm: clamp(14px, 1.1vw, 18px);
  --fs-button: clamp(17px, 1.35vw, 21.6px);
  --fs-nav: 18px;
  --container: 1518px;
  --pad-x: clamp(20px, 4.6vw, 80px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 112px; }

body {
  font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--dark-1);
  font-size: var(--fs-body);
  line-height: 1.37;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Buttons (pill, Figma: r135, fs 21.6, white text) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 32px;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-button);
  font-weight: 500;
  color: var(--white);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(23, 33, 61, .16);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(23, 33, 61, .24); }
.btn:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
  box-shadow: none;
}
.btn-blue1 { background: linear-gradient(135deg, var(--blue-1), var(--teal)); }
.btn-blue2 { background: linear-gradient(135deg, #8EC4FF, var(--blue-1)); }
.btn-white { background: var(--white); color: var(--dark-1); }
.btn-wide { padding-left: 64px; padding-right: 64px; }

/* ---------- Header / floating pill nav (Figma: #80B3FA, r153, h100) ---------- */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(12px, 3.5vw, 65px);
  transition: top .25s ease;
}
.site-header.scrolled { top: 10px; }
.site-header.scrolled .nav-pill {
  min-height: 62px;
  background: rgba(23, 33, 61, .82);
  box-shadow: 0 12px 40px rgba(20, 30, 50, .30);
}
.site-header.scrolled .nav-logo img { height: 30px; }
.nav-pill, .nav-logo img { transition: min-height .25s ease, height .25s ease, box-shadow .25s ease; }
.nav-pill {
  max-width: 1598px;
  margin: 0 auto;
  background: rgba(23, 33, 61, .68);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 2.2vw, 36px);
  box-shadow: 0 14px 42px rgba(20, 30, 50, .30);
}
/* fallback when backdrop-filter is unsupported */
@supports not (backdrop-filter: blur(1px)) {
  .nav-pill { background: rgba(23, 33, 61, .92); }
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 44px);
}
.nav-links a {
  color: var(--white);
  font-size: var(--fs-nav);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--white);
  transition: right .2s ease;
}
.nav-links a:hover::after, .nav-links a.cur::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px); }
.lang-switch {
  font-size: 14.4px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-switch button {
  font-size: 14.4px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  padding: 2px 1px;
}
.lang-switch button.active { color: var(--white); }
.nav-cta { min-height: 52px; }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  margin: 10px auto 0;
  max-width: 1598px;
  background: var(--white);
  border-radius: 28px;
  padding: 18px 28px;
  box-shadow: 0 14px 40px rgba(50, 50, 50, .18);
}
.site-header.menu-open .nav-pill { background: rgba(23, 33, 61, .92); }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-size: 18px;
  color: var(--dark-1);
  border-bottom: 1px solid #e8e8e8;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero (full-bleed image, white h + huge blue display) ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 56vw, 924px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: kenburns 18s ease-out both;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,33,61,.42) 0%, rgba(23,33,61,.10) 42%, rgba(23,33,61,.68) 100%),
    linear-gradient(100deg, rgba(12,18,35,.66) 0%, rgba(12,18,35,.34) 38%, rgba(12,18,35,0) 66%);
}
.hero-content {
  width: 100%;
  padding-top: 180px;
  padding-bottom: clamp(48px, 6vw, 96px);
}
.hero-content h1 {
  color: var(--white);
  font-size: var(--fs-h);
  font-weight: 500;
  line-height: 1.37;
  max-width: 1020px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .36);
}
.hero-display {
  display: block;
  color: var(--blue-2);
  font-size: var(--fs-display);
  line-height: 1.15;
  font-weight: 500;
  margin-top: clamp(2px, .6vw, 10px);
  text-shadow: 0 4px 26px rgba(0, 0, 0, .30);
}
.hero .btn { margin-top: clamp(20px, 2vw, 34px); }

/* hero entrance choreography */
.hero-content h1 > span, .hero-content .btn {
  opacity: 1;
  transform: none;
  animation: rise .52s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-content h1 > span:first-child { animation-delay: .08s; }
.hero-content .hero-display { animation-delay: .20s; }
.hero-content .btn { animation-delay: .34s; }
@keyframes rise {
  from { transform: translateY(14px); }
  to { transform: none; }
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 20px;
  opacity: 0;
  animation: rise .9s ease 1.1s forwards;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: var(--white);
  transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  55% { transform: translate(-50%, 16px); opacity: 0; }
}

/* ---------- Static tagline band ---------- */
.marquee {
  margin-top: clamp(48px, 6vw, 96px);
  padding: 0 var(--pad-x);
}
.marquee-track {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  padding: clamp(24px, 3vw, 42px) 0;
  border-top: 1px solid rgba(23, 33, 61, .10);
  border-bottom: 1px solid rgba(23, 33, 61, .10);
}
.marquee-track span {
  font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 650;
  line-height: 1.05;
  color: var(--navy);
}
.marquee-track span.fill {
  color: var(--blue-1);
}

/* ---------- Compliance stat strip ---------- */
.strip { padding: clamp(36px, 4vw, 64px) 0 0; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 28px);
}
.strip-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(20px, 2vw, 30px) clamp(20px, 2vw, 34px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(23, 33, 61, .06);
}
.strip-item strong {
  display: block;
  color: var(--blue-1);
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}
.strip-item:nth-child(2) strong { color: var(--teal); }
.strip-item:nth-child(3) strong { color: var(--amber); }
.strip-item:nth-child(4) strong { color: var(--navy); }
.strip-item span {
  display: block;
  margin-top: 8px;
  color: var(--grey-text);
  font-size: var(--fs-body-sm);
}

/* ---------- Problem cards ---------- */
.problem {
  padding-top: clamp(48px, 5.4vw, 92px);
}
.problem-grid {
  margin-top: clamp(30px, 3.2vw, 58px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
}
.problem-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
    var(--white);
  border-radius: var(--radius-card);
  padding: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(23, 33, 61, .07);
  box-shadow: 0 10px 28px rgba(23, 33, 61, .08);
  display: flex;
  flex-direction: column;
}
.problem-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 650;
}
.problem-card:nth-child(2) .problem-num { background: var(--blue-1); }
.problem-card:nth-child(3) .problem-num { background: var(--amber); }
.problem-card:nth-child(4) .problem-num { background: var(--teal); }
.problem-card h3 {
  margin-top: 22px;
  color: var(--dark-1);
  font-size: var(--fs-card-title);
  font-weight: 600;
  line-height: 1.22;
}
.problem-card p {
  margin-top: 12px;
  color: var(--grey-text);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

/* ---------- Section title pattern (dark h + overlapping huge blue display) ---------- */
.section { padding: clamp(56px, 7vw, 120px) 0 0; }
.sec-head { position: relative; max-width: 980px; }
.sec-head h2 {
  font-size: var(--fs-h);
  font-weight: 500;
  color: var(--dark-1);
  line-height: 1.37;
}
.sec-head .display {
  display: block;
  color: var(--blue-2);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.12;
  margin-top: clamp(-14px, -.6vw, -4px);
  margin-left: clamp(20px, 6vw, 110px);
}
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .display { margin-left: 0; }
.sec-head.on-blue h2 { color: var(--white); }

/* ---------- Service cards (365x460 image card + white bottom panel + plus) ---- */
.cards-scroller {
  margin-top: clamp(28px, 3vw, 56px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.4vw, 24px);
}
.svc-card { position: relative; }
.svc-img {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 365 / 460;
  box-shadow: var(--shadow-soft);
  background: var(--navy);
}
.svc-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.svc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 33, 61, 0) 44%, rgba(23, 33, 61, .32) 100%);
  pointer-events: none;
  z-index: 0;
}
.svc-card:hover .svc-img > img { transform: scale(1.05); }
.svc-panel {
  position: absolute;
  left: 0;
  right: clamp(34px, 3vw, 50px);
  bottom: 0;
  background: var(--white);
  border-radius: 0 var(--radius-card) 0 var(--radius-card);
  padding: 18px 18px 18px 16px;
  min-height: 99px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: right .3s ease;
  z-index: 1;
  box-shadow: 0 -10px 30px rgba(23, 33, 61, .12);
}
.svc-panel h3 {
  font-size: var(--fs-card-title);
  font-weight: 500;
  color: var(--dark-1);
  line-height: 1.25;
}
.svc-panel .svc-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  color: var(--grey-text);
  font-size: 14px;
  line-height: 1.45;
  transition: max-height .38s ease, opacity .3s ease, margin .3s ease;
}
.svc-card:hover .svc-panel, .svc-card.open .svc-panel { right: 0; }
.svc-card:hover .svc-detail, .svc-card.open .svc-detail {
  max-height: 230px;
  opacity: 1;
  margin-top: 10px;
}
.svc-plus {
  position: absolute;
  right: 14px;
  bottom: 116px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(23, 33, 61, .22);
}
.svc-card:hover .svc-plus, .svc-card.open .svc-plus { transform: rotate(45deg); }

/* ---------- Mission band (rounded, half blue / half image) ---------- */
.mission { padding-top: clamp(56px, 7vw, 120px); }
.mission-band {
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 38vw, 640px);
}
.mission-text {
  background:
    linear-gradient(135deg, rgba(79, 156, 255, .96), rgba(66, 210, 184, .80)),
    var(--blue-1);
  padding: clamp(32px, 4.5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission-text h2 {
  color: var(--white);
  font-size: var(--fs-h);
  font-weight: 500;
  line-height: 1.37;
}
.mission-text .display {
  display: block;
  color: var(--white);
  font-size: clamp(44px, 4.6vw, 84px);
  line-height: 1.1;
  margin-top: 6px;
}
.mission-text .btn { margin-top: clamp(24px, 2.4vw, 44px); align-self: flex-start; }
.mission-img { position: relative; min-height: 320px; }
.mission-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Process steps ---------- */
.steps-grid {
  margin-top: clamp(28px, 3vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(22px, 2.2vw, 34px);
  position: relative;
  box-shadow: 0 10px 28px rgba(23, 33, 61, .08);
  border: 1px solid rgba(23, 33, 61, .05);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-1);
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
}
.step-card h3 {
  margin-top: 16px;
  font-size: var(--fs-card-title);
  font-weight: 500;
  color: var(--dark-1);
}
.step-card p {
  margin-top: 10px;
  color: var(--dark-2);
  font-size: var(--fs-body-sm);
  line-height: 1.45;
}
.steps-note {
  margin-top: clamp(20px, 2vw, 32px);
  color: var(--grey-text);
  font-size: var(--fs-body-sm);
}
.steps-note strong { color: var(--blue-1); font-weight: 600; }

/* ---------- Value cards (white notched cards + icon circle) ---------- */
.values-grid {
  margin-top: clamp(40px, 4vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 2.6vw, 44px) clamp(18px, 2vw, 36px);
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(22px, 2.2vw, 32px);
  padding-top: 36px;
  position: relative;
  margin-top: 26px;
  box-shadow: 0 10px 28px rgba(23, 33, 61, .08);
  border: 1px solid rgba(23, 33, 61, .05);
}
.value-icon {
  position: absolute;
  top: -26px;
  left: clamp(22px, 2.2vw, 32px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px var(--bg);
}
.value-icon img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.value-card h3 {
  font-size: var(--fs-card-title);
  font-weight: 500;
  color: var(--dark-1);
}
.value-card p {
  margin-top: 12px;
  color: var(--dark-2);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
  border-left: 5px solid var(--bg);
  padding-left: 14px;
}

/* ---------- Sectors ---------- */
.sectors-grid {
  margin-top: clamp(28px, 3vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 24px);
}
.sector-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 60px;
  padding: 16px 26px;
  box-shadow: 0 10px 26px rgba(23, 33, 61, .08);
  border: 1px solid rgba(23, 33, 61, .05);
}
.sector-chip .ic {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
}
.sector-chip .ic img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.sector-chip span { font-size: var(--fs-body-sm); color: var(--dark-1); }

/* ---------- References (blue circle backdrop + image/text rows) ---------- */
.refs { position: relative; overflow: hidden; }
.refs::before {
  content: '';
  position: absolute;
  width: clamp(520px, 52vw, 900px);
  height: clamp(520px, 52vw, 900px);
  border-radius: 50%;
  background: var(--blue-1);
  left: clamp(-300px, -14vw, -120px);
  top: 260px;
  z-index: 0;
}
.refs::after {
  content: '';
  position: absolute;
  width: clamp(420px, 40vw, 720px);
  height: clamp(420px, 40vw, 720px);
  border-radius: 50%;
  background: var(--blue-2);
  right: clamp(-260px, -12vw, -100px);
  bottom: 120px;
  z-index: 0;
}
.refs .container { position: relative; z-index: 1; }
.ref-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  margin-top: clamp(40px, 4.5vw, 80px);
}
.ref-row.flip .ref-img { order: 2; }
.ref-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 499 / 560;
  box-shadow: 0 18px 50px rgba(50, 50, 50, .22);
}
.ref-img img { width: 100%; height: 100%; object-fit: cover; }
.ref-text h3 {
  font-size: var(--fs-h);
  font-weight: 500;
  color: var(--dark-1);
  line-height: 1.3;
}
.refs .ref-text h3 { color: var(--dark-1); }
.refs .ref-text p { color: var(--grey-text); }
.ref-text p {
  margin-top: clamp(14px, 1.6vw, 26px);
  font-size: var(--fs-body);
  line-height: 1.5;
}
.ref-text .btn { margin-top: clamp(20px, 2.2vw, 36px); }
.ref-logos {
  margin-top: clamp(48px, 5vw, 90px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.ref-logos span {
  background: var(--navy);
  border-radius: 60px;
  padding: 12px 28px;
  font-size: var(--fs-body-sm);
  line-height: 1.45;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(50, 50, 50, .10);
}

/* ---------- FAQ (white pill rows r60 + blue plus circle) ---------- */
.faq-list {
  margin-top: clamp(28px, 3vw, 56px);
  max-width: 1044px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--white);
  border-radius: 56px;
  overflow: hidden;
  transition: box-shadow .25s ease;
  border: 1px solid rgba(23, 33, 61, .06);
}
.faq-item.open { box-shadow: 0 14px 36px rgba(50, 50, 50, .10); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 30px) clamp(22px, 2.6vw, 47px);
  text-align: left;
}
.faq-q span {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--dark-1);
  font-weight: 500;
}
.faq-plus {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--teal));
  position: relative;
  transition: transform .25s ease;
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 3px;
  top: 50%; left: 50%;
}
.faq-plus::before { width: 3px; height: 20px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 20px; height: 3px; transform: translate(-50%, -50%); }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p {
  padding: 0 clamp(22px, 2.6vw, 47px) clamp(22px, 2.4vw, 34px);
  color: var(--dark-2);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.45;
  max-width: 920px;
}

/* ---------- Contact (giant blue circle + watermark + underline form) ------- */
.contact {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 7vw, 120px);
  padding: clamp(56px, 6vw, 110px) 0 clamp(28px, 3vw, 48px);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 179, 95, .32), transparent 28%),
    linear-gradient(135deg, #4F9CFF 0%, #73B8FF 42%, #42D2B8 100%);
  scroll-margin-top: 112px;
}
.contact::before {
  content: '';
  position: absolute;
  width: 2174px;
  height: 2174px;
  border-radius: 50%;
  background: var(--blue-1);
  left: -220px;
  top: -120px;
  display: none;
}
.contact-mark {
  position: absolute;
  left: clamp(-200px, -8vw, -20px);
  bottom: -140px;
  width: clamp(380px, 40vw, 697px);
  opacity: .35;
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 617px) minmax(320px, 766px);
  justify-content: space-between;
  gap: clamp(32px, 4vw, 70px);
}
.contact-left h2 {
  color: var(--dark-1);
  font-size: var(--fs-h);
  font-weight: 500;
  line-height: 1.37;
}
.contact-left .display {
  display: block;
  color: var(--white);
  font-size: clamp(40px, 4vw, 72px);
  line-height: 1.12;
  margin-top: 4px;
}
.contact-info {
  margin-top: clamp(28px, 3.4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 44px;
}
.contact-info .ci small {
  display: block;
  color: var(--dark-1);
  font-size: 12.6px;
}
.contact-info .ci a, .contact-info .ci span {
  color: var(--white);
  font-size: 16px;
}
.contact-legal {
  margin-top: clamp(28px, 3.2vw, 56px);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.7;
  max-width: 480px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}
.contact-form {
  background: rgba(23, 33, 61, .18);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius-card);
  padding: clamp(22px, 2.6vw, 38px);
  box-shadow: 0 18px 54px rgba(23, 33, 61, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.field { margin-bottom: 26px; }
.field label {
  display: block;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 2px;
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, .62);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  padding: 8px 2px;
  outline: none;
  border-radius: 0;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--white); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.gdpr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 26px;
  color: var(--dark-1);
  font-size: 13px;
  line-height: 1.5;
}
.gdpr a { color: var(--white); text-decoration: underline; }
.gdpr input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--dark-1);
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn { width: 100%; }
.monday-embed h3 {
  color: var(--white);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}
.monday-embed iframe {
  width: 100%;
  height: min(760px, 72vh);
  min-height: 620px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 61, .18);
}
.footer-links {
  margin-top: clamp(40px, 4.5vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 12.6px;
}
.footer-links .links { display: flex; gap: 32px; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Utility pages (404 / success / error) ---------- */
.util-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 140px;
}
.util-hero .inner { width: 100%; }
.util-hero .display {
  color: var(--blue-2);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.05;
}
.util-hero h1 {
  font-size: var(--fs-h);
  color: var(--dark-1);
  font-weight: 500;
  margin-top: 10px;
}
.util-hero p {
  color: var(--grey-text);
  max-width: 560px;
  margin: 18px auto 0;
}
.util-hero .back-link {
  color: var(--blue-1);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.util-hero .btn { margin-top: 34px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 180px 0 90px; }
.legal-page h1 { font-size: var(--fs-h); margin-bottom: 8px; }
.legal-page .updated { color: var(--dark-2); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { font-size: clamp(20px, 1.8vw, 26px); margin: 34px 0 10px; }
.legal-page p, .legal-page li {
  color: var(--grey-text);
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  margin-bottom: 10px;
}
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page .container { max-width: 980px; }
.legal-page .back-link {
  display: inline-flex;
  margin-top: 40px;
  color: var(--blue-1);
}

/* ---------- Reveal animation (staggered) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
.reveal.vis { opacity: 1; transform: none; }

/* parallax accents (driven by JS custom property) */
.refs::before { transform: translateY(calc(var(--parY, 0) * 60px)); }
.refs::after { transform: translateY(calc(var(--parY, 0) * -40px)); }
.contact-mark { transform: translateY(calc(var(--parY, 0) * 40px)) rotate(calc(var(--parY, 0) * 6deg)); }

/* back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-1);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(50, 50, 50, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-bg img, .hero-content h1 > span, .hero-content .btn, .scroll-cue { animation: none; opacity: 1; transform: none; }
  .refs::before, .refs::after, .contact-mark { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .cards-scroller { grid-template-columns: repeat(3, 1fr); }
  .svc-card:nth-child(n+4) { display: none; }
  .cards-scroller.show-all .svc-card { display: block; }
  .cards-scroller { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .svc-card { display: block !important; }
}
@media (max-width: 1100px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  /* on mobile the big circles would sit behind the text: keep them small accents behind the images only */
  .refs::before { width: 300px; height: 300px; top: 340px; left: -150px; }
  .refs::after { display: none; }
  .mission-band { grid-template-columns: 1fr; }
  .mission-img { min-height: 300px; }
  .ref-row { grid-template-columns: 1fr; }
  .ref-row.flip .ref-img { order: 0; }
  .ref-img { max-width: 560px; aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 98px; }
  .hero {
    min-height: 620px;
    align-items: flex-end;
  }
  .hero-bg img {
    object-position: 67% center;
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(23,33,61,.40) 0%, rgba(23,33,61,.06) 34%, rgba(23,33,61,.74) 100%),
      linear-gradient(100deg, rgba(12,18,35,.58) 0%, rgba(12,18,35,.28) 54%, rgba(12,18,35,0) 100%);
  }
  .hero-content {
    padding-top: 132px;
    padding-bottom: 44px;
  }
  .hero-content h1 {
    max-width: 350px;
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.23;
  }
  .hero-display {
    font-size: clamp(58px, 16vw, 78px);
    line-height: 1.05;
  }
  .scroll-cue { display: none; }
  .strip {
    padding-top: 22px;
  }
  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .strip-item {
    border-radius: 16px;
    padding: 16px 14px;
  }
  .strip-item strong {
    font-size: clamp(22px, 6vw, 30px);
  }
  .strip-item span {
    font-size: 13px;
    line-height: 1.35;
  }
  .values-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .footer-links { justify-content: flex-start; }
  .site-header { top: 12px; }
  .contact { scroll-margin-top: 98px; }
  .contact-form { padding: 20px; }
  .monday-embed iframe {
    min-height: 680px;
    height: 76vh;
  }
  .faq-item { border-radius: 28px; }
  .faq-plus { flex-basis: 42px; width: 42px; height: 42px; }
}
@media (max-width: 460px) {
  .nav-pill {
    padding: 10px 16px;
    min-height: 70px;
  }
  .nav-logo img { height: 34px; }
  .nav-right { gap: 10px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Blue display words use the Figma script font (Yellow Pen) */
.hero-display,
.sec-head .display,
.mission-text .display,
.contact-left .display,
.util-hero .display {
  font-family: 'Yellow Pen', 'Bricolage Grotesque', cursive;
  font-weight: 400;
  line-height: 1.22;
}
