/* ==========================================================
   MAPLE & OAK DENTAL — Template Stylesheet
   Aesthetic: friendly medical · teal + mint + soft cream
   Fonts: Outfit (display) + DM Sans (body)
   ========================================================== */

:root {
  --bg:           #FBFAF6;
  --bg-soft:      #F1F8F7;
  --bg-mint:      #E6F4F0;
  --bg-cream:     #FFF8EC;
  --ink:          #0B2540;
  --ink-soft:     #3F5269;
  --muted:        #8A95A6;
  --line:         #E5ECEE;
  --line-soft:    #EFF3F4;

  --teal:         #1FBFB8;
  --teal-deep:    #128F88;
  --teal-dark:    #0B5F5A;
  --teal-soft:    #C6EEEB;
  --mint:         #A8E6D4;
  --peach:        #FFD0BD;
  --yellow:       #FFE89A;

  --shadow-sm:    0 1px 2px rgba(11,37,64,.04);
  --shadow-md:    0 12px 32px rgba(11,37,64,.08);
  --shadow-lg:    0 28px 60px rgba(11,37,64,.14);

  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 56px;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ==========================================================
   TOP BAR + NAV
   ========================================================== */
.topbar {
  background: var(--teal-dark);
  color: #C6EEEB;
  font-size: 13px;
  padding: 11px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.topbar a { color: #C6EEEB; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; align-items: center; }
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.topbar-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
}
.topbar-right { display: flex; gap: 18px; align-items: center; font-weight: 500; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: var(--mint);
  border-radius: 50%;
  bottom: -2px; right: -2px;
  border: 2px solid var(--bg);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0; padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-deep); }
.nav-links .has-menu > a::after {
  content: ' ⌄';
  font-size: 12px;
  opacity: 0.6;
  margin-left: 2px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px;
  list-style: none;
  margin: 12px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-mint); color: var(--teal-deep); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
}
.nav-phone-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
}
.nav-phone-icon svg { width: 16px; height: 16px; }
.nav-phone-text { line-height: 1.2; }
.nav-phone-text small { display: block; font-size: 11px; color: var(--muted); }
.nav-phone-text strong { font-size: 14px; color: var(--ink); font-weight: 600; }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover { background: var(--teal-deep); }
.nav-cta::after {
  content: '→';
  transition: transform .25s ease;
}
.nav-cta:hover::after { transform: translateX(3px); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-mint { background: var(--mint); color: var(--teal-dark); }
.btn-mint:hover { background: var(--teal); color: #fff; }
.btn-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform .25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================
   SECTIONS
   ========================================================== */
section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-mint { background: var(--bg-mint); }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.75); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head.align-left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  background: #fff;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.section-eyebrow::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
}
.section-eyebrow.dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.05rem; }

/* ==========================================================
   HERO — HOME (decorated)
   ========================================================== */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-mint);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -180px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.4;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--peach);
  opacity: 0.45;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content h1 { margin-bottom: 26px; }
.hero-content h1 .teal { color: var(--teal-deep); position: relative; display: inline-block; }
.hero-content h1 .teal::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--mint);
  border-radius: 4px;
}
.hero-content p { font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; align-items: center; }
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.video-link-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(31,191,184,.18);
  transition: transform .25s ease;
}
.video-link:hover .video-link-icon { transform: scale(1.08); }
.video-link-icon svg { width: 18px; height: 18px; margin-left: 2px; }

.hero-features {
  display: flex;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(11,37,64,.08);
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-feature-icon svg { width: 20px; height: 20px; }
.hero-feature-text strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.hero-feature-text span { font-size: 12px; color: var(--muted); }

.hero-media {
  position: relative;
}
.hero-media-img {
  border-radius: 50% 50% var(--r-md) var(--r-md) / 30% 30% var(--r-md) var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--teal-soft);
}
.hero-media-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: absolute;
  background: #fff;
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-mint);
  color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-text strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.hero-card-text small { font-size: 12px; color: var(--muted); }
.hc-1 { top: 8%; left: -32px; }
.hc-2 { bottom: 12%; right: -28px; }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Secondary page hero */
.hero-secondary {
  padding: 60px 0;
  background: var(--bg-mint);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-secondary::before {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.45;
  z-index: -1;
}
.hero-secondary::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--peach);
  opacity: 0.4;
  z-index: -1;
}
.hero-secondary-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-secondary-inner.single { grid-template-columns: 1fr; text-align: center; }
.hero-secondary-inner.single h1 { margin: 16px auto 18px; max-width: 720px; }
.hero-secondary-inner.single p { margin: 0 auto; max-width: 560px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb span { color: var(--ink); }
.hero-secondary-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.hero-secondary-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   SERVICES GRID
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 40px 32px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.svc-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--bg-mint);
  opacity: 0;
  transition: opacity .35s ease;
}
.svc-card:hover {
  background: var(--ink);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.svc-card:hover::before { opacity: .12; }
.svc-card:hover h3, .svc-card:hover p { color: #fff; }
.svc-card:hover .svc-link { color: var(--mint); }
.svc-card-icon {
  width: 78px; height: 78px;
  border-radius: 22px;
  background: var(--bg-mint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all .35s ease;
}
.svc-card-icon svg { width: 38px; height: 38px; }
.svc-card:hover .svc-card-icon { background: var(--teal); color: #fff; transform: rotate(-6deg); }
.svc-card h3 { margin-bottom: 12px; transition: color .35s; }
.svc-card p { margin-bottom: 22px; font-size: 0.95rem; transition: color .35s; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 14px;
  transition: gap .25s, color .35s;
}
.svc-link:hover { gap: 12px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}
.about-image-wrap > img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  position: relative;
  z-index: 2;
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  right: -24px; bottom: -24px;
  border-radius: var(--r-lg);
  border: 2px solid var(--teal);
  z-index: 1;
}
.about-pill {
  position: absolute;
  top: 30px; right: -32px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  z-index: 3;
}
.about-pill-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-mint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-pill-icon svg { width: 18px; height: 18px; }
.about-text h2 { margin-bottom: 22px; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}
.about-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--bg-mint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 24px; height: 24px; }
.about-feature h4 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 4px; }
.about-feature p { margin: 0; font-size: 0.95rem; }

/* ==========================================================
   APPOINTMENT TEASER (home)
   ========================================================== */
.appointment-teaser {
  background: var(--bg-soft);
}
.appt-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.appt-video {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--teal-soft);
}
.appt-video img { width: 100%; height: 100%; object-fit: cover; }
.appt-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(255,255,255,.4);
  cursor: pointer;
  transition: transform .3s;
}
.appt-video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.appt-video-play svg { width: 22px; height: 22px; margin-left: 4px; }

/* Form (used here + appointment + contact) */
.form-card {
  background: #fff;
  padding: 44px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input, .field textarea, .field select {
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: all .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: #DEF5EE;
  color: #0A6147;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.is-visible { display: block; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }

/* ==========================================================
   TEAM CARDS
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card { text-align: center; }
.team-card-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  background: var(--bg-mint);
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-social {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(11,37,64,.85));
  padding: 40px 20px 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.team-social a:hover { background: var(--teal); }
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--teal-deep); font-weight: 500; letter-spacing: 0.02em; }

/* Team detail */
.team-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.team-detail-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 120px;
  background: var(--bg-mint);
}
.team-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.team-detail-role {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-mint);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.team-detail h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 24px; }
.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.team-stat {
  background: var(--bg-mint);
  padding: 20px 24px;
  border-radius: var(--r-md);
}
.team-stat h4 { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin: 0 0 4px; text-transform: uppercase; font-weight: 600; }
.team-stat p { margin: 0; font-weight: 600; color: var(--ink); }

/* ==========================================================
   WORKING HOURS CARD
   ========================================================== */
.hours-card {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 50px 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hours-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.25;
  z-index: -1;
}
.hours-card h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.hours-card > p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.hours-list { list-style: none; padding: 0; margin: 0 0 32px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.hours-list .day { color: rgba(255,255,255,.85); font-weight: 500; }
.hours-list .time { color: #fff; font-weight: 600; }
.hours-list .closed { color: var(--peach); }
.hours-cta {
  background: var(--teal);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hours-cta-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hours-cta-icon svg { width: 22px; height: 22px; }
.hours-cta-text small { display: block; font-size: 11px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: 0.06em; }
.hours-cta-text strong { font-size: 1.15rem; color: #fff; font-weight: 600; font-family: var(--font-display); }

/* ==========================================================
   TESTIMONIAL CAROUSEL
   ========================================================== */
.testimonial-section {
  background: var(--bg-mint);
}
.testimonial-section .container { position: relative; }
.testimonial-track-wrap {
  overflow: hidden;
  margin: 40px 0;
}
.testimonial-track {
  display: flex;
  gap: 28px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  background: #fff;
  border-radius: var(--r-md);
  padding: 36px;
  position: relative;
}
.testimonial-quote-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 26px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 { font-family: var(--font-display); margin: 0; font-size: 1.05rem; }
.testimonial-author span { font-size: 12px; color: var(--muted); }
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.testimonial-arrow {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  transition: all .25s;
}
.testimonial-arrow:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.testimonial-arrow:disabled { opacity: 0.4; cursor: default; }

/* ==========================================================
   CLIENT LOGOS STRIP
   ========================================================== */
.logo-strip {
  background: #fff;
  padding: 50px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
}
.logo-strip-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--muted);
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity .2s;
  text-align: center;
}
.logo-strip-item:hover { opacity: 1; color: var(--teal-deep); }

/* ==========================================================
   BLOG
   ========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: all .3s ease;
  display: block;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}
.blog-card-date {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--teal);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px 30px 32px; }
.blog-card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-card-meta strong { color: var(--ink); font-weight: 500; }
.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.3;
}
.blog-card p { font-size: 0.93rem; margin-bottom: 18px; }
.blog-card-read {
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-card:hover .blog-card-read { gap: 12px; }

/* Blog article body */
.article-hero {
  padding: 50px 0 30px;
  background: var(--bg-mint);
}
.article-hero .container { max-width: 860px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.article-meta .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }
.article-meta a { color: var(--teal-deep); font-weight: 600; }
.article-hero h1 { margin-bottom: 24px; }
.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 30px 0 0;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.35rem; margin: 32px 0 14px; }
.article-body p { margin-bottom: 1.4rem; }
.article-body ul { padding-left: 22px; margin-bottom: 1.6rem; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--bg-mint);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  font-style: italic;
  border-left: 4px solid var(--teal);
}
.article-body a { color: var(--teal-deep); text-decoration: underline; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.faq-tab {
  padding: 10px 22px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.faq-tab:hover { border-color: var(--teal); color: var(--teal-deep); }
.faq-tab.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--teal-soft); }
.faq-item.is-open { border-color: var(--teal); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--teal);
  font-weight: 300;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.is-open .faq-a {
  max-height: 500px;
  padding: 0 28px 24px;
}
.faq-a p { margin: 0; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-stack { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-info-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bg-mint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-card h4 { font-family: var(--font-body); margin: 0 0 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; }
.contact-info-card p { margin: 0; font-weight: 600; color: var(--ink); }

.map-block {
  height: 320px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-mint), var(--bg-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-block { text-align: center; }
.stat-block .num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 4px;
  line-height: 1;
}
.section-dark .stat-block .num { color: var(--mint); }
.stat-block .lbl {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.section-dark .stat-block .lbl { color: rgba(255,255,255,.7); }

/* ==========================================================
   PROCESS STEPS
   ========================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  background: #fff;
  padding: 32px;
  border-radius: var(--r-md);
  position: relative;
  border: 1px solid var(--line-soft);
}
.process-num {
  position: absolute;
  top: -22px; left: 28px;
  width: 44px; height: 44px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.process-step h3 { margin: 18px 0 10px; font-size: 1.2rem; }
.process-step p { font-size: 0.95rem; margin: 0; }

/* ==========================================================
   NEWSLETTER
   ========================================================== */
.newsletter {
  background: var(--teal);
  border-radius: var(--r-lg);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -120px; right: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.newsletter::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 200px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(168,230,212,.25);
}
.newsletter h2 { color: #fff; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.85); margin: 0; }
.newsletter-form { position: relative; z-index: 2; }
.newsletter-form .field-inline {
  display: flex;
  gap: 6px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.newsletter-form button:hover { background: #000; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 90px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 280px; font-size: 0.95rem; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--teal); }
.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a::before {
  content: '›';
  color: var(--teal);
}
.footer-col a:hover { color: #fff; }
.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-contact-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 16px; height: 16px; }
.footer-contact-card a, .footer-contact-card p {
  color: #fff;
  font-size: 0.95rem;
  margin: 0;
}
.footer-contact-card a::before { content: none; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-card { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .topbar-left .hide-sm { display: none; }
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-mobile {
    position: fixed;
    inset: 64px 0 0;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 36px 28px;
    z-index: 80;
    overflow-y: auto;
  }
  .nav-mobile.is-open { transform: translateX(0); }
  .nav-mobile ul { list-style: none; padding: 0; margin: 0 0 30px; }
  .nav-mobile li { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
  }
  .services-grid,
  .blog-grid,
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row, .process-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex-basis: calc(50% - 14px); }
  .about-grid,
  .hero-secondary-inner,
  .contact-grid,
  .team-detail,
  .appt-grid,
  .newsletter { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px; }
  .newsletter { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-strip-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .team-detail-image { position: static; }
  .about-image-wrap::before { display: none; }
  .about-pill { right: 12px; top: 12px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .services-grid,
  .blog-grid,
  .team-grid,
  .stats-row,
  .process-grid,
  .footer-grid,
  .logo-strip-grid { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .testimonial-card { flex-basis: 100%; }
  .hero-features { gap: 18px; }
  .newsletter-form .field-inline { flex-direction: column; border-radius: var(--r-md); }
  .newsletter-form button { width: 100%; }
}


/* ───────────────────────────────────────────────────────────────────
   smyleee mobile-nav fix
   - Desktop: hide the drawer entirely so it can't leak into the page.
   - Mobile (≤960px): force an opaque background + high z-index so the
     open drawer actually covers the page content.
   ─────────────────────────────────────────────────────────────────── */
@media (min-width: 961px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 960px) {
  .nav-mobile {
    background: #ffffff !important;
    z-index: 9999 !important;
  }
}


/* ───────────────────────────────────────────────────────────────────
   smyleee mobile-nav fix
   - Desktop: hide the drawer entirely so it can't leak into the page.
   - Mobile (≤960px):
       * Force opaque white background + high z-index.
       * Remove backdrop-filter on the sticky header — that property
         creates a containing block for position:fixed descendants,
         which trapped the drawer inside the ~80px-tall header.
   ─────────────────────────────────────────────────────────────────── */
@media (min-width: 961px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 960px) {
  .site-header, header.site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-mobile {
    background: #ffffff !important;
    z-index: 9999 !important;
  }
}
