/* ==========================================================================
   ICONIC Dental & Aesthetics
   Shanthi Colony, Anna Nagar, Chennai 600 040
   Dr. Raguraam A Ramesh, BDS, FCE, MFM, MS (Reg No 36336)
   ========================================================================== */

:root {
  /* Brand gold */
  --gold-50: #fdfaf2;
  --gold-100: #f8f0d8;
  --gold-200: #efe0b3;
  --gold-400: #d1ad53;
  --gold-500: #bd973b;
  --gold-600: #9e7a25;
  --gold-700: #7d5e18;

  /* Surfaces and ink */
  --bg-ivory: #f6f5f2;
  --bg-pure: #ffffff;
  --bg-warm-card: #ecebe6;
  --ink-950: #161616;
  --ink-900: #1f1f1f;
  --ink-800: #2e2e2e;
  --ink-600: #575757;
  --ink-500: #737373;
  --ink-300: #d4d4d4;
  --border-subtle: rgba(22, 22, 22, 0.14);
  --border-light: rgba(22, 22, 22, 0.08);

  /* Functional */
  --whatsapp-green: #1fa855;
  --whatsapp-dark: #178a45;
  --trust-emerald: #161616;

  /* Elevation: two levels, nothing more */
  --shadow-sm: 0 1px 2px rgba(22, 22, 22, 0.06);
  --shadow-md: 0 2px 6px rgba(22, 22, 22, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* TASK 1 */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-800);
  background-color: var(--bg-ivory);
  overflow-x: hidden;
  padding-bottom: 76px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* --------------------------------------------------------------------------
   Top strips
   -------------------------------------------------------------------------- */
.mobile-location-strip {
  background: var(--ink-950);
  color: #f5f5f5;
  font-size: 0.78rem;
  padding: 8px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-location-strip strong {
  color: #f5f5f5;
  font-weight: 600;
}

.top-utility-bar {
  display: none;
  background: var(--ink-950);
  color: #d4d4d4;
  font-size: 0.82rem;
  padding: 10px 0;
}

@media (min-width: 992px) {
  .mobile-location-strip {
    display: none;
  }
  .top-utility-bar {
    display: block;
  }
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d4d4d4;
  font-size: 0.82rem;
}

.utility-item:hover {
  color: var(--gold-400);
}

.utility-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.social-pill:hover {
  color: var(--gold-400);
}

.status-badge-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a3a3a3;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.status-badge-open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .25s ease; /* TASK 14 */
}

.site-header.scrolled { /* TASK 14 */
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
  transition: min-height .25s ease; /* TASK 14 */
}

.site-header.scrolled .header-inner { /* TASK 14 */
  min-height: 60px;
}

@media (min-width: 992px) {
  .header-inner {
    min-height: 80px;
  }
  .site-header.scrolled .header-inner {
    min-height: 64px;
  }
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 46px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  position: relative; /* TASK 13 */
  padding: 9px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-800);
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
}

.nav-link::after { /* TASK 13 */
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1);
}

.nav-link:hover::after,
.nav-link.active::after { /* TASK 13 */
  transform: scaleX(1);
}

.nav-link:hover, .nav-link.active {
  color: var(--ink-950);
  background: var(--bg-warm-card);
}

.header-desktop-cta {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .header-desktop-cta {
    display: flex;
  }
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .mobile-header-actions {
    display: none;
  }
}

.mobile-header-book-btn {
  background: var(--gold-500);
  color: var(--ink-950);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.mobile-header-book-btn:active {
  transform: scale(0.96);
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--ink-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Mobile drawer
   -------------------------------------------------------------------------- */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 22, 0.5);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100dvh;
  background: var(--bg-pure);
  z-index: 1250;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 24px rgba(22, 22, 22, 0.15);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink-950);
}

.drawer-nav-list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav-btn {
  width: 100%;
  text-align: left;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-800);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.drawer-nav-btn:hover, .drawer-nav-btn.active {
  background: var(--bg-warm-card);
  color: var(--ink-950);
}

.drawer-contact-box {
  background: var(--ink-950);
  color: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; /* TASK 8 */
}

.btn:hover { /* TASK 8 */
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active { /* TASK 8 */
  transform: translateY(0) scale(.98);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--ink-950);
}

.btn-gold:hover {
  background: var(--gold-600);
  color: #ffffff;
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-dark {
  background: var(--ink-950);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--ink-800);
}

.btn-outline {
  background: transparent;
  color: var(--ink-950);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--ink-950);
  background: transparent;
}

.btn-block-mobile {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-block-mobile {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 48px 0 56px;
  background: var(--bg-ivory);
}

@media (min-width: 992px) {
  .hero-section {
    padding: 80px 0 88px;
  }
}

.hero-grid {
  display: block;
  max-width: 880px;
  margin: 0 auto;
}

.trust-pill-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ink-600);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.trust-stars {
  color: var(--gold-600);
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.14;
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 15ch;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-600);
  margin-bottom: 32px;
  max-width: 52ch;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-micro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .hero-micro-features {
    grid-template-columns: repeat(3, auto);
    gap: 24px;
    justify-content: start;
  }
}

.micro-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-600);
}

.micro-check {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-visual-card {
  margin-top: 48px;
  padding-top: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .hero-main-img {
    height: 460px;
  }
}

.hero-floating-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid var(--border-light);
  background: transparent;
  border-radius: 0;
  color: var(--ink-800);
}

.floating-doc-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-950);
  margin-bottom: 2px;
}

.floating-doc-info p {
  font-size: 0.84rem;
  color: var(--ink-600);
}

.reg-pill {
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 64px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 96px 0;
  }
}

.section + .section {
  border-top: 1px solid var(--border-light);
}

.section-dark {
  background: var(--ink-950);
  color: #ffffff;
  border-top: none;
}

.section-pure {
  background: var(--bg-pure);
}

.section-header {
  max-width: 640px;
  margin: 0 0 40px;
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-600);
  max-width: 56ch;
}

.section-dark .section-desc {
  color: #a3a3a3;
}

/* --------------------------------------------------------------------------
   Cleaning spotlight
   -------------------------------------------------------------------------- */
.cleaning-spotlight-card {
  background: var(--ink-950);
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
  padding: 28px 22px;
}

@media (min-width: 768px) {
  .cleaning-spotlight-card {
    padding: 48px;
  }
}

.cleaning-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .cleaning-spotlight-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.cleaning-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #a3a3a3;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cleaning-popular-tag,
.cleaning-time-tag {
  background: transparent;
  color: #a3a3a3;
  border: none;
  padding: 0;
  font-weight: 500;
  font-size: 0.78rem;
}

.cleaning-popular-tag::after {
  content: ' ·';
  color: #575757;
  margin-left: 14px;
}

.cleaning-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 20ch;
}

.cleaning-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0 28px;
}

@media (min-width: 640px) {
  .cleaning-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cleaning-check-item {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 0 0 14px;
  display: block;
}

.cleaning-check-item strong {
  display: block;
  color: #252323;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cleaning-check-item span {
  font-size: 0.82rem;
  color: #a3a3a3;
  line-height: 1.5;
}

.cleaning-selector-box {
  background: #ffffff;
  color: var(--ink-900);
  padding: 26px 22px;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.cleaning-selector-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-950);
  margin-bottom: 6px;
}

.cleaning-tier-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 18px 0 20px;
}

.cleaning-tier-btn {
  width: 100%;
  text-align: left;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s ease; /* TASK 20 */
}

.cleaning-tier-btn:last-child {
  border-bottom: 1px solid var(--border-light);
}

.cleaning-tier-btn.active {
  background: transparent;
}

.cleaning-tier-btn.active .tier-name {
  color: var(--gold-700);
}

.cleaning-tier-btn.active .tier-name::after {
  content: ' ✓';
  color: var(--gold-600);
  font-size: 0.82rem;
  margin-left: 4px;
}

.tier-name {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-950);
  display: block;
  margin-bottom: 2px;
}

.tier-sub {
  font-size: 0.82rem;
  color: var(--ink-600);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-light);
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.cat-tab {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--ink-600);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 40px;
}

.cat-tab.active, .cat-tab:hover {
  background: var(--bg-warm-card);
  color: var(--ink-950);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  transition: opacity .15s ease; /* TASK 15 */
}

.service-card {
  background: transparent;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border-light);
  overflow: visible;
  box-shadow: none;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  transition: background-color .25s ease; /* TASK 9 */
}

.service-card:last-child {
  border-bottom: 1px solid var(--border-light);
}

.service-card:hover { /* TASK 9 */
  background: rgba(255, 255, 255, .6);
}

.service-card.featured-service {
  border: none;
  border-top: 1px solid var(--border-light);
  background: transparent;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  padding: 28px 0;
}

.service-img-wrap {
  position: relative;
  height: 88px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-warm-card);
}

.service-card.featured-service .service-img-wrap {
  height: 120px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1); /* TASK 9 */
}

.service-card:hover .service-img-wrap img { /* TASK 9 */
  transform: scale(1.06);
}

.service-body {
  padding: 0;
  flex: 1;
  display: block;
  gap: 0;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.55;
  max-width: 60ch;
}

.service-meta-list {
  display: none;
}

.service-card-footer {
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
}

.service-book-btn {
  width: auto;
  min-height: auto;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-950);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--ink-950);
}

.service-book-btn:hover {
  background: transparent;
  color: var(--gold-700);
  border-color: var(--gold-700);
}

@media (max-width: 640px) {
  .service-card {
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 18px 0;
    align-items: flex-start;
  }

  .service-card.featured-service {
    grid-template-columns: 80px 1fr;
  }

  .service-card-footer {
    grid-column: 2;
    margin-top: 8px;
  }
}

/* --------------------------------------------------------------------------
   Doctor
   -------------------------------------------------------------------------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .doctor-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

.doctor-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  background: var(--ink-950);
}

.doctor-photo-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 20%;
}

.doctor-credential-banner {
  background: var(--ink-950);
  color: #ffffff;
  padding: 16px 20px;
  border-top: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.doctor-credential-banner strong {
  font-family: var(--font-display);
  font-weight: 600;
}

.cred-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--border-light);
}

.cred-box {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 16px 16px 0;
  border-radius: 0;
}

.cred-box strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-950);
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.cred-box span {
  font-size: 0.82rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Trust section
   -------------------------------------------------------------------------- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .stats-banner {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.stat-card {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: #a3a3a3;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 48px;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0 0;
  border-radius: 0;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.88rem;
  color: #a3a3a3;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Before and after
   -------------------------------------------------------------------------- */
.ba-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.ba-stage {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  background: var(--ink-950);
}

@media (min-width: 640px) {
  .ba-stage {
    height: 460px;
  }
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #ffffff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink-950);
  border: none;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.ba-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 10;
  pointer-events: none;
}

.ba-label-before {
  left: 16px;
  background: rgba(22, 22, 22, 0.75);
  color: #ffffff;
}

.ba-label-after {
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-950);
}

.ba-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.review-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-light);
  padding: 24px 0 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.review-stars {
  color: var(--gold-600);
  font-size: 0.85rem;
  letter-spacing: 3px;
}

.review-quote {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-800);
  font-weight: 400;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 0;
  border-top: none;
}

.reviewer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-warm-card);
  color: var(--ink-800);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviewer-meta strong {
  font-size: 0.88rem !important;
  color: var(--ink-800) !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background: var(--bg-warm-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(22, 22, 22, 0.85);
  color: #ffffff;
  padding: 14px 16px;
}

.gallery-caption strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.gallery-caption span {
  font-size: 0.78rem;
  color: #a3a3a3;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  overflow: visible;
}

.faq-question {
  width: 100%;
  padding: 22px 0;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-answer {
  display: grid; /* TASK 10 */
  grid-template-rows: 0fr; /* TASK 10 */
  padding: 0;
  font-size: 0.95rem;
  color: var(--ink-600);
  max-width: 68ch;
  line-height: 1.6;
  transition: grid-template-rows .35s cubic-bezier(.16, 1, .3, 1); /* TASK 10 */
}

.faq-answer > * { /* TASK 10 */
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--border-light);
}

.faq-item.open .faq-answer { /* TASK 10 */
  grid-template-rows: 1fr;
  padding: 0 0 22px;
}

.faq-icon { /* TASK 10 */
  display: inline-block;
  transition: transform .3s ease;
}

.faq-item.open .faq-icon { /* TASK 10 */
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Booking and location
   -------------------------------------------------------------------------- */
.booking-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 992px) {
  .booking-location-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
  }
}

.booking-form-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.location-info-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  border-left: 1px solid var(--border-light);
  padding-left: 40px;
}

@media (max-width: 991px) {
  .location-info-card {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
  }
}

.booking-form-card h2,
.location-info-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-800);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input, .form-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-pure);
  color: var(--ink-950);
  font-size: 1rem;
  transition: border-color 0.16s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--ink-950);
  background: var(--bg-pure);
  box-shadow: none;
}

/* TASK 3: keyboard focus wins over the mouse-focus state above */
.form-input:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
}

.form-error { /* TASK 2 */
  color: #b42318;
  font-size: 0.86rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.phone-input-wrap {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  background: var(--bg-warm-card);
  border: 1px solid var(--border-subtle);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-800);
}

.phone-input-wrap .form-input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.treatment-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.treatment-chip {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--ink-800);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease; /* TASK 20 */
}

.treatment-chip.selected {
  background: var(--ink-950);
  color: #ffffff;
  border-color: var(--ink-950);
}

.slot-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.slot-pill {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  color: var(--ink-800);
  line-height: 1.3;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease; /* TASK 20 */
}

.slot-pill.selected {
  background: var(--bg-warm-card);
  border-color: var(--ink-950);
  color: var(--ink-950);
}

.contact-method-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--border-light);
}

.contact-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
}

.contact-action-row:hover {
  border-color: var(--border-light);
  background: transparent;
}

.contact-action-row span:last-child {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--ink-600) !important;
}

.map-embed-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  height: 260px;
  margin-top: 24px;
}

.map-embed-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4);
}

/* --------------------------------------------------------------------------
   Sticky mobile bar
   -------------------------------------------------------------------------- */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(22, 22, 22, 0.97);
  backdrop-filter: none;
  border-top: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
  .sticky-mobile-bar {
    display: none;
  }
}

.sticky-bar-btn {
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  text-align: center;
}

.sticky-bar-btn:active {
  transform: scale(0.96);
}

.sticky-call {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.sticky-wa {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.sticky-book {
  background: var(--gold-500);
  color: var(--ink-950);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: #a3a3a3;
  padding: 72px 0 40px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 48px;
  }
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #737373;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #737373;
}

/* ==========================================================================
   Motion, focus, and reveal
   Appended per WI-ICD-001
   ========================================================================== */

/* TASK 3 — Visible focus ring for keyboard users only.
   The :focus rules above handle mouse focus on form inputs.
   This rule adds the ring back for keyboard focus across the site. */
:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* TASK 6 — Scroll reveal.
   Elements with .reveal start hidden and slide up when .in is added by the
   IntersectionObserver in app.js. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1),
    transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* TASK 7 — Hero load stagger.
   Targets the current hero markup: .eyebrow, .statement, .lede,
   .hero-cta-group, .hero-credit. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.hero-section .eyebrow {
  animation: rise .6s cubic-bezier(.16, 1, .3, 1) .05s both;
}

.hero-section .statement {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .15s both;
}

.hero-section .lede {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .25s both;
}

.hero-section .hero-cta-group {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .35s both;
}

.hero-section .hero-credit {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) .45s both;
}

/* TASK 11 — Drawer link stagger.
   Each drawer-nav-btn carries an inline --i index from the HTML. */
.drawer-nav-btn {
  opacity: 0;
  transform: translateX(14px);
  transition:
    opacity .4s ease,
    transform .4s cubic-bezier(.16, 1, .3, 1),
    background-color .18s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}

.mobile-drawer.open .drawer-nav-btn {
  opacity: 1;
  transform: none;
}

/* TASK 19 — Eyebrow label above section titles.
   If system.css already defines .eyebrow, the later file wins.
   Remove this block if the system already owns it. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 16px;
}

.eyebrow .mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  flex-shrink: 0;
}

/* TASK 20 — Selection color */
::selection {
  background: var(--gold-200);
  color: var(--ink-950);
}

/* TASK 4 — Reduced motion.
   Kill animation and transition timing, restore reveals and stagger to
   their end states, and disable smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .drawer-nav-btn {
    opacity: 1;
    transform: none;
  }
}


.footer-credit-link {
  color: #ff7b43;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}

.footer-credit-link:hover {
  color: var(--gold-400);
  border-color: var(--gold-400);
}



/* ==========================================================================
   FORM SUBMISSION — additive block for the booking-form fix.
   Nothing above is modified; the user's 35 marked rules are untouched.
   ========================================================================== */

/* Submission status, announced with role="status". Sits under the buttons. */
.form-status {
  margin: 14px 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-600);
}

/* Small helper line under the date field. */
.form-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-600);
}

/* In-flight submit. .btn sets cursor:pointer and has no disabled state, so
   both are overridden explicitly. */
.btn[disabled],
.btn[disabled]:hover {
  cursor: not-allowed;
  opacity: 0.62;
}

.btn-gold[disabled],
.btn-gold[disabled]:hover {
  background: var(--gold-500);
  color: var(--ink-950);
}

.btn-whatsapp[disabled],
.btn-whatsapp[disabled]:hover {
  background: var(--whatsapp-green);
  color: #ffffff;
}

/* The outcome banner doubles as the failure state. The banner's success
   colours are inline styles, so !important is required to beat them. */
#bookingSuccessBanner.is-failed {
  background: #fdf3f2 !important;
  border-color: #b42318 !important;
}

#bookingSuccessBanner.is-failed #bookingSuccessHeading {
  color: #b42318;
}
