/* Lotus Mobile Dental Hygiene */
:root {
  --teal-900: #123b39;
  --teal-700: #1f5652;
  --teal-500: #2f7a73;
  --teal-100: #e3efec;
  --lotus-500: #7c5cbf;
  --lotus-400: #a48cdb;
  --lotus-100: #f0ebfa;
  --cream: #fbf7f2;
  --sand: #f3ebe1;
  --ink: #1d2a29;
  --muted: #5b6b69;
  --line: #e4dcd2;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 59, 57, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 59, 57, 0.14);
  --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--lotus-500); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--teal-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lotus-500);
  margin-bottom: 0.8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal-900); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lotus-500); color: #fff; box-shadow: 0 8px 20px rgba(124, 92, 191, 0.3); }
.btn-primary:hover { background: #6a4aad; color: #fff; }
.btn-dark { background: var(--teal-900); color: #fff; }
.btn-dark:hover { background: var(--teal-700); color: #fff; }
.btn-outline { border-color: var(--teal-900); color: var(--teal-900); background: transparent; }
.btn-outline:hover { background: var(--teal-900); color: #fff; }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { background: var(--lotus-100); color: var(--teal-900); }

/* Top bar */
.topbar {
  background: var(--teal-900);
  color: #d8e8e5;
  font-size: 0.88rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--lotus-400); }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); }
.brand svg { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--teal-900); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lotus-500); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 8px 14px; border-radius: 999px; font-size: 0.97rem;
}
.nav a:hover { background: var(--teal-100); color: var(--teal-900); }
.nav a[aria-current="page"] { color: var(--teal-900); background: var(--teal-100); font-weight: 700; }
.nav .btn { margin-left: 10px; padding: 11px 22px; }
.nav .btn:hover { background: #6a4aad; color: #fff; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--teal-900);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 14px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform 0.25s ease;
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 90px;
  background:
    radial-gradient(circle at 85% 20%, var(--lotus-100) 0, transparent 45%),
    radial-gradient(circle at 10% 90%, var(--teal-100) 0, transparent 40%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--lotus-500); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--teal-500); flex: none; }
.hero-art {
  position: relative;
  background: linear-gradient(160deg, #fff 0%, var(--sand) 100%);
  border-radius: 32px;
  padding: 36px 24px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-art .float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 0.88rem; display: flex; gap: 10px; align-items: center;
}
.hero-art .float-card strong { display: block; color: var(--teal-900); font-size: 0.95rem; }
.hero-art .float-card .dot {
  width: 38px; height: 38px; border-radius: 50%; background: var(--lotus-100);
  display: grid; place-items: center; color: var(--lotus-500); flex: none;
}
.hero-art .float-card .dot svg { width: 20px; height: 20px; }
.float-1 { top: -18px; left: -18px; }
.float-2 { bottom: -20px; right: -14px; }
@media (max-width: 960px) {
  .hero { padding: 48px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .float-1 { left: 8px; }
  .float-2 { right: 8px; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 90% 10%, var(--lotus-100) 0, transparent 40%),
    var(--sand);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Sections */
section { padding: 90px 0; }
.section-sand { background: var(--sand); }
.section-white { background: #fff; }
.section-dark { background: var(--teal-900); color: #d8e8e5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #b9d2ce; }
.section-head { margin-bottom: 48px; }
@media (max-width: 700px) { section { padding: 64px 0; } }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--lotus-100); color: var(--lotus-500);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon.teal { background: var(--teal-100); color: var(--teal-700); }
.card .icon svg { width: 26px; height: 26px; }
.card-link { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 700; text-decoration: none; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}
.visual-panel {
  background: linear-gradient(160deg, var(--teal-100), #fff);
  border-radius: 28px; padding: 36px; box-shadow: var(--shadow);
}

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--teal-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5652' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.section-dark .checklist li::before { background-color: rgba(255,255,255,0.12); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lotus-500); color: #fff; font-family: var(--serif); font-size: 1.4rem;
  display: grid; place-items: center;
}
.step p { color: var(--muted); }
.section-dark .step p { color: #b9d2ce; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Who we visit */
.pill-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
}
.pill-card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.pill-card .icon svg { width: 24px; height: 24px; }
.pill-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.pill-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: #fff; font-weight: 500; }
.stat span { font-size: 0.95rem; color: #b9d2ce; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* Testimonials */
.quote {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.quote .stars { color: #e3a93b; letter-spacing: 3px; }
.quote p { margin: 0; font-size: 1.02rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--teal-900); font-size: 0.95rem; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
  border-radius: 32px; padding: 60px; color: #d8e8e5;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .lotus-bg { position: absolute; right: -60px; bottom: -80px; width: 320px; opacity: 0.08; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-band .actions { justify-content: flex-start; }
}

/* Service detail */
.service-detail {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon {
  width: 72px; height: 72px; border-radius: 20px; background: var(--lotus-100); color: var(--lotus-500);
  display: grid; place-items: center;
}
.service-detail .icon svg { width: 34px; height: 34px; }
.service-detail p { color: var(--muted); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--teal-100); color: var(--teal-700);
}
@media (max-width: 560px) { .service-detail { grid-template-columns: 1fr; gap: 14px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; padding: 0 24px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--teal-900);
  display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lotus-500); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq-group-title { margin: 48px 0 18px; font-size: 1.5rem; }
.faq-group-title:first-child { margin-top: 0; }

/* Forms */
.form-card {
  background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: var(--teal-900); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; background: var(--cream); color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--teal-900); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  cursor: pointer; font-size: 0.94rem; background: var(--cream); transition: all 0.15s ease;
}
.choice input:checked + span { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
.choice input:focus-visible + span { outline: 3px solid var(--lotus-400); outline-offset: 2px; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); display: none; font-weight: 600; }
.form-status.ok { display: block; background: var(--teal-100); color: var(--teal-900); }
.form-status.err { display: block; background: var(--lotus-100); color: #4b2e83; }
.hp { position: absolute; left: -9999px; }

/* Info blocks */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lotus-100); color: var(--lotus-500); display: grid; place-items: center; flex: none; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: var(--teal-900); }
.info-list span, .info-list a { color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--teal-900); }

/* Notice */
.notice {
  background: var(--lotus-100); border-left: 4px solid var(--lotus-500);
  padding: 18px 22px; border-radius: var(--radius-sm); color: #3f2a6b; font-size: 0.97rem;
}

/* Footer */
.site-footer { background: var(--teal-900); color: #b9d2ce; padding: 70px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: #d8e8e5; text-decoration: none; }
.site-footer a:hover { color: var(--lotus-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); padding: 10px 14px;
  gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 0.95rem; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.split-book { grid-template-columns: 1.5fr 1fr; }
.split-book > * { min-width: 0; }
@media (max-width: 900px) { .split-book { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sticky-md { position: static !important; } }
.nav a.btn-primary, .nav a.btn-primary[aria-current="page"] { color: #fff; background: var(--lotus-500); }
