/* ============================================================
   Dentoc Dental Clinic — Design System
   Colors and typography derived from the Dentoc brand logo.
   ============================================================ */

:root {
  --green-deep: #1B4D3E;
  --green-leaf: #3A9B35;
  --green-lime: #8DC63F;
  --green-grad: linear-gradient(135deg, #8DC63F, #3A9B35);
  --mint-bg: #F4FAF4;
  --mint-line: #E7F2E9;
  --mint-border: #DCEFDD;
  --red-accent: #D32F2F;
  --red-bg: #FDF2F2;
  --red-dark: #7A1F1F;
  --ink: #1B2E27;
  --ink-soft: #2E4A3F;
  --ink-body: #4A5F56;
  --ink-muted: #6B7D74;
  --shadow-card: 0 4px 20px rgba(27, 77, 62, 0.06);
  --shadow-photo: 0 20px 48px rgba(27, 77, 62, 0.14);
  --shadow-btn: 0 10px 24px rgba(58, 155, 53, 0.3);
  --radius-card: 20px;
  --radius-photo: 24px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--green-deep); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--green-leaf); }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font-body); font-size: 15px; }
::placeholder { color: #9AAFA6; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section-mint { background: var(--mint-bg); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--green-leaf); text-transform: uppercase; margin-bottom: 12px;
}
.h-xl {
  font-family: var(--font-head); font-weight: 700; font-size: 56px;
  line-height: 1.08; color: var(--green-deep); letter-spacing: -1px;
}
.h-lg {
  font-family: var(--font-head); font-weight: 700; font-size: 38px;
  color: var(--green-deep); letter-spacing: -0.5px; line-height: 1.2;
}
.h-md {
  font-family: var(--font-head); font-weight: 600; font-size: 20px;
  color: var(--green-deep);
}
.lead { font-size: 16px; color: var(--ink-body); line-height: 1.7; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-grad); color: #fff !important; box-shadow: var(--shadow-btn); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(58, 155, 53, 0.42); }
.btn-outline { border: 2px solid var(--green-deep); color: var(--green-deep); background: transparent; }
.btn-outline:hover { background: var(--green-deep); color: #fff; }
.btn-light { border: 2px solid rgba(255,255,255,0.85); color: #fff !important; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--green-deep) !important; }
.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-red { background: var(--red-accent); color: #fff !important; font-weight: 700; font-size: 14px; padding: 12px 26px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mint-line);
}
.navbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.nav-links a.active { color: var(--green-leaf); font-weight: 600; }
.nav-links a:hover { color: var(--green-leaf); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--green-deep); white-space: nowrap;
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle svg { display: block; }

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative; overflow: hidden;
  height: min(78vh, 680px); min-height: 480px;
  background: var(--green-deep);
}
.hs-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease;
  pointer-events: none;
}
.hs-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.hs-slide > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 46, 36, 0.82) 0%, rgba(15, 46, 36, 0.55) 38%, rgba(15, 46, 36, 0.08) 72%, rgba(15, 46, 36, 0) 100%);
}
.hs-content {
  position: relative; z-index: 2; height: 100%;
  max-width: 1240px; margin: 0 auto; padding: 0 96px 0 32px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hs-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; font-weight: 600; color: #E8F6E4; margin-bottom: 22px;
}
.hs-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-lime); }
.hs-content h1, .hs-content h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 52px;
  line-height: 1.1; color: #fff; letter-spacing: -1px; max-width: 560px;
  text-shadow: 0 2px 24px rgba(10, 35, 27, 0.35);
}
.hs-content p {
  font-size: 17px; line-height: 1.65; color: #E3F0E6; max-width: 480px;
  margin: 18px 0 30px; text-shadow: 0 1px 12px rgba(10, 35, 27, 0.4);
}
.hs-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hs-slide.active .hs-badge,
.hs-slide.active .hs-content h1, .hs-slide.active .hs-content h2,
.hs-slide.active .hs-content p,
.hs-slide.active .hs-actions {
  animation: hsRise 0.8s ease both;
}
.hs-slide.active .hs-content p { animation-delay: 0.12s; }
.hs-slide.active .hs-actions { animation-delay: 0.22s; }
@keyframes hsRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.hs-arrow:hover { background: rgba(255, 255, 255, 0.35); }
.hs-prev { left: 20px; }
.hs-next { right: 20px; }
.hs-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 10px;
}
.hs-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.45); transition: all 0.25s ease; padding: 0;
}
.hs-dots button.active { background: var(--green-lime); width: 28px; }

/* ---------- Trust bar / stats ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid #EEF6EE; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.stat { text-align: center; }
.stat .value { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--green-deep); }
.stat .label { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius-card); padding: 32px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px;
}
.card .icon-chip {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(141, 198, 63, 0.16), rgba(58, 155, 53, 0.16));
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--green-deep); }
.card p { font-size: 14px; line-height: 1.6; color: #5A6E64; flex-grow: 1; }
.card .more { font-weight: 600; font-size: 14px; color: var(--green-leaf); }

/* ---------- Treatment photo tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-tile {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 4 / 3; display: block; box-shadow: var(--shadow-card);
}
.svc-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.svc-tile:hover img { transform: scale(1.06); }
.svc-tile .tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 46, 36, 0.88) 0%, rgba(15, 46, 36, 0.42) 38%, rgba(15, 46, 36, 0.02) 65%);
  transition: background 0.3s ease;
}
.svc-tile:hover .tile-shade {
  background: linear-gradient(to top, rgba(15, 46, 36, 0.94) 0%, rgba(15, 46, 36, 0.55) 45%, rgba(15, 46, 36, 0.12) 75%);
}
.svc-tile .tile-text {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
}
.svc-tile h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 20px; color: #fff;
  margin-bottom: 6px; text-shadow: 0 1px 10px rgba(10, 35, 27, 0.5);
}
.svc-tile .tile-sub {
  font-size: 13.5px; color: #D9EBDC; line-height: 1.5; margin-bottom: 10px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.35s ease;
}
.svc-tile:hover .tile-sub { max-height: 80px; opacity: 1; }
.svc-tile .more { font-weight: 600; font-size: 14px; color: var(--green-lime); }

/* ---------- Generic carousel ---------- */
.carousel { position: relative; }
.car-viewport { overflow: hidden; border-radius: var(--radius-card); }
.car-track { display: flex; transition: transform 0.55s ease; }
.car-item { flex-shrink: 0; padding: 0 10px; }
.car-item:first-child { padding-left: 0; }
.carousel .car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--green-deep);
  box-shadow: 0 6px 18px rgba(27, 77, 62, 0.18);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s;
}
.carousel .car-arrow:hover { background: var(--green-deep); color: #fff; }
.carousel .car-prev { left: -14px; }
.carousel .car-next { right: -14px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.car-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--mint-border); transition: all 0.25s ease; padding: 0;
}
.car-dots button.active { background: var(--green-leaf); width: 24px; }

/* Gallery carousel photos */
.gal-photo {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; display: block;
  box-shadow: var(--shadow-card);
}
.gal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gal-photo:hover img { transform: scale(1.05); }

/* Testimonial carousel items */
.testimonial {
  background: #fff; border-radius: var(--radius-card); padding: 32px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; height: 100%;
}
.testimonial .stars { color: var(--green-lime); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 15px; line-height: 1.7; color: #33473D; margin-bottom: 20px; flex-grow: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 700; font-family: var(--font-head); font-size: 14px;
}
.testimonial .name { font-weight: 600; font-size: 14px; color: var(--green-deep); }
.testimonial .role { font-size: 12.5px; color: var(--ink-muted); }

/* ---------- Insurance logo marquee ---------- */
.partners { background: #fff; border-top: 1px solid #EEF6EE; border-bottom: 1px solid #EEF6EE; padding: 48px 0; }
.partners h3 { text-align: center; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--ink-muted); margin-bottom: 28px; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: marqueeScroll 32s linear infinite;
  padding-right: 64px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 44px; width: auto; filter: grayscale(35%); opacity: 0.85; transition: 0.2s; flex-shrink: 0; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Emergency strip ---------- */
.emergency {
  background: var(--red-bg); border-top: 3px solid var(--red-accent); border-bottom: 3px solid var(--red-accent);
  padding: 22px 0;
}
.emergency-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.emergency-msg { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; color: var(--red-dark); }

/* ---------- Split sections (about, booking) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.split .photo-frame {
  border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-photo); aspect-ratio: 4 / 5;
}
.split .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.check-item { display: flex; align-items: flex-start; gap: 14px; }
.check-item .tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green-grad);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.check-item span { font-size: 15.5px; color: var(--ink-soft); font-weight: 500; line-height: 1.5; padding-top: 2px; }

/* ---------- Vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.vm-card {
  background: var(--mint-bg); border-radius: var(--radius-card); padding: 32px;
  border: 1px solid var(--mint-line);
}
.vm-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--green-deep); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.vm-card p { font-size: 14.5px; color: var(--ink-body); line-height: 1.7; }

/* ---------- Booking ---------- */
.booking-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.booking-form { background: var(--mint-bg); border-radius: var(--radius-photo); padding: 44px; }
.booking-form h2 { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--green-deep); letter-spacing: -0.4px; margin-bottom: 8px; }
.booking-form > p { font-size: 15px; color: var(--ink-body); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--mint-border);
  font-size: 15px; background: #fff; color: var(--ink-soft); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-leaf); box-shadow: 0 0 0 3px rgba(58, 155, 53, 0.12);
}
.field .error-msg { font-size: 12.5px; color: var(--red-accent); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red-accent); }
.field.invalid .error-msg { display: block; }
.form-note { grid-column: span 2; font-size: 13px; color: var(--ink-muted); }
.form-note a { font-weight: 600; }
.success-panel {
  background: #fff; border-radius: 16px; padding: 28px; display: none;
  align-items: flex-start; gap: 16px; box-shadow: var(--shadow-card);
}
.success-panel.visible { display: flex; }
.success-panel .tick {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-grad);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.success-panel h4 { font-weight: 700; color: var(--green-deep); font-family: var(--font-head); font-size: 16px; }
.success-panel p { font-size: 14px; color: var(--ink-body); margin: 6px 0 14px; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.side-cards { display: flex; flex-direction: column; gap: 24px; }
.hours-card { background: var(--green-deep); border-radius: var(--radius-photo); padding: 36px; color: #fff; }
.hours-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin-bottom: 20px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 14.5px;
}
.hours-row .day { color: #C9E4D3; white-space: nowrap; }
.hours-row .time { font-weight: 600; white-space: nowrap; }
.findus-card { background: var(--mint-bg); border-radius: var(--radius-photo); padding: 36px; }
.findus-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--green-deep); margin-bottom: 16px; }
.findus-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14.5px; color: #33473D; line-height: 1.5; }
.findus-row svg { margin-top: 2px; flex-shrink: 0; }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch-card {
  background: #fff; border-radius: var(--radius-card); padding: 28px;
  box-shadow: var(--shadow-card); border-top: 4px solid var(--green-lime);
}
.branch-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--green-deep); margin-bottom: 8px; }
.branch-card .addr { font-size: 14px; color: var(--ink-body); margin-bottom: 12px; min-height: 42px; }
.branch-card .phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--green-deep); }

/* ---------- Branch map switcher ---------- */
.branch-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.branch-tab {
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--mint-border);
  background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.2s ease;
}
.branch-tab:hover { border-color: var(--green-leaf); color: var(--green-deep); }
.branch-tab.active { background: var(--green-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-btn); }
.branch-panel {
  display: grid; grid-template-columns: 360px 1fr;
  border-radius: var(--radius-photo); overflow: hidden;
  box-shadow: var(--shadow-photo); background: #fff;
}
.branch-info { background: var(--green-deep); color: #fff; padding: 44px 36px; display: flex; flex-direction: column; }
.branch-info h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-bottom: 20px; }
.branch-info .row {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px;
  font-size: 14.5px; color: #C9E4D3; line-height: 1.6;
}
.branch-info .row svg { flex-shrink: 0; margin-top: 3px; }
.branch-info .row a { color: #fff; font-weight: 600; }
.branch-info .row a:hover { color: var(--green-lime); }
.branch-actions { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.branch-map { position: relative; min-height: 440px; }
.branch-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Blog listing ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-photo); }
.post-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.post-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--green-leaf);
  background: rgba(141, 198, 63, 0.14); padding: 5px 12px; border-radius: 999px;
}
.post-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.35; }
.post-body h3 a { color: var(--green-deep); }
.post-body h3 a:hover { color: var(--green-leaf); }
.post-body > p { font-size: 14px; color: var(--ink-body); line-height: 1.65; flex-grow: 1; }
.post-meta { font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.post-body .more { font-weight: 600; font-size: 14px; color: var(--green-leaf); }

/* ---------- Blog article ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article-hero { border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-photo); margin-bottom: 36px; }
.article-hero img { width: 100%; }
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px; font-size: 14px; color: var(--ink-muted);
}
.article h2 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--green-deep); letter-spacing: -0.3px; margin: 42px 0 16px; }
.article h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--green-deep); margin: 32px 0 12px; }
.article p { font-size: 16px; color: var(--ink-body); line-height: 1.8; margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; font-size: 16px; color: var(--ink-body); line-height: 1.8; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink-soft); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.article th { background: var(--green-deep); color: #fff; text-align: left; padding: 12px 16px; font-family: var(--font-head); font-weight: 600; }
.article td { padding: 12px 16px; border-bottom: 1px solid var(--mint-line); color: var(--ink-body); }
.article tr:nth-child(even) td { background: var(--mint-bg); }
.article .callout {
  background: var(--mint-bg); border-left: 4px solid var(--green-leaf);
  border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 24px 0;
}
.article .callout p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }

/* ---------- Service category blocks ---------- */
.svc-category { margin-bottom: 72px; }
.svc-category:last-child { margin-bottom: 0; }
.svc-cat-head {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center;
  margin-bottom: 32px;
}
.svc-cat-head .cat-title { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.svc-cat-head .icon-chip {
  width: 56px; height: 56px; border-radius: 16px; background: var(--green-grad);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-cat-head h2 { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: var(--green-deep); letter-spacing: -0.4px; }
.svc-cat-head p { flex-basis: 100%; color: var(--ink-body); font-size: 15px; max-width: 640px; margin-top: 12px; }
.cat-photo {
  border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-card);
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery grid (fallback / inner pages) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a { border-radius: 16px; overflow: hidden; display: block; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--green-deep);
}
.faq-q .chev { transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-body); line-height: 1.7; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--mint-bg); padding: 64px 0; position: relative; overflow: hidden; }
.page-hero .crumb { font-size: 13px; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 12px; }
.page-hero .crumb a { color: var(--green-leaf); }
.page-hero.with-photo { padding: 0; background: var(--green-deep); }
.page-hero.with-photo .ph-inner { position: relative; height: 260px; display: flex; align-items: center; }
.page-hero.with-photo img.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.with-photo .ph-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,46,36,0.85), rgba(15,46,36,0.35)); }
.page-hero.with-photo .container { position: relative; z-index: 2; width: 100%; }
.page-hero.with-photo h1 { color: #fff; }
.page-hero.with-photo .crumb { color: #C9E4D3; }
.page-hero.with-photo .crumb a { color: var(--green-lime); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-deep); border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.cta-band .tooth-mark { position: absolute; bottom: -50px; right: -30px; opacity: 0.07; }
.cta-band h2 { font-family: var(--font-head); font-weight: 700; font-size: 32px; color: #fff; letter-spacing: -0.5px; margin-bottom: 12px; }
.cta-band p { color: #C9E4D3; font-size: 15.5px; max-width: 560px; margin-bottom: 28px; }

/* ---------- Map ---------- */
.map-frame { border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-card); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); padding: 72px 0 32px; position: relative; overflow: hidden; }
.footer .tooth-mark { position: absolute; bottom: -40px; right: -40px; opacity: 0.06; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); position: relative;
}
.footer-brand img { height: 56px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer-brand p { font-size: 14px; color: #B9D4C4; line-height: 1.6; max-width: 280px; margin-top: 16px; }
.footer h4 {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: #B9D4C4; }
.footer-col a { color: #B9D4C4; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.socials a:hover { background: rgba(255, 255, 255, 0.22); }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 13px; color: #8FB3A0; position: relative; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .hs-slide, .car-track, .reveal { transition: none; }
  .hs-slide.active .hs-badge, .hs-slide.active .hs-content h1, .hs-slide.active .hs-content h2,
  .hs-slide.active .hs-content p, .hs-slide.active .hs-actions { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .h-xl { font-size: 44px; }
  .h-lg { font-size: 32px; }
  .hs-content h1, .hs-content h2 { font-size: 40px; }
  .card-grid, .card-grid.cols-4, .branch-grid, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
  .svc-cat-head { grid-template-columns: 1fr; }
  .cat-photo { max-width: 480px; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .hero-slider { height: min(70vh, 560px); }
  .hs-content { padding: 0 24px; }
  .hs-content h1, .hs-content h2 { font-size: 32px; }
  .hs-content p { font-size: 15px; }
  .hs-arrow { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .booking-grid, .vm-grid { grid-template-columns: 1fr; }
  .branch-panel { grid-template-columns: 1fr; }
  .branch-map { min-height: 320px; }
  .branch-info { padding: 32px 26px; }
  .split { gap: 40px; }
  .split .photo-frame { max-width: 480px; }
  .carousel .car-prev { left: 4px; }
  .carousel .car-next { right: 4px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--mint-line);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0;
    box-shadow: 0 16px 32px rgba(27, 77, 62, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 14px 32px; }
  .nav-toggle { display: block; }
  .nav-cta .btn { padding: 10px 18px; font-size: 13px; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .h-xl { font-size: 36px; }
  .hero-slider { min-height: 440px; }
  .card-grid, .card-grid.cols-4, .branch-grid, .trust-grid, .tile-grid, .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .form-note { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking-form { padding: 28px 22px; }
  .emergency-inner { justify-content: center; text-align: center; }
}
