/* ============================================================
   Efraín Daza Homes — Shared Design Tokens + Base Components
   Source of truth: assets/brand/brand-guidelines.md
   Used by every landing in this repo.
   ============================================================ */

:root {
  /* --- Brand palette --- */
  --ed-navy:   #0C1B33;
  --ed-gold:   #D4AF37;
  --ed-pearl:  #F2F2F2;
  --ed-ice:    #B0C4DE;
  --ed-white:  #FFFFFF;
  --ed-ink:    #1A1A1A;
  --ed-muted:  #6B6F7B;

  /* Tinted variants for backgrounds & overlays */
  --ed-navy-90: rgba(12, 27, 51, .90);
  --ed-navy-65: rgba(12, 27, 51, .65);
  --ed-navy-40: rgba(12, 27, 51, .40);
  --ed-gold-15: rgba(212, 175, 55, .15);

  /* --- Type families --- */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* --- Type scale (mobile) --- */
  --fs-display: 2.5rem;   /* 40 */
  --fs-h1:      2rem;     /* 32 */
  --fs-h2:      1.625rem; /* 26 */
  --fs-h3:      1.25rem;  /* 20 */
  --fs-lead:    1.125rem; /* 18 */
  --fs-body:    1rem;     /* 16 */
  --fs-small:   0.875rem; /* 14 */
  --fs-eyebrow: 0.75rem;  /* 12 */

  /* --- Spacing scale (8pt base) --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* --- Radius + elevation --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px rgba(12, 27, 51, .06);
  --shadow-card-hover: 0 12px 32px rgba(12, 27, 51, .10);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 600ms;

  /* --- Layout --- */
  --container: 1180px;
  --container-narrow: 880px;
}

@media (min-width: 768px) {
  :root {
    --fs-display: 4rem;       /* 64 */
    --fs-h1:      3rem;       /* 48 */
    --fs-h2:      2.25rem;    /* 36 */
    --fs-h3:      1.5rem;     /* 24 */
    --fs-lead:    1.25rem;    /* 20 */
    --fs-body:    1.0625rem;  /* 17 */
  }
}

/* ============================================================
   Base reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  /* Guardia anti-desborde: evita que cualquier elemento más ancho que la
     pantalla expanda el viewport en móvil y descuadre todo lo centrado */
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ed-ink);
  background: var(--ed-white);
}

img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
img { font-style: italic; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   Typography
   ============================================================ */

.ed-display, .ed-h1, .ed-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ed-navy);
  margin: 0;
}

.ed-display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; }
.ed-h1      { font-size: var(--fs-h1);      line-height: 1.1; }
.ed-h2      { font-size: var(--fs-h2);      line-height: 1.2; letter-spacing: -0.01em; }

.ed-h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ed-navy);
  margin: 0;
}

.ed-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ed-ink);
  margin: 0;
}

.ed-body  { font-size: var(--fs-body); line-height: 1.7; color: var(--ed-ink); margin: 0; }
.ed-small { font-size: var(--fs-small); line-height: 1.55; color: var(--ed-muted); margin: 0; }

.ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ed-gold);
  margin: 0;
}
.ed-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .ed-eyebrow { font-size: 1.0625rem; gap: 1rem; }
  .ed-eyebrow::before { width: 34px; }
}

.ed-highlight {
  color: var(--ed-gold);
  font-style: italic;
}

/* On dark backgrounds */
.on-dark .ed-display,
.on-dark .ed-h1,
.on-dark .ed-h2,
.on-dark .ed-h3 { color: var(--ed-white); }
.on-dark .ed-body,
.on-dark .ed-lead { color: rgba(255, 255, 255, 0.86); }
.on-dark .ed-small { color: rgba(255, 255, 255, 0.66); }

/* ============================================================
   Layout helpers
   ============================================================ */

.ed-container        { width: 100%; max-width: var(--container);        margin: 0 auto; padding: 0 var(--space-3); }
.ed-container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-3); }
@media (min-width: 768px) {
  .ed-container, .ed-container-narrow { padding: 0 var(--space-4); }
}

.ed-section { padding: var(--space-6) 0; }
@media (min-width: 768px) { .ed-section { padding: var(--space-7) 0; } }

.ed-stack > * + * { margin-top: var(--space-3); }
.ed-stack-lg > * + * { margin-top: var(--space-4); }

/* ============================================================
   Buttons
   ============================================================ */

.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color      var(--t-fast) var(--ease),
              border     var(--t-fast) var(--ease),
              transform  var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  will-change: transform;
}
.ed-btn:active { transform: translateY(1px); }

.ed-btn-primary {
  background: var(--ed-navy);
  color: var(--ed-white);
  border-color: var(--ed-navy);
}
.ed-btn-primary:hover {
  background: var(--ed-gold);
  color: var(--ed-navy);
  border-color: var(--ed-gold);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
}

.ed-btn-secondary {
  background: transparent;
  color: var(--ed-navy);
  border-color: var(--ed-navy);
}
.ed-btn-secondary:hover {
  background: var(--ed-navy);
  color: var(--ed-white);
}

.on-dark .ed-btn-secondary {
  color: var(--ed-white);
  border-color: var(--ed-white);
}
.on-dark .ed-btn-secondary:hover {
  background: var(--ed-white);
  color: var(--ed-navy);
}

.ed-btn-block { width: 100%; }
@media (min-width: 768px) {
  .ed-btn-block { width: auto; }
}

/* ============================================================
   Card
   ============================================================ */

.ed-card {
  background: var(--ed-pearl);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.ed-card:hover { box-shadow: var(--shadow-card-hover); }

/* ============================================================
   Divisor editorial (filete oro)
   ============================================================ */

.ed-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--ed-gold);
  border: 0;
  margin: 0;
}

/* ============================================================
   Video / iframe responsive 16:9
   ============================================================ */

.ed-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--ed-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(12, 27, 51, 0.25);
}
.ed-video iframe,
.ed-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Pastilla "activar sonido" — pequeña, NO tapa el video (que se ve corriendo) */
.vsl-unmute {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(12, 27, 51, 0.88);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: vsl-pulse 2.2s ease-in-out infinite;
  transition: opacity var(--t-base) var(--ease);
}
.vsl-unmute-icon { font-size: 1.1rem; line-height: 1; }
@keyframes vsl-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(212,175,55,0.5); }
  50%      { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 10px rgba(212,175,55,0); }
}
.vsl-unmute.is-hidden { opacity: 0; pointer-events: none; }

/* ============================================================
   Carrusel de testimonios estilo "reel" (scroll horizontal)
   ============================================================ */
.ed-reel {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-2) var(--space-3) var(--space-3);
  margin: 0 calc(-1 * var(--space-3));
  scrollbar-width: none;
}
.ed-reel::-webkit-scrollbar { display: none; }
.ed-reel-card {
  flex: 0 0 70%;
  max-width: 280px;
  scroll-snap-align: center;
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ed-navy);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}
@media (min-width: 768px) { .ed-reel-card { flex-basis: 300px; } }
.ed-reel-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,27,51,0) 38%, rgba(12,27,51,0.55) 70%, rgba(12,27,51,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-3);
  color: #fff;
}
.ed-reel-flag { position: absolute; top: 12px; left: 12px; font-size: 1.1rem; }
.ed-reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.ed-reel-play svg { width: 20px; height: 20px; color: var(--ed-navy); margin-left: 3px; }
.ed-reel-name { font-weight: 700; font-size: 0.95rem; }
.ed-reel-quote { font-size: 0.85rem; opacity: 0.92; font-style: italic; line-height: 1.4; margin-top: 3px; }
.ed-reel-hint { font-size: 0.8125rem; color: var(--ed-muted); }

/* ============================================================
   Header / Footer
   ============================================================ */

.ed-header {
  position: relative;
  z-index: 10;
  padding: var(--space-3) 0;
}
.ed-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-logo { height: 36px; width: auto; }
@media (min-width: 768px) { .ed-logo { height: 44px; } }

/* Step indicator "Paso X de 2" */
.ed-step-indicator {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ed-gold);
  padding: 6px 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
}
@media (min-width: 560px) {
  .ed-step-indicator { display: inline-flex; align-items: center; }
}

.ed-footer {
  background: var(--ed-navy);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--space-5) 0;
  text-align: center;
  font-size: var(--fs-small);
}
.ed-footer a { color: var(--ed-white); text-decoration: none; }
.ed-footer a:hover { color: var(--ed-gold); }

/* ============================================================
   Backgrounds
   ============================================================ */

.bg-navy  { background: var(--ed-navy); color: var(--ed-white); }
.bg-pearl { background: var(--ed-pearl); }
.bg-white { background: var(--ed-white); }
.bg-ice   { background: var(--ed-ice); }

/* ============================================================
   Scroll-fade in (paired with shared/scripts.js)
   ============================================================ */

.ed-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.ed-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ed-fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Form embed container (GHL / Calendly placeholders)
   ============================================================ */

.ed-embed {
  width: 100%;
  background: var(--ed-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ed-embed iframe { width: 100%; min-height: 720px; border: 0; display: block; }

.ed-embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 480px;
  padding: var(--space-5) var(--space-3);
  text-align: center;
  border: 2px dashed var(--ed-ice);
  border-radius: var(--radius-md);
  background: var(--ed-pearl);
  color: var(--ed-muted);
}
.ed-embed-placeholder code {
  font-size: 0.8125rem;
  background: var(--ed-white);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--ed-navy);
}

/* ============================================================
   Utility
   ============================================================ */

.ed-center { text-align: center; }
.ed-mt-0 { margin-top: 0 !important; }
.ed-mt-3 { margin-top: var(--space-3) !important; }
.ed-mt-4 { margin-top: var(--space-4) !important; }
.ed-mt-5 { margin-top: var(--space-5) !important; }

.ed-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   Stats band (4 números horizontales con divisor)
   ============================================================ */

.ed-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-3);
  padding: var(--space-5) 0;
}
@media (min-width: 768px) {
  .ed-stats { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
}

.ed-stat { text-align: center; padding: 0 var(--space-2); min-width: 0; }
.ed-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  /* 9vw en móvil para que "$100M+" quepa en 2 columnas hasta en 320px */
  font-size: clamp(1.875rem, 9vw, 3.25rem);
  line-height: 1;
  color: var(--ed-navy);
  letter-spacing: -0.02em;
}
.on-dark .ed-stat-num { color: var(--ed-white); }
.ed-stat-num .ed-stat-plus { color: var(--ed-gold); font-style: italic; }

.ed-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.on-dark .ed-stat-label { color: rgba(255,255,255,.66); }

/* Dividers between columns on desktop */
@media (min-width: 768px) {
  .ed-stat + .ed-stat { border-left: 1px solid rgba(12, 27, 51, 0.10); }
  .on-dark .ed-stat + .ed-stat { border-left-color: rgba(255, 255, 255, 0.15); }
}

/* ============================================================
   Split (imagen + texto, e.g. About Efraín)
   ============================================================ */

.ed-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .ed-split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .ed-split-text-first .ed-split-media { order: 2; }
}

.ed-split-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ed-pearl);
  box-shadow: var(--shadow-card);
}
.ed-split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Ancla el encuadre un poco más arriba para no cortar el cabello del retrato */
  object-position: center 22%;
  display: block;
}
.ed-split-media::after {
  content: "";
  position: absolute;
  inset: auto -8px -8px auto;
  width: 88px; height: 88px;
  border-right: 2px solid var(--ed-gold);
  border-bottom: 2px solid var(--ed-gold);
  pointer-events: none;
}

.ed-split-text > * + * { margin-top: var(--space-3); }

/* ============================================================
   Process steps (3 pasos)
   ============================================================ */

.ed-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .ed-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}

.ed-step {
  position: relative;
  background: var(--ed-white);
  border: 1px solid rgba(12, 27, 51, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  padding-top: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.ed-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.ed-step-num {
  position: absolute;
  top: var(--space-3);
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ed-gold);
}

.ed-step-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ed-navy);
  margin: 0 0 var(--space-2);
}
.ed-step-body {
  font-size: var(--fs-body);
  color: var(--ed-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   Testimonials grid (4 video cards with lightbox trigger)
   ============================================================ */

.ed-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) { .ed-testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ed-testimonials { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); } }

.ed-testimonial {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ed-navy);
  aspect-ratio: 9 / 12;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.ed-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.ed-testimonial-thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: filter var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.ed-testimonial:hover .ed-testimonial-thumb {
  filter: brightness(0.86);
  transform: scale(1.03);
}

.ed-testimonial-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3);
  background: linear-gradient(180deg, rgba(12,27,51,.10) 0%, rgba(12,27,51,.0) 30%, rgba(12,27,51,.85) 100%);
  color: var(--ed-white);
}

.ed-testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ed-testimonial-flag {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.ed-testimonial-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ed-navy);
  display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.ed-testimonial:hover .ed-testimonial-play {
  background: var(--ed-gold);
  transform: scale(1.06);
}
.ed-testimonial-play svg { width: 16px; height: 16px; }

.ed-testimonial-bottom { display: flex; flex-direction: column; gap: 0.25rem; }
.ed-testimonial-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.ed-testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0.95;
}

/* ============================================================
   Media logos band ("Como aparecido en...")
   ============================================================ */

.ed-media-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: center;
  justify-items: center;
  padding: var(--space-4) 0;
}
@media (min-width: 640px) { .ed-media-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ed-media-logos { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); } }

.ed-media-logo {
  max-height: 36px;
  width: auto;
  filter: grayscale(1) brightness(0.6);
  opacity: 0.78;
  transition: filter var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.ed-media-logo:hover { filter: grayscale(0) brightness(1); opacity: 1; }

/* Logo placeholder while real assets pending */
.ed-media-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 var(--space-3);
  border: 1px dashed var(--ed-ice);
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

/* ============================================================
   FAQ (uses native <details>/<summary>)
   ============================================================ */

.ed-faq-list { display: flex; flex-direction: column; gap: 0; }

.ed-faq {
  border-top: 1px solid rgba(12, 27, 51, 0.10);
  padding: 0;
}
.ed-faq:last-child { border-bottom: 1px solid rgba(12, 27, 51, 0.10); }
.ed-faq > summary {
  list-style: none;
  padding: var(--space-3) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ed-navy);
  transition: color var(--t-fast) var(--ease);
}
.ed-faq > summary::-webkit-details-marker { display: none; }
.ed-faq > summary:hover { color: var(--ed-gold); }

.ed-faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ed-pearl);
  display: grid; place-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--ed-navy);
  transition: transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.ed-faq[open] .ed-faq-icon { transform: rotate(45deg); background: var(--ed-gold); color: var(--ed-navy); }

.ed-faq-body {
  padding: 0 var(--space-5) var(--space-4) 0;
  color: var(--ed-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   Final CTA block (banner cierre)
   ============================================================ */

.ed-cta-banner {
  background: var(--ed-navy);
  color: var(--ed-white);
  text-align: center;
  padding: var(--space-7) var(--space-3);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.ed-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 50% at 50% 0%, rgba(212,175,55,0.16), transparent 70%);
  pointer-events: none;
}
.ed-cta-banner > * { position: relative; z-index: 1; }

/* ============================================================
   WhatsApp floating button
   ============================================================ */

.ed-whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.ed-whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 211, 102, 0.45); }
.ed-whatsapp-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.ed-whatsapp-fab .ed-whatsapp-label { display: none; }
@media (min-width: 640px) {
  .ed-whatsapp-fab .ed-whatsapp-label { display: inline; }
}
@media (min-width: 768px) {
  .ed-whatsapp-fab { right: 24px; bottom: 24px; padding: 14px 22px; }
}

/* ============================================================
   Lightbox (video testimonials)
   ============================================================ */

.ed-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background: rgba(12, 27, 51, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.ed-lightbox.is-open { display: flex; opacity: 1; }
.ed-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.ed-lightbox-inner iframe,
.ed-lightbox-inner video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.ed-lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease);
}
.ed-lightbox-close:hover { opacity: 1; }
@media (min-width: 768px) {
  .ed-lightbox-close { top: 8px; right: 8px; background: rgba(0,0,0,0.4); border-radius: 50%; }
}

/* ============================================================
   Footer extended (multi-column)
   ============================================================ */

.ed-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  text-align: left;
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
  .ed-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-5); }
}
.ed-footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ed-gold);
  margin: 0 0 var(--space-2);
}
.ed-footer-grid ul { list-style: none; padding: 0; margin: 0; }
.ed-footer-grid li { margin: 0 0 0.5rem; }
.ed-footer-grid a { color: rgba(255,255,255,.72); }
.ed-footer-grid a:hover { color: var(--ed-gold); }
.ed-footer-meta {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: var(--space-3);
  font-size: 0.8125rem;
  color: rgba(255,255,255,.56);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .ed-footer-meta { flex-direction: row; justify-content: space-between; text-align: left; }
}
.ed-footer-social {
  display: inline-flex;
  gap: var(--space-2);
}
.ed-footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background var(--t-fast) var(--ease);
}
.ed-footer-social a:hover { background: var(--ed-gold); }
.ed-footer-social svg { width: 16px; height: 16px; }

