/* Emergency Dentist — premium theme v2
   Palette (exact): primary deep navy #0B2545, dental teal #0E9A8B,
   CTA orange #EA580C, light background #F6F9FB, body text #16232E,
   muted text #52636B, white cards, soft borders #DCE6E8.
   System fonts only. Zero external requests. */
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#16232E;line-height:1.65;background:#F6F9FB}
a{color:#0E9A8B;text-decoration:underline;text-underline-offset:3px}
a:hover{color:#0B2545}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #0E9A8B;outline-offset:2px}
/* Header — sticky navy bar */
.site-header{position:sticky;top:0;z-index:100;background:#0B2545;color:#fff;padding:16px 24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;box-shadow:0 4px 18px rgba(11,37,69,.25);border-bottom:4px solid #0E9A8B}
.site-header a{color:#fff;text-decoration:none}
.brand{font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.main-nav{display:flex;gap:22px;flex-wrap:wrap;align-items:center}
.main-nav a{font-size:16px;font-weight:600;padding:6px 2px;border-bottom:2px solid transparent}
.main-nav a:hover{color:#fff;border-bottom-color:#0E9A8B}
.call-btn{background:#EA580C!important;color:#fff!important;padding:12px 20px;border-radius:999px;font-weight:800;font-size:16px;box-shadow:0 4px 14px rgba(234,88,12,.35);white-space:nowrap}
.call-btn:hover{filter:brightness(.94)}
/* Layout */
main{max-width:1150px;margin:0 auto;padding:32px 24px 110px}
.breadcrumb{font-size:14px;color:#52636B;background:#fff;border:1px solid #DCE6E8;border-radius:999px;display:inline-block;padding:6px 14px;margin-bottom:8px}
.breadcrumb a{color:#52636B}
h1{font-size:44px;line-height:1.15;color:#0B2545;margin:18px 0 16px;letter-spacing:-.02em}
h2{font-size:30px;line-height:1.3;color:#0B2545;margin-top:44px;padding-bottom:10px;border-bottom:2px solid #DCE6E8}
h3{font-size:22px;line-height:1.35;color:#0B2545;margin-top:30px}
p{margin:14px 0}
main>p:first-of-type{font-size:19px;line-height:1.65;color:#16232E}
ol,ul{margin:14px 0;padding-left:24px}
li{margin:7px 0}
/* Hero figure — homepage and every page figure */
figure{margin:30px 0}
figure img{width:100%;height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(11,37,69,.14);border:1px solid #DCE6E8}
/* CTA box — light teal tint */
.cta{background:#E7F5F2;border:1px solid #0E9A8B;border-left:6px solid #0E9A8B;border-radius:16px;padding:24px 26px;margin:30px 0;box-shadow:0 6px 20px rgba(11,37,69,.07)}
.cta p:first-child{font-size:20px;color:#0B2545;margin-top:0}
.cta a{display:inline-block;background:#EA580C;color:#fff!important;text-decoration:none;font-size:20px;font-weight:800;padding:12px 22px;border-radius:999px;margin:4px 0}
.cta a:hover{filter:brightness(.94)}
/* Service grid — white cards with hover lift */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;list-style:none;padding:0;margin:22px 0}
.grid li{background:#fff;border:1px solid #DCE6E8;border-radius:16px;padding:20px;box-shadow:0 2px 10px rgba(11,37,69,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.grid li:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(11,37,69,.14);border-color:#0E9A8B}
.grid li a{color:#0B2545;text-decoration:none;font-weight:700;font-size:18px}
.grid li a:hover{color:#0E9A8B}
/* Footer — navy */
footer{background:#0B2545;color:#EAF2F5;padding:40px 24px;border-top:4px solid #0E9A8B}
footer nav{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:18px}
footer a{color:#fff}
footer p{max-width:1150px;margin:14px auto;color:#EAF2F5}
footer nav{max-width:1150px;margin:0 auto 18px}
/* Mobile call bar — orange, only narrow widths */
.callbar{display:none}
@media(max-width:700px){
.callbar{display:block;position:fixed;left:0;right:0;bottom:0;background:#EA580C;text-align:center;padding:14px;z-index:50;box-shadow:0 -4px 16px rgba(11,37,69,.25)}
.callbar a{color:#fff;font-weight:800;font-size:18px;text-decoration:none}
main{padding:22px 16px 130px}
h1{font-size:31px}
h2{font-size:25px}
.grid{grid-template-columns:1fr}
.site-header{flex-direction:column;align-items:flex-start;padding:14px 16px}
.main-nav{gap:14px}
.call-btn{width:100%;text-align:center}
}
/* Forms */
form label{display:block;margin:14px 0 5px;font-weight:700;color:#0B2545}
input,textarea{width:100%;padding:12px 14px;border:1px solid #DCE6E8;border-radius:10px;font:inherit;background:#fff;color:#16232E}
input:focus,textarea:focus{border-color:#0E9A8B;box-shadow:0 0 0 3px rgba(14,154,139,.18);outline:none}
button{background:#EA580C;color:#fff;border:0;padding:13px 24px;border-radius:999px;font-weight:800;font-size:16px;cursor:pointer}
button:hover{filter:brightness(.94)}
