/* Tooth Haus Dental Clinic — site styles */
:root {
  --teal: #009698;
  --teal-dark: #00787a;
  --teal-light: #e8f9f9;
  --mint: #00b5b8;
  --ink: #1f2d3d;
  --gray: #5b6b7b;
  --bg: #ffffff;
  --gold: #f9ab00;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 150, 152, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Prompt', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Top bar ===== */
.topbar {
  background: var(--teal-dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #fff; font-weight: 500; }

/* ===== Header / nav ===== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8eef2;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand .logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: #fff; border: 1px solid #e3edee;
  display: grid; place-items: center; color: #fff; font-size: 1.3rem;
  overflow: hidden;
}
.brand .logo img { width: 40px; height: 40px; object-fit: contain; }
.brand small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--gray); line-height: 1.2; }

nav.menu { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-toggle {
  display: none; margin-left: auto;
  background: #fff; border: 1.5px solid #d5e5e6; border-radius: 10px;
  font-size: 1.35rem; line-height: 1; padding: 6px 13px;
  color: var(--teal-dark); cursor: pointer; font-family: inherit;
}
nav.menu a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
nav.menu a:hover { color: var(--teal); }
nav.menu a.cta {
  background: var(--teal); color: #fff; padding: 9px 20px; border-radius: 999px;
  box-shadow: var(--shadow);
}
nav.menu a.cta:hover { background: var(--teal-dark); color: #fff; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--teal-light) 0%, #ffffff 70%);
  padding: 64px 0 48px;
}
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.1rem; line-height: 1.35; margin-bottom: 14px; }
.hero h1 span { color: var(--teal); }
.hero p.lead { color: var(--gray); font-size: 1.05rem; margin-bottom: 22px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.badge {
  background: #fff; border: 1px solid #e3edee; border-radius: 999px;
  padding: 6px 14px; font-size: 0.85rem; font-weight: 500; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.badge .star { color: var(--gold); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-line { background: #06c755; color: #fff; }
.btn-outline { border: 2px solid var(--teal); color: var(--teal); }

.hero-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; text-align: center;
}
.hero-card .tooth { font-size: 4rem; }
.hero-card h3 { margin: 8px 0 4px; }
.hero-card .rating { font-size: 1.6rem; color: var(--gold); letter-spacing: 2px; }
.hero-card p { color: var(--gray); font-size: 0.9rem; }

/* ===== Sections ===== */
section { padding: 56px 0; }
section.alt { background: var(--teal-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { font-size: 1.7rem; margin-bottom: 10px; }
.section-head p { color: var(--gray); }
.eyebrow { color: var(--mint); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Service cards */
.grid { display: grid; gap: 22px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); border: 1px solid #eef4f5;
  display: flex; flex-direction: column;
}
.card .icon { font-size: 2.2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.92rem; flex: 1; }
.card a.more { margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 16px; margin-bottom: 18px; }
.step .num {
  counter-increment: step;
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.step .num::before { content: counter(step); }
.step h4 { margin-bottom: 2px; }
.step p { color: var(--gray); font-size: 0.92rem; }

/* Price table */
table.price {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
table.price th, table.price td { padding: 14px 18px; text-align: left; }
table.price th { background: var(--teal); color: #fff; font-weight: 600; }
table.price tr:nth-child(even) td { background: var(--teal-light); }
table.price td.p { font-weight: 600; color: var(--teal-dark); white-space: nowrap; }
s.reg { color: #999; font-weight: 400; }
.price-note { font-size: 0.82rem; color: var(--gray); margin-top: 10px; }

/* FAQ */
details.faq {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  margin-bottom: 12px; padding: 4px 20px; border: 1px solid #eef4f5;
}
details.faq summary { font-weight: 600; cursor: pointer; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
details.faq summary::after { content: '+'; position: absolute; right: 4px; color: var(--teal); font-size: 1.3rem; }
details.faq[open] summary::after { content: '−'; }
details.faq p { color: var(--gray); padding-bottom: 16px; font-size: 0.95rem; }

/* Reviews */
.review { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review .stars { color: var(--gold); margin-bottom: 8px; }
.review p { font-size: 0.93rem; color: var(--ink); }
.review .who { margin-top: 10px; font-size: 0.83rem; color: var(--gray); }

/* Promo banner */
.promo {
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  color: #fff; border-radius: var(--radius); padding: 34px; text-align: center;
  box-shadow: var(--shadow);
}
.promo h3 { font-size: 1.5rem; margin-bottom: 6px; }
.promo .price-tag { font-size: 2.2rem; font-weight: 700; }
.promo p { opacity: 0.92; margin-bottom: 16px; }
.promo .btn { background: #fff; color: var(--teal-dark); }

/* Contact / map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-list .ico { font-size: 1.2rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.92rem; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; color: var(--gray); }

/* Breadcrumb */
.crumbs { font-size: 0.85rem; color: var(--gray); padding: 18px 0 0; }
.crumbs a { color: var(--gray); }
.crumbs a:hover { color: var(--teal); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--teal-light), #fff); padding: 36px 0 40px; }
.page-hero h1 { font-size: 1.85rem; line-height: 1.4; margin-bottom: 10px; }
.page-hero h1 span { color: var(--teal); }
.page-hero p.lead { color: var(--gray); max-width: 780px; }

/* Footer */
footer.site {
  background: var(--ink); color: #cfd8e0; padding: 46px 0 24px; font-size: 0.9rem;
}
footer.site h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
footer.site a { color: #cfd8e0; }
footer.site a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-areas { margin-bottom: 16px; text-align: center; font-size: 0.82rem; color: #8fa1b3; }
.footer-areas a { color: #8fa1b3; }
.footer-areas a:hover { color: #fff; }
.copyright { border-top: 1px solid #35455a; padding-top: 18px; text-align: center; font-size: 0.8rem; color: #8fa1b3; }

/* Infographic images */
.info-img {
  display: block; max-width: 640px; width: 100%; margin: 26px auto 0;
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef4f5;
}

/* Scroll reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Blog */
.post-meta { color: var(--gray); font-size: 0.85rem; margin-bottom: 18px; }
article.post { max-width: 760px; margin: 0 auto; }
article.post h1 { font-size: 1.7rem; line-height: 1.4; }
article.post h2 { font-size: 1.25rem; margin: 30px 0 10px; color: var(--teal-dark); }
article.post p, article.post li { color: #33424f; margin-bottom: 12px; }
article.post ul { padding-left: 24px; margin-bottom: 14px; }
article.post .post-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 18px 0; }
.card .thumb { width: calc(100% + 44px); margin: -26px -22px 16px; border-radius: var(--radius) var(--radius) 0 0; }

/* Interactive quiz */
.quiz-box {
  background: #fff; border: 1px solid #eef4f5; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 24px; max-width: 620px; margin: 0 auto;
}
.quiz-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.quiz-progress span { height: 6px; flex: 1; border-radius: 3px; background: #e3efef; }
.quiz-progress span.on { background: var(--teal); }
.quiz-q { font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opts button {
  text-align: left; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #dcebeb; background: #fff;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.quiz-opts button:hover { border-color: var(--teal); background: var(--teal-light); }
.quiz-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.tag-good { background: #e5f8ee; color: #0a7a46; }
.tag-warn { background: #fff4e0; color: #9a6200; }
.tag-info { background: var(--teal-light); color: var(--teal-dark); }
.quiz-result h3 { margin-bottom: 8px; font-size: 1.15rem; }
.quiz-result p, .quiz-result li { color: var(--gray); font-size: 0.93rem; }
.quiz-result ul { padding-left: 20px; margin: 10px 0 14px; }
.quiz-note { font-size: 0.78rem; color: #98a7b5; margin-top: 14px; }
.quiz-restart { background: none; border: none; color: var(--gray); text-decoration: underline; cursor: pointer; margin-top: 12px; font-family: inherit; font-size: 0.85rem; }

/* Interactive package picker */
.pick-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.pick-row button {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid #dcebeb;
  background: #fff; font-family: inherit; font-size: 0.92rem; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: all .15s;
}
.pick-row button.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.pkg { transition: transform .2s, box-shadow .2s; border: 2px solid transparent; }
.pkg.hl { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,150,152,.18); }
.pkg .price-big { font-size: 1.5rem; font-weight: 700; color: var(--teal-dark); margin: 6px 0 2px; }
.pkg .price-big s { color: #aaa; font-weight: 400; font-size: 0.95rem; margin-left: 6px; }
.pkg .why { display: none; background: var(--teal-light); color: var(--teal-dark); border-radius: 10px; padding: 10px 12px; font-size: 0.85rem; margin-top: 12px; }
.pkg.hl .why { display: block; }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--teal); border-radius: 999px; overflow: hidden;
  font-size: 0.82rem; line-height: 1;
}
.lang-switch a, .lang-switch .active { padding: 7px 12px; font-weight: 600; }
.lang-switch a { color: var(--teal); }
.lang-switch a:hover { background: var(--teal-light); }
.lang-switch .active { background: var(--teal); color: #fff; }

/* Sticky mobile call bar */
.callbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  grid-template-columns: 1fr 1fr;
}
.callbar a {
  padding: 14px 0; text-align: center; font-weight: 700; color: #fff; font-size: 0.95rem;
}
.callbar .call { background: var(--teal); }
.callbar .line { background: #06c755; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .contact-grid, .grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  nav.menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 13px 6px; border-bottom: 1px solid #eef4f5; font-size: 1rem; }
  nav.menu a:last-of-type { border-bottom: none; }
  nav.menu a.cta { margin-top: 12px; text-align: center; border-bottom: none; padding: 12px 16px; }
  nav.menu .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  .callbar { display: grid; }
  body { padding-bottom: 52px; }
  .hero h1 { font-size: 1.6rem; }
}

/* Small phones */
@media (max-width: 600px) {
  section { padding: 36px 0; }
  .hero { padding: 40px 0 34px; }
  .hero h1 { font-size: 1.45rem; }
  .page-hero h1 { font-size: 1.4rem; }
  .section-head h2 { font-size: 1.35rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .grid.cols-4 { grid-template-columns: 1fr; }
  .card { padding: 20px 18px; }
  table.price th, table.price td { padding: 10px 12px; font-size: 0.88rem; }
  .promo { padding: 26px 18px; }
  .promo .price-tag { font-size: 1.8rem; }
  .map-wrap iframe { height: 260px; }
  .topbar .container { justify-content: center; text-align: center; }
}
