/* ============================================================
   Profesor en Casa · estilos de la landing
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
section { position: relative; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px;
}
.muted { color: var(--muted); }

/* Botones ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad-accent); color: var(--accent-ink); box-shadow: 0 10px 26px -10px rgba(255,106,61,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255,106,61,.7); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

/* Header ----------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--bg-glass); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; }
.brand .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-accent); display: grid; place-items: center; color: var(--accent-ink); box-shadow: 0 6px 16px -6px rgba(255,106,61,.7); }
.brand b { color: var(--accent-soft); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .login { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.header-cta .login:hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); background: rgba(255,255,255,.04); border-radius: 12px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg-glass); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 18px clamp(18px,5vw,40px) 26px; display: none; flex-direction: column; gap: 6px; z-index: 99; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 13px 8px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 12px; }

/* Hero ------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 8vw, 90px)); padding-bottom: clamp(50px, 9vw, 100px); background: var(--grad-hero); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero .lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.22rem); margin-top: 20px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 30px; color: var(--faint); font-size: 0.85rem; flex-wrap: wrap; }
.hero-trust .stars { color: var(--accent); letter-spacing: 2px; }

/* Composición visual del hero: tarjetas flotantes */
.hero-visual { position: relative; min-height: 340px; }
.float-card {
  position: absolute; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-family: var(--font-display); flex: none; }
.float-card small { color: var(--muted); font-size: 0.78rem; display: block; }
.float-card strong { font-size: 0.98rem; }
.fc-1 { top: 6%; left: 2%; }
.fc-2 { top: 40%; right: 0; animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 12%; animation-delay: -4s; }
.hero-orb { position: absolute; inset: 12% 18%; border-radius: 50%; background: var(--grad-accent); filter: blur(60px); opacity: .28; z-index: -1; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,.5); } 70% { box-shadow: 0 0 0 10px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }

/* Bloques de sección genéricos */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* Video ------------------------------------------------------ */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #000; aspect-ratio: 16/9; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-poster { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(700px 400px at 50% 30%, rgba(255,106,61,.25), transparent 60%), #0b0d13; cursor: pointer; }
.video-poster.hidden { display: none; }
.play-btn { width: 84px; height: 84px; border-radius: 50%; background: var(--grad-accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 16px 40px -10px rgba(255,106,61,.7); transition: transform .2s; }
.video-poster:hover .play-btn { transform: scale(1.07); }
.vctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); opacity: 0; transition: opacity .25s; }
.video-wrap:hover .vctrl, .video-wrap.playing .vctrl { opacity: 1; }
.vctrl button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 1.05rem; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.vctrl button:hover { background: rgba(255,255,255,.15); }
.vbar { flex: 1; height: 5px; background: rgba(255,255,255,.25); border-radius: 4px; cursor: pointer; position: relative; }
.vbar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); border-radius: 4px; }

/* Profesores ------------------------------------------------- */
.teachers-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.teachers-track.grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
.tcard { scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, border-color .22s, box-shadow .22s; }
.tcard:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.tcard .media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tcard .media img { width: 100%; height: 100%; object-fit: cover; }
.tcard .avatar-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: #fff; }
.badge-live, .badge-off { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge-live { background: var(--live-soft); color: var(--live); border: 1px solid rgba(45,212,191,.35); }
.badge-off { background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--border); }
.badge-video { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); }
.tcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard .name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tcard .name h3 { font-size: 1.28rem; }
.tcard .lang { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.tcard .desc { color: var(--muted); font-size: 0.9rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.tcard .price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.tcard .price small { color: var(--faint); font-weight: 600; font-size: 0.72rem; display: block; font-family: var(--font-body); }
.scroll-hint { text-align: center; color: var(--faint); font-size: 0.82rem; margin-top: 16px; display: none; }

/* Cómo funciona ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.step { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; overflow: hidden; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.4px var(--accent-soft); opacity: .6; line-height: 1; }
.step .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--live-soft); color: var(--live); display: grid; place-items: center; font-size: 1.2rem; margin: 14px 0 12px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Modalidades / precios -------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.plan { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { border-color: rgba(255,106,61,.5); box-shadow: 0 0 0 1px rgba(255,106,61,.25), var(--shadow); }
.plan .tag { position: absolute; top: 20px; right: 22px; background: var(--live-soft); color: var(--live); font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan .price-big { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.plan .price-big small { font-size: 0.9rem; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.plan li i { color: var(--accent); margin-top: 3px; }

/* Reserva ---------------------------------------------------- */
.booking { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: start; }
.slot-list { display: flex; flex-direction: column; gap: 12px; }
.slot { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.slot .when { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.slot .when small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; font-family: var(--font-body); }
.slot .who { color: var(--muted); font-size: 0.9rem; }
.slot .cupos { font-size: 0.8rem; color: var(--live); font-weight: 700; white-space: nowrap; }
.booking-side { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field input, .field select { width: 100%; padding: 13px 14px; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 0.95rem; outline: none; }
.field input:focus, .field select:focus { border-color: var(--accent); }

/* Beneficios ------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.benefit { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.benefit .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 14px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 0.92rem; }

/* CTA final -------------------------------------------------- */
.cta-final { text-align: center; padding: clamp(56px,9vw,110px) 0; }
.cta-box { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: clamp(40px,7vw,72px) clamp(24px,5vw,60px); position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; inset: -40% 20% auto; height: 300px; background: var(--grad-accent); filter: blur(90px); opacity: .22; }
.cta-box h2 { font-size: clamp(1.9rem, 4vw, 3rem); position: relative; }
.cta-box p { color: var(--muted); margin: 16px auto 30px; max-width: 46ch; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Footer ----------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: clamp(40px,6vw,64px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap); }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); }
.footer-social a:hover { color: var(--text); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--faint); font-size: 0.85rem; }

/* Modal perfil ----------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
.modal-card { position: relative; z-index: 1; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-lg); width: 100%; max-width: 760px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); animation: modalIn .28s cubic-bezier(.2,.9,.3,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; font-size: 1.1rem; }
.modal-close:hover { background: rgba(0,0,0,.7); }
.modal-video { aspect-ratio: 16/9; background: #000; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.modal-video video { width: 100%; height: 100%; object-fit: cover; }
.modal-video .soon { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; color: var(--muted); background: radial-gradient(600px 300px at 50% 30%, rgba(255,106,61,.2), transparent 60%); }
.modal-body { padding: 26px 28px 30px; }
.modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.modal-head .av { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; flex: none; }
.modal-head h3 { font-size: 1.7rem; }
.modal-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.modal-meta b { color: var(--text); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Toast "próximamente" --------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text); padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: 0.92rem; font-weight: 600; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--accent); margin-right: 8px; }

/* Animación aparición al hacer scroll ------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header-cta .login, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr; }
  .teachers-track.grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .plans { grid-template-columns: 1fr; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* En móvil los profesores SIEMPRE en carrusel horizontal */
  .teachers-track, .teachers-track.grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; }
  .scroll-hint { display: block; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Franja del equipo (Team Keicy Brevan) --------------------- */
.team-band { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,106,61,.05), transparent 70%); padding: clamp(40px,6vw,66px) 0; }
.team-head { max-width: 660px; }
.team-head .eyebrow i { margin-right: 6px; }
.team-head h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.team-head h3 b { color: var(--accent-soft); }
.team-head p { color: var(--muted); margin-top: 12px; }
.team-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.team-chip { display: inline-flex; align-items: center; gap: 11px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 18px 7px 7px; transition: transform .18s ease, border-color .2s; }
.team-chip:hover { transform: translateY(-2px); border-color: var(--border-2); }
.team-chip.star { border-color: rgba(255,106,61,.5); box-shadow: 0 0 0 1px rgba(255,106,61,.18); }
.team-chip .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: .88rem; flex: none; }
.team-chip .tt b { font-size: .95rem; display: block; line-height: 1.15; }
.team-chip .tt small { color: var(--muted); font-size: .74rem; }
.team-chip.star .tt small { color: var(--accent-soft); font-weight: 700; }

/* Formulario de contacto ------------------------------------ */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); align-items:center; }
.contact-points { list-style:none; padding:0; margin:22px 0 0; display:flex; flex-direction:column; gap:12px; }
.contact-points li { display:flex; align-items:flex-start; gap:10px; color:var(--muted); font-size:.95rem; }
.contact-points li i { color:var(--live); margin-top:3px; }
.contact-card { background:var(--bg-2); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; }
.cf { margin-bottom:14px; }
.cf label { display:block; font-size:.85rem; color:var(--muted); margin-bottom:7px; font-weight:600; }
.cf input, .cf select, .cf textarea { width:100%; padding:13px 14px; background:var(--bg-3); border:1px solid var(--border-2); border-radius:12px; color:var(--text); font-family:inherit; font-size:.95rem; outline:none; }
.cf input:focus, .cf select:focus, .cf textarea:focus { border-color:var(--accent); }
.cf textarea { resize:vertical; min-height:100px; }
.hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
.cf-msg { text-align:center; font-size:.88rem; margin:14px 0 0; min-height:1.2em; }
.cf-msg.ok { color:var(--live); }
.cf-msg.err { color:#fca5a5; }
@media (max-width:820px){ .contact-grid { grid-template-columns:1fr; } }

/* Quiénes somos + firma ------------------------------------- */
.quienes { max-width: 820px; margin-inline: auto; text-align: center; }
.quienes h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-top: 10px; }
.quienes-txt { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.quienes-txt p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.quienes-txt strong { color: var(--text); }
.firma { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); }
.firma-line { color: var(--faint); font-size: .9rem; }
.firma-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 16px; }
.firma-name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; }
.firma-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--accent-soft); }

/* Misión · Visión · Objetivos ------------------------------- */
.mvo { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.mvo-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .22s ease, border-color .22s; }
.mvo-card:hover { transform: translateY(-5px); border-color: var(--border-2); }
.mvo-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.mvo-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mvo-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.mvo-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.mvo-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.mvo-list li i { color: var(--live); margin-top: 4px; }
@media (max-width: 900px) { .mvo { grid-template-columns: 1fr; } }

/* Calendario de reserva (dos meses, solo días de semana) ----- */
.cal { display:flex; gap:20px; flex-wrap:wrap; margin-top:6px; }
.cal-month { flex:1; min-width:220px; }
.cal-mtitle { font-family:var(--font-display); font-weight:800; font-size:.95rem; margin-bottom:10px; text-align:center; }
.cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal-dow { text-align:center; font-size:.66rem; color:var(--faint); font-weight:700; padding-bottom:4px; }
.cal-day { aspect-ratio:1; border:0; background:var(--bg-3); color:var(--text); border-radius:9px; font-family:inherit; font-size:.82rem; cursor:pointer; transition:background .15s, transform .1s; padding:0; }
.cal-day:hover:not(.off):not(.empty){ background:var(--accent); color:var(--accent-ink); transform:translateY(-1px); }
.cal-day.off { opacity:.25; cursor:not-allowed; background:transparent; }
.cal-day.empty { background:transparent; cursor:default; }
.cal-day.sel { background:var(--grad-accent); color:var(--accent-ink); font-weight:800; }
.r-fecha-sel { font-size:.82rem; margin-top:10px; }
.r-fecha-sel.ok { color:var(--live); font-weight:600; }
.r-chip { display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--live-soft); border:1px solid rgba(45,212,191,.3); color:var(--live); border-radius:12px; padding:10px 14px; margin-bottom:14px; font-size:.9rem; }
.r-chip button { background:none; border:0; color:var(--live); cursor:pointer; font-size:1rem; }
.hidden { display:none !important; }
