/* ── Service page shared styles ── */

/* Nav override — always scrolled on inner pages */
.nav { background: var(--white) !important; box-shadow: 0 1px 0 var(--rule); }
.nav .brand { color: var(--ink); }
.nav .nav__link { color: var(--ink-2); }
.nav__cta .btn--ghost { border-color: var(--rule); color: var(--ink-2); }

/* Replace tooth SVG mark with clinic logo */
.nav .mark {
  width: 38px; height: 38px;
  border-radius: 8px; overflow: hidden;
  background: url('../assets/logo.png') center/cover no-repeat;
  flex-shrink: 0;
}
.nav .mark svg { display: none; }

/* Mobile nav for service pages */
.nav__hamburger-svc {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: 6px;
}
.nav__hamburger-svc span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.nav__hamburger-svc.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger-svc.open span:nth-child(2) { opacity: 0; }
.nav__hamburger-svc.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-svc {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  z-index: 150;
  flex-direction: column;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.15);
  padding: 8px 0 20px;
  animation: slideDown 0.25s ease;
}
.mobile-menu-svc.open { display: flex; }
.mobile-menu-svc a {
  padding: 14px 24px;
  font-size: 1rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu-svc a:hover { background: var(--bg-mint); color: var(--teal); }
.mobile-menu-svc .mobile-ctas {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 24px 0;
}
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__hamburger-svc { display: flex; }
  .nav { position: relative; }
  .nav__hamburger-svc { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  .nav__cta .btn--primary { padding: 10px 14px; font-size: 0.85rem; }
  .nav__cta .btn--ghost { display: none; }
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--ink-3);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 6px; opacity: 0.4; }

/* Service Hero */
.svc-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 64px;
}
.svc-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,49,61,0.92) 0%, rgba(7,49,61,0.4) 60%, transparent 100%);
}
.svc-hero__content {
  position: relative;
  z-index: 2;
  padding: 56px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.svc-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  margin-bottom: 20px;
}
.svc-hero__tag .dot { width: 6px; height: 6px; background: var(--aqua); border-radius: 50%; }
.svc-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.svc-hero h1 em { font-style: italic; color: var(--aqua-2); }
.svc-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.svc-hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.svc-hero__stat {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--r);
  padding: 14px 22px;
}
.svc-hero__stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.svc-hero__stat span { font-size: 0.75rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.05em; }

/* Page body layout */
.svc-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.svc-main { min-width: 0; }
.svc-sidebar { position: sticky; top: 80px; }

/* Sticky booking card */
.book-card-sticky {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.book-card-sticky h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 6px;
}
.book-card-sticky p { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 20px; line-height: 1.6; }
.book-card-sticky .bcs-field {
  margin-bottom: 12px;
}
.book-card-sticky .bcs-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.book-card-sticky .bcs-field input,
.book-card-sticky .bcs-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r);
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.book-card-sticky .bcs-field input:focus,
.book-card-sticky .bcs-field select:focus { border-color: var(--teal); }
.book-card-sticky .btn-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 14px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 16px;
  text-decoration: none;
}
.book-card-sticky .btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }
.book-card-sticky .bcs-divider { text-align: center; font-size: 0.75rem; color: var(--ink-3); margin: 14px 0; }
.book-card-sticky .bcs-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r);
  padding: 12px;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.book-card-sticky .bcs-call:hover { border-color: var(--teal); background: var(--bg-mint); }
.book-card-sticky .bcs-hours {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.6;
}

/* Content sections */
.svc-section { margin-bottom: 56px; }
.svc-section h2 {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mint-soft);
}
.svc-section p { color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; font-size: 0.975rem; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px; top: 48px; bottom: 0;
  width: 2px;
  background: var(--mint-soft);
}
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__body h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; margin-top: 10px; }
.step__body p { font-size: 0.875rem; color: var(--ink-3); margin: 0; }

/* Benefits grid */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r);
  padding: 16px;
}
.benefit__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--mint-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.benefit h5 { font-size: 0.875rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.benefit p { font-size: 0.8rem; color: var(--ink-3); margin: 0; line-height: 1.5; }

/* Who is it for */
.for-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.for-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--ink-2); line-height: 1.6;
}
.for-list li::before {
  content: '✓';
  color: var(--aqua);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Why Balaji's */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.why-item {
  background: var(--teal);
  border-radius: var(--r);
  padding: 20px;
  color: var(--white);
}
.why-item h5 { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.why-item p { font-size: 0.8rem; color: rgba(255,255,255,0.88); margin: 0; line-height: 1.5; }

/* FAQ */
.faq-list { margin-top: 20px; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg); }
.faq-item[open] summary { background: var(--bg-mint); color: var(--teal); }
.faq-item summary::after { content: '+'; font-size: 1.2rem; font-weight: 300; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 4px 20px 20px; font-size: 0.9rem; color: var(--ink-3); line-height: 1.75; }

/* Other services */
.other-services {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.other-services h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 20px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.other-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.other-card:hover { border-color: var(--teal); background: var(--bg-mint); transform: translateY(-2px); }
.other-card span { font-size: 0.75rem; color: var(--ink-3); font-weight: 400; }

/* CTA band (service page) */
.svc-cta {
  background: var(--teal-deep);
  padding: 64px var(--gutter);
  text-align: center;
}
.svc-cta h2 {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}
.svc-cta p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 32px; }
.svc-cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.svc-cta .btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35) !important;
  color: #fff !important;
}
.svc-cta .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6) !important;
}

/* Simple footer */
.svc-foot {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 24px var(--gutter);
  font-size: 0.8rem;
}
.svc-foot a { color: rgba(255,255,255,0.7); text-decoration: none; }
.svc-foot a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .svc-body { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
  .other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .svc-hero { min-height: 380px; margin-top: 56px; }
  .svc-hero__content { padding: 32px 20px; }
  .svc-hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .svc-hero__sub { font-size: 0.95rem; }
  .svc-hero__stats { gap: 8px; }
  .svc-hero__stat { padding: 10px 14px; }
  .svc-hero__stat strong { font-size: 1.2rem; }
  .svc-body { padding: 32px 20px 60px; gap: 32px; }
  .svc-section h2 { font-size: 1.5rem; }
  .benefits { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item p { color: rgba(255,255,255,0.88); }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .book-card-sticky { padding: 20px; }
  .breadcrumb { margin-top: 56px !important; }
  /* Prevent iOS font zoom on inputs */
  .bcs-field input,
  .bcs-field select { font-size: 16px !important; }
  .svc-cta { padding: 48px 20px; }
  .svc-cta h2 { font-size: 1.7rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 480px) {
  .svc-hero { min-height: 320px; }
  .svc-hero__stats { flex-wrap: wrap; }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .steps { gap: 0; }
}
