/* Alpha et Oméga Dentaire — estilos del sitio */
:root {
  --navy: #14285a;
  --navy-2: #1d3a80;
  --blue: #2f5bbf;
  --rose: #e2708f;
  --ink: #1e2a3b;
  --muted: #5a6780;
  --line: #e3e9f3;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 40, 90, .06);
  --shadow-md: 0 14px 40px rgba(20, 40, 90, .12);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hide-sm { }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 28px; border-radius: 999px; font: 600 .98rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(20, 40, 90, .25); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .85); color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: .8em; }
.eyebrow-light { color: #ffb7c9; }

/* Barra superior */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .88); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 26px; padding-top: 8px; padding-bottom: 8px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar-item svg { opacity: .8; }
.topbar-phone { font-weight: 600; color: #fff; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 82px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); font: 600 .78rem var(--font-body); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; overflow: hidden; background: #eef3fa; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, .92) 75%); }
.hero-inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: 64px; padding-bottom: 64px; }
.hero-card { max-width: 560px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .45em; }
.lead { font-size: 1.12rem; color: #33405a; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges svg { color: #fff; background: var(--rose); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* Indicadores */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1.1; }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .78); }

/* Secciones */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: linear-gradient(135deg, var(--navy) 0%, #0e1d44 100%); color: rgba(255, 255, 255, .88); }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: #eaf0fb; color: var(--navy); font-size: 28px; margin-bottom: 20px; }
.card p { color: var(--muted); margin: 0; }

/* Bloques divididos */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-media img:nth-child(2) { margin-top: 48px; }
.split-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.split-text > p { color: var(--muted); font-size: 1.05rem; }
.section-dark .split-text > p { color: rgba(255, 255, 255, .82); }
.split-text > p.eyebrow { color: var(--rose); font-size: .78rem; }
.section-dark .split-text > p.eyebrow { color: #ffb7c9; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.note { font-size: .88rem; opacity: .75; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--rose); color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }

/* Elegibilidad PCSD */
.eligibility { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.eligibility li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); padding: 18px 20px 18px 54px; position: relative; color: #fff; font-weight: 500; }
.eligibility li::before { content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Galería */
.gallery-swiper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); --swiper-theme-color: #fff; --swiper-navigation-size: 22px; }
.gallery-swiper img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-swiper .swiper-button-prev, .gallery-swiper .swiper-button-next { width: 46px; height: 46px; border-radius: 50%; background: rgba(20, 40, 90, .55); border: 0; }
.gallery-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; }
.gallery-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: #e9b13b; letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink); flex: 1; }
.quote figcaption { font-weight: 600; color: var(--navy); font-size: .92rem; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 32px; align-items: start; }
.contact-info { background: var(--navy); color: rgba(255, 255, 255, .88); border-radius: var(--radius); padding: 38px 34px; }
.contact-info h3 { color: #fff; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 24px; }
.contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-info li { display: flex; gap: 16px; }
.contact-info li > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #ffb7c9; }
.contact-info li span:first-child { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.contact-info li .plain { display: block; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; }
.contact-info li .muted { color: rgba(255, 255, 255, .6); }
.contact-info a { color: #fff; text-decoration: none; font-weight: 600; display: block; }
.contact-info a:hover { text-decoration: underline; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 91, 191, .12); }
.field-error { display: none; color: #c0392b; font-size: .82rem; margin-top: 5px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: #fff8f7; }
.field.has-error .field-error { display: block; }
.field-captcha { display: grid; grid-template-columns: auto 110px; align-items: center; gap: 6px 14px; }
.field-captcha label { margin: 0; }
.field-captcha .field-error { grid-column: 1 / -1; }
.form-privacy { font-size: .82rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 380px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pie */
.site-footer { background: #0e1d44; color: rgba(255, 255, 255, .72); padding: 48px 0 28px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .84rem; }
.footer-login { color: rgba(255, 255, 255, .5); text-decoration: none; }
.footer-login:hover { color: #fff; }

/* Botón flotante de llamada */
.fab-call { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: var(--rose); color: #fff; place-items: center; font-size: 26px; box-shadow: 0 10px 24px rgba(226, 112, 143, .45); }

/* Ventana modal */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 29, 68, .55); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: #fff; border-radius: 20px; padding: 40px 34px 32px; max-width: 440px; width: 100%; text-align: center; box-shadow: 0 30px 60px rgba(14, 29, 68, .35); animation: pop .25s ease-out; }
.modal-box h3 { font-family: var(--font-head); font-size: 1.6rem; }
.modal-box p { color: var(--muted); }
.modal-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; }
.modal-icon.success { background: #e7f6ee; color: #1e8a52; }
.modal-icon.error { background: #fdecec; color: #c0392b; }
.modal-icon.loading { border: 4px solid #e3e9f3; border-top-color: var(--navy); animation: spin .9s linear infinite; width: 56px; height: 56px; }
.modal-box .btn[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .hide-md { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px 20px 20px; transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: block; margin-top: 14px; text-align: center; background: var(--navy); color: #fff !important; border-radius: 999px; border-bottom: 0 !important; font-weight: 600 !important; }
  .cards, .steps, .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .section { padding: 72px 0; }
}
@media (max-width: 700px) {
  .topbar-inner { justify-content: space-between; gap: 12px; }
  .hide-sm { display: none !important; }
  .brand img { width: 62px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { display: none; }
  .lang-switch button { padding: 6px 8px; }
  .hero { min-height: 0; display: block; }
  .hero-bg { position: relative; height: 260px; }
  .hero-bg img { object-position: 25% 20%; }
  .hero::after { display: none; }
  .hero-inner { padding-top: 28px; padding-bottom: 48px; }
  .hero-card { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form, .contact-info { padding: 28px 22px; }
  .split-media img { aspect-ratio: 3 / 4; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .fab-call { display: grid; }
  .map { height: 300px; }
}
