:root {
  --color-bg: #f7faf9;
  --color-surface: #ffffff;
  --color-text: #16302c;
  --color-text-muted: #52706b;
  --color-primary: #0f9b8e;
  --color-primary-dark: #0b7a70;
  --color-primary-light: #e3f6f3;
  --color-accent: #ff8a5c;
  --color-border: #e1ece9;
  --shadow-sm: 0 2px 8px rgba(15, 41, 37, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 41, 37, 0.10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0e1613;
    --color-surface: #15211d;
    --color-text: #eaf3f0;
    --color-text-muted: #9fb7b0;
    --color-primary: #2ec4b6;
    --color-primary-dark: #21a99d;
    --color-primary-light: #163530;
    --color-accent: #ff9d73;
    --color-border: #223530;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  --color-bg: #0e1613;
  --color-surface: #15211d;
  --color-text: #eaf3f0;
  --color-text-muted: #9fb7b0;
  --color-primary: #2ec4b6;
  --color-primary-dark: #21a99d;
  --color-primary-light: #163530;
  --color-accent: #ff9d73;
  --color-border: #223530;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-text strong { font-family: var(--font-heading); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--color-text); }
p { margin: 0 0 1em; color: var(--color-text-muted); }
a { color: var(--color-primary-dark); }
img, svg { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: .75rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .85rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-text); }
.brand-mark { color: var(--color-primary); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.22rem; letter-spacing: .2px; }
.brand-text small { color: var(--color-text-muted); font-size: .8rem; letter-spacing: .4px; text-transform: uppercase; }

.main-nav { display: flex; gap: 1.2rem; flex-wrap: nowrap; }
.main-nav a { color: var(--color-text); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.main-nav a:hover { color: var(--color-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.tel-link { display: flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .9rem; }
.tel-link svg { color: var(--color-primary); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--color-text); }

/* Hero */
.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
.eyebrow {
  display: inline-block; color: var(--color-primary-dark); font-weight: 700;
  font-size: .8rem; letter-spacing: .8px; text-transform: uppercase; margin-bottom: .8rem;
}
.eyebrow.center { display: block; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
.accent { color: var(--color-primary); }
.hero-sub { font-size: 1.08rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 2.2rem; }
.hero-trust { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-text); }
.hero-trust span { font-size: .8rem; color: var(--color-text-muted); }

.hero-art { position: relative; }
.tooth-illustration { width: 100%; height: auto; }
.blob { fill: var(--color-primary-light); }
.tooth { fill: var(--color-surface); stroke: var(--color-primary); stroke-width: 3; filter: drop-shadow(0 10px 20px rgba(15,155,142,.18)); }
.sparkle { fill: var(--color-accent); opacity: .85; }
.sparkle-sm { opacity: .6; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.section-title.center { text-align: center; }
.section-sub { max-width: 60ch; }
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 1.5rem; }
.services-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--color-primary-light); font-size: 1.4rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.service-card p { font-size: .92rem; margin: 0; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--color-text); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary);
  color: #fff; font-size: .75rem; display: flex; align-items: center; justify-content: center;
}

.cross-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.cross-list li { position: relative; padding-left: 1.8rem; color: var(--color-text); font-weight: 500; }
.cross-list li::before {
  content: "✕"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; background: #e05a4e;
  color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center;
}

.fmr-subhead { text-align: center; font-size: 1.2rem; margin: 2.5rem 0 0; }
.fmr-grid { margin-top: 1.5rem; }
.fmr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.fmr-compare-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.fmr-cta { text-align: center; margin-top: 3rem; }
.fmr-cta p { font-weight: 600; color: var(--color-text); font-size: 1.05rem; margin-bottom: 1.2rem; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.4rem; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-num { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--color-primary-dark); }
.stat-label { font-size: .82rem; color: var(--color-text-muted); }

/* About */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Gallery */
.gallery-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.gallery-item {
  margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 190px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: .7rem .9rem; font-size: .85rem; font-weight: 600; color: var(--color-text-muted); }

/* Reviews */
.review-summary {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.review-score { display: flex; flex-direction: column; gap: .2rem; }
.review-num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--color-primary-dark); line-height: 1; }
.review-stars { color: var(--color-accent); font-size: 1.2rem; letter-spacing: 2px; }
.review-count { font-size: .85rem; color: var(--color-text-muted); }
.review-cta { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; max-width: 40ch; }
.review-cta p { margin: 0; }

.review-quote { margin: 1.5rem 0 0; max-width: 60ch; }
.review-quote-stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: .6rem; }
.review-quote p { color: var(--color-text); font-size: 1.02rem; font-style: italic; margin: 0 0 .8rem; }
.review-quote cite { font-style: normal; font-weight: 700; color: var(--color-text-muted); font-size: .85rem; }
.review-quote cite span { font-weight: 500; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-icon { font-size: 1.2rem; }
.info-list strong { color: var(--color-text); }
.info-list a { text-decoration: none; }

.social-row { display: flex; gap: .7rem; margin-top: 1.6rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary-light); color: var(--color-primary-dark);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.social-link:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.footer-social { margin: 0; }
.footer-social .social-link { background: rgba(255,255,255,.08); color: #cfe5e0; }
.footer-social .social-link:hover { background: var(--color-primary); color: #fff; }

.map-embed {
  margin-top: 2.5rem; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

.map-card {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-surface);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--color-text);
  transition: box-shadow .15s ease, transform .15s ease;
}
.map-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.map-card-icon { font-size: 1.6rem; }
.map-card-text { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.map-card-text strong { color: var(--color-text); font-size: .98rem; }
.map-card-text span { font-size: .85rem; color: var(--color-text-muted); }
.map-card-arrow { font-size: 1.3rem; color: var(--color-primary-dark); }

.contact-form h3 { margin-bottom: 1.2rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: .7rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: var(--color-bg);
  color: var(--color-text); font-family: inherit; font-size: .95rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-note { min-height: 1.4em; margin: .8rem 0 0; font-size: .88rem; color: var(--color-primary-dark); font-weight: 600; }

.form-actions { display: flex; flex-direction: column; gap: .8rem; }

/* Footer */
.site-footer { background: #0f2420; color: #cfe5e0; padding: 2.6rem 0 1.6rem; }
.site-footer p, .site-footer a { color: #a9c9c2; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand strong { color: #fff; display: block; }
.footer-brand p { margin: 0; font-size: .85rem; }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { text-align: center; font-size: .8rem; margin: 1.4rem 0 0; color: #7fa39c; }

/* Floating action buttons */
.fab-stack {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  display: flex; flex-direction: column; gap: .8rem; align-items: center;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); text-decoration: none;
}
.fab:hover { background: var(--color-primary-dark); }
.fab-whatsapp { background: #25d366; }
.fab-whatsapp:hover { background: #1ebe5a; }

.fab-instagram, .fab-facebook, .fab-justdial {
  width: 42px; height: 42px;
}
.fab-instagram { background: #c1327a; }
.fab-instagram:hover { background: #a52768; }
.fab-facebook { background: #1877f2; }
.fab-facebook:hover { background: #1461cc; }
.fab-justdial { background: #da291c; }
.fab-justdial:hover { background: #b82217; }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 960px) {
  .hero-inner, .why-grid, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-height: 320px; }
}
@media (max-width: 560px) {
  .header-actions .tel-link { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .hero-trust { gap: 1.2rem; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: 1fr; }
  .review-summary { flex-direction: column; align-items: flex-start; }
  .fmr-compare { grid-template-columns: 1fr; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; background: var(--color-surface); padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md);
}
