/* Shared styles for rapidcityimplants.com */
:root{--navy:#1f3b57;--blue:#1f5f8b;--sky:#5aa9e6;--ink:#1d2733;--muted:#5b6876;--bg:#f4f7fa;--gold:#f5b301}
*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);line-height:1.55}
img{max-width:100%;display:block}a{color:inherit}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.topbar{background:var(--navy);color:#fff;font-size:14px}.topbar .wrap{display:flex;justify-content:space-between;align-items:center;padding:10px 24px;gap:12px;flex-wrap:wrap}
.stars{color:var(--gold);letter-spacing:2px}
.btn{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:14px;padding:14px 26px;border-radius:6px}
.btn.light{background:var(--sky)}.btn.phone{padding:8px 16px;font-size:14px;text-transform:none;letter-spacing:0}
header.nav{background:#fff;border-bottom:1px solid #e6ebf0}header.nav .wrap{display:flex;justify-content:space-between;align-items:center;padding:14px 24px}
header.nav img{height:54px;width:auto}header.nav nav a{margin-left:22px;text-decoration:none;font-weight:500}
.hero{position:relative;background:url(images/hero-front-desk.jpg) center/cover;color:var(--navy)}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.82) 50%,rgba(255,255,255,.35) 100%)}
.hero .wrap{position:relative;padding:90px 24px 100px;max-width:1140px}.hero h1{font-size:50px;line-height:1.1;margin:0 0 18px;max-width:640px}
.hero p.sub{font-size:20px;max-width:560px;margin:0 0 28px;color:#2c3e50}
.hero .proof{margin-top:18px;font-size:14px;color:var(--muted)}
.stats{background:#fff}.stats .wrap{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:34px 24px}
.stats b{display:block;font-size:40px;color:var(--navy)}.stats span{text-transform:uppercase;font-size:13px;letter-spacing:.08em;color:var(--muted)}
section{padding:70px 0}.center{text-align:center}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:13px;opacity:.85}
h2{font-size:38px;margin:6px 0 26px;line-height:1.15}
.doctor{background:linear-gradient(#2d5070,#9fb3c6);color:#fff}.doctor img.dr{width:190px;height:190px;border-radius:50%;object-fit:cover;margin:0 auto 18px;border:4px solid #fff}
.doctor p{max-width:680px;margin:0 auto 28px}
.members{display:flex;justify-content:center;align-items:center;gap:34px;flex-wrap:wrap;background:#fff;border-radius:12px;padding:22px 28px;margin:10px auto 30px;max-width:980px}
.members img{height:56px;width:auto}
.gallery{background:var(--blue);color:#fff}.gallery .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:12px}
.gallery .grid img{border-radius:10px;aspect-ratio:4/3;object-fit:cover;width:100%}.small{font-size:13px;opacity:.85}
.cards{display:grid;gap:20px}.cards.three{grid-template-columns:repeat(3,1fr)}.cards.four{grid-template-columns:repeat(4,1fr)}
.dark{background:#0f1720;color:#fff}.card{background:#1d2836;border-radius:10px;padding:16px;text-align:center}
.card img{border-radius:6px;aspect-ratio:3/2;object-fit:cover;width:100%;margin-bottom:12px}.card h3{margin:4px 0 6px;font-size:20px}
.types{background:linear-gradient(#34506b,#8c9db0);color:#fff}.type{border:1px solid rgba(255,255,255,.5);border-radius:10px;padding:22px;background:rgba(255,255,255,.06);display:flex;flex-direction:column}
.type img{height:150px;object-fit:contain;margin:10px auto}.type ul{padding-left:18px;flex:1}.type .btn{text-align:center}
.candidate .card{background:#fff;color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.08)}.candidate{background:var(--bg)}
.formsec{background:#fff}.formgrid{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:start}
.formslot{border-radius:14px;min-height:460px;padding:8px 4px;background:#f7fbff}
.reviews{background:var(--bg)}.review{background:#fff;border-radius:10px;padding:24px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:10px}
details{background:#fff;border:1px solid #e3e8ee;border-radius:8px;margin:10px 0;padding:16px 20px}summary{font-weight:600;cursor:pointer}
.final{background:var(--navy);color:#fff}
footer{background:#0f1720;color:#c9d3dd;font-size:14px}footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:26px 24px}
.thanks{background:var(--bg);flex:1;display:flex;align-items:center}.thanks .wrap{width:100%}.thanks .panel{background:#fff;border-radius:14px;padding:48px 40px;max-width:720px;margin:0 auto;box-shadow:0 2px 16px rgba(0,0,0,.06);text-align:left}
.thanks h1{font-size:36px;line-height:1.2;margin:0 0 18px;color:var(--navy)}
.thanks p{margin:0 0 16px;font-size:18px}
.thanks .actions{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:860px){
  .hero h1{font-size:34px}
  .cards.four,.gallery .grid{grid-template-columns:1fr 1fr}
  .cards.three,.types .cards,.formgrid{grid-template-columns:1fr}
  header.nav nav{display:none}
  .thanks .panel{padding:32px 22px}
  .thanks h1{font-size:30px}
}
