/* Smile & Shine — polished layout (Shiva-inspired) */
:root {
  --primary: #004a5e;
  --primary-deep: #003445;
  --primary-mid: #06627a;
  --cyan: #b9ecf8;
  --ink: #1d2a2e;
  --muted: #5f6d71;
  --line: #d7e2e6;
  --soft: #f3f7f8;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(0, 52, 69, 0.12);
  --radius: 14px;
  --font: "Poppins", "Segoe UI", sans-serif;
  --body: "Roboto", "Open Sans", "Segoe UI", sans-serif;
  --slab: "Roboto Slab", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 0% -5%, rgba(185, 236, 248, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 35% at 100% 20%, rgba(0, 74, 94, 0.06), transparent 45%),
    var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 74, 94, 0.16);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ——— Top bar ——— */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  text-align: center;
}

.topbar a:hover {
  color: var(--cyan);
}

.topbar-sep {
  opacity: 0.4;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(0, 52, 69, 0.06);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(0, 52, 69, 0.1);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.nav-open {
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  animation: logoFloat 3.6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-mid), var(--primary-deep));
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.site-nav,
.site-nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-nav-mobile {
  display: none;
}

.site-nav > a,
.site-nav-desktop > a,
.site-nav-mobile > a {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

.site-nav > a:not(.btn-header)::after,
.site-nav-desktop > a:not(.btn-header)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.site-nav > a:not(.btn-header):hover::after,
.site-nav > a.is-active:not(.btn-header)::after,
.site-nav-desktop > a:not(.btn-header):hover::after,
.site-nav-desktop > a.is-active:not(.btn-header)::after {
  width: 100%;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.site-nav-desktop > a:hover,
.site-nav-desktop > a.is-active,
.site-nav-mobile > a:hover,
.site-nav-mobile > a.is-active {
  color: var(--primary);
}

.site-nav > a.btn-header,
.site-nav-desktop > a.btn-header,
.site-nav-mobile > a.btn-header {
  color: #fff !important;
  padding: 10px 18px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  transition: 0.25s ease;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-header {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 74, 94, 0.25);
}

.btn-header:hover {
  background: var(--primary-deep) !important;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0, 74, 94, 0.22);
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-light {
  background: var(--cyan);
  color: var(--primary-deep) !important;
}

.btn-light:hover {
  background: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1200;
  flex-shrink: 0;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 620px;
  height: 78vh;
  max-height: 760px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--primary-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroZoom 14s ease forwards;
  will-change: transform;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 40, 52, 0.92) 0%,
    rgba(0, 74, 94, 0.72) 45%,
    rgba(0, 74, 94, 0.4) 100%
  );
}

.hero-glow {
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 55%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(185, 236, 248, 0.28), transparent 65%);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.55;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-14px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
  max-width: 600px;
}

.hero-brand {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cyan);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: var(--slab);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  max-width: 16ch;
}

.hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  z-index: 2;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: scrollDot 1.6s ease infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ——— Sections ——— */
.section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-family: var(--font);
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h3 {
  font-family: var(--font);
  font-size: 20px;
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Emergency */
.emergency-strip {
  background:
    linear-gradient(180deg, #eef6f8, var(--soft));
  border-bottom: 1px solid var(--line);
}

.emergency-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}

.emergency-card {
  flex: 1 1 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}

.emergency-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 74, 94, 0.08);
  color: var(--primary);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emergency-card h3 {
  font-size: 18px;
  color: var(--primary);
}

.emergency-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.priority-block {
  flex: 1 1 260px;
  padding: 8px 4px;
}

.priority-block h3 {
  font-family: var(--slab);
  font-size: 18px;
  color: var(--primary);
}

.priority-block .call-label {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}

.priority-block .call-number {
  display: inline-block;
  font-family: var(--font);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.priority-points {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.priority-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft, #3a524b);
}

.priority-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* Split */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.split-copy {
  flex: 1 1 380px;
}

.split-copy .slab {
  font-family: var(--slab);
  font-size: 30px;
  color: var(--primary);
  margin: 0 0 14px;
  font-weight: 600;
  line-height: 1.35;
}

.split-copy p {
  color: var(--muted);
}

.split-media {
  flex: 1 1 360px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 40%;
  height: 40%;
  border: 2px solid rgba(0, 74, 94, 0.22);
  border-radius: 18px;
  z-index: -1;
}

.split-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.split-media:hover img {
  transform: scale(1.05);
}

.split-float {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(0, 40, 52, 0.16);
  text-align: center;
  min-width: 110px;
}

.split-float strong {
  display: block;
  font-family: var(--font);
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
}

.split-float span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Why — Shiva-style icon cards */
.why {
  background: #f6f7f7;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: stretch;
}

.why-card {
  flex: 1 1 220px;
  min-height: 340px;
  background: #fff;
  border-radius: 32px;
  padding: 32px 26px 28px;
  box-shadow: 0 10px 30px rgba(29, 42, 46, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid transparent;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(29, 42, 46, 0.12);
  border-color: rgba(0, 74, 94, 0.1);
}

.why-card-top h3 {
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1d2a2e;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.why-card-top p {
  margin: 0;
  color: #6a7578;
  font-size: 15px;
  line-height: 1.65;
}

.why-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.why-card:hover .why-icon-img {
  transform: scale(1.08) rotate(-4deg);
}

/* CTA */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--primary-mid));
  color: #fff;
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 45%;
  background: radial-gradient(circle, rgba(185, 236, 248, 0.22), transparent 70%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(80%);
  }
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
}

.cta-band .eyebrow {
  color: var(--cyan);
}

/* Comfort */
.comfort-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.comfort-grid > div {
  flex: 1 1 360px;
}

.comfort-list {
  margin-top: 18px;
}

.comfort-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-weight: 500;
}

.comfort-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.comfort-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comfort-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 1s ease;
}

/* Services */
.services-section {
  background: var(--soft);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 calc(25% - 20px);
  min-width: 240px;
  max-width: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 52, 69, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 52, 69, 0.14);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card .body {
  padding: 18px 18px 22px;
}

.service-card .tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font);
}

.service-card h3 {
  margin-top: 6px;
  font-size: 18px;
}

.service-card .link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.service-card .link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.service-card .link:hover::after {
  width: 100%;
}

/* Doctor quote */
.doctor-quote {
  position: relative;
  color: #fff;
  padding: 100px 0;
  background: var(--primary-deep);
  overflow: hidden;
}

.doctor-quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.04);
}

.doctor-quote-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.doctor-quote-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.doctor-quote blockquote {
  margin: 0;
}

.doctor-quote p {
  font-family: var(--slab);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
  margin: 0 0 18px;
}

.doctor-quote footer {
  font-family: var(--font);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.review-card {
  flex: 1 1 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 52, 69, 0.05);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.review-quote {
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--slab);
  font-size: 64px;
  line-height: 1;
  color: rgba(0, 74, 94, 0.12);
}

.reviews-section {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(185, 236, 248, 0.28), transparent 55%),
    #f7fbfc;
}

.gallery-section {
  padding-top: 20px;
  background: #fff;
}

.gallery-grid img {
  flex: 1 1 150px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(0, 52, 69, 0.18);
}

.review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.review-card .stars {
  color: #e6b800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
}

.review-card footer {
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font);
  font-size: 14px;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

.google-badge {
  height: 48px !important;
  width: auto !important;
  max-width: 160px;
  object-fit: contain;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Page hero */
.page-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 72px 0 64px;
  background: var(--primary-deep);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font);
  font-size: 42px;
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .eyebrow {
  color: var(--cyan);
}

/* About extras */
.feature-list {
  margin-top: 22px;
}

.feature-list article {
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--primary);
  margin-bottom: 12px;
}

.feature-list h3 {
  color: var(--primary);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat-box {
  flex: 1 1 120px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font);
  font-size: 28px;
  color: var(--cyan);
}

.stat-box span {
  font-size: 13px;
  opacity: 0.85;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.contact-grid > * {
  flex: 1 1 340px;
}

.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card h3 {
  color: var(--primary);
  margin-top: 20px;
}

.info-card h3:first-child {
  margin-top: 0;
}

.info-card p {
  color: var(--muted);
}

.info-card a {
  color: var(--primary);
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.map-embed iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* Appointment */
.appointment-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.appointment-wrap > * {
  flex: 1 1 340px;
}

.appointment-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 16px;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field-row .field {
  flex: 1 1 180px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 74, 94, 0.12);
}

.form-note {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.form-note.is-error {
  color: #c0392b;
}

.form-note.is-success {
  color: #1e7a46;
}

/* Tooth-style form alert */
.tooth-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px 22px 28px 28px;
  background: #fff;
  border: 2px solid rgba(0, 74, 94, 0.12);
  box-shadow: 0 14px 34px rgba(0, 74, 94, 0.1);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.tooth-alert.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tooth-alert::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(185, 236, 248, 0.55), transparent 70%);
  pointer-events: none;
}

.tooth-alert-tooth {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8f7fb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 74, 94, 0.12);
  animation: toothPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tooth-alert-tooth img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tooth-alert-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.tooth-alert-body strong {
  font-family: var(--font);
  font-size: 16px;
  color: var(--primary-deep);
}

.tooth-alert-body span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.tooth-alert.is-success {
  background: linear-gradient(135deg, #f2fcf7 0%, #ffffff 55%, #eaf8ff 100%);
  border-color: rgba(30, 122, 70, 0.22);
}

.tooth-alert.is-success .tooth-alert-body strong {
  color: #146c3c;
}

.tooth-alert.is-error {
  background: linear-gradient(135deg, #fff5f4 0%, #ffffff 55%, #fff0f0 100%);
  border-color: rgba(192, 57, 43, 0.22);
}

.tooth-alert.is-error .tooth-alert-body strong {
  color: #b33a2b;
}

@keyframes toothPop {
  0% {
    transform: scale(0.5) rotate(-12deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.slot-hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 48px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-grid > div {
  flex: 1 1 200px;
}

.footer-brand strong {
  font-family: var(--font);
  font-size: 20px;
  color: #fff;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.footer-logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 0;
}

.site-footer h4 {
  font-family: var(--font);
  color: #fff;
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy p {
  margin: 0;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
  animation: waPulse 2.8s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  animation: none;
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65);
  }
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: 520px;
    height: auto;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-brand {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .split-media img,
  .comfort-media img {
    height: 300px;
  }

  h2 {
    font-size: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav-desktop {
    display: none !important;
  }

  .brand {
    z-index: 1201;
    position: relative;
  }

  .site-nav-mobile {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1150;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 90px 24px 40px;
    background: #ffffff !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .site-nav-mobile.is-open,
  .site-nav-mobile[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav-mobile[hidden] {
    display: none !important;
  }

  .site-nav-mobile.is-open[hidden] {
    display: flex !important;
  }

  .site-nav-mobile > a {
    font-size: 24px;
    font-family: var(--font);
    font-weight: 600;
    color: var(--ink) !important;
    padding: 4px 0;
  }

  .site-nav-mobile > a.btn-header {
    margin-top: 10px;
    padding: 14px 24px !important;
    color: #fff !important;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text em {
    font-size: 10px;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-inner span:last-child {
    display: none;
  }

  .hero-content {
    padding: 56px 0 72px;
  }
}

@media (max-width: 780px) {
  /* legacy breakpoint kept empty intentionally */
}

/* ——— Scroll reveals & motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary:hover,
.btn-light:hover,
.btn-header:hover {
  box-shadow: 0 16px 34px rgba(0, 74, 94, 0.28);
}

.comfort-media:hover img {
  transform: scale(1.04);
}

.emergency-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.emergency-card:hover {
  transform: translateY(-4px);
}

.section {
  position: relative;
}

.why {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(185, 236, 248, 0.35), transparent 55%),
    #f6f7f7;
}

.services-section {
  background:
    radial-gradient(ellipse 45% 40% at 100% 10%, rgba(0, 74, 94, 0.05), transparent 50%),
    var(--soft);
}

.appointment-form {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.appointment-form:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 52, 69, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .brand-logo,
  .hero-media img,
  .wa-float,
  .cta-band::before,
  .hero-glow,
  .scroll-cue span,
  .why-card,
  .service-card,
  .review-card,
  .service-card img,
  .split-media img,
  .comfort-media img,
  .gallery-grid img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ——— Tooth alert modal (popup) ——— */
.tooth-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.tooth-modal.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.tooth-modal-open {
  overflow: hidden;
}

.tooth-modal[hidden] {
  display: none !important;
}

.tooth-modal.is-open[hidden] {
  display: flex !important;
}

.tooth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 52, 0.5);
  backdrop-filter: blur(5px);
}

.tooth-modal-card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 22px 22px 20px;
  border-radius: 999px;
  background: linear-gradient(110deg, #e8f8f2 0%, #ffffff 48%, #eaf7fc 100%);
  border: 1.5px solid rgba(0, 74, 94, 0.1);
  box-shadow: 0 24px 60px rgba(0, 40, 52, 0.28);
  transform: translateY(16px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tooth-modal.is-open .tooth-modal-card {
  transform: translateY(0) scale(1);
}

.tooth-modal-close {
  position: absolute;
  top: 8px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #6a7578;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

.tooth-modal-close:hover {
  color: var(--primary-deep);
  background: rgba(0, 74, 94, 0.06);
}

.tooth-modal-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 18px;
}

.tooth-modal-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 74, 94, 0.1);
  animation: toothBounce 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.tooth-modal-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tooth-modal-text {
  text-align: left;
  min-width: 0;
}

.tooth-modal-card h3 {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: #146c3c;
  letter-spacing: -0.02em;
}

.tooth-modal-msg {
  margin: 0;
  color: #4a5a5e;
  font-size: 14px;
  line-height: 1.45;
}

.tooth-modal-btn {
  display: none;
}

.tooth-modal.is-error .tooth-modal-card {
  background: linear-gradient(110deg, #fff0ee 0%, #ffffff 48%, #fff6f5 100%);
}

.tooth-modal.is-error .tooth-modal-card h3 {
  color: #b33a2b;
}

.tooth-modal.is-error .tooth-modal-btn {
  display: inline-flex;
  margin: 14px auto 0;
  min-width: 120px;
}

@media (max-width: 560px) {
  .tooth-modal-card {
    border-radius: 28px;
    padding: 20px 18px 18px;
  }

  .tooth-modal-row {
    gap: 12px;
  }

  .tooth-modal-icon {
    width: 56px;
    height: 56px;
  }

  .tooth-modal-icon img {
    width: 38px;
    height: 38px;
  }

  .tooth-modal-card h3 {
    font-size: 17px;
  }

  .tooth-modal-msg {
    font-size: 13px;
  }

  .tooth-modal-btn {
    display: inline-flex;
    width: 100%;
    margin-top: 14px;
  }
}

@keyframes toothBounce {
  0% {
    transform: scale(0.6) rotate(-8deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.08) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tooth-modal,
  .tooth-modal-card,
  .tooth-modal-icon {
    transition: none !important;
    animation: none !important;
  }
}
