/* ══════════════════════════════════════════════════════════
   TU PESO IDEAL — Estilos compartidos entre páginas internas
   (Nosotros, Tratamientos, Contacto, Preguntas Frecuentes)
   Los tokens y componentes replican exactamente index.html
   para mantener coherencia visual en todo el sitio.
══════════════════════════════════════════════════════════ */

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Brand tokens ─── */
:root {
  --navy:        #2C3C63;
  --navy-80:     #3A4E7A;
  --blue:        #305CA6;
  --blue-30:     #9FB6DD;
  --blue-10:     #EEF3FB;
  --white:       #ffffff;
  --text-muted:  #5B6478;
  --text-light:  #98A1B3;
  --border:      rgba(44, 60, 99, 0.15);
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--navy);
}

.block { display: block; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 40;
}
@media (min-width: 768px) {
  .nav { left: 24px; right: 24px; top: 16px; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: #E9F0FA;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .nav-inner {
    height: 80px;
    border-radius: 9999px;
    padding: 0 40px;
    box-shadow: 0 2px 12px rgba(44, 60, 99, 0.09);
  }
}

.nav-logo img {
  height: 48px;
  width: auto;
}
@media (min-width: 768px) {
  .nav-logo img { height: 70px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: rgba(44, 60, 99, 0.06); }
.nav-links a.is-active {
  background: var(--navy);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta-nav {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 9999px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-cta-nav:hover { background: var(--navy-80); }
@media (min-width: 640px) { .btn-cta-nav { display: flex; } }

.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(44, 60, 99, 0.06); }
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

.nav-divider {
  height: 1px;
  background: rgba(44, 60, 99, 0.10);
}
@media (min-width: 768px) { .nav-divider { display: none; } }

/* ─── Mobile menu overlay ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: #E9F0FA;
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu a.is-active { color: var(--blue); }

.btn-mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 9999px;
  background: var(--navy);
  color: var(--white) !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-bottom: none !important;
  margin-top: 24px;
}

/* ══════════════════════════════════════
   SHARED LAYOUT / TYPE HELPERS
══════════════════════════════════════ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .section-container { padding: 0 40px; } }

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ── Scroll reveal ── */
@keyframes scroll-rise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scroll-reveal { opacity: 0; transform: translateY(32px); }
.scroll-reveal.visible {
  animation: scroll-rise 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════
   PAGE HERO (páginas internas)
══════════════════════════════════════ */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 128px 24px 64px;
}
@media (min-width: 768px) {
  .page-hero { padding: 168px 40px 96px; }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 640px 420px at 88% 0%, rgba(48, 92, 166, 0.45), transparent 60%),
    radial-gradient(ellipse 520px 420px at 4% 100%, rgba(159, 182, 221, 0.16), transparent 65%);
}

.page-hero--nosotros {
  background-image:
    linear-gradient(180deg, rgba(24, 34, 61, 0.88) 0%, rgba(44, 60, 99, 0.80) 55%, rgba(44, 60, 99, 0.92) 100%),
    url('/media/Balon%20Allurion/6.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.page-hero--contacto {
  background-image:
    linear-gradient(180deg, rgba(24, 34, 61, 0.88) 0%, rgba(44, 60, 99, 0.80) 55%, rgba(44, 60, 99, 0.92) 100%),
    url('/media/Balon%20Allurion/alurion.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.page-hero--preguntas-frecuentes {
  background-image:
    linear-gradient(180deg, rgba(24, 34, 61, 0.88) 0%, rgba(44, 60, 99, 0.80) 55%, rgba(44, 60, 99, 0.92) 100%),
    url('/media/Balon%20Allurion/preguntas-frecuentes.jpg');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
}

.page-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.page-hero-crumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.page-hero-crumb a:hover { color: var(--white); }

.page-hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.page-hero-heading {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 20px;
}
.page-hero-heading em {
  font-weight: 300;
  font-style: italic;
  color: var(--blue-30);
}

.page-hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
}
@media (min-width: 768px) { .page-hero-sub { font-size: 17px; } }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100vmax;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-cta-primary:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100vmax;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════
   CTA SECTION (banner final, reutilizado)
══════════════════════════════════════ */
.section-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 14vw, 160px) 0;
  text-align: center;
}

.cta-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(238, 243, 251, 0.55);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}

.cta-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: block;
}

.cta-heading {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 20px;
}

.cta-heading em {
  display: block;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
}

.cta-sub {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-note {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-light);
}

/* ── PRE-FOOTER STATEMENT ── */
.pre-footer-statement {
  background: var(--navy);
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px);
  text-align: center;
}

.pre-footer-statement p {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.5;
  color: #ffffff;
  max-width: 780px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--blue); }

.footer-bottom {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-light);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: var(--navy); }

/* ══════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(44, 60, 99, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.whatsapp-float:hover { background: var(--blue); transform: translateY(-2px); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }
@media (min-width: 768px) {
  .whatsapp-float { right: 32px; bottom: 32px; width: 60px; height: 60px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
}
