/* ===================================================
   DPP — Despacho de Psicología Pericial · Bilbao
   Verde Rolex + Dorado · Cormorant Garamond + DM Sans
   =================================================== */

:root {
  --green:        #006039;
  --green-dark:   #004d2c;
  --green-deep:   #0b1e12;
  --gold:         #c9a84c;
  --gold-light:   #dfc070;
  --gold-dim:     #a88830;
  --cream:        #f7f4ee;
  --white:        #ffffff;
  --text:         #1a1a1a;
  --text-mid:     #4a5568;
  --text-light:   #718096;
  --border:       rgba(201,168,76,.2);

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.25,.46,.45,.94);
  --tr:   .35s var(--ease);
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 56px rgba(0,0,0,.14);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
}

/* ─── CREDIBILITY STRIP ─── */
.cred-strip {
  background: var(--cream);
  border-bottom: 1px solid rgba(0,96,57,.12);
  padding: 14px 0;
}
.cred-strip__items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.cred-strip__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}
.cred-strip__item i { color: var(--green); font-size: 12px; }
.cred-strip__sep { color: var(--gold-dim); font-size: 14px; }
@media (max-width: 768px) { .cred-strip__sep { display: none; } }

/* ─── HERO NOTE ─── */
.hero__note {
  font-size: 13px;
  color: rgba(255,255,255,.52);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  animation: heroFadeIn .9s var(--ease) .65s both;
}
.hero__note i { color: var(--gold); font-size: 11px; }

/* ─── CTA FINAL BANNER ─── */
.cta-final {
  background: var(--green-deep);
  padding: 80px 0;
  border-top: 1px solid rgba(201,168,76,.18);
  position: relative;
  overflow: hidden;
}
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,96,57,.45) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-final__text h2 {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.cta-final__text h2 em { font-style: italic; color: var(--gold); }
.cta-final__text p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}
.cta-final__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta-final__actions .btn-cta { padding: 14px 32px; font-size: 15px; }
@media (max-width: 768px) {
  .cta-final__inner { flex-direction: column; text-align: center; }
  .cta-final__actions { justify-content: center; }
}

/* ─── STATS ICON ─── */
.stat__icon {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat__num-text {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 2px;
}

/* ─── ABOGADOS ─── */
.abogados {
  padding: 100px 0;
  background: var(--green);
}
.abogados__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.abogados__left .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
}
.abogados__desc {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}
.abogados__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.abogado-feat {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  border-left: 3px solid var(--gold);
  transition: background var(--tr);
}
.abogado-feat:hover { background: rgba(255,255,255,.13); }
.abogado-feat > i {
  font-size: 19px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
}
.abogado-feat h4 {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.abogado-feat p {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .abogados__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── REVIEW CTA ─── */
.testimonios__review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  text-align: center;
}
.testimonios__review-cta p {
  font-size: 14px;
  color: var(--text-mid);
}
.btn-cta--google {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,.15);
  gap: 10px;
}
.btn-cta--google:hover {
  background: #f8f8f8;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-1px);
}
.btn-cta--google .g-blue   { color: #4285F4; }
.btn-cta--google .g-red    { color: #EA4335; }
.btn-cta--google .g-yellow { color: #FBBC05; }
.btn-cta--google .g-green  { color: #34A853; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--green-deep);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: var(--tr);
}
.header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}
.logo__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
  transition: color var(--tr);
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); }
.header__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__phone {
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--tr);
}
.header__phone:hover { color: var(--gold-light); }
.header__phone i { font-size: 13px; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}
.btn-cta--outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-cta--outline:hover {
  background: rgba(201,168,76,.1);
  box-shadow: 0 6px 20px rgba(201,168,76,.15);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--tr);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--green-deep);
  border-top: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  letter-spacing: .04em;
}
.mobile-nav a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(0,96,57,.45) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(201,168,76,.06) 0%, transparent 50%),
    var(--green-deep);
}
.hero__deco { display: none; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__eyebrow span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__actions .btn-cta {
  padding: 14px 32px;
  font-size: 14px;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero__scroll i { font-size: 18px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Hero entrance animation */
.hero__eyebrow,
.hero h1,
.hero__sub,
.hero__actions {
  animation: heroFadeIn .9s var(--ease) both;
}
.hero__eyebrow { animation-delay: .1s; }
.hero h1       { animation-delay: .25s; }
.hero__sub     { animation-delay: .4s; }
.hero__actions { animation-delay: .55s; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   STATS BAR
───────────────────────────────────────── */
.stats {
  background: var(--green);
  padding: 24px 0;
  border-bottom: 1px solid var(--gold-dim);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   ÁMBITOS (SERVICIOS)
───────────────────────────────────────── */
.ambitos {
  padding: 100px 0;
  background: var(--cream);
}
.ambitos__header {
  text-align: center;
  margin-bottom: 64px;
}
.ambitos__header .section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--green-deep);
}
.ambitos__header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.7;
}
.ambitos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.ambito-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: box-shadow var(--tr);
}
.ambito-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.ambito-card:hover { box-shadow: var(--shadow-lg); }
.ambito-card:hover::before { transform: scaleX(1); }
.ambito-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,96,57,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--tr);
}
.ambito-card:hover .ambito-card__icon { background: rgba(0,96,57,.16); }
.ambito-card__icon i {
  font-size: 22px;
  color: var(--green);
}
.ambito-card__title {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 12px;
  line-height: 1.2;
}
.ambito-card__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   PROCESO
───────────────────────────────────────── */
.proceso {
  padding: 100px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.proceso::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,96,57,.5) 0%, transparent 70%);
  pointer-events: none;
}
.proceso__header {
  text-align: center;
  margin-bottom: 72px;
  color: var(--white);
}
.proceso__header .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--white);
}
.proceso__header p {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 500px;
  margin: 20px auto 0;
  line-height: 1.7;
}
.proceso__steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.proceso__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  color: var(--gold);
  font-size: 20px;
  opacity: .5;
}
.step {
  text-align: center;
  padding: 0 20px;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  background: rgba(201,168,76,.05);
}
.step__title {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.step__text {
  font-size: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   DIFERENCIADORES
───────────────────────────────────────── */
.diferenciadores {
  padding: 100px 0;
  background: var(--white);
}
.diferenciadores__header {
  text-align: center;
  margin-bottom: 64px;
}
.diferenciadores__header .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--green-deep);
}
.diferenciadores__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.dif-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  border: 1px solid rgba(0,96,57,.1);
  border-radius: 4px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.dif-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201,168,76,.1);
}
.dif-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,.08);
  border-radius: 3px;
}
.dif-card__icon i { font-size: 20px; color: var(--gold-dim); }
.dif-card__body {}
.dif-card__title {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.dif-card__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   TESTIMONIOS
───────────────────────────────────────── */
.testimonios {
  padding: 100px 0;
  background: var(--cream);
}
.testimonios__header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonios__header .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--green-deep);
}
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 4px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonio__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.testimonio__text {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
}
.testimonio__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.testimonio__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonio__role {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.testimonios__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-mid);
}
.testimonios__google .stars { color: #f4b400; letter-spacing: 2px; }
.testimonios__google strong { color: var(--green-deep); font-size: 20px; }

/* ─────────────────────────────────────────
   SOBRE DPP
───────────────────────────────────────── */
.sobre {
  padding: 100px 0;
  background: var(--white);
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre__image {
  position: relative;
}
.sobre__img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.sobre__img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.sobre__img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 24px 28px;
  border-radius: 3px;
  text-align: center;
  font-family: var(--ff-serif);
  box-shadow: var(--shadow-lg);
}
.sobre__img-badge strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.sobre__img-badge span {
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.sobre__content .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--green-deep);
  margin-bottom: 28px;
}
.sobre__text {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.sobre__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0 40px;
}
.sobre__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.sobre__list li i {
  font-size: 13px;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--green-deep);
}
.faq__header {
  text-align: center;
  margin-bottom: 64px;
}
.faq__header .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--white);
}
.faq__header p {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin: 20px auto 0;
  line-height: 1.7;
}
.faq__grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
}
.faq-item__question h3 {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
  transition: background var(--tr), transform var(--tr);
}
.faq-item.open .faq-item__icon {
  background: var(--gold);
  color: var(--green-deep);
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
}
.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-item__answer p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
}

/* ─────────────────────────────────────────
   CONTACTO
───────────────────────────────────────── */
.contacto {
  padding: 100px 0 0;
  background: var(--cream);
}
.contacto__header {
  text-align: center;
  margin-bottom: 64px;
}
.contacto__header .section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--green-deep);
}
.contacto__header p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 480px;
  margin: 20px auto 0;
  line-height: 1.7;
}
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.info-block__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.info-block__value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.info-block__value a {
  color: var(--green);
  font-weight: 600;
  transition: color var(--tr);
}
.info-block__value a:hover { color: var(--green-dark); }
.info-block__online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: rgba(0,96,57,.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,96,57,.2);
}
.contacto__form-wrap {
  background: var(--white);
  padding: 48px 44px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}
.form__title {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.form__sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group label {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 14px;
  color: var(--text-light);
  pointer-events: none;
  transition: .25s var(--ease);
  background: var(--white);
  padding: 0 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 3px;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,96,57,.08);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: .05em;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 15px;
}
.form__nota {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form__nota i { color: var(--green); }
.contacto__map {
  margin-top: 80px;
  height: 340px;
  overflow: hidden;
}
.contacto__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(.8) contrast(1.05);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--green-deep);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(201,168,76,.15);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand .logo__name { font-size: 32px; }
.footer__brand .logo__sub { margin-bottom: 20px; }
.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  max-width: 280px;
  margin-top: 16px;
}
.footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--tr);
}
.footer__links a:hover { color: var(--gold); }
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.footer__contact-item i {
  font-size: 14px;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer__contact-item a {
  color: rgba(255,255,255,.55);
  transition: color var(--tr);
}
.footer__contact-item a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  transition: color var(--tr);
}
.footer__legal a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   FLOATING BUTTONS
───────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform var(--tr), box-shadow var(--tr);
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.float-call-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--green);
  color: var(--white);
  padding: 16px;
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  border-top: 2px solid var(--gold);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   MODAL DE ÉXITO
───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,30,18,.85);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: 56px 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: modalIn .4s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0,96,57,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal__icon i { font-size: 32px; color: var(--green); }
.modal h3 {
  font-family: var(--ff-serif);
  font-size: 30px;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.modal p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }
.modal__close {
  display: inline-flex;
  padding: 12px 32px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--tr);
}
.modal__close:hover { background: var(--green-dark); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .ambitos__grid { grid-template-columns: repeat(2, 1fr); }
  .sobre__inner { gap: 48px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .header__contact .btn-cta { display: none; }
  .hamburger { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .stat:last-child { border-bottom: none; }

  .proceso__steps { grid-template-columns: 1fr; gap: 32px; }
  .proceso__arrow { display: none; }

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

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

  .sobre__inner { grid-template-columns: 1fr; }
  .sobre__image { order: 2; }
  .sobre__img-badge { right: 0; bottom: -16px; }
  .sobre__img-wrap img { height: 360px; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .float-call-mobile { display: flex; }
  .float-wa { bottom: 80px; }
}

@media (max-width: 600px) {
  .ambitos__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .contacto__form-wrap { padding: 32px 24px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .header__inner { height: 64px; }
  .logo__name { font-size: 24px; }
}
