:root {
  --navy:        #0A1F44;
  --navy-deep:   #061230;
  --navy-soft:   #142C5C;
  --gold:        #C9A961;
  --gold-soft:   #D8BD7E;
  --gold-deep:   #A8893E;
  --cream:       #F8F4EC;
  --paper:       #FBF9F4;
  --line:        #E6DFD0;
  --ink:         #1A1F2E;
  --ink-soft:    #4A5163;
  --muted:       #8A8473;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1240px;
  --gutter:        clamp(20px, 4vw, 48px);

  --shadow-soft: 0 1px 2px rgba(10, 31, 68, 0.04), 0 8px 30px rgba(10, 31, 68, 0.06);
  --shadow-deep: 0 24px 60px rgba(10, 31, 68, 0.18);

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

section[id] { scroll-margin-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--navy-deep); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
}

em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

strong { font-weight: 600; color: var(--navy); }

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section__eyebrow--centered {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px;
}

.section__title {
  font-size: clamp(34px, 5.2vw, 60px);
  margin-bottom: 16px;
}

.section__title--md {
  font-size: clamp(30px, 4vw, 48px);
}

.section__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.section__header {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 760px;
}

.section__header--left {
  text-align: left;
  margin-left: 0;
}

.section__header--left .section__lede,
.section__header--left .section__eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.section__header--left .section__eyebrow {
  justify-content: flex-start;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
}

.btn--primary::after {
  content: "→";
  transition: transform 0.4s var(--ease);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn--primary:hover::after { transform: translateX(4px); }

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

.btn--ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn--full { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav--scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 244, 0.98);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav__monogram {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  border: 1px solid var(--gold);
  position: relative;
}

.nav__monogram::before,
.nav__monogram::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.nav__monogram::before { top: -1px; left: -1px; width: 6px; height: 1px; }
.nav__monogram::after { bottom: -1px; right: -1px; width: 6px; height: 1px; }

.nav__brandtext {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__links a:not(.nav__cta):hover { color: var(--navy); }

.nav__cta {
  padding: 11px 22px;
  background: var(--navy);
  color: var(--cream) !important;
  border: 1px solid var(--navy);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  padding-top: 76px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201, 169, 97, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(20, 44, 92, 0.6), transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 169, 97, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(201, 169, 97, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
}

.hero__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 36px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 36px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.25s forwards;
}

.hero__title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(248, 244, 236, 0.78);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.45s forwards;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

.hero__micro {
  font-size: 13px;
  color: rgba(201, 169, 97, 0.85);
  letter-spacing: 0.04em;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}

.hero .btn--ghost {
  color: var(--cream);
  border-color: rgba(248, 244, 236, 0.4);
}

.hero .btn--ghost:hover {
  background: var(--cream);
  color: var(--navy-deep);
  border-color: var(--cream);
}

.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.85s forwards;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 24px;
  border-right: 1px solid rgba(201, 169, 97, 0.15);
}

.pillar:last-child { border-right: none; }

.pillar__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.pillar__label {
  font-size: 14px;
  color: rgba(248, 244, 236, 0.85);
  font-weight: 400;
  letter-spacing: 0.01em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- INTRO ---------- */
.intro {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--paper);
  position: relative;
}

.intro__inner {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.32;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.intro__statement em {
  font-style: italic;
  color: var(--gold-deep);
}

.intro__signature {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* ---------- MÉTODO ---------- */
.metodo {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metodo__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease);
}

.step:last-child { border-right: none; padding-right: 0; }
.step:hover { transform: translateY(-4px); }

.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.step__num::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--navy);
  margin-top: 16px;
}

.step__title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--navy);
}

.step__text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- DIAGNÓSTICO (qué incluye) ---------- */
.diagnostico {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}

.diagnostico__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.diagnostico__copy {
  position: sticky;
  top: 100px;
}

.diagnostico__copy .section__lede {
  margin-left: 0;
  margin-right: 0;
}

.diagnostico__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diagnostico__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.3s var(--ease);
}

.diagnostico__list li:first-child { padding-top: 0; }
.diagnostico__list li:last-child { border-bottom: none; }
.diagnostico__list li:hover { padding-left: 12px; }

.diagnostico__num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
  font-weight: 400;
}

.diagnostico__list h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--navy);
}

.diagnostico__list p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- SERVICIOS ---------- */
.servicios {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.servicios__principales {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.servicio {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 48px 44px;
  position: relative;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}

.servicio--eje {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  border-color: var(--navy);
  min-height: 520px;
}

.servicio--eje::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.servicio--eje:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.servicio__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.servicio__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  padding: 6px 12px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 2px;
  font-weight: 500;
}

.servicio__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.servicio__title {
  font-size: clamp(26px, 2.4vw, 32px);
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.servicio--comp .servicio__title {
  color: var(--navy);
}

.servicio__sub {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0;
}

.servicio--comp .servicio__sub {
  color: var(--gold-deep);
}

.servicio__sub--sm {
  font-size: 15px;
}

.servicio__text {
  color: rgba(248, 244, 236, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.servicio--comp .servicio__text {
  color: var(--ink-soft);
}

.servicio__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.servicio__list li {
  font-size: 14px;
  color: rgba(248, 244, 236, 0.85);
  padding-left: 22px;
  position: relative;
}

.servicio__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.servicio__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
  margin-top: auto;
  transition: all 0.3s var(--ease);
}

.servicio__cta span { transition: transform 0.3s var(--ease); }
.servicio__cta:hover span { transform: translateX(6px); }
.servicio__cta:hover { color: var(--gold-soft); }

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.servicio--comp {
  border: none;
  padding: 40px 36px;
  min-height: 280px;
  background: var(--paper);
}

.servicio--comp:hover { background: var(--cream); }

.servicio__num--sm {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--gold-deep);
  display: block;
}

.servicio__title--sm {
  font-size: 22px;
  margin-bottom: 6px;
}

.servicio--comp .servicio__text {
  font-size: 14.5px;
  margin-bottom: 24px;
}

.servicio__cta--sm {
  font-size: 12px;
  padding: 12px 0;
  color: var(--navy);
  border-color: var(--line);
}

.servicio__cta--sm:hover { color: var(--gold-deep); }

/* ---------- ESTUDIO (sobre) ---------- */
.estudio {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.estudio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(201, 169, 97, 0.08), transparent 70%);
  pointer-events: none;
}

.estudio__inner {
  position: relative;
  z-index: 2;
}

.estudio__copy {
  max-width: 880px;
}

.estudio .section__eyebrow {
  color: var(--gold);
}

.estudio .section__eyebrow::before {
  background: var(--gold);
}

.estudio .section__title {
  color: var(--cream);
  margin-bottom: 40px;
}

.estudio__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 60px;
}

.estudio__body p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(248, 244, 236, 0.85);
}

.estudio__body strong {
  color: var(--gold);
  font-weight: 500;
}

.estudio__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.estudio__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estudio__stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 64px);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.estudio__stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 244, 236, 0.65);
  font-weight: 500;
}

/* ---------- EQUIPO ---------- */
.equipo {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}

.equipo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.persona {
  text-align: center;
  padding: 36px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}

.persona:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.persona__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold);
  position: relative;
}

.persona__avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.persona__name {
  font-size: 21px;
  margin-bottom: 6px;
  color: var(--navy);
}

.persona__role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 18px;
  font-weight: 500;
}

.persona__bio {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- TESTIMONIOS ---------- */
.testimonios {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.testimonio {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s var(--ease);
}

.testimonio::before {
  content: "“";
  position: absolute;
  top: 14px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}

.testimonio:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.testimonio__quote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
  margin: 32px 0 28px;
  font-weight: 400;
  font-style: italic;
  flex-grow: 1;
}

.testimonio__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonio__author {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.testimonio__role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 500;
}

.testimonios__note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 16px;
}

/* ---------- FILTRO ---------- */
.filtro {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.filtro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 169, 97, 0.08), transparent 70%);
  pointer-events: none;
}

.filtro .section__title { color: var(--cream); }
.filtro .section__lede { color: rgba(248, 244, 236, 0.7); }
.filtro .section__eyebrow { color: var(--gold); }
.filtro .section__eyebrow::before { background: var(--gold); }

.filtro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.filtro__col {
  padding: 40px 36px;
  border-radius: 2px;
  position: relative;
}

.filtro__col--yes {
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.25);
}

.filtro__col--no {
  background: rgba(248, 244, 236, 0.03);
  border: 1px solid rgba(248, 244, 236, 0.1);
  opacity: 0.85;
}

.filtro__heading {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.filtro__col--yes .filtro__heading { color: var(--gold); }
.filtro__col--no .filtro__heading { color: rgba(248, 244, 236, 0.6); }

.filtro__col--yes .filtro__heading::before {
  content: "✓";
  font-family: var(--font-body);
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.filtro__col--no .filtro__heading::before {
  content: "—";
  font-family: var(--font-body);
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 244, 236, 0.3);
  border-radius: 50%;
}

.filtro__col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filtro__col li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.filtro__col--yes li { color: rgba(248, 244, 236, 0.9); }
.filtro__col--no li { color: rgba(248, 244, 236, 0.55); }

.filtro__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
}

.filtro__col--yes li::before { background: var(--gold); }
.filtro__col--no li::before { background: rgba(248, 244, 236, 0.25); }

.filtro__statement {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: rgba(248, 244, 236, 0.85);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  position: relative;
  z-index: 2;
}

.filtro__statement em {
  font-style: italic;
  color: var(--gold);
}

/* ---------- QUOTE ---------- */
.quote {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.quote__inner {
  max-width: 880px;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: -20px;
  font-weight: 400;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  color: var(--navy);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
}

.quote__text em {
  font-style: italic;
  color: var(--gold-deep);
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.faq__inner .section__header {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
  max-width: none;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  transition: padding 0.3s var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item:hover summary {
  padding-left: 8px;
}

.faq__q {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.faq__icon {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--gold-deep);
  font-weight: 300;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
  line-height: 1;
}

.faq__item[open] .faq__icon {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 0 28px 0;
  max-width: 680px;
}

.faq__a p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- CONTACTO ---------- */
.contacto {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contacto__aside {
  position: sticky;
  top: 100px;
}

.contacto__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contacto__item:first-child { padding-top: 0; }

.contacto__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.contacto__value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.3s var(--ease);
  display: inline-block;
}

.contacto__value--sm {
  font-size: 16px;
  word-break: break-all;
}

.contacto__value:hover { color: var(--gold-deep); }

.contacto__cobertura {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contacto__cobertura-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.contacto__cobertura-text strong {
  color: var(--navy);
  font-weight: 500;
}

.contacto__note {
  margin-top: 28px;
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contacto__note strong {
  color: var(--navy);
  font-weight: 500;
}

/* Formulario */
.form {
  background: var(--paper);
  padding: 48px 44px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  font-weight: 500;
}

.form label span { color: var(--gold-deep); }

.form input,
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23A8893E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
}

.form__legal {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
}

.form .btn { margin-top: 8px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(248, 244, 236, 0.7);
  padding: 80px 0 32px;
  border-top: 1px solid var(--navy-soft);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.footer__tag {
  font-size: 13px;
  color: rgba(248, 244, 236, 0.5);
  letter-spacing: 0.02em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer__cols a {
  font-size: 14px;
  color: rgba(248, 244, 236, 0.7);
  transition: color 0.3s var(--ease);
  width: fit-content;
}

.footer__cols a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(248, 244, 236, 0.5);
}

.footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: waPulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .servicios__principales,
  .equipo__grid,
  .testimonios__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 32px 24px;
  }

  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: none; }

  .contacto__grid,
  .diagnostico__inner,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacto__aside,
  .diagnostico__copy,
  .faq__inner .section__header {
    position: static;
  }

  .estudio__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--gutter);
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-soft);
  }

  .nav__links.is-open { transform: translateY(0); }

  .nav__cta { text-align: center; }

  .nav__toggle { display: flex; }

  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillar {
    border-right: none;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
    padding-bottom: 20px;
    padding-right: 0;
  }

  .pillar:last-child { border-bottom: none; }

  .servicios__principales,
  .servicios__grid,
  .equipo__grid,
  .filtro__grid,
  .footer__cols,
  .testimonios__grid {
    grid-template-columns: 1fr;
  }

  .metodo__steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child { border-bottom: none; }

  .servicio { padding: 36px 28px; min-height: auto; }
  .servicio--eje { min-height: auto; }
  .form { padding: 36px 24px; }

  .diagnostico__list li {
    gap: 20px;
  }

  .estudio__stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav__brandtext { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 48px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ---------- PERSONA IMAGES ---------- */
.persona {
  cursor: pointer;
}

.persona__img-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.persona__img-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.4s var(--ease);
}

.persona:hover .persona__img-wrap {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(10, 31, 68, 0.15);
}

.persona:hover .persona__img-wrap::after {
  border-color: var(--gold);
}

.persona__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Remove old avatar styles */
.persona__avatar {
  display: none;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 48, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s var(--ease);
  box-shadow: var(--shadow-deep);
}

.modal.is-open .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s var(--ease);
}

.modal__close:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.modal__body {
  padding: 48px 40px 40px;
  text-align: center;
}

.modal__img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 8px 30px rgba(10, 31, 68, 0.12);
}

.modal__name {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 500;
}

.modal__role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 20px;
  font-weight: 500;
}

.modal__bio {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto;
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal__content {
    max-width: 100%;
    max-height: 95vh;
  }

  .modal__body {
    padding: 36px 24px 32px;
  }

  .modal__img {
    width: 140px;
    height: 140px;
  }

  .modal__name {
    font-size: 26px;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}