/* Fabio Castro — Psicólogo
   Palette: #00263A navy · #FBF2E3 cream · #BBDDE6 sky · #708573 sage · #FFAE62 apricot
*/

:root {
  --navy: #00263A;
  --navy-80: rgba(0, 38, 58, 0.8);
  --navy-60: rgba(0, 38, 58, 0.6);
  --navy-40: rgba(0, 38, 58, 0.4);
  --navy-12: rgba(0, 38, 58, 0.12);
  --navy-06: rgba(0, 38, 58, 0.06);
  --cream: #FBF2E3;
  --cream-deep: #F3E9D2;
  --sky: #BBDDE6;
  --sky-soft: #D7EAEF;
  --sage: #708573;
  --sage-soft: #A8B6A9;
  --apricot: #FFAE62;
  --apricot-soft: #FFD4A6;
  --white: #FFFCF5;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Contain horizontal overflow without breaking Lenis */
main, section { overflow-x: clip; }

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--navy);
}

.serif-like { font-weight: 300; letter-spacing: -0.025em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--sage);
}

/* ——— Layout ——— */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

section { position: relative; }

/* ——— Navigation ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .4s var(--ease);
  padding: 22px 0;
}
.nav.scrolled {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(251, 242, 227, 0.82);
  border-bottom: 1px solid var(--navy-06);
  padding: 14px 0;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-logo img { height: 40px; width: auto; filter: brightness(0.55) saturate(1.1); }
.nav-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy-80);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--navy);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: #001a2a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 38, 58, 0.6);
}
.btn-primary .arrow {
  transition: transform .35s var(--ease);
}
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy-40);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy-06);
}

.btn-apricot {
  background: var(--apricot);
  color: var(--navy);
}
.btn-apricot:hover {
  background: #ff9e42;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(255, 174, 98, 0.7);
}

/* ——— Hero ——— */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--sky-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(112, 133, 115, 0.2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(112, 133, 115, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(112, 133, 115, 0); }
}

.hero h1 {
  font-size: clamp(32px, 3.4vw, 54px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  line-height: 1.1;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage);
  font-family: var(--font-display);
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
  font-weight: 500;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--apricot);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.hero p.lede {
  font-size: 19px;
  color: var(--navy-80);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--navy-12);
  padding-top: 28px;
}
.hero-trust-item .n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  display: block;
  letter-spacing: -0.02em;
}
.hero-trust-item .l {
  font-size: 12px;
  color: var(--navy-60);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--sky);
}
.hero-visual .photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(251, 242, 227, 0.5), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(112, 133, 115, 0.3), transparent 50%),
    linear-gradient(135deg, var(--sky) 0%, var(--sky-soft) 50%, var(--cream-deep) 100%);
}
.hero-visual .photo::after {
  content: 'RETRATO · FABIO CASTRO';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--navy-40);
  text-align: center;
}
.hero-visual .logo-watermark {
  position: absolute;
  top: 28px; right: 28px;
  width: 88px;
  opacity: 0.55;
}
.hero-badge {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  background: rgba(0, 38, 58, 0.92);
  backdrop-filter: blur(12px);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-badge .avatar {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
}
.hero-badge .info {
  flex: 1;
}
.hero-badge .info strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
}
.hero-badge .info span {
  font-size: 12px;
  opacity: 0.7;
}
.hero-badge .crp {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sky);
  background: rgba(187, 221, 230, 0.15);
  padding: 6px 10px;
  border-radius: 6px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--navy-06);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 20px 40px -20px rgba(0, 38, 58, 0.25);
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-card.a {
  top: 18%; left: -40px;
  animation-delay: 0s;
}
.float-card.b {
  bottom: 30%; right: -50px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--sky-soft);
  display: grid; place-items: center;
  margin-bottom: 8px;
  color: var(--navy);
}
.float-card.b .ic { background: rgba(255, 174, 98, 0.25); }
.float-card strong {
  font-family: var(--font-display);
  font-weight: 500;
  display: block;
  color: var(--navy);
}
.float-card span { color: var(--navy-60); font-size: 12px; }

/* Hero decorative background blobs */
.hero-blob {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-blob.one {
  top: 10%; left: -15%;
  width: 420px; height: 420px;
  background: var(--sky);
  border-radius: 50%;
}
.hero-blob.two {
  bottom: -10%; right: -10%;
  width: 380px; height: 380px;
  background: var(--apricot-soft);
  border-radius: 50%;
  opacity: 0.35;
}

/* ——— Marquee / Manifesto band ——— */
.manifesto {
  padding: 40px 0;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.marquee {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  letter-spacing: -0.02em;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 80px;
}
.marquee .dot-sep {
  width: 10px; height: 10px;
  background: var(--apricot);
  border-radius: 50%;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Why section ——— */
.why {
  padding: 140px 0;
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.why-left {
  position: sticky;
  top: 120px;
}
.why h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 300;
  margin: 20px 0 28px;
}
.why h2 em { font-style: italic; color: var(--sage); }

.why-deco {
  width: 140px; height: 140px;
  background: var(--sky-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 40px;
  position: relative;
}
.why-deco img { width: 80%; opacity: 0.9; }
.why-deco::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px dashed var(--sage-soft);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.why-right p {
  font-size: 19px;
  color: var(--navy-80);
  line-height: 1.7;
  margin-bottom: 24px;
}
.why-right p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 68px;
  float: left;
  line-height: 0.9;
  padding: 8px 12px 0 0;
  color: var(--sage);
  font-weight: 400;
}
.why-pull {
  border-left: 2px solid var(--apricot);
  padding-left: 24px;
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.35;
}

/* ——— Services ——— */
.services {
  padding: 140px 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.services .eyebrow { color: var(--sky); }
.services .eyebrow::before { background: var(--sky); }

.services h2 {
  color: var(--cream);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 300;
  max-width: 800px;
  margin: 20px 0 80px;
}
.services h2 em { font-style: italic; color: var(--apricot); }

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(251, 242, 227, 0.15);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(251, 242, 227, 0.15);
  cursor: pointer;
  transition: padding .4s var(--ease);
  align-items: center;
}
.service-row:hover {
  padding-left: 16px;
}
.service-row .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--sky);
  letter-spacing: 0.1em;
}
.service-row h3 {
  color: var(--cream);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.service-row p {
  color: rgba(251, 242, 227, 0.65);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.6;
}
.service-row .arrow-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(251, 242, 227, 0.2);
  display: grid; place-items: center;
  transition: all .35s var(--ease);
  color: var(--cream);
}
.service-row:hover .arrow-btn {
  background: var(--apricot);
  border-color: var(--apricot);
  color: var(--navy);
  transform: rotate(-45deg);
}

.services-bg-logo {
  position: absolute;
  bottom: -120px; right: -80px;
  width: 480px;
  opacity: 0.06;
  pointer-events: none;
}

/* ——— Highlight / Pain points ——— */
.highlight {
  padding: 140px 0;
  background: var(--cream);
  position: relative;
}
.highlight-head {
  max-width: 820px;
  margin-bottom: 80px;
}
.highlight h2 {
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 300;
  margin: 20px 0 24px;
  line-height: 1.25;
}
.highlight h2 strong {
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.highlight h2 strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 12px;
  background: var(--sky);
  opacity: 0.5;
  z-index: -1;
}
.highlight-head p {
  font-size: 19px;
  color: var(--navy-80);
  max-width: 640px;
}

.pain-tabs {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  background: var(--white);
  border: 1px solid var(--navy-06);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 80px -40px rgba(0, 38, 58, 0.2);
}
.pain-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pain-nav button {
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy-60);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all .3s var(--ease);
  letter-spacing: -0.01em;
}
.pain-nav button:hover {
  color: var(--navy);
  background: var(--navy-06);
}
.pain-nav button.active {
  background: var(--navy);
  color: var(--cream);
}
.pain-nav button .chev {
  transition: transform .3s var(--ease);
  opacity: 0.5;
}
.pain-nav button.active .chev {
  transform: rotate(90deg);
  opacity: 1;
}
.pain-nav button .count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  opacity: 0.6;
}

.pain-panel {
  min-height: 340px;
  position: relative;
}
.pain-content {
  display: none;
  animation: fadeUp .5s var(--ease);
}
.pain-content.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.pain-content h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.pain-content .lead {
  color: var(--navy-60);
  margin-bottom: 28px;
  font-size: 15px;
}
.pain-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pain-content li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.55;
}
.pain-content li .bullet {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sky-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy);
}

.remember {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: var(--sage);
  color: var(--cream);
  border-radius: var(--radius-lg);
}
.remember .tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  background: rgba(251, 242, 227, 0.18);
  padding: 6px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.remember p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.45;
  flex: 1;
}

/* ——— About ——— */
.about {
  padding: 140px 0;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-portrait {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--sage) 0%, #5a6d5d 100%);
  overflow: hidden;
}
.about-portrait::after {
  content: 'RETRATO · ESTÚDIO';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(251, 242, 227, 0.6);
}
.about-seal {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px;
  animation: float 5s ease-in-out infinite;
}

.about h2 {
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 300;
  margin: 20px 0 32px;
}
.about h2 em { font-style: italic; color: var(--sage); }

.about-bio p {
  font-size: 17px;
  color: var(--navy-80);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 28px 0;
  border-top: 1px solid var(--navy-12);
  border-bottom: 1px solid var(--navy-12);
}
.about-stats .s {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.about-stats .l {
  font-size: 12px;
  color: var(--navy-60);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.signature {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  color: var(--sage);
  margin-top: 24px;
}

/* ——— FAQ ——— */
.faq {
  padding: 140px 0;
}
.faq-head { text-align: center; margin-bottom: 60px; }
.faq-head .eyebrow { justify-content: center; }
.faq-head .eyebrow::before,
.faq-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--sage); }
.faq-head h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 300;
  margin-top: 20px;
}
.faq-head h2 em { font-style: italic; color: var(--sage); }

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--navy-06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.faq-item:hover { border-color: var(--navy-12); }
.faq-item.open {
  border-color: var(--navy);
  box-shadow: 0 20px 40px -24px rgba(0, 38, 58, 0.25);
}
.faq-q {
  width: 100%;
  padding: 26px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  gap: 24px;
}
.faq-q .idx {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--sage);
  letter-spacing: 0.1em;
  margin-right: auto;
  padding-right: 20px;
}
.faq-q .plus {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .35s var(--ease);
  position: relative;
}
.faq-item.open .plus {
  background: var(--navy);
  color: var(--cream);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.faq-a-inner {
  padding: 0 30px 30px;
  color: var(--navy-80);
  font-size: 16px;
  line-height: 1.65;
  max-width: 760px;
}

/* ——— CTA band ——— */
.cta-band {
  padding: 120px 0;
  background: var(--apricot);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-inner h2 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.05;
}
.cta-inner h2 em { font-style: italic; }
.cta-inner h2 strong { font-weight: 500; }
.cta-side p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.cta-band .btn-primary { background: var(--navy); color: var(--apricot); }
.cta-band .btn-primary:hover { background: #001a2a; }

.cta-glyph {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 360px;
  opacity: 0.18;
  pointer-events: none;
}

/* ——— Footer ——— */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(251, 242, 227, 0.1);
}
.footer h4 {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a {
  color: rgba(251, 242, 227, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color .3s var(--ease);
}
.footer a:hover { color: var(--cream); }
.footer-logo img {
  width: 160px;
  margin-bottom: 20px;
}
.footer-logo p {
  color: rgba(251, 242, 227, 0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(251, 242, 227, 0.5);
}
.footer-bottom .crp {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Socials */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(251, 242, 227, 0.08);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.socials a:hover {
  background: var(--apricot);
  color: var(--navy) !important;
  transform: translateY(-3px);
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-left.in { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-right.in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-scale.in { opacity: 1; transform: none; }

.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(16px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-blur.in { opacity: 1; transform: none; filter: blur(0); }

/* Character-by-character reveal for headlines */
.reveal-chars .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80%);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-chars.in .char { opacity: 1; transform: none; }

/* Stagger helper */
.stagger > * { --d: 0ms; }
.stagger.in > *:nth-child(1) { --d: 0ms; }
.stagger.in > *:nth-child(2) { --d: 80ms; }
.stagger.in > *:nth-child(3) { --d: 160ms; }
.stagger.in > *:nth-child(4) { --d: 240ms; }
.stagger.in > *:nth-child(5) { --d: 320ms; }
.stagger.in > *:nth-child(6) { --d: 400ms; }
.stagger.in > *:nth-child(7) { --d: 480ms; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-left { position: static; }
  .services { padding: 100px 0; }
  .service-row {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }
  .service-row p { grid-column: 1 / -1; }
  .pain-tabs { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  .pain-nav { flex-direction: row; overflow-x: auto; gap: 8px; }
  .pain-nav button { white-space: nowrap; flex-shrink: 0; padding: 14px 18px; font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .marquee { font-size: 28px; gap: 50px; }
  .marquee span { gap: 50px; }
  .float-card { display: none; }
}
