/* =====================================================================
   Sebastián Rengifo · Fisioterapia — Hoja de estilos
   Paleta clínica: azul petróleo / teal + blanco
   ===================================================================== */
:root {
  --primary: #0d6e8f;
  --primary-dark: #0a4f68;
  --primary-deep: #072e3f;
  --accent: #19b39c;
  --accent-soft: #d7f3ee;
  --whatsapp: #25d366;
  --ink: #15303d;
  --muted: #5b6f7a;
  --line: #dbe7ec;
  --bg: #ffffff;
  --bg-soft: #f3f8fa;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(10, 60, 80, .10);
  --shadow-lg: 0 24px 60px rgba(10, 60, 80, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--primary-deep), var(--primary-dark) 60%, var(--primary)); color: #fff; }
.section-dark .eyebrow { color: #8fe3d4; }
.section-dark .muted { color: rgba(255,255,255,.78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head { max-width: 720px; margin: 0 auto 48px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(13,110,143,.3); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #063b34; box-shadow: 0 10px 24px rgba(25,179,156,.3); }
.btn-accent:hover { background: #14a08b; }
.btn-whatsapp { background: var(--whatsapp); color: #063b1b; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: #1fc15a; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, height .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(10,60,80,.08); border-color: var(--line); --nav-h: 66px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; color: var(--primary-deep); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--accent)); font-size: .95rem; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(13,110,143,.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 9px 11px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
[hidden] { display: none !important; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--bg-soft); }
.nav-links a.nav-cta { background: var(--accent-soft); color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; gap: 2px;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 6px 11px; border-radius: 999px; font-weight: 700; font-size: .8rem; color: var(--muted); letter-spacing: .06em;
  transition: background .25s, color .25s;
}
.lang-toggle button.active { background: var(--primary); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 12px; place-items: center; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 72px; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, var(--accent-soft), transparent 60%), linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--primary-deep); }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--accent-soft); z-index: -1; border-radius: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: .95rem; }
.hero-points svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.hero-media { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.02); }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--primary-deep); display: block; line-height: 1; }
.float-card span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--primary); flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.fc-1 { left: -18px; bottom: 36px; }
.fc-2 { right: -14px; top: 28px; animation-delay: -3s; }
.stars { color: #f5b301; letter-spacing: 1px; font-size: .9rem; }
a.float-card { color: inherit; text-decoration: none; }
a.float-card:hover { box-shadow: var(--shadow-lg); }
a.stat { color: inherit; text-decoration: none; }
a.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-bg-shape { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(25,179,156,.18), transparent 65%); right: -140px; top: -120px; pointer-events: none; }

/* ---------- Columna vertebral 3D de fondo en el hero ---------- */
.hero > .container { position: relative; z-index: 1; }
.hero .lead { max-width: 560px; }
.hero-3d {
  --x3d: 53%;                       /* centro horizontal de la columna (lo usan la máscara y el 3D) */
  --y3d: 50%;                       /* centro vertical */
  --alto3d: 1.12;                   /* alto de la columna respecto al alto del hero */
  position: absolute; inset: 0; z-index: 0; pointer-events: none; user-select: none;
  opacity: 0; transition: opacity 1.6s ease;
  /* Halo teal/azul detrás de la columna, degradado hacia el fondo claro */
  background:
    radial-gradient(22% 70% at var(--x3d) var(--y3d), rgba(25,179,156,.22), rgba(13,110,143,.10) 55%, transparent 100%),
    radial-gradient(40% 90% at var(--x3d) var(--y3d), rgba(215,243,238,.9), transparent 100%);
  /* Desvanecido en los bordes para que se funda con el hero */
  -webkit-mask-image: radial-gradient(34% 60% at var(--x3d) var(--y3d), #000 30%, rgba(0,0,0,.55) 65%, transparent 100%);
          mask-image: radial-gradient(34% 60% at var(--x3d) var(--y3d), #000 30%, rgba(0,0,0,.55) 65%, transparent 100%);
}
.hero-3d.ready { opacity: .8; }
.hero-3d canvas { display: block; width: 100% !important; height: 100% !important; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); }
.stat strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--primary); display: block; line-height: 1; }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.stat strong .counter { font-size: inherit; color: inherit; font-weight: inherit; }

/* ---------- Servicios ---------- */
.services { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(10,60,80,.05);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--primary-dark); font-weight: 700; font-size: .72rem; padding: 6px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--primary-deep); }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-family: var(--font-head); font-weight: 800; color: var(--primary); }
.price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Recuperación muscular ---------- */
.recovery-grid { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.phone {
  position: relative; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 36px; padding: 12px; background: #0b1f2a;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #000; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0b1f2a; border-radius: 12px; z-index: 2; }
.phone-caption { text-align: center; margin-top: 14px; font-size: .85rem; color: rgba(255,255,255,.7); }
.includes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.includes li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(4px); }
.includes .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(25,179,156,.2); display: grid; place-items: center; color: #8fe3d4; }
.includes .ico svg { width: 24px; height: 24px; }
.includes strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.includes p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.75); }
.recovery-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.price-pill { background: #fff; color: var(--primary-dark); border-radius: 14px; padding: 10px 18px; font-family: var(--font-head); font-weight: 800; }
.price-pill small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.recovery-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.recovery-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.recovery-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.recovery-gallery figure:hover img { transform: scale(1.06); }
.recovery-gallery figcaption { position: absolute; inset: auto 0 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); font-weight: 700; font-size: .9rem; }

/* Accordion */
.accordion { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; overflow: hidden; margin-top: 26px; background: rgba(255,255,255,.05); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; color: #fff; padding: 16px 18px; font-weight: 700; text-align: left; }
.accordion-btn svg { width: 20px; height: 20px; transition: transform .3s; flex: none; }
.accordion.open .accordion-btn svg { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.accordion-panel ul { margin: 0; padding: 0 18px 18px 36px; color: rgba(255,255,255,.85); font-size: .93rem; }
.accordion-panel li { margin-bottom: 6px; }
.accordion-panel p { padding: 0 18px 18px; margin: 0; font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: var(--accent-soft); z-index: -1; }
.about-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 700; font-size: .9rem; color: var(--primary-deep); display: flex; gap: 10px; align-items: center; }
.about-badge svg { width: 22px; height: 22px; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }

/* Formación */
.creds { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 28px; }
.creds-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin: 0 0 12px; color: var(--primary-deep); }
.creds-title svg { width: 24px; height: 24px; color: var(--primary); flex: none; }
.creds-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.creds-list li { position: relative; padding-left: 18px; font-size: .93rem; color: var(--ink); }
.creds-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Opiniones ---------- */
.rating-box { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; align-items: center; gap: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 22px; box-shadow: var(--shadow); margin: 0 auto 36px; }
.rating-box .big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--primary-deep); line-height: 1; }
.rating-box .stars { font-size: 1.1rem; }
.rating-box small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform .6s cubic-bezier(.22,.8,.3,1); will-change: transform; }
.review { flex: 0 0 calc((100% - 40px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 14px rgba(10,60,80,.05); display: flex; flex-direction: column; }
.review .quote { color: var(--primary); font-size: 2.2rem; line-height: 1; font-family: Georgia, serif; }
.review p { color: var(--ink); font-size: .95rem; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); flex: none; }
.review-author strong { display: block; font-size: .92rem; }
.review-author small { color: var(--muted); font-size: .78rem; }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--primary); transition: background .2s, color .2s; }
.carousel-nav button:hover { background: var(--primary); color: #fff; }
.carousel-nav svg { width: 20px; height: 20px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .3s, background .3s; }
.dots span.active { width: 24px; border-radius: 4px; background: var(--primary); }

/* ---------- Banner cursos ---------- */
.course-banner { position: relative; border-radius: 28px; overflow: hidden; color: #fff; min-height: 380px; display: grid; align-items: center; background: var(--primary-deep); }
.course-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: .5; }
.course-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,46,63,.95) 20%, rgba(7,46,63,.55) 60%, rgba(7,46,63,.2)); }
.course-banner-inner { position: relative; z-index: 1; padding: clamp(32px, 5vw, 64px); max-width: 620px; }
.course-banner .eyebrow { color: #8fe3d4; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: transform .2s, box-shadow .2s; }
.contact-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--primary); flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .92rem; }
.contact-list a:hover { color: var(--primary); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; margin-bottom: 16px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,110,143,.12); background: #fff; }
.form textarea { min-height: 100px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer .brand-text small { color: rgba(255,255,255,.6); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.55); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.social a:hover { background: var(--accent); color: #063b34; }
.social svg { width: 20px; height: 20px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--whatsapp); opacity: 0; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Animaciones de scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,.8,.3,1), transform .8s cubic-bezier(.22,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .float-card, .wa-float::after { animation: none; }
  html { scroll-behavior: auto; }
}


/* ---------- Sedes ---------- */
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sede { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.sede:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sede-map { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.sede-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sede-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.sede-tag { align-self: flex-start; background: var(--accent-soft); color: var(--primary-dark); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.sede h3 { font-size: 1.5rem; margin: -4px 0 0; }
.sede-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sede-list li { display: flex; gap: 12px; align-items: flex-start; }
.sede-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.sede-list strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sede-list span, .sede-list a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.sede-list a:hover { color: var(--primary); }
.sede-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* ---------- Página de cursos ---------- */
.course-hero { position: relative; min-height: 92vh; display: grid; align-items: center; color: #fff; padding: calc(var(--nav-h) + 40px) 0 72px; background: var(--primary-deep); overflow: hidden; }
.course-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 25%; opacity: .55; }
.course-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,46,63,.96) 0%, rgba(7,46,63,.7) 45%, rgba(7,46,63,.15) 100%); }
.course-hero .container { position: relative; z-index: 1; }
.course-hero .eyebrow { color: #8fe3d4; }
.course-hero h1 span { color: var(--accent); }
.course-hero .lead { max-width: 600px; color: rgba(255,255,255,.85); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 14px rgba(10,60,80,.05); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); }
.module + .module { margin-top: 32px; }
.module.reverse .module-media { order: 2; }
.module-media { min-height: 320px; position: relative; }
.module-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.module-body { padding: clamp(26px, 4vw, 44px); }
.module-num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.module ul { padding-left: 0; list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.module li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.module li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.enroll { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.enroll-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.enroll-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 22px; }
.enroll-card dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8fe3d4; font-weight: 700; }
.enroll-card dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.testi-quote { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-left: 6px solid var(--accent); }
.testi-quote p { font-size: 1.1rem; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 8px; font-size: .85rem; }
  .brand-text small { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { gap: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .recovery-grid { grid-template-columns: 340px 1fr; gap: 36px; }
  .review { flex-basis: calc((100% - 20px) / 2); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 14px 16px 22px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10,60,80,.12); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-3d { --x3d: 93%; --y3d: 60%; --alto3d: .55; }
  .hero-3d.ready { opacity: .45; }
  .fc-1 { left: 10px; bottom: 14px; }
  .fc-2 { right: 10px; top: 14px; }
  .recovery-grid, .about-grid, .contact-grid, .enroll, .sedes-grid { grid-template-columns: 1fr; }
  .about-photo::before { inset: 14px -10px -10px 14px; }
  .module, .module.reverse { grid-template-columns: 1fr; }
  .module.reverse .module-media { order: 0; }
  .module-media { min-height: 240px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .course-hero { min-height: auto; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .services, .grid-3, .grid-2, .grid-4, .stats, .recovery-gallery, .footer-grid { grid-template-columns: 1fr; }
  .stats { margin-top: -24px; gap: 12px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 1.8rem; }
  .review { flex-basis: 100%; }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 10px 12px; }
  .float-card strong { font-size: 1rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
  .enroll-card dl { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .rating-box { width: 100%; padding: 14px; }
  .course-banner-inner .btn { width: 100%; }
  .recovery-cta .btn { width: 100%; }
}

/* =====================================================================
   PÁGINA FORMACIÓN FISIO 2.0 — estilo del brochure
   Paleta: azul marino profundo + naranja + cian (armonizada con el sitio)
   ===================================================================== */
.page-fisio { --f2-bg: #06162a; --f2-bg2: #0a2140; --f2-bg3: #0d2a4d; --f2-orange: #f26b21; --f2-orange-dk: #d95a14; --f2-cyan: #35c8e8; --f2-line: rgba(53,200,232,.45); --f2-ink: #eaf3f8; --f2-muted: rgba(234,243,248,.78); }
.page-fisio main.f2 { background: var(--f2-bg); color: var(--f2-ink); }
.page-fisio .header { background: rgba(6,22,42,.92); border-bottom: 1px solid rgba(53,200,232,.15); }
.page-fisio .header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.page-fisio .nav-links a { color: var(--f2-ink); }
.page-fisio .nav-links a:hover, .page-fisio .nav-links a.active { color: var(--f2-cyan); background: rgba(53,200,232,.1); }
.page-fisio .nav-cta { background: var(--f2-orange) !important; color: #fff !important; }
.page-fisio .brand-text { color: #fff; } .page-fisio .brand-text small { color: var(--f2-muted); }
.page-fisio .brand-mark { background: var(--f2-orange); }
.page-fisio .lang-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.page-fisio .lang-toggle button { color: var(--f2-muted); }
.page-fisio .lang-toggle button.active { background: var(--f2-cyan); color: #06162a; }
.page-fisio .menu-btn { background: rgba(255,255,255,.1); }
.page-fisio .menu-btn span { background: #fff; }
.page-fisio .brand { color: #fff; }
@media (max-width: 900px) { .page-fisio .nav-links { background: var(--f2-bg2); border-color: rgba(53,200,232,.2); } }

.f2-section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.f2-section-alt { background: linear-gradient(180deg, var(--f2-bg2), var(--f2-bg) 100%); }
.f2-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.f2-eyebrow { display: inline-block; color: var(--f2-cyan); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.f2-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; margin: 0; text-transform: uppercase; }
.f2-title span { color: var(--f2-orange); }
.f2-rule { width: 100%; max-width: 420px; height: 3px; background: var(--f2-orange); margin: 22px 0 26px; border-radius: 2px; }
.f2-name { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: #fff; margin: 0 0 10px; }
.f2-subtitle { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--f2-cyan); text-transform: uppercase; letter-spacing: .06em; margin: 30px 0 12px; }
.f2-text { color: var(--f2-muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 14px; }
.f2-text em { font-style: normal; color: var(--f2-orange); font-weight: 700; }
.f2-text strong { color: #fff; }
.f2-text-lg { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; }
.f2-orange { color: var(--f2-orange) !important; } .f2-cyan { color: var(--f2-cyan) !important; }

/* Portada */
.f2-hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 80px; overflow: hidden;
  background: radial-gradient(900px 500px at 15% 10%, rgba(53,200,232,.14), transparent 60%), radial-gradient(700px 500px at 90% 90%, rgba(242,107,33,.12), transparent 60%), var(--f2-bg); }
.f2-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.f2-logo { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 10vw, 7.4rem); line-height: .95; letter-spacing: -.03em; color: #fff; margin: 0; }
.f2-logo span { color: var(--f2-orange); }
.f2-hero-sub { font-family: var(--font-head); font-size: clamp(1.4rem, 2.8vw, 2.05rem); font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 26px; }
.f2-hero-sub em { font-style: normal; color: var(--f2-orange); }
.f2-counter { display: inline-flex; align-items: center; gap: 16px; border: 2px solid var(--f2-cyan); border-radius: 10px; padding: 12px 22px; margin-bottom: 22px; box-shadow: 0 0 0 4px rgba(53,200,232,.08), 0 0 30px rgba(53,200,232,.15); }
.f2-counter strong { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--f2-cyan); line-height: 1; }
.f2-counter > span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.15; color: #fff; }
.f2-hero-text { color: var(--f2-muted); margin: 0 0 8px; max-width: 520px; }
.f2-hero-text em { font-style: normal; color: var(--f2-orange); font-weight: 700; }
.f2-hero .hero-actions { margin-top: 26px; }
.f2-hero-photos { display: grid; gap: 14px; }
.f2-hero-photos img { width: 100%; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); object-fit: cover; aspect-ratio: 16 / 10; }
.f2-hero-photos img:first-child { aspect-ratio: 3 / 2; }

/* Botones de la paleta */
.f2-btn-orange { background: var(--f2-orange); color: #fff; box-shadow: 0 10px 24px rgba(242,107,33,.35); }
.f2-btn-orange:hover { background: var(--f2-orange-dk); }
.f2-btn-cyan { background: var(--f2-cyan); color: #06162a; box-shadow: 0 10px 24px rgba(53,200,232,.3); }
.f2-btn-cyan:hover { background: #1fb6d8; }
.f2-btn-cyan small { font-size: .75em; font-weight: 700; opacity: .8; margin-left: 6px; }

/* Stats sobre fondo oscuro */
.f2-stats .stat { background: var(--f2-bg2); border-color: rgba(53,200,232,.25); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.f2-stats .stat strong { color: var(--f2-cyan); } .f2-stats .stat span { color: var(--f2-muted); }

/* Fotos */
.f2-photo-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.f2-photo-flush img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
.f2-photo-wide img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.f2-mini-photo { margin: 22px 0 0; max-width: 300px; }
.f2-mini-photo img { width: 100%; border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 14px 30px rgba(0,0,0,.4); }

/* El método */
.f2-method-list { list-style: none; padding: 0; margin: 10px 0 0; }
.f2-method-list li { display: grid; grid-template-columns: 170px 44px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.f2-method-list li:last-child { border-bottom: 0; }
.f2-method-key { font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.25; color: #fff; letter-spacing: .02em; }
.f2-method-key em { font-style: normal; color: var(--f2-orange); font-weight: 800; }
.f2-method-arrow { position: relative; height: 2px; background: var(--f2-orange); }
.f2-method-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--f2-orange); }
.f2-method-list p { margin: 0; color: var(--f2-muted); font-size: .96rem; line-height: 1.5; }

/* Listas en caja (módulo 1 / inscríbete) */
.f2-box-list { list-style: none; margin: 0; padding: 8px 26px; border: 2px solid var(--f2-cyan); border-radius: 18px; box-shadow: 0 0 30px rgba(53,200,232,.12); }
.f2-box-list li { padding: 15px 0; border-bottom: 1px solid rgba(53,200,232,.35); color: #fff; font-weight: 500; font-size: 1.02rem; line-height: 1.4; }
.f2-box-list li:last-child { border-bottom: 0; }
.f2-box-list li em { font-style: normal; color: var(--f2-orange); font-weight: 700; }
.f2-box-list-tight li { padding: 12px 0; }
.f2-classes { margin: 0; padding-left: 0; list-style: none; counter-reset: clase; display: grid; gap: 8px; }
.f2-classes li { counter-increment: clase; display: flex; gap: 12px; align-items: flex-start; color: var(--f2-muted); font-size: .96rem; line-height: 1.45; padding: 10px 14px; background: rgba(255,255,255,.04); border-left: 3px solid var(--f2-orange); border-radius: 0 10px 10px 0; }
.f2-classes li::before { content: counter(clase, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; color: var(--f2-cyan); flex: none; }

/* Módulo 2 */
.f2-m2-sub { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; color: #fff; margin: 0 0 26px; line-height: 1.25; }
.f2-m2-sub em { font-style: normal; color: var(--f2-orange); font-size: 1.25em; }
.f2-sep { color: rgba(255,255,255,.4); margin: 0 10px; font-weight: 400; }
.f2-cards { display: grid; gap: 16px; }
.f2-card { border: 2px solid var(--f2-cyan); border-radius: 14px; padding: 20px 24px; background: rgba(53,200,232,.05); box-shadow: 0 0 24px rgba(53,200,232,.1); transition: transform .3s, box-shadow .3s; }
.f2-card:hover { transform: translateY(-4px); box-shadow: 0 0 36px rgba(53,200,232,.2); }
.f2-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--f2-cyan); margin: 0 0 6px; letter-spacing: .02em; }
.f2-card p { margin: 0; color: #fff; font-size: .98rem; line-height: 1.5; }

/* Contenido de la formación */
.f2-content-sub { font-family: var(--font-head); font-weight: 700; color: var(--f2-cyan); font-size: 1.15rem; margin: -6px 0 24px; }
.f2-days { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; align-items: start; }
.f2-day-head { background: var(--f2-orange); color: #fff; border-radius: 12px; padding: 12px 20px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.f2-day-head small { font-family: var(--font-body); font-size: .9rem; font-weight: 700; }
.f2-day-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f2-day-body { border: 2px solid var(--f2-cyan); border-radius: 14px; padding: 22px 24px; background: rgba(13,42,77,.55); height: 100%; }
.f2-day-body h4 { font-family: var(--font-head); font-weight: 800; font-size: .98rem; letter-spacing: .03em; color: var(--f2-orange); margin: 22px 0 10px; }
.f2-day-body h4:first-child { margin-top: 0; }
.f2-day-body ul, .f2-day-body ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.f2-day-body li { color: var(--f2-ink); font-size: .93rem; line-height: 1.45; }

/* Galería */
.f2-gallery figure { box-shadow: 0 16px 40px rgba(0,0,0,.4); }

/* Inscríbete hoy */
.f2-enroll-top { margin-bottom: 44px; }
.f2-claim { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.2; color: #fff; margin: 28px 0 0; text-transform: uppercase; }
.f2-claim em { font-style: normal; color: var(--f2-orange); }
.f2-claim span { color: rgba(255,255,255,.65); display: block; }
.f2-next { border: 2px solid var(--f2-cyan); border-radius: 18px; padding: 10px; background: rgba(13,42,77,.5); box-shadow: 0 0 36px rgba(53,200,232,.12); display: grid; grid-template-columns: 220px 1fr; gap: 10px; align-items: stretch; }
.f2-next-head { display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--f2-cyan); font-size: 1.1rem; letter-spacing: .04em; padding: 18px; border-right: 1px solid var(--f2-line); }
.f2-next-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; padding: 8px; }
.f2-next-city { border: 1px solid var(--f2-line); border-radius: 12px; padding: 14px 16px; text-align: center; }
.f2-next-city strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.1rem; }
.f2-next-city span { color: var(--f2-cyan); font-weight: 600; font-size: .92rem; }
.f2-next-price { border-color: var(--f2-orange); background: rgba(242,107,33,.08); }
.f2-next-price strong { color: var(--f2-orange); }
.f2-next-actions { grid-column: 1 / -1; border-top: 1px solid var(--f2-line); padding: 14px 8px 6px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Formulario + pago */
.f2-form-head { max-width: 760px; margin-bottom: 32px; }
.f2-form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.f2-form { background: rgba(13,42,77,.55); border: 2px solid var(--f2-line); border-radius: 20px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 18px; }
.f2-field { display: grid; gap: 8px; }
.f2-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f2-field label, .f2-fieldset legend { font-weight: 600; color: #fff; font-size: .95rem; }
.f2-field .req { color: var(--f2-orange); }
.f2-field input[type="text"], .f2-field input[type="tel"], .f2-field input[type="email"], .f2-field select, .f2-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(53,200,232,.35); background: rgba(6,22,42,.7); color: #fff; font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.f2-field select option { color: #06162a; background: #fff; }
.f2-field input:focus, .f2-field select:focus, .f2-field textarea:focus { outline: none; border-color: var(--f2-cyan); box-shadow: 0 0 0 4px rgba(53,200,232,.18); }
.f2-field input::placeholder, .f2-field textarea::placeholder { color: rgba(234,243,248,.45); }
.f2-field input[type="file"] { color: var(--f2-muted); font-size: .9rem; padding: 10px 0; }
.f2-field input[type="file"]::file-selector-button { background: var(--f2-cyan); color: #06162a; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 700; margin-right: 12px; cursor: pointer; font-family: inherit; }
.f2-form.was-validated :is(input, select, textarea):invalid { border-color: var(--f2-orange); }
.f2-form.was-validated .f2-check input:invalid { outline: 2px solid var(--f2-orange); outline-offset: 2px; border-radius: 3px; }
.f2-fieldset { border: 1px solid rgba(53,200,232,.25); border-radius: 12px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.f2-fieldset legend { padding: 0 6px; }
.f2-radio, .f2-check { display: flex; gap: 10px; align-items: flex-start; color: var(--f2-ink); font-size: .95rem; cursor: pointer; padding: 5px 0; }
.f2-radio input, .f2-check input { accent-color: var(--f2-orange); width: 18px; height: 18px; flex: none; margin-top: 2px; }
.f2-hint { color: var(--f2-muted); font-size: .82rem; line-height: 1.4; }
.f2-terms { border-top: 1px solid var(--f2-line); padding-top: 16px; display: grid; gap: 8px; }
.f2-terms strong { color: var(--f2-cyan); font-family: var(--font-head); }
.f2-terms p { margin: 0; color: var(--f2-muted); font-size: .88rem; line-height: 1.5; }
.f2-form-error { margin: 0; color: #ffb48a; font-weight: 600; font-size: .92rem; }
.f2-submit { width: 100%; font-size: 1.05rem; padding: 16px 24px; }
.f2-submit[disabled] { opacity: .6; cursor: wait; }
.f2-form-ok { background: rgba(25,179,156,.15); border: 2px solid var(--accent); border-radius: 16px; padding: 18px 22px; margin-bottom: 24px; display: grid; gap: 4px; color: #fff; }
.f2-form-ok strong { font-family: var(--font-head); font-size: 1.15rem; color: #8fe3d4; }
.f2-form-fallback { background: rgba(242,107,33,.14); border-color: var(--f2-orange); }
.f2-form-fallback strong { color: #ffb48a; }
.f2-pay { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 24px 60px rgba(0,0,0,.4); position: sticky; top: calc(var(--nav-h) + 20px); }
.f2-pay h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 6px; color: var(--primary-deep); }
.f2-pay > p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.f2-qr { margin: 0 auto 14px; max-width: 300px; }
.f2-qr img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.f2-pay-data { margin: 0 0 14px; display: grid; gap: 8px; }
.f2-pay-data div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.f2-pay-data dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.f2-pay-data dd { margin: 0; font-weight: 700; color: var(--primary-deep); text-align: right; }
.f2-pay-steps { margin: 0 0 18px; padding-left: 20px; color: var(--ink); font-size: .92rem; display: grid; gap: 4px; }
.f2-pay .btn { width: 100%; white-space: normal; text-align: center; }
.f2-form-grid > *, .f2-split > *, .f2-hero-grid > * { min-width: 0; }
.f2-next-actions .btn, .f2-submit { white-space: normal; text-align: center; }

/* Footer en la página de formación */
.page-fisio .footer { background: #04101f; }

/* Responsive */
@media (max-width: 1024px) {
  .f2-days { grid-template-columns: 1fr; }
  .f2-next { grid-template-columns: 1fr; }
  .f2-next-head { border-right: 0; border-bottom: 1px solid var(--f2-line); }
}
@media (max-width: 900px) {
  .f2-hero { padding-top: calc(var(--nav-h) + 32px); }
  .f2-hero-grid, .f2-split, .f2-form-grid { grid-template-columns: 1fr; }
  .f2-hero-photos { grid-template-columns: 1fr 1fr; }
  .f2-photo-tall img { aspect-ratio: 4 / 3; }
  .f2-pay { position: static; }
  .f2-day-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .f2-hero-photos { grid-template-columns: 1fr; }
  .f2-method-list li { grid-template-columns: 1fr; gap: 8px; }
  .f2-method-arrow { width: 60px; }
  .f2-field-row { grid-template-columns: 1fr; }
  .f2-logo { font-size: 4rem; }
  .f2-counter { gap: 12px; padding: 10px 16px; }
  .f2-next-actions .btn { width: 100%; }
}

/* ---------- FISIO 2.0 · secciones nuevas (landing v2) ---------- */
.f2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.f2-cta-center { justify-content: center; margin-top: 40px; }
.f2-pain-list { list-style: none; margin: 0; padding: 0; }
.f2-pain-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid rgba(53,200,232,.3); color: #fff; font-size: 1.02rem; line-height: 1.45; }
.f2-pain-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 2px; background: var(--f2-orange); }
.f2-pain-list li:last-child { border-bottom: 0; }
.f2-compare { display: grid; gap: 10px; }
.f2-compare-head { display: grid; grid-template-columns: 1fr 44px 1.25fr; gap: 10px; }
.f2-compare-head span { border: 2px solid var(--f2-cyan); border-radius: 10px; padding: 10px 14px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .04em; color: #fff; }
.f2-compare-head span:first-child { grid-column: 1; } .f2-compare-head-right { grid-column: 3; }
.f2-compare-head em { font-style: normal; color: var(--f2-orange); }
.f2-compare-row { display: grid; grid-template-columns: 1fr 44px 1.25fr; gap: 10px; align-items: center; }
.f2-compare-row > div:first-child, .f2-compare-row > div:last-child { border: 1px solid rgba(53,200,232,.45); border-radius: 10px; padding: 12px 14px; font-size: .92rem; line-height: 1.4; color: #fff; background: rgba(13,42,77,.5); min-height: 100%; }
.f2-compare-row > div:last-child { border-color: var(--f2-orange); background: rgba(242,107,33,.08); }
.f2-compare-arrow { position: relative; height: 2px; background: var(--f2-orange); }
.f2-compare-arrow::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 8px solid var(--f2-orange); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.f2-steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 10px; }
.f2-steps li { counter-increment: paso; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; border: 1px solid rgba(53,200,232,.45); border-radius: 10px; padding: 12px 16px; color: #fff; font-size: .98rem; line-height: 1.4; background: rgba(13,42,77,.5); }
.f2-steps li::before { content: counter(paso); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--f2-orange); text-align: center; }
.f2-steps li em { font-style: normal; color: var(--f2-cyan); font-weight: 700; }
.f2-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.f2-module { border: 2px solid var(--f2-line); border-radius: 20px; overflow: hidden; background: rgba(13,42,77,.4); display: flex; flex-direction: column; }
.f2-module-media { aspect-ratio: 16 / 9; overflow: hidden; }
.f2-module-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.f2-module-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.f2-module-title { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #fff; margin: 0; line-height: 1; }
.f2-module-title span { color: var(--f2-orange); }
.f2-module-sub { color: var(--f2-muted); margin: 0; }
.f2-module .f2-subtitle { margin-top: 10px; }
.f2-module .f2-m2-sub { margin-bottom: 6px; }
.f2-sticky { display: none; }
@media (max-width: 1024px) { .f2-modules { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .page-fisio .f2-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: rgba(6,22,42,.94); backdrop-filter: blur(10px); border-top: 1px solid rgba(53,200,232,.3); color: var(--f2-muted); font-size: .9rem; transform: translateY(110%); transition: transform .35s; }
  .page-fisio .f2-sticky.show { transform: none; }
  .page-fisio .f2-sticky strong { color: #fff; }
  .page-fisio .wa-float { bottom: 78px; }
  .f2-compare-head, .f2-compare-row { grid-template-columns: 1fr; }
  .f2-compare-head span:first-child { display: none; }
  .f2-compare-head-right { display: none; }
  .f2-compare-arrow { width: 40px; height: 20px; background: none; }
  .f2-compare-arrow::after { right: auto; left: 0; top: 2px; transform: rotate(90deg); }
  .f2-compare-row > div:first-child::before { content: "Si hoy sientes…"; display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--f2-cyan); font-weight: 700; margin-bottom: 4px; }
  .f2-compare-row > div:last-child::before { content: "Con FISIO 2.0 aprendes…"; display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--f2-orange); font-weight: 700; margin-bottom: 4px; }
}
