/* ============================================================
   Aires de La Herradura — styles.css
   Paleta: Azul profundo #0a2540, #114a74 · Teal #0d9488, #14b8a6
   Arena #faf6f1, #f0e9df · Blanco · Gris #f8fafc
   Tipografía: Playfair Display (títulos) · DM Sans (cuerpo)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   TIPOGRAFÍA
   ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; }

.section-label {
  display: inline-block;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #0d9488;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #0a2540;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: #64748b;
  max-width: 700px;
}

/* ----------------------------------------------------------
   A. HEADER
   ---------------------------------------------------------- */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .35s, box-shadow .35s;
}

#main-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

#main-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  transition: color .35s;
}

#main-header .logo-icon {
  width: 38px; height: 38px;
  background: #114a74;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}

#main-header.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); }
#main-header.scrolled .logo { color: #0a2540; }
#main-header.scrolled .desktop-nav a { color: #1e293b; }
#main-header.scrolled .desktop-nav a:hover { color: #0d9488; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.desktop-nav a:hover { color: #14b8a6; }

.desktop-nav .btn-nav {
  background: #0d9488;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.desktop-nav .btn-nav:hover { background: #0f766e; }

/* Hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}
#menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
#main-header.scrolled #menu-toggle span { background: #0a2540; }
#menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
  z-index: 1050;
  padding: 90px 32px 40px;
  transition: right .35s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#mobile-nav.open { right: 0; }
#mobile-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
#mobile-nav a:last-child { border-bottom: none; }

#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
#nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ----------------------------------------------------------
   B. HERO
   ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    linear-gradient(160deg, rgba(10,37,64,.72) 0%, rgba(17,74,116,.55) 40%, rgba(13,148,136,.45) 100%),
    url('hero-aerial.jpg') center/cover no-repeat;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(13,148,136,.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(10,37,64,.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.hero-location svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all .25s;
}

.btn-primary { background: #0d9488; color: #fff; border-color: #0d9488; }
.btn-primary:hover { background: #0f766e; border-color: #0f766e; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1fba59; border-color: #1fba59; }

.btn-whatsapp svg,
.btn-primary svg,
.btn-outline svg { width: 18px; height: 18px; }

.scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounceDown 2s infinite;
  color: rgba(255,255,255,.5);
}
.scroll-arrow svg { width: 28px; height: 28px; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ----------------------------------------------------------
   C. VENTAJA DE PRECIO
   ---------------------------------------------------------- */
.section-precio { background: #f8fafc; padding: 100px 24px; text-align: center; }

.price-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  margin: 48px 0 36px;
  height: 220px;
}

.price-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.price-bar .bar {
  width: 80px;
  border-radius: 10px 10px 4px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.price-bar .bar.bar-you { background: linear-gradient(180deg, #14b8a6, #0d9488); height: 110px; }
.price-bar .bar.bar-mid { background: #94a3b8; height: 160px; }
.price-bar .bar.bar-high { background: #475569; height: 210px; }

.price-bar .bar-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.price-badge {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-top: -4px;
}

.saving-box {
  background: #f0e9df;
  border-radius: 12px;
  padding: 20px 32px;
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0a2540;
}

/* ----------------------------------------------------------
   D. UBICACIÓN RADIAL
   ---------------------------------------------------------- */
.section-ubicacion { padding: 100px 24px; text-align: center; }

.radial-wrap {
  position: relative;
  max-width: 650px;
  margin: 60px auto 0;
  min-height: 420px;
}

.radial-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #0d9488, #114a74);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(13,148,136,.15);
  z-index: 2;
}
.radial-center svg { width: 26px; height: 26px; color: #fff; }

.radial-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 150px;
  text-align: center;
}

.radial-point .rp-icon {
  width: 52px; height: 52px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radial-point .rp-icon svg { width: 22px; height: 22px; color: #0d9488; }

.radial-point .rp-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a2540;
}
.radial-point .rp-dist {
  font-size: 0.8rem;
  color: #0d9488;
  font-weight: 600;
}

/* Positioning — desktop */
.rp-1 { top: 0; left: 50%; transform: translateX(-50%); }
.rp-2 { top: 18%; right: 0; }
.rp-3 { bottom: 10%; right: 2%; }
.rp-4 { bottom: 10%; left: 2%; }
.rp-5 { top: 18%; left: 0; }

/* Map */
.map-wrap { text-align: center; }

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

/* ----------------------------------------------------------
   E. FAMILIA Y SEGURIDAD
   ---------------------------------------------------------- */
.section-familia { background: #faf6f1; padding: 100px 24px; }

.familia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.familia-features { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 48px; height: 48px;
  background: #e0f2fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: #0d9488; }

.feature-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0a2540;
}
.feature-item p { font-size: 0.9rem; color: #64748b; }

.familia-visual {
  position: relative;
  height: 380px;
}
.familia-visual .fv-block {
  position: absolute;
  border-radius: 20px;
}
.familia-visual .fv-block-1 {
  width: 280px; height: 320px;
  background: url('Fotos/la_herradura.jpg') center/cover no-repeat;
  top: 0; left: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.familia-visual .fv-block-2 {
  width: 240px; height: 260px;
  background: url('Fotos/IMG-6790-1024x682.jpeg') center/cover no-repeat;
  bottom: 0; right: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

/* ----------------------------------------------------------
   F. FACTIBILIDADES
   ---------------------------------------------------------- */
.section-factibilidades { padding: 100px 24px; text-align: center; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 32px;
}

.fact-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.fact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }

.fact-card .fc-icon {
  width: 64px; height: 64px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.fact-card .fc-icon svg { width: 28px; height: 28px; color: #0d9488; }

.fact-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.fact-approved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 600;
}
.fact-approved svg { width: 16px; height: 16px; }

.fact-phrase {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 550px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   G. DISEÑO URBANO
   ---------------------------------------------------------- */
.section-urbano { background: #f8fafc; padding: 100px 24px; text-align: center; }

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

.urbano-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.urbano-card .uc-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.urbano-card .uc-icon svg { width: 24px; height: 24px; color: #fff; }

.urbano-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.urbano-card p { font-size: 0.85rem; color: #64748b; }

/* ----------------------------------------------------------
   H. LOTES Y PRECIOS
   ---------------------------------------------------------- */
.section-lotes { padding: 100px 24px; text-align: center; }

/* Selección estratégica cards */
.strat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}

.strat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.strat-card .sc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d9488;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.strat-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 8px;
  margin-bottom: 8px;
}

.strat-card .sc-lote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a2540;
}

.strat-card .sc-detail {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}

.strat-card .sc-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d9488;
  margin-top: 8px;
}

/* Table wrapper */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 0 auto 24px;
}

.lotes-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-size: 0.9rem;
}

.lotes-table thead th {
  background: #0a2540;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.lotes-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.lotes-table tbody tr:nth-child(even) { background: #f8fafc; }
.lotes-table tbody td { padding: 14px 16px; }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-beige { background: #f0e9df; color: #78716c; }

/* Status */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-green { background: #16a34a; }
.status-red { background: #dc2626; }

/* Consultar button */
.btn-consultar {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
}
.btn-consultar:hover { background: #1fba59; }

.lotes-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* ----------------------------------------------------------
   I. MASTER PLAN 360
   ---------------------------------------------------------- */
.section-masterplan {
  background: #0f172a;
  padding: 100px 24px;
  text-align: center;
}
.section-masterplan .section-label { color: #14b8a6; }
.section-masterplan .section-title { color: #fff; }

.mp-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.mp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
}
.mp-legend .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mp-legend .dot-white { background: #fff; }
.mp-legend .dot-gray { background: #94a3b8; }
.mp-legend .dot-red { background: #ef4444; }

.mp-iframe-wrap {
  max-width: 960px;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  aspect-ratio: 16/10;
}
.mp-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.btn-fullscreen {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .25s;
}
.btn-fullscreen:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ----------------------------------------------------------
   J. RESERVA / PRE-VENTA
   ---------------------------------------------------------- */
.section-reserva {
  background: #0a2540;
  padding: 100px 24px;
  color: #fff;
}
.section-reserva .section-label { color: #14b8a6; }
.section-reserva .section-title { color: #fff; }

.reserva-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 13px; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(255,255,255,.2);
}

.tl-step {
  position: relative;
  margin-bottom: 40px;
}
.tl-step:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot.active {
  background: #0d9488;
  border-color: #0d9488;
  box-shadow: 0 0 0 6px rgba(13,148,136,.25);
}
.tl-dot::after {
  content: '';
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
}

.tl-step .tl-time {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #14b8a6;
  margin-bottom: 4px;
}
.tl-step h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Benefits box */
.benefits-box {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 36px;
}
.benefits-box h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.benefits-box ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.benefits-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,.85);
}
.benefits-box li svg { width: 18px; height: 18px; color: #14b8a6; flex-shrink: 0; margin-top: 2px; }

.reserva-price {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}

.btn-teal {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background .25s;
}
.btn-teal:hover { background: #0f766e; }

/* ----------------------------------------------------------
   K. FAQ
   ---------------------------------------------------------- */
.section-faq { background: #f8fafc; padding: 100px 24px; }

.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.05); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #0a2540;
  cursor: pointer;
}
.faq-question .fq-icon {
  width: 36px; height: 36px;
  background: #e0f2fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-question .fq-icon svg { width: 18px; height: 18px; color: #0d9488; }

.faq-question .fq-toggle {
  margin-left: auto;
  font-size: 1.4rem;
  color: #94a3b8;
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .fq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 24px 20px 74px;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   L. LEGAL
   ---------------------------------------------------------- */
.section-legal { padding: 100px 24px; text-align: center; }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 36px;
}

.legal-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
}
.legal-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.legal-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

.legal-card.highlight {
  background: #0a2540;
  border-color: #0a2540;
  color: #fff;
}
.legal-card.highlight h4 { color: #fff; }
.legal-card.highlight p { color: rgba(255,255,255,.8); }

.legal-checks {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.legal-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
}
.legal-checks svg { width: 20px; height: 20px; color: #16a34a; }

.legal-disclaimer {
  font-size: 0.82rem;
  color: #94a3b8;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   M. ROI / INVERSIÓN
   ---------------------------------------------------------- */
.section-roi { background: #f8fafc; padding: 100px 24px; text-align: center; }

.roi-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 36px;
}

.roi-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}
.roi-card .rc-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0a2540;
}
.roi-card .rc-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}
.roi-card.dark {
  background: #0a2540;
  border-color: #0a2540;
}
.roi-card.dark .rc-value { color: #14b8a6; }
.roi-card.dark .rc-label { color: rgba(255,255,255,.7); }

.roi-projections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 36px;
}

.roi-proj {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  background: #fff;
  text-align: center;
}
.roi-proj.featured { border-color: #0d9488; border-width: 2px; }

.roi-proj .rp-period {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 8px;
}
.roi-proj .rp-pct {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d9488;
}
.roi-proj .rp-val {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 4px;
}

.roi-factors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.roi-pill {
  background: #e0f2fe;
  color: #0a2540;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.roi-disclaimer {
  background: #f0e9df;
  border-radius: 12px;
  padding: 20px 28px;
  font-size: 0.82rem;
  color: #78716c;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   N. CONTACTO / AGENDA
   ---------------------------------------------------------- */
.section-contacto { padding: 100px 24px; }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

/* Contact card */
.contact-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 36px;
}

.cc-avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #0d9488, #114a74);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cc-logo {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.contact-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-card .cc-empresa {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
}

.cc-channels { display: flex; flex-direction: column; gap: 12px; }

.cc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: opacity .2s;
}
.cc-btn:hover { opacity: .9; }
.cc-btn svg { width: 18px; height: 18px; }

.cc-btn-wa { background: #25D366; color: #fff; }
.cc-btn-phone { background: #e2e8f0; color: #1e293b; }
.cc-btn-email { background: #e2e8f0; color: #1e293b; }

/* Form */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a2540;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  background: #f8fafc;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d9488;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-checkbox input[type="checkbox"] { margin-top: 4px; accent-color: #0d9488; }
.form-checkbox label {
  font-size: 0.82rem;
  color: #64748b;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #0d9488;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .25s;
}
.btn-submit:hover { background: #0f766e; }

#form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 16px;
}
#form-success .success-icon {
  width: 64px; height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#form-success .success-icon svg { width: 32px; height: 32px; color: #16a34a; }
#form-success h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2540;
}
#form-success p { font-size: 0.9rem; color: #64748b; }

/* ----------------------------------------------------------
   O. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: #0f172a;
  padding: 48px 24px 32px;
  color: rgba(255,255,255,.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

/* Footer logo bar */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  padding-bottom: 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.footer-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.35);
}

.footer-logo-item img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: opacity .25s;
}

.footer-logo-item:hover img {
  opacity: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-location { font-size: 0.85rem; margin-top: 6px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

.footer-legal {
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   P. STICKY CTA MÓVIL
   ---------------------------------------------------------- */
#sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: none;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform .35s;
}
#sticky-cta.visible { transform: translateY(0); }

.sticky-btns { display: flex; gap: 10px; }
.sticky-btns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.sticky-btns .sb-wa { background: #25D366; color: #fff; }
.sticky-btns .sb-agendar { background: #0d9488; color: #fff; }
.sticky-btns svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  #menu-toggle { display: flex; }
  #sticky-cta { display: block; }

  .familia-grid,
  .reserva-grid,
  .contacto-grid { grid-template-columns: 1fr; }

  .fact-grid,
  .legal-grid,
  .roi-summary,
  .strat-cards { grid-template-columns: 1fr 1fr; }

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

  /* Radial → grid */
  .radial-wrap {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .radial-center { display: none; }
  .radial-point {
    position: static;
    transform: none;
    width: auto;
  }
}

@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  .price-bars { gap: 24px; height: 180px; }
  .price-bar .bar { width: 60px; }
  .price-bar .bar.bar-you { height: 85px; }
  .price-bar .bar.bar-mid { height: 125px; }
  .price-bar .bar.bar-high { height: 170px; }

  .fact-grid,
  .legal-grid,
  .roi-summary,
  .strat-cards { grid-template-columns: 1fr; }

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

  .roi-projections { grid-template-columns: 1fr; }

  .legal-checks { flex-direction: column; align-items: center; }

  .section-label { font-size: 0.68rem; }
}
