/* ═══════════════════════════════════════════════════════════════════════════
   Vitalia Medical Center — Main Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --c-primary:        #1558a8;   /* Medical blue */
  --c-primary-dark:   #0d3f7a;
  --c-primary-light:  #2a78d0;
  --c-teal:           #1fa89c;   /* Medical teal / secondary */
  --c-teal-light:     #2dc4b7;
  --c-accent-bg:      #eef5fc;   /* Very light blue tint */
  --c-teal-bg:        #e8f8f7;   /* Very light teal tint */
  --c-whatsapp:       #25d366;
  --c-whatsapp-hover: #1da851;

  /* Neutrals */
  --c-white:      #ffffff;
  --c-bg:         #f7fafd;
  --c-bg-alt:     #eef3f9;
  --c-surface:    #ffffff;
  --c-border:     #d8e6f5;
  --c-text:       #192433;
  --c-muted:      #6b7c91;
  --c-light:      #9bafc6;

  /* Treatment card accents */
  --c-prp:         #e05c8a;
  --c-shockwave:   #1558a8;
  --c-laser:       #7c3aed;
  --c-hyperbaric:  #1fa89c;
  --c-arthroscopy: #e07c1c;
  --c-regenerative:#16a34a;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.625rem;
  --text-4xl:  3.25rem;
  --fw-normal:  400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-black:   900;

  /* Spacing */
  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-8:  2rem;     --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;     --sp-24: 6rem;

  /* Layout */
  --max-w:    1160px;
  --pad-x:    var(--sp-6);

  /* Borders / Shadows */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;
  --shadow-sm:   0 1px 4px rgba(21,88,168,.07);
  --shadow-md:   0 4px 18px rgba(21,88,168,.11);
  --shadow-lg:   0 10px 36px rgba(21,88,168,.13);
  --shadow-card: 0 2px 10px rgba(25,36,51,.06), 0 8px 26px rgba(25,36,51,.05);

  /* Transitions */
  --t-fast: 160ms ease;
  --t-base: 240ms ease;
  --t-slow: 380ms ease;
}

/* ── 2. Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-weight: var(--fw-bold); line-height: 1.2; }

:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 3. Utilities ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-teal);
  margin-bottom: var(--sp-3);
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-teal);
  border-radius: var(--r-full);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-4);
  letter-spacing: -.02em;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header .section-subtitle { margin-inline: auto; }

/* ── 4. Scroll Reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* ── 5. Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-full);
  white-space: nowrap;
  line-height: 1;
  transition: background-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  box-shadow: 0 4px 16px rgba(21,88,168,.35);
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn--outline:hover {
  background: var(--c-accent-bg);
  border-color: var(--c-primary-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--c-white);
}

.btn--whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
}
.btn--whatsapp:hover {
  background: var(--c-whatsapp-hover);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}

.btn--teal {
  background: var(--c-teal);
  color: var(--c-white);
}
.btn--teal:hover {
  background: #189187;
  box-shadow: 0 4px 14px rgba(31,168,156,.35);
}

.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--text-md); }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }

/* ── 6. Header ────────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.header--scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--sp-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo__text-group { line-height: 1.15; }

.logo__name {
  display: block;
  font-size: var(--text-md);
  font-weight: var(--fw-black);
  color: var(--c-primary-dark);
  letter-spacing: -.02em;
}

.logo__sub {
  display: block;
  font-size: 0.65rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-teal);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.main-nav a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
  transition: color var(--t-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-teal);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transition: transform var(--t-fast);
  transform-origin: left;
}

.main-nav a:hover { color: var(--c-primary-dark); }
.main-nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--c-primary-dark);
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--c-accent-bg); }

/* ── 7. Hero ──────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(150deg, #051e3e 0%, var(--c-primary) 50%, #0e6b9a 100%);
  padding: var(--sp-24) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}

/* Decorative mesh pattern */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(31,168,156,.15) 0%, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(21,88,168,.2) 0%, transparent 35%);
  pointer-events: none;
}

/* Decorative rings */
.hero__rings {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  opacity: .12;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid white;
  inset: 0;
}

.hero__ring:nth-child(1) { inset: 60px; }
.hero__ring:nth-child(2) { inset: 120px; }
.hero__ring:nth-child(3) { inset: 180px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-12);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(31,168,156,.18);
  border: 1px solid rgba(31,168,156,.4);
  color: #7de8df;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-5);
}

.hero__title em {
  font-style: normal;
  color: #7de8df;
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

/* Trust badges below CTAs */
.hero__trust {
  display: flex;
  gap: var(--sp-6);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.12);
}

.trust-stat__value {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
}

.trust-stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Hero visual card */
.hero__card-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.hero__card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  transition: background var(--t-base);
}

.hero__card:hover { background: rgba(255,255,255,.13); }

.hero-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: 2px;
}

.hero-card__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
}

/* ── 8. Stats Bar ─────────────────────────────────────────────────────────── */
#stats {
  background: var(--c-primary-dark);
  padding: var(--sp-6) 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
}

.stat-item__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── 9. Treatments ────────────────────────────────────────────────────────── */
#tratamientos {
  padding: var(--sp-24) 0;
  background: var(--c-bg);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.treatment-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--c-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.treatment-card:hover::before { transform: scaleX(1); }

.treatment-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--icon-bg, var(--c-accent-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-accent, var(--c-primary));
  flex-shrink: 0;
}

.treatment-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--card-accent, var(--c-primary));
}

.treatment-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  line-height: 1.3;
}

.treatment-card__desc {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.65;
  flex: 1;
}

.treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-whatsapp);
  transition: gap var(--t-fast);
}

.treatment-card__link:hover { gap: var(--sp-3); }

/* ── 10. Trust / Benefits ─────────────────────────────────────────────────── */
#confianza {
  padding: var(--sp-24) 0;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.trust-content .section-title { color: var(--c-white); }
.trust-content .section-tag   { color: rgba(125,232,223,.85); }
.trust-content .section-tag::before { background: rgba(125,232,223,.7); }

.trust-body {
  font-size: var(--text-md);
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}

.trust-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.trust-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  transition: background var(--t-base);
}

.trust-benefit:hover { background: rgba(255,255,255,.1); }

.trust-benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(31,168,156,.2);
  color: #7de8df;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-benefit__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: 2px;
}

.trust-benefit__desc {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* ── 11. For Whom ─────────────────────────────────────────────────────────── */
#para-quien {
  padding: var(--sp-24) 0;
  background: var(--c-surface);
}

.whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.whom-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.whom-card:hover {
  border-color: var(--c-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.whom-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-teal-bg);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whom-card__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-1);
}

.whom-card__desc {
  font-size: var(--text-xs);
  color: var(--c-muted);
  line-height: 1.55;
}

/* ── 12. Process ──────────────────────────────────────────────────────────── */
#proceso {
  padding: var(--sp-24) 0;
  background: var(--c-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 2px;
  background: linear-gradient(to right, var(--c-teal), var(--c-primary));
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-primary) 100%);
  color: white;
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(21,88,168,.3);
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

/* ── 13. Team ─────────────────────────────────────────────────────────────── */
#equipo {
  padding: var(--sp-24) 0;
  background: var(--c-surface);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.team-card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  text-align: center;
  background: var(--c-bg);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--r-full);
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-teal) 100%);
  box-shadow: 0 4px 18px rgba(21,88,168,.25);
}

.team-card__name {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-1);
}

.team-card__specialty {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-teal);
  margin-bottom: var(--sp-4);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.65;
}

.team-card__cred {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.cred-badge {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  background: var(--c-accent-bg);
  color: var(--c-primary);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}

/* ── 14. Location ─────────────────────────────────────────────────────────── */
#ubicacion {
  padding: var(--sp-24) 0;
  background: var(--c-bg-alt);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.location-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.location-item__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--c-accent-bg);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-item__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  margin-bottom: 3px;
}

.location-item__text {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.65;
}

.map-placeholder {
  height: 340px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(31,168,156,.15) 0%, transparent 70%);
}

.map-placeholder__icon { font-size: 3rem; position: relative; }
.map-placeholder__name { font-size: var(--text-lg); font-weight: var(--fw-bold); color: white; position: relative; }
.map-placeholder__addr { font-size: var(--text-sm); color: rgba(255,255,255,.55); position: relative; }

/* ── 15. FAQ ──────────────────────────────────────────────────────────────── */
#preguntas {
  padding: var(--sp-24) 0;
  background: var(--c-surface);
}

.faq-list {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg);
  transition: border-color var(--t-base);
}

.faq-item--open { border-color: var(--c-teal); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--c-primary-dark);
  cursor: pointer;
  transition: background var(--t-fast);
}

.faq-question:hover { background: var(--c-accent-bg); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--c-teal);
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.faq-item--open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.75;
}

/* ── 16. CTA Final ────────────────────────────────────────────────────────── */
#cta {
  padding: var(--sp-24) 0;
  background: linear-gradient(135deg, #051e3e 0%, var(--c-primary) 60%, var(--c-teal) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31,168,156,.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta__tag   { color: rgba(125,232,223,.75); }
.cta__tag::before { background: rgba(125,232,223,.6); }

.cta__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-4);
  position: relative;
}

.cta__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.68);
  max-width: 500px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
  position: relative;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  position: relative;
}

.cta__note {
  margin-top: var(--sp-5);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  position: relative;
}

/* ── 17. WhatsApp FAB ─────────────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: var(--r-full);
  background: var(--c-whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: var(--c-whatsapp);
  animation: fabPulse 2.8s ease-out infinite;
  z-index: -1;
}

@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: .6; }
  70%  { transform: scale(1.55); opacity: 0;  }
  100% { transform: scale(1.55); opacity: 0;  }
}

/* ── 18. Footer ───────────────────────────────────────────────────────────── */
#site-footer {
  background: #081525;
  color: rgba(255,255,255,.55);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-10);
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
  line-height: 1.75;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: white; }

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  margin-bottom: var(--sp-3);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
