:root {
  /* Neutrals + surfaces — same hex tokens as v2; v1 maps them to yellow-forward surfaces + blue type */
  --bg: #fff2d6;
  --bg2: #fff2d6;
  --surface: #e3e8ef;
  --surface2: #fff2d6;
  --line: rgba(200, 142, 40, 0.28);
  --line2: rgba(25,79,127,0.5);
  --text: #123a5c;
  --muted: rgba(47, 111, 163, 0.82);
  --dim: rgba(47, 111, 163, 0.62);
  --inverse-text: #f7f9fc;
  --gold: #f2b140;
  --gold2: #f5c66a;
  --gold-text: #c88e28;
  --gold-glow: rgba(242,177,64,0.34);
  --gold-dim: rgba(242,177,64,0.16);
  --brand-blue: #194f7f;
  --brand-blue2: #2f6fa3;
  --support-blue: #2f6fa3;
  --support-blue-dark: #123a5c;
  --support-blue-light: #6f9fc7;
  --warm-cta: #c88e28;
  --warm-soft: #fff2d6;
  --neutral-100: #f7f9fc;
  --neutral-200: #e3e8ef;
  --success: #3bb273;
  --teal: var(--brand-blue);
  --teal2: var(--brand-blue2);
  --teal-glow: rgba(25,79,127,0.24);
  --max: 1180px;
  --r: 14px;
  --r2: 18px;
  /* Editorial golds (Mywork-aligned accents) */
  --gold-shine: #ffb21a;
  --gold-shine2: #ffd36b;
  --gold-accent: rgba(255, 178, 26, 1);
  --editorial-shadow: rgba(46, 80, 136, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

::selection {
  background: rgba(255, 178, 26, 0.3);
  color: #19304f;
}

main {
  position: relative;
  z-index: 1;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 125% 88% at 50% -22%, rgba(255, 250, 240, 0.95) 0%, transparent 58%),
    radial-gradient(ellipse 72% 52% at 8% 32%, rgba(47, 111, 163, 0.09) 0%, transparent 46%),
    radial-gradient(ellipse 68% 48% at 92% 48%, rgba(242, 177, 64, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 88% 52% at 50% 102%, rgba(25, 79, 127, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 60%, rgba(245, 198, 106, 0.14) 0%, transparent 45%),
    #fffaf0;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NOISE OVERLAY (premium paper grain) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── AMBIENT BG LAYERS ── */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.62;
}
.amb-1 {
  position: absolute;
  width: 980px; height: 760px;
  top: -220px; left: -240px;
  background: radial-gradient(ellipse at center, rgba(25, 79, 127, 0.12) 0%, transparent 62%);
  animation: ambFloat 18s ease-in-out infinite alternate;
}
.amb-2 {
  position: absolute;
  width: 780px; height: 560px;
  top: -120px; right: -180px;
  background: radial-gradient(ellipse at center, rgba(245, 198, 106, 0.32) 0%, transparent 58%);
  animation: ambFloat 22s ease-in-out infinite alternate-reverse;
}
.amb-3 {
  position: absolute;
  width: 720px; height: 720px;
  bottom: 12vh; left: 22%;
  background: radial-gradient(ellipse at center, rgba(47, 111, 163, 0.1) 0%, transparent 58%);
  animation: ambFloat 28s ease-in-out infinite alternate;
}
@keyframes ambFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.06); }
  100% { transform: translate(-20px, 50px) scale(0.96); }
}

/* skip link */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  padding: 10px 14px; background: var(--gold); color: var(--support-blue-dark);
  border-radius: 10px; font-weight: 700; z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ── GRID LINE DECORATION ── */
.gridlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(25, 79, 127, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 79, 127, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 82% 70% at 50% 0%, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  opacity: 0.85;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(200, 142, 40, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px rgba(25, 79, 127, 0.06);
  transition: box-shadow 0.35s ease;
}
.nav.scrolled {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(255, 178, 26, 0.08),
    0 12px 36px rgba(255, 178, 26, 0.14),
    0 18px 44px rgba(25, 79, 127, 0.07);
}
.nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(242,177,64,0.55) 35%, rgba(245,198,106,0.75) 50%, rgba(242,177,64,0.55) 65%, transparent 100%);
  pointer-events: none;
}

.nav-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Comfortaa', system-ui, sans-serif;
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Comfortaa', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
@keyframes brand-pop { 0%, 100% { opacity: 1; } 50% { opacity: 1; } }

.nav-tabs {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(25,79,127,0.36);
  border-radius: 10px;
  background: rgba(247,249,252,0.75);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-blue);
  transition: transform 0.2s, opacity 0.2s;
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tab-link {
  color: var(--muted); font-size: 12px; font-weight: 700;
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
  transition: all 0.2s;
}
.tab-link:hover { color: var(--text); border-color: var(--line2); background: rgba(247,249,252,0.65); }
.tab-link.is-active { color: var(--inverse-text); background: var(--teal); border-color: var(--teal); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(25,79,127,0.36);
  background: rgba(247,249,252,0.85);
  color: var(--text);
  transition: all 0.22s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface2); border-color: var(--brand-blue); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(130deg, var(--gold) 0%, var(--gold2) 60%, var(--gold) 100%);
  border-color: var(--gold);
  color: var(--support-blue-dark);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(242,177,64,0.34);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold2) 0%, var(--gold) 100%);
  border-color: var(--gold2);
  box-shadow:
    0 14px 28px rgba(242, 177, 64, 0.42),
    0 0 18px rgba(255, 178, 26, 0.45);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 30px; font-size: 13px; border-radius: 10px; }

/* ── CONTAINER ── */
.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  position: relative; z-index: 1;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 60px;
  position: relative; z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 420px;
  background: radial-gradient(ellipse 72% 58% at 50% 0%, rgba(245,198,106,0.35) 0%, rgba(242,177,64,0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,177,64,0.45) 20%, rgba(245,198,106,0.65) 50%, rgba(242,177,64,0.45) 80%, transparent);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

@keyframes eyebrow-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(
    105deg,
    rgba(255, 178, 26, 0.1) 0%,
    rgba(255, 211, 107, 0.2) 35%,
    rgba(255, 178, 26, 0.12) 70%,
    rgba(255, 211, 107, 0.16) 100%
  );
  background-size: 220% 100%;
  animation: eyebrow-shimmer 6s ease-in-out infinite alternate;
  border: 1px solid rgba(255, 178, 26, 0.5);
  color: var(--teal);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 24px;
}
h1 em {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-text);
  text-shadow: 0 12px 36px rgba(242, 177, 64, 0.28);
}
h1 .dim { color: rgba(25, 79, 127, 0.38); }

.hero-sub {
  font-size: 17px; font-weight: 500;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-proof {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal); font-size: 13px; font-weight: 600;
  margin-top: 10px;
  justify-content: center;
}
.hero-proof::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--dim);
}

/* stats strip */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: linear-gradient(135deg, var(--gold2), var(--gold), var(--gold2));
  border: 1px solid rgba(200, 142, 40, 0.35);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(200, 142, 40, 0.14);
}

.stat {
  background: rgba(247,249,252,0.88);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  transition: background 0.2s, color 0.2s;
}
.stat:hover { background: var(--brand-blue); }
.stat:hover strong {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--inverse-text);
  color: var(--inverse-text);
}
.stat:hover span { color: var(--neutral-200); }

.stat strong {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  color: #a56f0a;
  -webkit-text-fill-color: currentColor;
}
.stat span {
  color: rgba(18, 58, 92, 0.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── SECTION COMMON ── */
section { padding: 88px 0; scroll-margin-top: 94px; position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.sec-h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
}
.sec-h2 em { font-style: italic; color: var(--gold-text); }
.sec-h2 .dim { color: rgba(25, 79, 127, 0.38); }

.sec-sub {
  margin-top: 14px;
  color: var(--muted); font-size: 16px; font-weight: 500;
  max-width: 680px; line-height: 1.7;
}
#services .container > div:first-child,
#work .container > div:first-child,
#testimonials .container > div:first-child,
#process .container > div:first-child {
  text-align: center;
}
#services .sec-h2,
#work .sec-h2,
#testimonials .sec-h2,
#process .sec-h2,
#services .sec-sub,
#work .sec-sub,
#testimonials .sec-sub,
#process .sec-sub {
  margin-inline: auto;
}

/* ── DIVIDER LINE ── */
.rule {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
}

/* ── SERVICES ── */
#services { background: transparent; }

.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  overflow: hidden;
}

.svc-card {
  background: rgba(247, 249, 252, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 28px;
  position: relative;
  border: 1px solid transparent;
  transition: background 0.3s, transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  cursor: default;
  text-align: center;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), rgba(245,198,106,0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover {
  background: rgba(255, 250, 240, 0.82);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--editorial-shadow);
  border-color: rgba(255, 178, 26, 0.15);
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after { opacity: 1; }

.svc-icon {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}
.svc-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.svc-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.2rem; font-weight: 400;
  margin-bottom: 10px; color: var(--text);
  letter-spacing: -0.01em;
}

.svc-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.svc-proof {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.svc-arrow {
  position: absolute; top: 28px; right: 24px;
  font-size: 16px; color: var(--dim);
  opacity: 0; transform: translate(-4px, 4px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, opacity 0.3s ease;
}
.svc-card:hover .svc-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
  color: var(--gold-shine);
}

/* ── CASE STUDIES ── */

.cases-viewport {
  margin-top: 40px;
  overflow: hidden;
  border-radius: var(--r2);
}

.cases {
  --case-gap: 16px;
  display: flex;
  align-items: stretch;
  gap: var(--case-gap);
  width: max-content;
  animation: caseTicker 28s linear infinite;
  will-change: transform;
}
.cases-viewport:hover .cases { animation-play-state: paused; }
@keyframes caseTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--case-gap) / 2))); }
}

.case-card {
  background: var(--neutral-100);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r2);
  padding: 36px 29px 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(25,79,127,0.09);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
  flex: 0 0 min(520px, calc((100vw - 72px) / 2));
}
.case-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 100%, var(--gold-glow) 0%, transparent 55%),
    linear-gradient(135deg, rgba(245,198,106,0.2), transparent 42%);
  opacity: 0; transition: opacity 0.5s;
}
.case-card:hover { border-color: rgba(25,79,127,0.38); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(25,79,127,0.15); }
.case-card:hover::before { opacity: 1; }

.case-tag {
  display: inline-block;
  border: 1px solid rgba(242,177,64,0.38);
  background: rgba(242,177,64,0.12);
  color: var(--teal);
  border-radius: 999px; font-size: 11px;
  padding: 5px 12px; margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.case-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.2rem; font-weight: 400;
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 12px;
}

.case-card > div:first-child p {
  color: var(--muted); font-size: 14px; line-height: 1.65;
}

.case-kpi {
  position: relative;
  z-index: 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-inline: auto;
  color: var(--support-blue-dark);
  -webkit-text-fill-color: currentColor;
}
.case-kpi::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(247, 249, 252, 0.96) 100%);
  border: 1px solid rgba(255, 178, 26, 0.35);
  box-shadow: 0 10px 28px rgba(242, 177, 64, 0.16);
}
.case-result-label {
  color: rgba(18, 58, 92, 0.82);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

.case-site {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.case-site a {
  color: var(--brand-blue2);
  text-decoration: underline;
  text-decoration-color: rgba(47, 111, 163, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.case-site a:hover {
  color: var(--support-blue-dark);
  text-decoration-color: rgba(242, 177, 64, 0.75);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote-card {
  background: rgba(247,249,252,0.96);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 32px rgba(46, 80, 136, 0.07);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.quote-card::before {
  content: '“';
  position: absolute;
  top: 4px;
  left: 10px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold-accent);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.quote-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.quote-author {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-author span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ── NUMBERS BAND ── */
.numband {
  margin: 0;
  padding: 0;
  position: relative; z-index: 1;
}
.numband-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: linear-gradient(135deg, rgba(242,177,64,0.26) 0%, rgba(245,198,106,0.2) 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
}
.nb {
  background: rgba(247,249,252,0.78);
  padding: 36px 24px;
  text-align: center;
}
.nb-n {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 8px;
}
.nb-n em { color: var(--gold-text); font-style: normal; }
.nb-l { color: var(--muted); font-size: 12.5px; font-weight: 500; }

/* ── PROCESS ── */

.process-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--neutral-100);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  text-align: center;
}
.step-card:hover { border-color: rgba(25,79,127,0.34); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,79,127,0.11); }

.step-card > .step-dot,
.step-card > h4,
.step-card > p {
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(7rem, 16vw, 10rem);
  font-weight: 400;
  color: var(--brand-blue);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  z-index: 0;
}

.step-card h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.4rem; font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* connector dots */
@keyframes step-dot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 177, 64, 0.35);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(242, 177, 64, 0), 0 0 24px rgba(255, 178, 26, 0.25);
  }
}

.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-bottom: 12px;
  margin-inline: auto;
  box-shadow: 0 0 12px rgba(242, 177, 64, 0.45);
  animation: step-dot-pulse 3.4s ease-in-out infinite;
}

/* ── CTA SECTION ── */
#contact { padding-bottom: 100px; }

.cta-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
}

.cta-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid rgba(255, 178, 26, 0.35);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 64px 48px;
  box-shadow:
    0 32px 80px rgba(46, 80, 136, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #2bd06f 0%, #25d366 45%, #1fa855 100%);
  color: #fff;
  border: 1px solid rgba(18, 58, 92, 0.12);
  border-radius: 14px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 28px rgba(25, 79, 127, 0.1);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}
.btn-whatsapp:hover {
  background: linear-gradient(180deg, #32d876 0%, #1ebe57 100%);
  border-color: rgba(18, 58, 92, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 16px 40px rgba(37, 211, 102, 0.32),
    0 10px 24px rgba(25, 79, 127, 0.08);
  transform: translateY(-2px);
}
.btn-whatsapp-icon {
  flex-shrink: 0;
  display: block;
}

.cta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(242,177,64,0.38);
  color: var(--teal);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; margin-bottom: 24px;
}

.cta-box h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 680px; margin: 0 auto 16px;
}
.cta-box h2 em { font-style: italic; color: var(--gold-text); }

.cta-box > p:not(.cta-note) {
  color: var(--muted); max-width: 560px;
  margin: 0 auto 32px; font-size: 16px; font-weight: 500; line-height: 1.7;
}

.contact-form {
  display: flex;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(25,79,127,0.36);
  border-radius: 14px;
  background: rgba(247,249,252,0.92);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(25,79,127,0.12);
}
.contact-form .btn {
  justify-content: center;
  cursor: pointer;
}

.cta-note {
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--dim); font-size: 12.5px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(46, 80, 136, 0.1);
  padding: 32px 0 48px;
  position: relative; z-index: 1;
}
.footer-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Poppins', system-ui, sans-serif;
}
.footer-contact {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-contact a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--text); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 18px 20px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.footer-social-link {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Poppins', system-ui, sans-serif;
  text-decoration: none;
  padding: 6px 2px;
  background-image: linear-gradient(90deg, var(--gold-shine), var(--gold-shine2));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social-link:hover {
  color: var(--brand-blue);
  background-size: 100% 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--dim);
  font-size: 13px;
  background-image: linear-gradient(90deg, var(--gold-shine), var(--gold-shine2));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 2px;
  transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-links a:hover {
  color: var(--muted);
  background-size: 100% 2px;
}

:focus-visible {
  outline: 3px solid rgba(25,79,127,0.45);
  outline-offset: 3px;
}

/* ── REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .cases { animation-duration: 22s; }
  .case-card { flex: 0 0 min(460px, calc(100vw - 56px)); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .numband-inner { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .nav-tabs { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .nav-inner {
    height: auto;
    min-height: 72px;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-tabs,
  .nav-cta {
    display: none;
  }
  .nav.is-open .nav-tabs {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 4px;
    overflow: visible;
  }
  .nav.is-open .nav-cta {
    display: inline-flex;
    order: 4;
    flex: 0 0 100%;
    justify-content: center;
  }
  .tab-link {
    width: 100%;
    padding: 10px 14px;
  }
}

@media (max-width: 680px) {
  h1 { font-size: 2.4rem; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .numband-inner { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px 24px; }
  .case-card { padding: 30px 22px; flex: 0 0 min(420px, calc(100vw - 48px)); }
  .cases { animation-duration: 20s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .amb-1, .amb-2, .amb-3 { animation: none; }
  .eyebrow { animation: none; }
  .eyebrow::before { animation: none; }
  .brand-name { animation: none; }
  .step-dot { animation: none; }
  .cases-viewport { overflow: visible; }
  .cases {
    animation: none;
    transform: none;
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .case-card { flex: 1 1 min(280px, 100%); max-width: 520px; }
  .cases .case-card[aria-hidden="true"] { display: none; }
}
