/* Dr. Kalpna's Dental Care - clean medical / modern, blue & white */
:root{
  --blue:#E2A82E;
  --blue-dark:#c99324;
  --blue-deep:#15324a;
  --blue-soft:#fcf8f0;
  --blue-soft2:#f8f0e0;
  --bg:#fcfdfd;
  --ink:#15324a;
  --muted:#5a6b7a;
  --line:#ece4d8;
  --star:#E2A82E;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 8px 30px rgba(21,50,74,.08);
  --shadow-sm:0 2px 10px rgba(21,50,74,.05);
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Inter', Arial, Helvetica, sans-serif;
  color:var(--ink); line-height:1.65; background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
body.lang-hi{ font-family:"Noto Sans Devanagari",'Inter',Arial,sans-serif; }
img{ max-width:100%; display:block; }
a{ color:var(--blue-dark); text-decoration:none; }
a:hover{ color:var(--blue); }
.wrap{ width:90%; max-width:1080px; margin:0 auto; }

/* language toggle visibility */
[data-hi]{ display:none; }
body.lang-hi [data-en]{ display:none; }
body.lang-hi [data-hi]{ display:revert; }

/* ---- Language splash ---- */
#splash{
  position:fixed; inset:0; z-index:1000;
  background:linear-gradient(135deg,var(--blue),var(--blue-deep));
  display:flex; align-items:center; justify-content:center;
}
#splash.hide{ display:none; }
.splash-box{
  background:#fff; padding:42px 36px; border-radius:22px; text-align:center;
  width:360px; max-width:90%; box-shadow:0 30px 70px rgba(0,0,0,.25);
}
.splash-logo{ width:64px; height:64px; margin:0 auto 14px; }
.splash-logo path{ fill:var(--blue); }
.splash-box h1{ font-size:21px; color:var(--blue-deep); margin-bottom:6px; }
.splash-box p{ font-size:14px; color:var(--muted); margin-bottom:24px; }
.splash-box button{
  display:block; width:100%; margin:11px 0; padding:14px;
  font-size:16px; font-weight:600; border:1.5px solid var(--blue-soft); background:var(--blue-soft2); color:var(--blue-dark);
  border-radius:12px; cursor:pointer; font-family:inherit; transition:.2s;
}
.splash-box button:hover{ background:var(--blue); color:#fff; border-color:var(--blue); transform:translateY(-2px); }

/* ---- Header ---- */
header{ background:rgba(255,255,255,.95); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:100; }
.topbar{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; flex-wrap:wrap; gap:10px; }
.logo{ display:flex; align-items:center; gap:11px; color:var(--blue-deep); }
.logo svg{ width:40px; height:40px; flex:none; }
.logo svg path{ fill:var(--blue); }
.logo .name{ font-size:17px; font-weight:700; line-height:1.15; }
.logo .name small{ display:block; font-size:11px; font-weight:500; color:var(--muted); }
nav{ display:flex; align-items:center; }
nav a{ color:var(--ink); margin-left:22px; font-size:15px; font-weight:500; position:relative; padding:4px 0; }
nav a:hover{ color:var(--blue); }
nav a.active{ color:var(--blue); }
nav a.active::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--blue); border-radius:2px; }
.lang-toggle{ margin-left:22px; display:inline-flex; border:1px solid var(--line); border-radius:30px; overflow:hidden; }
.lang-toggle button{
  background:#fff; color:var(--muted); border:none; padding:6px 13px; font-size:13px;
  cursor:pointer; font-family:inherit; font-weight:600;
}
.lang-toggle button.active{ background:var(--blue); color:#fff; }

/* ---- Page banner ---- */
.banner{ background:linear-gradient(135deg,var(--blue-soft),var(--blue-soft2)); padding:46px 0; text-align:center; border-bottom:1px solid var(--line); }
.banner h1{ color:var(--blue-deep); font-size:30px; font-weight:700; }

/* ---- Sections ---- */
.section{ padding:60px 0; }
.section h2{ color:var(--blue-deep); font-size:25px; font-weight:700; margin-bottom:18px; }
.section h2::after{ content:""; display:block; width:54px; height:3px; background:var(--blue); margin-top:10px; border-radius:2px; }
.section p{ margin-bottom:14px; color:var(--muted); }
.section p b{ color:var(--ink); }

/* ---- Hero ---- */
.hero{ background:linear-gradient(135deg,var(--blue-soft) 0%,var(--bg) 60%); padding:0; }
.hero-inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; padding:56px 0; }
.hero-text .badge{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); color:var(--blue-deep); padding:7px 15px; border-radius:30px; font-size:13px; font-weight:600; box-shadow:var(--shadow-sm); margin-bottom:18px; }
.hero-text .badge .stars{ color:var(--star); }
.hero-text h1{ color:var(--blue-deep); font-size:38px; line-height:1.18; font-weight:700; margin-bottom:14px; }
.hero-text p{ font-size:17px; margin:0 0 24px; color:var(--muted); max-width:520px; }
.hero-photo{ min-height:380px; background-size:cover; background-position:center; border-radius:20px; box-shadow:var(--shadow); }
.btn{
  display:inline-block; background:var(--blue); color:#fff; padding:13px 26px;
  border-radius:30px; font-size:15px; font-weight:600; box-shadow:0 6px 18px rgba(23,115,192,.28); transition:.2s;
}
.btn:hover{ background:var(--blue-dark); color:#fff; transform:translateY(-2px); }
.btn.ghost{ background:#fff; color:var(--blue); border:1.5px solid var(--blue); box-shadow:none; margin-left:10px; }
.btn.ghost:hover{ background:var(--blue); color:#fff; }

/* ---- Cards / boxes ---- */
.boxes{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:8px; }
.box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px; box-shadow:var(--shadow-sm); transition:.25s; }
.box:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:#cfe2f3; }
.box .ic{ width:52px; height:52px; border-radius:14px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.box .ic svg{ width:28px; height:28px; }
.box .ic svg path{ fill:var(--blue); }
.box h3{ color:var(--blue-deep); font-size:18px; font-weight:700; margin-bottom:8px; }
.box p{ font-size:14.5px; color:var(--muted); margin:0; }

/* ---- Photo gallery ---- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
.gallery img{ width:100%; height:240px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); background:var(--blue-soft); box-shadow:var(--shadow-sm); transition:.25s; }
.gallery img:hover{ transform:scale(1.02); box-shadow:var(--shadow); }

/* ---- Trust / CTA band ---- */
.band{ background:linear-gradient(135deg,var(--blue),var(--blue-deep)); color:#fff; text-align:center; padding:54px 0; }
.band h2{ color:#fff; font-size:26px; font-weight:700; margin-bottom:10px; }
.band p{ color:#dcebfa; opacity:.95; margin-bottom:22px; }
.band .btn{ background:#fff; color:var(--blue-dark); }
.band .btn:hover{ background:var(--blue-soft); color:var(--blue-dark); }

/* ---- Reviews ---- */
.review{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px; margin-bottom:18px; box-shadow:var(--shadow-sm); }
.review .stars{ color:var(--star); font-size:16px; }
.review p{ color:var(--ink); margin:10px 0 14px; }
.review b{ color:var(--blue-deep); }

/* ---- Contact ---- */
.contact-row{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.contact-list{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); }
.contact-list p{ margin-bottom:14px; color:var(--muted); }
.contact-list b{ color:var(--blue-deep); }
iframe{ width:100%; height:340px; border:0; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-sm); }

/* ---- Footer ---- */
footer{ background:var(--blue-soft2); color:var(--muted); padding:30px 0; font-size:13.5px; text-align:center; margin-top:0; border-top:1px solid var(--line); }
footer a{ color:var(--blue-dark); }
footer .fname{ color:var(--blue-deep); font-weight:700; font-size:15px; }
footer p{ margin:4px 0; }

/* ---- Logo image ---- */
.logo-img{ height:50px; width:auto; display:block; }

/* ---- Gallery page grid + zoom ---- */
.gallery-page{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery-page img{ width:100%; height:230px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-sm); cursor:pointer; transition:.25s; background:var(--blue-soft); }
.gallery-page img:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.zoomable{ cursor:pointer; }

/* photo strip used on home/services */
.photo-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:8px; }
.photo-strip img{ width:100%; height:200px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-sm); cursor:pointer; transition:.25s; background:var(--blue-soft); }
.photo-strip img:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }

/* lightbox */
#lightbox{ position:fixed; inset:0; z-index:1100; background:rgba(8,20,35,.9); display:none; align-items:center; justify-content:center; padding:24px; }
#lightbox.open{ display:flex; }
#lightbox img{ max-width:92%; max-height:88%; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
#lightbox .lb-close{ position:absolute; top:18px; right:24px; color:#fff; font-size:34px; cursor:pointer; line-height:1; background:none; border:none; }

/* ---- WhatsApp buttons ---- */
.btn.wa{ background:#25D366; color:#fff; box-shadow:0 6px 18px rgba(37,211,102,.32); }
.btn.wa:hover{ background:#1da851; color:#fff; }
.wa-ic{ width:18px; height:18px; vertical-align:-3px; margin-right:6px; fill:currentColor; }

/* Floating WhatsApp button */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:900;
  display:inline-flex; align-items:center; gap:9px;
  background:#25D366; color:#fff; padding:13px 18px 13px 15px; border-radius:40px;
  font-weight:600; font-size:15px; box-shadow:0 8px 26px rgba(37,211,102,.45);
  transition:.2s;
}
.wa-float:hover{ background:#1da851; color:#fff; transform:translateY(-2px); }
.wa-float svg{ width:24px; height:24px; fill:#fff; }
.wa-float .wa-label{ white-space:nowrap; }
@media (max-width:520px){
  .wa-float{ padding:14px; }
  .wa-float .wa-label{ display:none; }
}

/* ---- FAQ ---- */
.faq{ margin-top:10px; }
.faq details{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:0; margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden;
}
.faq summary{
  cursor:pointer; padding:16px 20px; font-weight:600; color:var(--blue-deep);
  list-style:none; position:relative; font-size:16px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; position:absolute; right:20px; top:14px; font-size:22px; color:var(--blue); font-weight:400; }
.faq details[open] summary::after{ content:"\2212"; }
.faq details p{ padding:0 20px 16px; margin:0; color:var(--muted); }

/* ---- Responsive ---- */
@media (max-width:820px){
  .boxes{ grid-template-columns:1fr 1fr; }
  .gallery{ grid-template-columns:1fr 1fr; }
  .contact-row{ grid-template-columns:1fr; }
  .hero-inner{ grid-template-columns:1fr; padding:40px 0; }
  .hero-text h1{ font-size:30px; }
  .hero-photo{ min-height:260px; }
  .topbar{ flex-direction:column; align-items:flex-start; }
  nav{ flex-wrap:wrap; }
  nav a:first-child{ margin-left:0; }
  .lang-toggle{ margin-left:0; }
}
@media (max-width:520px){
  .boxes{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr; }
  .btn.ghost{ margin-left:0; margin-top:10px; }
}
