/* Clínica Dental Dra. Uriol — estilos comunes de las páginas de tratamientos
   Mismos colores, tipografía y componentes que la página de inicio */
:root{--azul:#1A4FBD;--azul-osc:#143d93;--naranja:#E8420A;--naranja-osc:#c73a08;--ambar:#FFB347;--tinta:#1a1a2e;--gris:#666;--gris-claro:#f8f9fc;--borde:#eee;--wa:#25D366}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,Roboto,sans-serif;color:var(--tinta);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* NAV */
nav{display:flex;align-items:center;justify-content:space-between;padding:14px 40px;background:#fff;border-bottom:1px solid #f0f0f0;position:sticky;top:0;z-index:100;flex-wrap:wrap;gap:10px}
.nav-logo{display:flex;flex-direction:column;line-height:1.1}
.nav-logo span:first-child{font-size:13px;color:var(--azul);font-weight:400}
.nav-logo span:last-child{font-size:17px;color:var(--naranja);font-weight:700}
.nav-links{display:flex;gap:22px;font-size:13px;color:#555}
.nav-links a{color:#555;transition:color .2s}
.nav-links a:hover,.nav-links a[aria-current]{color:var(--naranja)}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-social{display:flex;gap:12px;align-items:center}
.nav-social a{font-size:20px;color:#888;transition:color .2s}
.nav-social a:hover{color:var(--naranja)}
.nav-cta{background:var(--naranja);color:#fff;padding:9px 20px;border-radius:7px;font-size:13px;font-weight:600;transition:background .2s;white-space:nowrap}
.nav-cta:hover{background:var(--naranja-osc)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none}
.hamburger span{display:block;width:24px;height:2px;background:#333;border-radius:2px}
.mobile-menu{display:none;flex-direction:column;background:#fff;border-bottom:1px solid #eee;padding:8px 20px 16px;position:sticky;top:57px;z-index:99}
.mobile-menu a{font-size:15px;color:#555;padding:10px 0;border-bottom:1px solid #f5f5f5}
.mobile-menu a:last-child{border-bottom:none}
.mobile-menu.open{display:flex}

/* HERO DE TRATAMIENTO */
.t-hero{background:linear-gradient(135deg,var(--azul) 0%,var(--azul-osc) 100%);color:#fff;padding:44px 40px 52px;position:relative;overflow:hidden}
.t-hero::after{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.06)}
.t-hero-inner{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;position:relative;z-index:1}
.breadcrumb{font-size:12px;color:rgba(255,255,255,.7);margin-bottom:18px}
.breadcrumb a{color:rgba(255,255,255,.85);text-decoration:underline;text-underline-offset:2px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:12px;padding:4px 12px;border-radius:20px;margin-bottom:16px}
.t-hero h1{font-size:34px;font-weight:700;line-height:1.2;margin-bottom:14px}
.t-hero h1 span{color:var(--ambar)}
.t-hero .lead{font-size:16px;color:rgba(255,255,255,.9);line-height:1.7;margin-bottom:26px;max-width:560px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.btn-primary,.btn-secondary,.btn-wa{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:8px;font-size:14px;font-weight:600;transition:all .2s}
.btn-primary{background:var(--naranja);color:#fff}
.btn-primary:hover{background:var(--naranja-osc)}
.btn-secondary{border:2px solid rgba(255,255,255,.65);color:#fff}
.btn-secondary:hover{background:rgba(255,255,255,.12)}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{filter:brightness(.93)}
.hero-card{background:#fff;color:var(--tinta);border-radius:16px;padding:24px;box-shadow:0 12px 40px rgba(0,0,0,.18)}
.hero-card h2{font-size:15px;font-weight:700;margin-bottom:14px;color:var(--azul)}
.hero-card ul{list-style:none;display:grid;gap:10px}
.hero-card li{display:flex;gap:10px;font-size:14px;line-height:1.45}
.hero-card li i{color:var(--naranja);font-size:19px;flex-shrink:0;margin-top:-1px}
.precio-consulta{margin-top:16px;padding-top:14px;border-top:1px solid var(--borde);display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.precio-consulta span{font-size:13px;color:var(--gris)}
.precio-consulta strong{font-size:24px;color:var(--naranja)}

/* SECCIONES */
.section{padding:56px 40px}
.section-alt{background:var(--gris-claro)}
.wrap{max-width:1080px;margin:0 auto}
.wrap-narrow{max-width:820px;margin:0 auto}
.section-title{font-size:24px;font-weight:700;color:var(--tinta);margin-bottom:8px;line-height:1.3}
.section-sub{font-size:15px;color:var(--gris);margin-bottom:30px}
.prose p{font-size:15.5px;color:#3a3a4e;margin-bottom:14px;line-height:1.75}
.prose h3{font-size:17px;margin:22px 0 8px;color:var(--tinta)}
.prose ul{margin:6px 0 16px 20px}
.prose li{font-size:15px;color:#3a3a4e;margin-bottom:6px}
.prose strong{color:var(--tinta)}

/* TARJETAS */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.card{background:#fff;border:1px solid var(--borde);border-radius:14px;padding:22px 20px;transition:box-shadow .2s}
.card:hover{box-shadow:0 4px 20px rgba(232,66,10,.12)}
.card-icon{font-size:26px;margin-bottom:10px;color:var(--azul)}
.card h3{font-size:15px;font-weight:600;margin-bottom:6px}
.card p{font-size:13.5px;color:#666;line-height:1.6}

/* PASOS */
.steps{counter-reset:paso;display:grid;gap:14px}
.step{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;background:#fff;border:1px solid var(--borde);border-radius:14px;padding:18px 20px}
.step::before{counter-increment:paso;content:counter(paso);width:44px;height:44px;border-radius:50%;background:#FFF0E8;color:var(--naranja);font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center}
.step h3{font-size:15px;margin-bottom:4px}
.step p{font-size:14px;color:#666}

/* ESPECIALISTA */
.doctor{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center;background:#fff;border:1px solid var(--borde);border-radius:16px;padding:24px}
.doctor-foto{width:120px;height:120px;border-radius:50%;object-fit:cover;object-position:center top;border:3px solid #FFF0E8;background:#FFF0E8;display:flex;align-items:center;justify-content:center;color:var(--naranja);font-size:46px}
.doctor h3{font-size:18px}
.doctor .rol{font-size:13px;color:var(--naranja);font-weight:600;margin-bottom:8px}
.doctor p{font-size:14.5px;color:#555}
.datos{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:22px}
.dato{background:#fff;border:1px solid var(--borde);border-radius:12px;padding:16px;text-align:center}
.dato strong{display:block;font-size:22px;color:var(--naranja)}
.dato span{font-size:12.5px;color:#666}

/* FAQ */
.faq{display:grid;gap:10px}
.faq details{background:#fff;border:1px solid var(--borde);border-radius:12px;padding:0 20px}
.faq summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:600;font-size:15px;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--naranja);font-size:22px;line-height:1;font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq details p{font-size:14.5px;color:#555;padding-bottom:16px;line-height:1.7}

/* OTROS TRATAMIENTOS */
.otros{display:flex;flex-wrap:wrap;gap:10px}
.otros a{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--borde);border-radius:30px;padding:9px 16px;font-size:13.5px;color:#444;transition:all .2s}
.otros a:hover{border-color:var(--naranja);color:var(--naranja)}
.otros a i{color:var(--azul)}

/* CTA */
.cta-band{background:linear-gradient(135deg,var(--naranja) 0%,#f0662f 100%);color:#fff;padding:44px 40px;text-align:center}
.cta-band h2{font-size:24px;margin-bottom:8px}
.cta-band p{font-size:15px;opacity:.92;margin-bottom:22px}
.cta-band .hero-btns{justify-content:center}
.cta-band .btn-primary{background:#fff;color:var(--naranja)}
.cta-band .btn-primary:hover{background:#fff4ee}
.cta-band .btn-secondary{border-color:rgba(255,255,255,.8)}
.ubicacion{font-size:13px;opacity:.9;margin-top:18px}

/* FOOTER */
footer{background:#111827;padding:32px 40px}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:24px;margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-logo span:first-child{font-size:12px;color:rgba(255,255,255,.5);display:block}
.footer-logo span:last-child{font-size:16px;color:var(--naranja);font-weight:700}
.footer-info{font-size:12.5px;color:rgba(255,255,255,.5);line-height:1.9;margin-top:10px}
.footer-info strong{color:rgba(255,255,255,.75);font-weight:600}
.footer-info a{color:rgba(255,255,255,.75)}
.footer-col h4{font-size:12px;color:rgba(255,255,255,.75);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.footer-col ul{list-style:none;columns:2;column-gap:24px}
.footer-col li{font-size:12.5px;line-height:2}
.footer-col a{color:rgba(255,255,255,.5);transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-social{display:flex;gap:16px;align-items:center;margin-top:14px}
.footer-social a{font-size:22px;color:rgba(255,255,255,.45);transition:color .2s}
.footer-social a:hover{color:var(--naranja)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{font-size:11.5px;color:rgba(255,255,255,.35)}
.footer-links a:hover{color:rgba(255,255,255,.65)}
.footer-copy{font-size:11.5px;color:rgba(255,255,255,.3)}

/* BOTÓN FLOTANTE WHATSAPP */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:200;width:56px;height:56px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .2s}
.wa-float:hover{transform:scale(1.07)}

@media(max-width:860px){
  .t-hero-inner{grid-template-columns:1fr}
}
@media(max-width:680px){
  .hamburger{display:flex}
  .nav-links,.nav-social{display:none}
  nav{padding:12px 20px}
  .nav-cta{padding:8px 14px}
  .t-hero{padding:30px 20px 40px}
  .t-hero h1{font-size:27px}
  .section{padding:42px 20px}
  .cta-band{padding:38px 20px}
  footer{padding:28px 20px 90px}
  .doctor{grid-template-columns:1fr;text-align:center;justify-items:center}
  .footer-col ul{columns:1}
}

/* PÁGINAS LEGALES */
.legal h2{font-size:19px;margin:30px 0 10px;color:var(--tinta)}
.legal h2:first-child{margin-top:0}
.legal a{color:var(--naranja);font-weight:600}
