/*
  Landing page — MiTurnoWeb
  Portado "tal cual" de opciones-frontend/opcion-a-v2-identidad.html a un archivo
  aparte. Lleva SU propio :root a propósito: la landing es una cara distinta de
  la agenda del paciente y no debe depender de los tokens del consultorio.
  Figtree (títulos) + Noto Sans (cuerpo), cargados en landing.blade.php.
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0E9B91; --primary-hover: #0C8178; --primary-bright: #14B8A6; --primary-light: #E4F5F3; --primary-muted: #A7E2DC;
  --accent: #059669; --accent-hover: #047857; --accent-light: #D1FAE5;
  --dark: #134E4A;
  --text: #1E3A3B; --text-muted: #5D7E7B; --text-light: #8AA5A2;
  --bg: #FFFFFF; --bg-alt: #F3F8FA; --bg-warm: #E6F5F3;
  --card-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --card-shadow-hover: 0 4px 16px rgba(8,145,178,.1), 0 8px 24px rgba(0,0,0,.06);
  --radius: 16px; --radius-sm: 10px; --radius-lg: 20px;
  --font: 'Figtree', 'Noto Sans', Arial, sans-serif;
  --font-body: 'Noto Sans', 'Figtree', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,.06); border-bottom-color: rgba(8,145,178,.08); }
.navbar-logo { font-family: var(--font); font-weight: 800; font-size: 1.4rem; color: var(--primary); letter-spacing: -.02em; }
.navbar-logo span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 8px 18px; font-size: .8rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .875rem;
  border-radius: var(--radius-sm); padding: 10px 22px;
  border: none; cursor: pointer;
  transition: all .2s; text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(8,145,178,.25); }
.btn-green { background: var(--accent); color: #fff; }
.btn-green:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,.25); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary-muted); }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-light); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger svg { width: 24px; height: 24px; color: var(--dark); }
.campo-trampa { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-error { color: #B91C1C; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 16px; font-size: .875rem; }

/* HERO */
.hero { padding: 120px 40px 80px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg,#fff 0%,#F0FDFA 45%,#E6F8F9 100%); }
.hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(8,145,178,.06) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(5,150,105,.05) 0%, transparent 70%); pointer-events: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); border: 1px solid var(--primary-muted); border-radius: 999px;
  padding: 6px 18px; font-family: var(--font); font-size: .78rem; font-weight: 500; color: var(--primary);
  margin-bottom: 28px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-family: var(--font); font-size: 3rem; font-weight: 800; line-height: 1.15; color: var(--dark); max-width: 720px; margin: 0 auto 20px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero > p, .hero-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 96px 40px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-family: var(--font); font-size: 2.25rem; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 14px; letter-spacing: -.02em; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }
.bg-alt { background: var(--bg-alt); }
.bg-warm { background: var(--bg-warm); }
.section-kicker {
  display: block; color: var(--primary); font-family: var(--font); font-size: .75rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}

/* ESPECIALIDADES */
.especialidades { background: var(--bg-warm); position: relative; overflow: hidden; }
.especialidades-head { position: relative; }
.especialidades-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative;
}
.especialidad-card {
  min-height: 214px; position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(14,116,144,.12); background: var(--dark); isolation: isolate;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.especialidad-card::after {
  content: ''; position: absolute; inset: 35% 0 0; z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(4,28,38,.88) 100%);
}
.especialidad-card:hover { border-color: var(--primary-muted); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(8,145,178,.14); }
.especialidad-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.especialidad-card:hover img { transform: scale(1.04); }
.especialidad-nombre {
  position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 10px; color: #fff; font-family: var(--font);
  font-size: 1.05rem; font-weight: 700; line-height: 1.2;
}
.especialidad-nombre span { flex: 0 0 auto; font-size: 1.6rem; font-weight: 400; line-height: .8; transition: transform .2s; }
.especialidad-card:hover .especialidad-nombre span { transform: translateX(3px); }

/* FUNCIONALIDADES AGRUPADAS */
.feature-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-groups .card { padding: 30px; }
.feature-list { margin-top: 20px; border-top: 1px solid #E2E8F0; padding-top: 12px; }
.feature-list li { position: relative; padding: 6px 0 6px 18px; color: var(--text); font-size: .84rem; line-height: 1.45; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.roadmap-note {
  display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 22px;
  border: 1px dashed var(--primary-muted); border-radius: var(--radius-sm); background: var(--primary-light);
}
.roadmap-icon { display: grid; place-items: center; flex: 0 0 38px; color: var(--primary); }
.roadmap-icon svg { width: 28px; height: 28px; }
.roadmap-note strong { display: block; color: var(--dark); font-family: var(--font); font-size: .9rem; margin-bottom: 2px; }
.roadmap-note p { color: var(--text-muted); font-size: .82rem; line-height: 1.5; }
.roadmap-badge { margin-left: auto; flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--primary); font-family: var(--font); font-size: .7rem; font-weight: 700; }

/* CARDS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg); border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s; border: 1px solid rgba(0,0,0,.04); }
.card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon.teal { background: var(--primary-light); color: var(--primary); }
.card-icon.green { background: var(--accent-light); color: var(--accent); }
.card-icon.dark { background: rgba(22,78,99,.08); color: var(--dark); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { text-align: center; padding: 24px 16px; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font); font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 12px rgba(8,145,178,.2);
}
.step h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.step-connector { display: none; }

/* SELECTOR DE MONEDA */
.currency-switch-wrap {
  display: flex; justify-content: center; margin-top: 24px;
}
.currency-switch {
  display: inline-flex; align-items: center; background: #EEF2F6;
  padding: 3px; border-radius: 999px; gap: 2px;
  border: 1px solid #E2E8F0;
}
.currency-btn {
  background: transparent; border: none; cursor: pointer;
  min-height: 40px; padding: 6px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.currency-btn:hover { color: var(--dark); }
.currency-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.currency-btn:active {
  transform: scale(0.98);
}
.currency-btn.active {
  background: #FFFFFF; color: var(--dark);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* PLANES */
.planes {
  --plan-primary: #0E7490;
  --plan-primary-hover: #155E75;
  --plan-primary-light: #ECFEFF;
  --plan-primary-muted: #A5F3FC;
  --plan-dark: #164E63;
  --plan-text: #1E293B;
  --plan-text-muted: #64748B;
  --plan-text-light: #94A3B8;
  --plan-bg-alt: #F8FAFC;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; align-items: stretch;
}
.plan {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 40px 32px 36px; box-shadow: var(--card-shadow);
  border: 1.5px solid transparent;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative; display: flex; flex-direction: column;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}
.plan-rec {
  border: 2px solid var(--plan-primary);
  box-shadow: 0 4px 20px rgba(8,145,178,.12);
  position: relative;
  z-index: 1;
}
.plan-team { background: var(--plan-bg-alt); border-color: #E2E8F0; }
.plan-team .btn { border-color: #CBD5E1; }
.plan-cc { background: var(--plan-bg-alt); border-color: #E2E8F0; }
.plan-cc .btn { border-color: #CBD5E1; }
.plan-badge {
  position: absolute; top: -11px; left: 32px;
  background: var(--plan-primary); color: #fff;
  padding: 3px 14px; border-radius: 999px;
  font-family: var(--font); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.plan-badge-cc { background: var(--plan-text-muted); }
.plan-badge-team { background: #475569; }
.plan-badge-promo { background: var(--accent-light); color: var(--accent-hover); }
.plan h3 { font-family: var(--font); font-size: 1.25rem; font-weight: 700; color: var(--plan-dark); margin-bottom: 6px; }
.plan-price {
  margin: 22px 0 14px;
  display: flex; align-items: baseline; gap: 4px;
}
.price-val {
  font-family: var(--font); font-size: 2.75rem; font-weight: 800; color: var(--plan-primary);
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.price-period {
  font-family: var(--font); font-size: 1rem; font-weight: 400; color: var(--plan-text-muted);
}
.plan-price-custom {
  font-family: var(--font); font-size: 2.25rem; font-weight: 800; color: var(--plan-primary);
  margin: 22px 0 14px; letter-spacing: -.02em; line-height: 1.1;
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price-custom span { font-size: 1rem; font-weight: 400; color: var(--plan-text-muted); }
.plan-pronto { font-family: var(--font); font-size: 2.25rem; font-weight: 800; color: var(--plan-text-light); margin: 24px 0 8px; letter-spacing: -.02em; }
.plan-sub { font-size: .88rem; color: var(--plan-text-muted); margin-bottom: 30px; line-height: 1.6; min-height: 46px; }
.plan ul { margin-bottom: 32px; flex-grow: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--plan-text); padding: 8px 0; line-height: 1.5; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan li span { flex: 1 1 auto; }
.planes .btn-primary { background: var(--plan-primary); }
.planes .btn-primary:hover { background: var(--plan-primary-hover); }
.planes .btn-outline { color: var(--plan-primary); border-color: var(--plan-primary-muted); }
.planes .btn-outline:hover { background: var(--plan-primary-light); border-color: var(--plan-primary); }

/* RECOMENDADOR POR RUBRO */
.planes-recomendador {
  margin: 48px auto 0; max-width: 1080px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
  border: 1px solid var(--primary-muted); border-radius: var(--radius-lg);
  padding: 28px 32px; box-shadow: var(--card-shadow);
}
.recomendador-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-family: var(--font); font-size: 1.05rem; color: var(--dark);
}
.recomendador-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  flex-shrink: 0;
}
.recomendador-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.recomendador-item {
  background: #FFFFFF; border-radius: var(--radius-sm);
  padding: 20px 22px; border: 1.5px solid #E2E8F0;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.recomendador-item:hover {
  border-color: var(--primary-muted);
  box-shadow: 0 4px 14px rgba(14,116,144,.06);
}
.rubro-tag {
  display: inline-block; font-family: var(--font); font-size: .78rem; font-weight: 700;
  color: var(--primary); background: var(--primary-light);
  padding: 4px 10px; border-radius: 6px; align-self: flex-start;
}
.recomendador-item p {
  font-size: .875rem; color: var(--text-muted); line-height: 1.55; margin: 0;
}
.recomendador-item p strong { color: var(--dark); }
.recomendador-item p em { font-style: normal; color: var(--accent-hover); font-weight: 600; }

/* FAQ */
.faq-wrap { max-width: 816px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E2E8F0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--dark); text-align: left; gap: 16px;
}
.faq-q svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; transition: transform .3s ease; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; opacity: 0; }
.faq-a p { padding: 0 0 20px; font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 200px; opacity: 1; }

/* CTA / CONTACTO */
.cta { padding: 56px 40px 96px; position: relative; }
.cta-inner {
  max-width: 1080px; margin: 0 auto;
  background: linear-gradient(135deg,#F0FDFA 0%,#ECFEFF 100%);
  border: 1px solid var(--primary-muted); border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; bottom: -120px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(8,145,178,.1) 0%, transparent 70%); pointer-events: none; }
.cta h2 { font-family: var(--font); font-size: 1.9rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.25; }
.cta-info > p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.cta-contact { display: flex; flex-direction: column; gap: 16px; position: relative; }
.cta-contact-item { display: flex; align-items: center; gap: 14px; font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--dark); transition: color .2s; }
a.cta-contact-item:hover { color: var(--primary); }
.cta-contact-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.cta-contact-item small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.cta-form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 32px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; text-align: left; }
.form-group label { display: block; font-family: var(--font); font-size: .78rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); letter-spacing: .03em; text-transform: uppercase; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid #E2E8F0;
  background: var(--bg-alt); color: var(--text);
  font-family: var(--font-body); font-size: .92rem;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(14,116,144,.08); }
.form-group textarea { resize: vertical; min-height: 70px; }
.cta-form-card .btn { width: 100%; justify-content: center; padding: 13px; font-size: .95rem; }
.form-exito { text-align: center; padding: 32px 16px; }
.form-exito svg { width: 48px; height: 48px; color: #16a34a; margin-bottom: 16px; }
.form-exito h3 { font-family: var(--font); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.form-exito p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.form-exito a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* FOOTER */
.footer { background: var(--bg-alt); padding: 48px 40px 24px; border-top: 1px solid #E2E8F0; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--font); font-weight: 800; font-size: 1.15rem; color: var(--dark); }
.footer-logo span { color: var(--primary); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: var(--font); font-size: .82rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { max-width: 1080px; margin: 20px auto 0; font-size: .78rem; color: var(--text-light); text-align: center; }

/* WHATSAPP */
.wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(5,150,105,.3);
  transition: transform .2s, box-shadow .2s;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(5,150,105,.4); }
.wa svg { width: 28px; height: 28px; color: #fff; }

/* VOLVER ARRIBA */
.totop {
  position: fixed; bottom: 92px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(14,116,144,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s, box-shadow .2s;
}
.totop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(14,116,144,.4); }
.totop:focus-visible { outline: 3px solid var(--primary-muted); outline-offset: 2px; }
.totop svg { width: 26px; height: 26px; }

/* RESPONSIVE */
@media(max-width:1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: 1fr; max-width: 460px; }
}
@media(max-width:768px) {
  .navbar { padding: 0 24px; }
  .nav-actions {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08); border-top: 1px solid #E2E8F0;
  }
  .nav-actions.active { display: flex; }
  .nav-actions .btn { justify-content: center; width: 100%; }
  .hamburger { display: block; }
  section { padding: 64px 24px; }
  .hero { padding: 100px 24px 64px; }
  .hero h1 { font-size: 2rem; }
  .hero > p { font-size: 1rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .especialidades-grid { grid-template-columns: 1fr; }
  .especialidad-card-wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .planes { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input, .form-group textarea { font-size: 1rem; }
  .section-head h2 { font-size: 1.75rem; line-height: 1.22; }
  .roadmap-note { align-items: flex-start; flex-wrap: wrap; }
  .roadmap-badge { margin-left: 54px; margin-top: -8px; }
  .cta { padding: 40px 24px 64px; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; padding: 36px 24px; }
  .planes-recomendador { padding: 22px 18px; margin-top: 36px; }
  .recomendador-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media(max-width:480px) {
  .hero h1 { font-size: 1.65rem; }
  .section-head h2 { font-size: 1.55rem; line-height: 1.22; }
  .plan-price { font-size: 2.25rem; }
  /* El botón de WhatsApp a ancho completo: más fácil de tocar y de leer. */
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
