/* style.css?v=2.7 - Greenwoods Dental Single Page Site */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&display=swap');

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

html,
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: #1a1a1a;
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

:root {
  --green-main: #61b247;
  --green-top: #559f3f;
  --green-forest: #046937;
  --green-light: #edf7e7;
  --green-mid: #c8eab5;
  --white: #ffffff;
  --off-white: #f7faf5;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e8f0e3;

  --font: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-head: 'Poppins', sans-serif;

  --topbar-h: 40px;
  --menubar-h: 72px;
  --tabbar-h: 40px;
  --mob-bar-h: 60px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(70, 160, 50, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);

  --max-w: 1200px;
  --sidebar-w: 300px;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

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

ul {
  list-style: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

/* ===== TOP BAR ===== */
#topbar {
  background: var(--green-top);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 4%;
  position: relative;
  z-index: 1000;
}

.topbar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar-rotating {
  background: rgba(4, 105, 55, 0.2);
  border-radius: 6px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  height: 28px;
  min-width: 345px;
  position: relative;
  overflow: hidden;
}

.rotating-slot {
  position: absolute;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
  cursor: pointer;
}

.rotating-slot.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-slot .loc-name {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.rotating-slot .sep {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  margin: 0 2px;
}

.rotating-slot .loc-time {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.tb-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 400;
  padding: 0 10px;
  height: 28px;
  border-radius: 4px;
  transition: background 0.18s;
  white-space: nowrap;
}

.tb-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tb-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.tb-refer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  padding: 0 10px;
  height: 28px;
  border-radius: 4px;
  transition: background 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tb-refer:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tb-refer img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tb-refer-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 12px;
}

/* Language selector (replaces location selector) */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 105, 55, 0.2);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  outline: 2px solid #d4e8cb4d;
  border-radius: 6px;
  padding: 0 10px;
  height: 28px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
  user-select: none;
  align-self: center;
}

.lang-selector:hover {
  background: rgba(4, 105, 55, 0.38);
}

.lang-selector .chevron {
  transition: transform 0.2s;
}

.lang-selector.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2000;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #222;
  transition: background 0.15s, color 0.15s;
}

.lang-dropdown a:hover {
  background: #f0f9eb;
  color: var(--green-forest);
}


/* ===== MAIN MENU / LOGO BAR ===== */
#menubar {
  background: var(--green-forest);
  background-image: linear-gradient(to right, #5c9349, var(--green-forest));
  height: calc(var(--menubar-h) + 20px);
  display: flex;
  align-items: center;
  padding: 0 4%;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
  overflow: visible;
}

.menubar-leaves{
  position: absolute;
  right: 0;
  bottom: -5px;
  width: auto;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.menubar-leaves-2 {
  position: absolute;
  left: 0;
  bottom: -5px;
  width: auto;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.menubar-leaves img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right center;
  display: inline !important;
  opacity: 0.5;
}

.menubar-leaves-2 img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: inline !important;
  opacity: 0.5;
}

.three-pillars {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px;
  position: relative;
}

.three-pillars .pillar-prefix {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

.pillar-arrow {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.pillar-text-wrap {
  position: relative;
  overflow: hidden;
  height: 18px;
  min-width: 140px;
}

.pillar-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pillar-slot.active {
  opacity: 1;
  transform: translateY(0);
}

.logo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 32px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-wrapper {
  width: 52px;
  height: 52px;
  perspective: 1000px;
  filter: drop-shadow(0 4px 6px rgba(4, 55, 30, 0.15));
  flex-shrink: 0;
}

.rotating-icon {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateYPartial 6s ease-in-out infinite;
}

.rotating-icon img {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: translateZ(10px);
  background-color: #ffffff;
  border-radius: 9px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.012);
  display: block;
}

.rotating-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 9px;
  z-index: -1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@keyframes rotateYPartial {
  0% {
    transform: rotateY(-75deg);
  }
  50% {
    transform: rotateY(75deg);
  }
  100% {
    transform: rotateY(-75deg);
  }
}

.logo-wordmark {
  flex: 1;
  max-width: 200px;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
}

.logo-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  height: calc(var(--menubar-h) + 20px);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: none;
  transition: background 0.16s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.nav-item.open > .nav-btn {
  background: rgba(0, 0, 0, 0.1);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform 0.2s;
}

.nav-item.open > .nav-btn .nav-chevron {
  transform: rotate(180deg);
}

.menubar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  padding: 0 16px;
  height: 40px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn-phone:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-book {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-main);
  border-radius: 7px;
  padding: 0 20px;
  height: 40px;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}

.btn-book:hover {
  background: #035228;
  transform: translateY(-1px);
}

/* Simple dropdown for About / For Patients */
.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 990;
  border-top: 3px solid var(--green-main);
}

.nav-item.open .simple-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.simple-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: #222;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.simple-dropdown a:hover {
  background: #f0f9eb;
  color: var(--green-forest);
  padding-left: 26px;
}

/* ===== MOBILE TOP BAR ===== */
#mob-topbar {
  display: none;
  background: var(--green-top);
  height: 44px;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mob-topbar-left {
  flex: 1;
  overflow: hidden;
}

.mob-rotating {
  display: flex;
  align-items: center;
  height: 28px;
  position: relative;
  overflow: hidden;
}

.mob-rotating-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
  white-space: nowrap;
  cursor: pointer;
}

.mob-rotating-slot.active {
  opacity: 1;
  transform: translateY(0);
}

.mob-rotating-slot .m-loc {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
}

.mob-rotating-slot .m-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}

.mob-rotating-slot .m-sep {
  color: rgba(255, 255, 255, 0.38);
  margin: 0 2px;
}

/* Mobile language button */
.mob-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(4, 105, 55, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 4px 8px;
  color: var(--white);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  user-select: none;
}

.mob-lang-btn .mob-lang-chevron {
  transition: transform 0.2s;
}

.mob-lang-btn.open .mob-lang-chevron {
  transform: rotate(180deg);
}

.mob-lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 3000;
}

.mob-lang-btn.open .mob-lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mob-lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #222;
  transition: background 0.15s;
}

.mob-lang-dropdown a:hover {
  background: #f0f9eb;
  color: var(--green-forest);
}

/* ===== MOBILE LOGO BAR ===== */
#mob-logobar {
  display: none;
  background: var(--green-forest);
  background-image: linear-gradient(to right, #5c9349, var(--green-forest));
  padding: 10px 16px 12px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  flex-direction: row;
  z-index: 999;
}

.mob-logo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.mob-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-icon-wrapper {
  width: 54px;
  height: 54px;
  perspective: 1000px;
  filter: drop-shadow(0 3px 5px rgba(4, 55, 30, 0.15));
  flex-shrink: 0;
}

.mob-rotating-icon {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateYPartial 6s ease-in-out infinite;
}

.mob-rotating-icon img {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: translateZ(8px);
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  display: block;
}

.mob-rotating-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 8px;
  z-index: -1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.mob-logo-wordmark {
  max-width: 250px;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
}

.mob-logo-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.mob-three-pillars {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 5px;
  height: 15px;
}

.mob-three-pillars .pillar-prefix {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

.mob-pillar-arrow {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.mob-pillar-text-wrap {
  position: relative;
  overflow: hidden;
  height: 15px;
  min-width: 120px;
}

.mob-pillar-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mob-pillar-slot.active {
  opacity: 1;
  transform: translateY(0);
}

.mob-logobar-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 7px;
  color: var(--white);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  align-self: center;
}

#mob-logobar .mob-leaves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#mob-logobar .mob-leaves img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== MOBILE BOTTOM BAR ===== */
#mob-bottombar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-main);
  height: var(--mob-bar-h);
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
  transform: translateZ(0);
}

.mob-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  height: var(--mob-bar-h);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mob-book-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--mob-bar-h);
  background: var(--green-forest);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mob-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: var(--mob-bar-h);
  color: var(--white);
  background: rgba(0, 0, 0, 0.12);
}

/* ===== SIDEBAR ===== */
#sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#sidebar-overlay.open {
  opacity: 1;
  pointer-events: all;
}

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 340px);
  background: var(--green-forest);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.sidebar-header img.sb-logo {
  height: 36px;
}

.sidebar-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-close img {
  width: 18px;
  height: 18px;
}

.sb-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}

.sb-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  color: var(--white);
  font-size: 15.5px;
  font-weight: 500;
  background: none;
  text-align: left;
  transition: background 0.15s;
}

.sb-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sb-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-arrow {
  transition: transform 0.2s;
  opacity: 0.5;
}

.sb-cta {
  padding: 14px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.sb-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s;
}

.sb-cta-call:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sb-cta-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  background: var(--green-main);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s;
}

.sb-cta-book:hover {
  background: #72c458;
}

/* Sub-panels */
.sb-sub {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green-forest);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.sb-sub.open {
  transform: translateX(0);
}

.sb-sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.sb-sub-back {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  flex-shrink: 0;
}

.sb-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.sb-sub-section {
  padding: 0;
}

.sb-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px 13px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s;
}

.sb-section-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.sb-section-toggle svg {
  transition: transform 0.2s;
  opacity: 0.5;
}

.sb-section-toggle.section-open svg {
  transform: rotate(180deg);
}

.sb-section-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.sb-section-links.open {
  max-height: 600px;
}

.sb-section-links a {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 28px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sb-section-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sb-sub-section-plain {
  padding: 10px 0 2px;
}

.sb-sub-section-plain a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sb-sub-section-plain a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ===== TABLET NAV ROW ===== */
#tab-navrow {
  display: none;
  background: var(--green-top);
  height: calc(var(--menubar-h) - 28px);
  align-items: center;
  justify-content: center;
  padding: 0 3%;
  gap: 0;
  position: sticky;
  top: var(--menubar-h);
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#tab-navrow .nav-item {
  position: relative;
}

#tab-navrow .nav-btn {
  height: calc(var(--menubar-h) - 28px);
  font-size: 14px;
  padding: 0 14px;
}

/* ===== FOOTER (simplified) ===== */
footer {
  position: unset;
  background: linear-gradient(rgba(4, 105, 55, 0.9), rgba(4, 105, 55, 0.9)),
    url("https://file.greenwoodsdental.com/background.jpg");
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.footer {
  /* position: absolute; */
  inset: 0;
  background: linear-gradient(rgba(4, 105, 55, 0.9), rgba(4, 105, 55, 0.9)),
    url("https://file.greenwoodsdental.com/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 10;
}

.footer-main {
  /* removed for single-page site */
  display: none;
}


.divider-line {
  border-top: 0;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  padding: 1.5rem 1rem;
}

.bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

footer .logo-container svg {
  width: 280px;
  height: auto;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
}

.privacy-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.privacy-links a:hover {
  opacity: 0.75;
}

.privacy-links .separator {
  display: none;
}

.social-icons {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 33px;
  height: auto;
  color: white;
}

/* ===== HERO SECTION ===== */
.hp-hero {
  position: relative;
  min-height: min(88vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-hero-bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(3, 40, 20, 0.9) 0%, rgba(4, 105, 55, 0.74) 55%, rgba(4, 105, 55, 0.42) 100%);
}

.hp-hero-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 178, 71, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hp-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 178, 71, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 15px 24px 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: stretch;
}

.hp-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 100px;
}

.hp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 330px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}

.hp-hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  /* letter-spacing: -0.02em; */
}

.hp-hero-title-accent {
  /* display: block; */
  color: #91e478;

  /* Step 1: Create the background gradient */
  background: linear-gradient(to left, var(--green-main), var(--green-forest));

  /* Step 2: Clip the background to the text shapes */
  -webkit-background-clip: text;
  background-clip: text;
  
  /* Step 3: Make the original text color invisible */
  -webkit-text-fill-color: #91e478ea;
  color: #91e478ea;
}

.hp-hero-title-rotating {
  position: relative;
  display: inline-block;
  /* min-width: 7.5ch; */
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 800;
  /* text-transform: capitalize; */
  font-size: clamp(38px, 5.5vw, 58px);
  letter-spacing: -0.02em;
  padding-bottom: 0.18em;
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.hp-hero-title-rotating::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 0.18em;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.98) 18%,
    rgba(255, 255, 255, 0.98) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 999px;
  transform: skewX(-18deg) scaleX(1.04);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.hp-hero-title-rotating.is-hidden {
  opacity: 0;
  transform: translateY(4px);
}

.hp-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hp-hero-langs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.lang-chip-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.lang-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 20px;
}

.hp-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hp-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  overflow: visible;
}

.hp-hero-dentist {
  max-height: calc(100% + 0px);
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
  transition: opacity 0.6s ease-in-out;
}

.hp-hero-dentist.fade-out {
  opacity: 0;
  align-self: flex-end;
}

.hp-hero-badge {
  position: absolute;
  bottom: 28px;
  left: -10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-forest);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  animation: badge-float 3.2s ease-in-out infinite alternate;
}

@keyframes badge-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-7px);
  }
}

.hp-hero-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #61b247e3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-badge-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #edf7e7;
}

.hp-hero-badge-text span {
  font-size: 12px;
  color: #fff;
  margin-top: 2px;
  display: block;
}

.hp-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  z-index: 1;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ===== TRUST BAR ===== */
.hp-trust-bar {
  background: var(--green-forest);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.hp-trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 32px;
  font-size: 13.5px;
  color: var(--off-white);
  flex: 1;
  justify-content: center;
}

.trust-item strong {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-forest);
}

.trust-sep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
}

/* Trust item and trust separator - 600px wide or smaller */ 
@media screen and (max-width: 601px) {
  div.trust-item.itemone, div.trust-item.itemfour {
    display: none;
  }
  div.trust-sep.itemtwo, div.trust-sep.itemfour{
    display: none;
  }
}

/* ===== SERVICES ===== */
.hp-services {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: var(--off-white);
}

.hp-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.hp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-forest);
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hp-section-eyebrow-extra {
  /* display: inline-flex; */
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-forest);
  background: #ffffff;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  max-width: 200px;
}

.hp-section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}

.hp-section-title span {
  color: var(--green-main);
}

.hp-section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.hp-svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid transparent;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  text-decoration: none;
}

.hp-svc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--green-mid);
}

.hp-svc-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}

.hp-svc-card:hover .hp-svc-icon-wrap {
  background: var(--green-mid);
}

.hp-svc-icon-wrap img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hp-svc-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.16s;
}

.hp-svc-card:hover .hp-svc-name {
  color: var(--green-forest);
}

.hp-svc-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.hp-svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-forest);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.16s, color 0.16s;
}

.hp-svc-card:hover .hp-svc-cta {
  gap: 8px;
  color: var(--green-main);
}

.hp-services-footer {
  text-align: center;
}

/* ===== WHY US ===== */
.hp-why {
  background: linear-gradient(135deg, var(--green-forest) 0%, #035228 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hp-why-bgimg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-why-bgimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.hp-why::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 178, 71, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hp-why::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 178, 71, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hp-why-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hp-why-top {
  text-align: center;
  margin-bottom: 48px;
}

.hp-section-eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.hp-section-title--white {
  color: #fff;
}

.hp-section-title--white span {
  color: var(--green-main);
}

.hp-why-intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.65;
}

.hp-why-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-perk-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.2s, border-color 0.2s;
}

.hp-perk-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.hp-perk-icon {
  width: 52px;
  height: 52px;
  background: rgba(97, 178, 71, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hp-perk-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.hp-perk-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.hp-about {
  padding: 80px 0;
  background: #fff;
  background: linear-gradient(180deg,rgba(214, 227, 214, 1) 0%, rgba(240, 242, 240, 1) 25%, rgba(255, 255, 255, 1) 100%);
  /* background: linear-gradient(180deg,rgba(236, 241, 234, 1) 0%, rgba(255, 255, 255, 1) 100%); */
  position: relative;
  overflow: hidden;
}

.hp-about-deco-tr {
  position: absolute;
  top: -15px;
  right: -35px;
  width: 200px;
  height: auto;
  z-index: 0;
  opacity: 1;
}

.hp-about-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hp-about-visual {
  position: relative;
}

.hp-gallery-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  box-shadow: var(--shadow-lg);
}

.hp-gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hp-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hp-gallery-slide.is-active {
  opacity: 1;
}

.hp-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  color: var(--green-forest);
  transition: background 0.18s, transform 0.18s;
}

.hp-gallery-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.07);
}

.hp-gallery-btn--prev {
  left: 14px;
}

.hp-gallery-btn--next {
  right: 14px;
}

.hp-gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hp-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.hp-gallery-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

.hp-about-text {
  padding-right: 16px;
}

.hp-about-text p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.hp-about-list {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.hp-about-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== CDCP SECTION ===== */
.hp-cdcp {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.hp-cdcp-deco {
  position: absolute;
  bottom: -25px;
  left: -55px;
  width: 360px;
  height: auto;
  z-index: 0;
  opacity: 1;
}

.hp-cdcp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hp-cdcp-text .hp-section-title {
  margin-bottom: 20px;
}

.hp-cdcp-text p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hp-cdcp-visual {
  position: relative;
}

.hp-cdcp-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--green-light);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hp-cdcp-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-cdcp-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--green-forest);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 8px 28px rgba(4, 105, 55, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: badge-float 3.4s ease-in-out infinite alternate;
}

.hp-cdcp-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(97, 178, 71, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-cdcp-badge-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hp-cdcp-badge-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
  display: block;
}

/* ===== TESTIMONIALS ===== */
.hp-reviews {
  padding: 80px 0 50px;
  background: #eaefe7cf !important;
}

.hp-reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.hp-stars {
  font-size: 20px;
  color: #f5a623;
  letter-spacing: 2px;
}

.hp-reviews-rating strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}


.hp-reviews-track {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 0 60px;
}


@media (max-width: 1024px) {
  .hp-reviews-track {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hp-reviews-track {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
  }
}


@media (max-width: 600px) {
  .hp-reviews-track {
      grid-template-columns: 1fr;
  }
}

.hp-review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.hp-review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--green-mid);
}

.hp-review-stars {
  font-size: 16px;
  color: #f5a623;
  letter-spacing: 2px;
}

.hp-review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.hp-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.hp-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-forest);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.hp-review-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.hp-review-loc {
  font-size: 12px;
  color: var(--text-muted);
}

.hp-review-date {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ===== FAQ & GALLERY SECTION ===== */
.hp-faq-gallery {
  padding: 80px 0;
  background: #fff;
}

.hp-faq-gallery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hp-faq-item {
  border-bottom: 1px solid var(--border);
}

.hp-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.hp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.16s;
}

.hp-faq-q:hover {
  color: var(--green-forest);
}

.hp-faq-item.is-open .hp-faq-q {
  color: var(--green-forest);
}

.hp-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.28s ease;
  color: var(--green-forest);
}

.hp-faq-item.is-open .hp-faq-chevron {
  transform: rotate(180deg);
}

.hp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.22s;
}

.hp-faq-a p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 20px;
}

.hp-faq-item.is-open .hp-faq-a {
  max-height: 300px;
}

/* ===== CTA BANNER ===== */
.hp-cta-banner {
  background: linear-gradient(135deg, var(--green-forest) 0%, #024d2a 100%);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}

.hp-cta-bgimg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-cta-bgimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.hp-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 178, 71, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hp-cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hp-cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.hp-cta-text p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 480px;
  line-height: 1.65;
}

.hp-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-main);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}

.hp-btn-primary:hover {
  background: #72c458;
  transform: translateY(-1px);
}

.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.hp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.hp-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 28px;
  background: transparent;
  color: var(--green-forest);
  border: 2px solid var(--green-forest);
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
}

.hp-outline-btn:hover {
  background: var(--green-forest);
  color: #fff;
}

/* ===== BOOKING FORM MODAL ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: #2a3526a6;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 8888;
  padding: 1rem;
}

.overlay.active {
  display: flex;
}

.booking-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.booking-modal-header {
  padding: 18px 22px 14px;
  position: relative;
  min-height: 52px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: linear-gradient(42deg, #ffffff9e, #72af5a94),
    url('https://file.greenwoodsdental.com/form-modal-header.jpg') center center/cover no-repeat;
}

.booking-close-btn {
  position: absolute;
  top: 11px;
  right: 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff;
  outline: 1px solid #62b143;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.booking-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.booking-modal-body {
  padding: 20px 24px 20px;
}

.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

.step-pane h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.step-pane p.sub {
  font-size: 13px;
  color: #6b8c6b;
  /* margin-bottom: 14px; */
}

.step-pane p.subs {
  font-size: 13px;
  color: #6b8c6b;
  /* margin-bottom: 14px; */
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #046937;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid #d4e8cb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 16px;
  color: #1a2e1a;
  outline: none;
  transition: border 0.15s;
  background: #fff;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #62b143;
  box-shadow: 0 0 0 3px rgba(98, 177, 67, 0.12);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  /* margin-bottom: 14px; */
}

@media (max-width: 479px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.field-group {
  margin-bottom: 14px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #046937;
}

.checkbox-row span {
  font-size: 13px;
  color: #6b8c6b;
  line-height: 1.4;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-prev {
  flex: 0 0 auto;
  background: #fff;
  border: 1.5px solid #d4e8cb;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  color: #6b8c6b;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}

.btn-prev:hover {
  border-color: #62b143;
  color: #046937;
}

.btn-next {
  flex: 1;
  background: #61b147;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-next:hover {
  background: #035a2f;
}

.address-inline-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}

.address-inline-wrapper input {
  flex: 1;
  min-width: 0;
}

.clear-address-btn {
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid #d4e8cb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #6b8c6b;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
}

.clear-address-btn:hover {
  border-color: #ee5a52;
  color: #ee5a52;
  background: #fff6f5;
}

#address-suggestions,
#b-address-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #d4e8cb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 220px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

.address-suggestion-item {
  padding: 10px 12px;
  font-size: 14px;
  color: #1a2e1a;
  cursor: pointer;
  border-bottom: 1px solid #eef2ee;
}

.address-suggestion-item:last-child {
  border-bottom: none;
}

.address-suggestion-item:hover {
  background: #f7fdf4;
}

.thankyou {
  text-align: center;
  padding: 10px 0 10px;
}

.thankyou .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f8eb;
  border: 3px solid #62b143;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.step-bar {
  padding: 20px 20px 30px;
  border-top: 1px solid #eef2ee;
}

.step-dots {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.step-dots::before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(10px + 6%);
  right: calc(10px + 6%);
  height: 2px;
  background: #d4e8cb;
  z-index: 0;
}

.dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d4e8cb;
  background: #fff;
  transition: all 0.25s;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #d4e8cb;
}

.dot.done {
  background: #62b143;
  border-color: #62b143;
  color: #fff;
}

.dot.active {
  background: #046937;
  border-color: #046937;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(98, 177, 67, 0.25);
}

.dot-label {
  font-size: 9px;
  color: #9ab99a;
  margin-top: 4px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.dot.done ~ .dot-label,
.dot.active ~ .dot-label {
  color: #046937;
}

.dot-wrap.active-wrap .dot-label {
  color: #046937;
  font-weight: 700;
}

.dot-wrap.done-wrap .dot-label {
  color: #62b143;
  /* font-weight: 700; */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hp-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hp-hero-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 0;
  }
  .hp-hero-content {
    padding-bottom: 0px;
  }
  .hp-hero-visual {
    min-height: 280px;
    align-self: auto;
  }
  .hp-hero-badge {
    left: 0;
  }
  .hp-hero-scroll {
    display: none;
  }
  .hp-why-perks {
    grid-template-columns: 1fr;
  }
  .hp-about-inner {
    grid-template-columns: 1fr;
  }
  .hp-cdcp-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hp-cdcp-badge {
    left: 0;
    bottom: -16px;
  }
  .hp-faq-gallery-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 768px) {
  .hp-hero-inner {
    padding: 60px 16px 0px;
  }
  .hp-services {
    padding: 56px 0 52px;
  }
  .hp-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hp-why {
    padding: 56px 0;
  }
  .hp-why-perks {
    gap: 16px;
  }
  .hp-about {
    padding: 56px 0;
  }
  .hp-about-inner {
    gap: 48px;
  }
  .hp-reviews {
    padding: 56px 0 0;
  }
  .hp-cdcp {
    padding: 56px 0;
  }
  .hp-faq-gallery {
    padding: 56px 0;
  }
  .hp-cta-banner {
    padding: 52px 16px;
  }
  .hp-cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .hp-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hp-trust-inner {
    flex-wrap: wrap;
    padding: 0 16px;
  }
  .trust-item {
    /* flex: 0 0 calc(50% - 0.5px); */
    padding: 14px 12px;
    justify-content: flex-start;
  }
  .trust-sep--B {
    display: none;
  }
  .trust-sep--A,
  .trust-sep--C {
    width: 1px;
    flex: none;
    align-self: stretch;
  }
  .hp-services-grid {
    grid-template-columns: 1fr;
  }
  .hp-why-perks {
    grid-template-columns: 1fr;
  }
  .hp-perk-card {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  #topbar {
    display: none;
  }
  #menubar {
    display: none;
  }
  #mob-topbar {
    display: flex;
  }
  #mob-logobar {
    display: flex;
  }
  #mob-bottombar {
    display: flex;
  }
  footer {
    padding-bottom: 60px;
  }
  .footer-divider {
    display: none;
  }
  .hp-cta-banner {
    padding-bottom: calc(var(--mob-bar-h) + 40px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #menubar {
    box-shadow: none;
  }
  #mob-topbar {
    display: none;
  }
  #mob-logobar {
    display: none;
  }
  #mob-bottombar {
    display: none;
  }
  #topbar {
    display: flex;
    padding: 0 3%;
  }
  .topbar-rotating {
    min-width: 345px;
  }
  .topbar-center {
    flex: 1;
    justify-content: center;
    gap: 6px;
  }
  .tb-email-link {
    display: none !important;
  }
  .tb-refer-tb {
    display: none !important;
  }
  .tb-divider.tab-hide {
    display: none !important;
  }
  .topbar-right {
    padding-left: 8px;
  }
  #menubar {
    display: flex;
    padding: 0 3%;
    position: sticky;
    top: 0;
  }
  .logo-col {
    margin-right: 0;
  }
  .btn-phone {
    display: flex;
  }
  .btn-book {
    padding: 0 14px;
    font-size: 12.5px;
  }
  .main-nav {
    display: none;
  }
  .menubar-cta {
    margin-left: auto;
  }
  #tab-navrow {
    display: flex;
  }
  .three-pillars {
    display: flex;
  }
  .menubar-leaves, .menubar-leaves-2 {
    display: block;
  }
  .social-icon {
    width: 30px;
  }
}

@media (min-width: 1024px) and (max-width: 1239px) {
  #mob-topbar,
  #mob-logobar,
  #mob-bottombar {
    display: none;
  }
  #tab-navrow {
    display: none;
  }
  #topbar {
    display: flex;
    padding: 0 3%;
  }
  #menubar {
    display: flex;
    padding: 0 3%;
  }
  .tb-email-link {
    display: none !important;
  }
  .tb-divider.desktop-only {
    display: none !important;
  }
  .topbar-center {
    flex: 1;
    justify-content: center;
  }
  .nav-btn {
    padding: 0 9px;
    font-size: 13px;
  }
  .btn-phone {
    display: none;
  }
  .btn-book {
    padding: 0 16px;
    font-size: 13px;
  }
  .main-nav {
    display: flex;
  }
  .three-pillars {
    display: flex;
  }
  .menubar-leaves, .menubar-leaves {
    display: block;
  }
  .collapsible-sections {
    display: none;
  }
  .desktop-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
  .grid-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .grid-section h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  .grid-section h3 a {
    font-size: 17px;
    color: white;
    text-decoration: none;
    display: block;
  }
  .grid-section ul {
    list-style: none;
  }
  .grid-section li {
    margin-bottom: 0.5rem;
  }
  .grid-section a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.75;
    transition: opacity 0.2s;
  }
  .grid-section h3 a {
    opacity: 1;
  }
  .grid-section h3 a:hover {
    color: #62b143;
  }
  .grid-section a:hover {
    opacity: 1;
  }
  .divider-line {
    border-top-width: 1px;
  }
  footer .logo-container img {
    width: 300px;
    height: auto;
  }
  .footer-bottom {
    padding: 2rem 5rem;
  }
  .bottom-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .privacy-links .separator {
    display: inline;
  }
}

@media (min-width: 1240px) {
  #mob-topbar,
  #mob-logobar,
  #mob-bottombar {
    display: none;
  }
  #tab-navrow {
    display: none;
  }
  #topbar {
    display: flex;
  }
  #menubar {
    display: flex;
  }
  .main-nav {
    display: flex;
  }
  .three-pillars {
    display: flex;
  }
  .tb-email-link {
    display: flex;
  }
  .menubar-leaves, .menubar-leaves-2 {
    display: block;
  }
  .collapsible-sections {
    display: none;
  }
  .desktop-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
  .grid-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .grid-section h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  .grid-section h3 a {
    font-size: 17px;
    color: white;
    text-decoration: none;
    display: block;
  }
  .grid-section ul {
    list-style: none;
  }
  .grid-section li {
    margin-bottom: 0.5rem;
  }
  .grid-section a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.75;
    transition: opacity 0.2s;
  }
  .grid-section h3 a {
    opacity: 1;
  }
  .grid-section h3 a:hover {
    color: #62b143;
  }
  .grid-section a:hover {
    opacity: 1;
  }
  .divider-line {
    border-top-width: 1px;
  }
  footer .logo-container img {
    width: 300px;
    height: auto;
  }
  .footer-bottom {
    padding: 2rem 5rem;
  }
  .bottom-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .privacy-links .separator {
    display: inline;
  }

}

.lang-flag img,
.lang-item img {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.lang-item {
  gap: 8px;
}


/* ==========================================================
  FOOTER STYLES
  ========================================================== */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 30px;
}

/* Footer */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-tagline{
  margin: 15px 0 20px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links, .footer-contact{
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font);
}

.footer-links li, .footer-contact li
{
  /* margin: 3px 0px 3px !important; */
  padding: 3px 0px 3px !important;
}

footer .footer-content ul li svg {
  display: inline;
}

h4.footer-col-title{
  font-size:18px;
  font-weight:700;
}

/* ==========================================================
  Copyright STYLES
  ========================================================== */
.copyright-content  { 
  background-color: #61b247; 
  color:#fff; 
 
  font-family: 'Poppins', sans-serif; }

@media (width > 1024px) {
  .copyright-content {
    padding: 0 1rem 0;
  }
}

.copyright-content {
  background-color: #61b247;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.copyright-bar {
  background-color: #61b247;
  max-width: 100%;
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
  padding: 1.25rem 1.25rem;
}

.copyright-bar p {
  font-size: 15px;
}

/* ==========================================================
   CDCP
   ========================================================== */
   #cdcp  .hp-cdcp-badge  span{
    color: #a6e78d !important;
    font-weight: 700;
  }
  
  .hp-cdcp-badge{
    color:#fff !important;
  }
  
#gwd-livechat-iframe {
    display: none !important;
    position: fixed;
}

#gwd-livechat-iframe {
  display: none !important;
}

/* .grecaptcha-badge { 
  visibility: hidden; 
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s linear;
  display: none !important;
} */

@media (max-width: 768px) {
  .grecaptcha-badge {
    visibility: hidden !important;
  }
}

.recaptcha-notice {
  font-size: 11px;
  color: #888;
  /* margin-top: 8px; */
}

.error-notice{
  border: 1px red solid;
  margin-bottom: 5px;
}

.error{
  color: red !important;
}


#b-reason{
  /* outline: #024d2a 1px solid; */
}


/* ========================
   COOKIE CONSENT MODAL
   ======================== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 99999;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.35);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}
#cookie-banner a {
  color: #7ec87e;
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#cookie-accept {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
#cookie-accept:hover { background: #1b5e20; }
#cookie-decline {
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}
#cookie-decline:hover { border-color: #aaa; color: #fff; }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  #cookie-accept, #cookie-decline { flex: 1; text-align: center; }
}


/* ==========================================================
   LANGUAGE / CLINICAL DISCLAIMER — Footer Banner
   ========================================================== */

   .lang-disclaimer-banner {
    background: #f0f9eb;
    border-top: 2px solid #c8eab5;
    padding: 0;
  }
  
  .lang-disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* Toggle button row */
  .lang-disclaimer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-family: var(--font-body);
    text-align: left;
  }
  
  .lang-disclaimer-toggle:hover .lang-disclaimer-label {
    color: var(--green-forest);
  }
  
  .lang-disclaimer-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--green-forest);
    transition: color 0.2s;
  }
  
  .lang-disclaimer-label svg {
    flex-shrink: 0;
    color: var(--green-main);
  }
  
  .lang-disclaimer-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--green-forest);
  }
  
  .lang-disclaimer-banner.open .lang-disclaimer-chevron {
    transform: rotate(180deg);
  }
  
  /* Collapsible body */
  .lang-disclaimer-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }
  
  .lang-disclaimer-banner.open .lang-disclaimer-body {
    max-height: 600px;
  }
  
  .lang-disclaimer-content {
    padding: 0 0 18px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
  }
  
  .lang-disclaimer-content p {
    margin-bottom: 10px;
  }
  
  .lang-disclaimer-content p:last-child {
    margin-bottom: 0;
  }
  
  .lang-disclaimer-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 6px 0 10px;
  }
  
  .lang-disclaimer-content ul li {
    margin-bottom: 5px;
  }
  
  .lang-disclaimer-content strong {
    color: var(--green-forest);
    font-weight: 600;
  }
  
  /* ==========================================================
     LANGUAGE / CLINICAL DISCLAIMER — Booking Form (Step 3)
     ========================================================== */
  
  .booking-disclaimer-wrap {
    margin: 10px 0 14px;
    border: 1px solid #c8eab5;
    border-radius: var(--radius-sm);
    background: #f6fcf2;
    overflow: hidden;
  }
  
  .booking-disclaimer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-family: var(--font-body);
    text-align: left;
  }
  
  .booking-disclaimer-toggle:hover {
    background: #edf7e7;
  }
  
  .booking-disclaimer-toggle-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green-forest);
  }
  
  .booking-disclaimer-toggle-label svg {
    flex-shrink: 0;
  }
  
  .booking-disclaimer-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--green-forest);
  }
  
  .booking-disclaimer-wrap.open .booking-disclaimer-chevron {
    transform: rotate(180deg);
  }
  
  .booking-disclaimer-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }
  
  .booking-disclaimer-wrap.open .booking-disclaimer-body {
    max-height: 400px;
  }
  
  .booking-disclaimer-content {
    padding: 0 12px 12px;
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid #dff0d5;
  }
  
  .booking-disclaimer-content p {
    margin-top: 8px;
    margin-bottom: 6px;
  }
  
  .booking-disclaimer-content p:first-child {
    margin-top: 10px;
  }
  
  .booking-disclaimer-content ul {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0 6px;
  }
  
  .booking-disclaimer-content ul li {
    margin-bottom: 4px;
  }
  
  .booking-disclaimer-content strong {
    color: var(--green-forest);
    font-weight: 600;
  }

/* ==========================================================
   PRIVACY POLICY MODAL
   ========================================================== */
#privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 20, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

#privacy-overlay.active {
  display: flex;
}

.privacy-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.privacy-modal-header {
  padding: 18px 22px 16px;
  position: relative;
  flex-shrink: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  /* background: linear-gradient(42deg, #ffffff9e, #72af5a94),
    url("https://file.greenwoodsdental.com/form-modal-header.jpg") center center/cover no-repeat; */
  background: linear-gradient(280deg, #ffffff9e, #328717a8), 
    url("https://file.greenwoodsdental.com/form-modal-header.jpg") center center/cover no-repeat;
}

.privacy-modal-header h2 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  padding-right: 36px;
  line-height: 1.3;
}

.privacy-modal-header p {
  font-size: 12.5px;
  color: var(--white);
  margin: 2px 0 0;
}

.privacy-close-btn {
  position: absolute;
  top: 11px;
  right: 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff;
  outline: 1px solid #62b143;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #046937;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.18s;
}

.privacy-close-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.privacy-modal-body {
  overflow-y: auto;
  padding: 24px 24px 28px;
  flex: 1;
}

.gwd-privacy {
  --clr-forest: #046937;
  --clr-sage: #4a7c59;
  --clr-sage-light: #6ea87a;
  --clr-cream: rgba(98, 177, 73, 0.12);
  --clr-stone: rgba(98, 177, 73, 0.22);
  --clr-text: #2c2c2c;
  --clr-muted: #6b6560;
  font-family: var(--font-body);
  color: var(--clr-text);
}

.gwd-privacy .policy-intro {
  background: var(--clr-forest);
  color: #fff;
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.gwd-privacy .policy-intro::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(110, 168, 122, 0.18);
  pointer-events: none;
}

.gwd-privacy .policy-intro p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
}

.gwd-privacy .policy-intro .review-badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-sage-light);
}

.gwd-privacy .outro {
  margin-top: 16px;
}

.gwd-privacy .outro .policy-intro {
  padding: 14px 26px;
  margin-bottom: 0;
}

.gwd-privacy .accordion {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gwd-privacy .acc-item {
  border: 1.5px solid var(--clr-stone);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.gwd-privacy .acc-item.open {
  border-color: var(--clr-sage);
}

.gwd-privacy .acc-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.gwd-privacy .acc-trigger:hover {
  background: var(--clr-cream);
}

.gwd-privacy .acc-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #62b143;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s;
}

.gwd-privacy .acc-item.open .acc-num {
  background: var(--clr-sage);
}

.gwd-privacy .acc-title {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--clr-forest);
  line-height: 1.5;
}

.gwd-privacy .acc-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--clr-sage);
}

.gwd-privacy .acc-icon::before,
.gwd-privacy .acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gwd-privacy .acc-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gwd-privacy .acc-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gwd-privacy .acc-item.open .acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.gwd-privacy .acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.gwd-privacy .acc-panel-inner {
  padding: 0 20px 20px 62px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--clr-text);
}

.gwd-privacy .acc-panel-inner p {
  margin: 0 0 12px;
}

.gwd-privacy .acc-panel-inner p:last-child {
  margin-bottom: 0;
}

.gwd-privacy .acc-panel-inner a {
  color: var(--clr-sage);
  text-decoration: underline;
}

.gwd-privacy .acc-panel-inner ul {
  margin: 6px 0 12px;
  padding-left: 0;
  list-style: none;
}

.gwd-privacy .acc-panel-inner ul li {
  padding: 3px 0 3px 18px;
  position: relative;
  font-size: 13px;
  color: var(--clr-muted);
}

.gwd-privacy .acc-panel-inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-sage-light);
}

.gwd-privacy .subsection-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clr-sage);
  margin: 18px 0 5px;
  display: block;
}

.gwd-privacy .subsection-label:first-child {
  margin-top: 0;
}

.gwd-privacy .highlight-box {
  background: var(--clr-cream);
  border-left: 3px solid var(--clr-sage);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--clr-muted);
}

.gwd-privacy .highlight-box a {
  color: var(--clr-sage);
  text-decoration: underline;
}

.gwd-privacy .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.gwd-privacy .contact-card {
  background: var(--clr-cream);
  border-radius: 8px;
  padding: 14px 16px;
}

.gwd-privacy .contact-card strong {
  display: block;
  font-size: 12.5px;
  color: var(--clr-forest);
  margin-bottom: 5px;
}

.gwd-privacy .contact-card p {
  font-size: 12.5px;
  color: var(--clr-muted);
  margin: 0 !important;
  line-height: 1.6;
}

.gwd-privacy .contact-card a {
  color: var(--clr-sage);
  text-decoration: none;
}

.gwd-privacy .contact-card a:hover {
  text-decoration: underline;
}

.gwd-privacy .opt-out-list {
  background: #fff;
  border: 1.5px solid var(--clr-stone);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 8px;
}

.gwd-privacy .opt-out-list li {
  color: var(--clr-text) !important;
}

@media (max-width: 600px) {
  .gwd-privacy .acc-panel-inner {
    padding: 0 16px 18px 16px;
  }
  .gwd-privacy .contact-grid {
    grid-template-columns: 1fr;
  }
  .privacy-modal-body {
    padding: 16px 16px 20px;
  }
}

/* ==========================================================
   NEW SECTIONS FOR INDEX.PHP (added after existing styles)
   ========================================================== */

/* Locations grid */
.hp-locations {
  padding: 80px 0;
  background: var(--off-white);
}

.hp-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.hp-loc-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 4 / 3;
}

.hp-loc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hp-loc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hp-loc-card:hover .hp-loc-img {
  transform: scale(1.03);
}

.hp-loc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  z-index: 1;
}

.hp-loc-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px;
  color: white;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.2s;
}

.hp-loc-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-head);
}

.hp-loc-info p {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.4;
  margin: 0;
}

.hp-loc-hover-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--green-forest);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}

.hp-loc-card:hover .hp-loc-hover-link {
  opacity: 1;
  transform: translateY(0);
}

.hp-loc-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hp-loc-badge {
  background: var(--green-main);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.hp-loc-dist-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
}

/* Map Section */
.hp-map-section {
  padding: 0 0 0px;
  background: var(--off-white);
}

.hp-map-wrap {
  position: relative;
  min-height: 600px;
}

.hp-map {
  height: 600px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
  position: relative;
}

.hp-map-form-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 340px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 2;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.3);
}

.hp-map-mobile-form {
  margin-top: 24px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.hp-map-form-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-forest);
}

.hp-map-form-inner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hp-contact-form input,
.hp-contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: border 0.2s;
}

.hp-contact-form input:focus,
.hp-contact-form textarea:focus {
  border-color: var(--green-main);
  outline: none;
}

.hp-contact-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.hp-contact-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green-forest);
}


@media (max-width: 900px) {
  .hp-map-form-overlay {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 20px;
  }
  .hp-map {
    height: 380px;
  }
}

/* Schedule Modal */
#schedule-modal .booking-modal {
  max-width: 640px;
}

.province-tab {
  transition: all 0.2s;
}
.province-tab:hover {
  color: var(--green-forest);
  background: rgba(98,177,67,0.08);
}

.schedule-card {
  transition: background 0.2s;
}
.schedule-card:hover {
  background: #f9fef7;
}

.call-btn {
  transition: background 0.2s, transform 0.1s;
}
.call-btn:hover {
  background: #e8f3e2 !important;
  transform: scale(1.02);
}

/* Phone Modal */
#phone-modal .booking-modal {
  max-width: 400px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.2rem;
}

/* About video + pillars */
.hp-about-vid-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3 !important;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.hp-about-vid-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.hp-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--green-main);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 0 0 0 rgba(98, 177, 67, 0.7);
  animation: pulse-border 1.5s ease-out infinite;
}

.hp-video-play-btn:hover {
  background: #5c9d5c;
  transform: translate(-50%, -50%) scale(1.05);
}

.hp-video-play-btn span {
  display: block;
  width: 0;
  height: 0;
  border-left: 28px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}

@media (max-width: 768px) {
  .hp-video-play-btn {
    width: 70px;
    height: 70px;
  }
  .hp-video-play-btn span {
    border-left: 22px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
  }
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(152, 182, 140, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(98, 177, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(98, 177, 67, 0);
  }
}

.hp-about-vid-wrap.video-playing .hp-video-play-btn {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity 0.3s ease;
}

.hp-video-audio-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.hp-video-audio-btn:hover {
  background: rgba(0,0,0,0.65);
  transform: translateY(-1px);
}

.hp-about-vid-wrap.video-playing .hp-video-audio-btn {
  opacity: 1;
  pointer-events: auto;
}

.hp-video-audio-btn svg {
  display: block;
}

.hp-video-audio-btn .audio-wave {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.hp-video-audio-btn.muted .audio-wave {
  opacity: 0;
}

.hp-video-audio-btn .audio-mute {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hp-video-audio-btn.muted .audio-mute {
  opacity: 1;
}

.hp-about-pillars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hp-perk-card--sm {
  background: rgba(255,255,255,0.12);
  padding: 7px 12px;
  text-align: center;
  margin: 0;
  border-radius: 0;
}

.hp-perk-card--sm .hp-perk-icon {
  margin: 0 auto 8px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
}

.hp-perk-card--sm h4 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: white;
}

.hp-perk-card--sm p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  display: none;
}
@media (min-width: 768px) {
  .hp-perk-card--sm p {
    display: block;
  }
}

/* Testimonial Swiper custom (if not already) */
.testimonial-swiper {
  padding-bottom: 50px;
}
.swiper-button-prev,
.swiper-button-next {
  color: var(--green-forest);
  background: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}
.swiper-pagination-bullet-active {
  background: var(--green-main);
}

/* Adjust hero video */
.hp-hero-bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Responsive adjustments for new sections */

@media (max-width: 768px) {
  .hp-locations-grid {
    gap: 18px;
  }
  .hp-team-grid {
    gap: 20px;
  }
  .hp-about-pillars {
    grid-template-columns: repeat(2, 1fr);
    display: none !important;
  }
  .hp-perk-card--sm p {
    display: none;
  }
  .hp-map-form-overlay {
    position: static;
    width: auto;
    margin: 20px 16px 0;
  }
  .hp-map {
    border-radius: 0;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
#preloader div {
  width: 48px;
  height: 48px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--green-main);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========== EQUAL HEIGHT TESTIMONIALS (SWIPER) ========== */
.testimonial-swiper {
  overflow: visible; /* prevent clipping */
}

.testimonial-swiper .swiper-wrapper {
  align-items: stretch; /* ensure all slides stretch to same height */
}

.testimonial-swiper .swiper-slide {
  height: auto !important; /* override Swiper inline height */
  display: flex;
}

/* The card inside each slide */
.testimonial-swiper .hp-review-card,
.testimonial-swiper .swiper-slide > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Push bottom content down */
.hp-review-text {
  flex: 1;
}

/* Remove any extra margins that cause gaps */
.hp-review-card {
  margin: 0;
  padding: 26px 24px;
}



/* Desktop form overlay – hides on mobile, becomes block below map */
.mapsForm {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 340px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 2;
}

/* On screens smaller than 1024px, stop being an overlay */
@media (max-width: 1023px) {
  .mapsForm {
    position: static;
    width: auto;
    margin: 20px 16px 20px;
    transform: none;
    top: auto;
    right: auto;
  }
}

/* ==========================================================
   TESTIMONIALS SECTION – FADED EDGES (no overflow clip)
   ========================================================== */

  .hp-reviews {
  position: relative;
  overflow-x: clip;        /* prevents horizontal scroll but allows pseudo-elements */
  background: var(--off-white);
}

.hp-reviews .hp-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  overflow: visible;       /* ensure fades can extend outward */
}

.testimonial-swiper {
  position: relative;
  overflow: visible !important;  /* critical for pseudo-elements to show */
}

/* Left and right faded overlays – sit on top of swiper but allow clicking through */
.testimonial-swiper::before,
.testimonial-swiper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 10;
}

.testimonial-swiper::before {
  left: 0;
  background: linear-gradient(to right, #eaefe7cf 0%, transparent 100%);
}

.testimonial-swiper::after {
  right: 0;
  background: linear-gradient(to left, #eaefe7cf 0%, transparent 100%);
}

@media (max-width: 768px) {
  .testimonial-swiper::before,
  .testimonial-swiper::after {
    width: 40px;
  }
}

/* Ensure swiper wrapper stays above the fades */
.testimonial-swiper .swiper-wrapper {
  position: relative;
  z-index: 1;
}

/* Keep arrows clickable (they are outside the fade area if positioned properly) */
.testimonial-swiper .swiper-button-prev {
  left: 0;
  z-index: 20;
}
.testimonial-swiper .swiper-button-next {
  right: 0;
  z-index: 20;
}

.testimonial-swiper {
  position: relative;
  overflow: hidden !important;
}

/* Booking modal header */
#schedule-modal > div > div.booking-modal-header > h3, .booking-modal-header > h3{
  color: #fff;
  text-shadow: 2px 2px 3px #0b342085;
}

/* About pillars icons */
.hp-about-pillars i{
  color: #fff;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hp-about-vid-wrap {
    aspect-ratio: 4 / 4;
  }
}



/* ==================== Team section ==================== */
.hp-team {
  padding: 80px 0;
  background: #fff;
}

.hp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .hp-team-grid {
    grid-template-columns: 1fr;
    grid-template-columns: repeat(3, 1fr);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  .hp-team-grid {
  grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 501px) and (max-width: 1023px) {
  .hp-team-grid {
  grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 350px) and (max-width: 500px) {
  .hp-team-grid {
  grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 100px) and (max-width: 349px) {
  .hp-team-grid {
  grid-template-columns: repeat(1, 1fr);
  }

  .hp-team-photo {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
  }
}



.hp-team-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}

.hp-team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.hp-team-card.cursor-pointer {
  cursor: pointer;
}

.hp-team-photo {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--green-main);
  transition: transform 0.3s;
}

.team-info-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(98, 177, 67, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.hp-team-card:hover .team-info-icon {
  opacity: 1;
}

.team-info-icon:hover {
  background: #4e912f;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .team-info-icon {
    opacity: 1;
  }
}

.hp-team-card:hover .hp-team-photo {
  transform: scale(1.03);
}

.hp-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.hp-team-info {
  flex: 1;
  min-width: 0;
}

.hp-team-info h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-forest);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-team-info .team-role {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--green-main);
  margin: 0 0 10px;
}


.hp-team-info .bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hp-team-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .hp-team-photo {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
  }
  .hp-team {
    padding: 56px 0;
  }
}

/* Ensure uniform card height without inline bio */
.team-card {
  /* min-height: 320px; */
}

/* For mobile, always show icon (no hover) */
@media (max-width: 768px) {
  .team-info-icon {
    opacity: 1;
    background: #62b143;
  }
}


/* ===== BUSINESSES LAYOUT (sample: left heading + right staggered cards) ===== */
/* ===== BUSINESSES SECTION ===== */
.hp-businesses {
  background: #ECF1EA;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}


/* PNG decorative shape — anchored bottom-right, behind cards */
.hp-biz-deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  max-width: 80%;
  aspect-ratio: 1 / 1;
  background-image: url(assets/right-leaves.png);
  opacity: 0.5;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}


@media (width > 1540px) {
  .hp-biz-deco {
  width: 40%;
  max-width: 40%;
  }
}

@media (min-width: 1230px) and (max-width: 1540px) {
  .hp-biz-deco {
  width: 60%;
  max-width: 60%;
  }
}


.hp-biz-deco svg {
  display: none;
}

.hp-biz-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* True 2×2 grid */
.hp-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: stretch;
}

/* Cell 1: plain text — no card bg, just padded to match card rhythm */
.hp-biz-text-block {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding: 10px 16px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-biz-text-block .hp-section-title {
  text-align: left;
  margin-top: 12px;
}

.hp-biz-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 380px;
}

/* Cards */
.hp-biz-card {
  background: #fffffff0;
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hp-biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(4, 105, 55, 0.12);
}

.hp-biz-icon {
  width: 50px;
  height: 50px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-forest);
  margin-bottom: 16px;
}

.hp-biz-card h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--green-forest);
  margin-bottom: 10px;
}

.hp-biz-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Responsive: stack to single col on mobile */
@media (max-width: 700px) {
  .hp-biz-grid {
    grid-template-columns: 1fr;
  }

  .hp-biz-text-block {
    grid-column: 1 / 2;
    padding: 0 0 8px;
    text-align: center;
    align-items: center;
  }

  .hp-biz-text-block .hp-section-title {
    text-align: center;
  }

  .hp-biz-intro {
    max-width: 100%;
    text-align: center;
  }

  .hp-biz-deco {
    width: 100%;
    opacity: 0.5;
  }
}



/* PNG decorative shape — anchored bottom-left, behind cards */
.hp-about-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  max-width: 50%;
  aspect-ratio: 1 / 1;
  background-image: url(assets/left-leaves-2.png);
  opacity: 0.4;
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}


@media (width > 1540px) {
  .hp-about-deco {
  width: 40%;
  max-width: 40%;
  }
}

@media (min-width: 1230px) and (max-width: 1540px) {
  .hp-about-deco {
  width: 50%;
  max-width: 50%;
  }
}


.hp-about-deco svg {
  display: none;
}

/* Responsive: stack to single col on mobile */
@media (max-width: 700px) {
  .hp-about-deco {
    width: 100%;
    opacity: 0.6;
  }
}


/* Cards */
/* ===== Team card overflow fixes ===== */
.hp-team-card {
  overflow: hidden;           /* prevent content from spilling out */
}

.hp-team-info h3,
.hp-team-info .team-role {
  word-wrap: break-word;      /* break long words if necessary */
  overflow-wrap: break-word;
  hyphens: auto;              /* optional: add hyphens when breaking */
}

.hp-team-info h3 {
  white-space: normal;        /* allow name to wrap to multiple lines */
  line-height: 1.3;
  max-height: calc(1.3em * 2); /* limit to 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hp-team-info .team-role {
  white-space: normal;
  line-height: 1.4;
  max-height: calc(1.4em * 2); /* limit to 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.7rem;          /* slightly smaller for long roles */
}

/* For very small screens, further reduce font size */
@media (max-width: 480px) {
  .hp-team-info h3 {
    font-size: 0.85rem;
  }
  .hp-team-info .team-role {
    font-size: 0.6rem;
  }
}

/* Ensure consistent card height */
.hp-team-card {
  min-height: 200px;          /* adjust as needed */
  height: auto;
}

/* If the card uses flex column on mobile, prevent overflow */
@media (max-width: 600px) {
  .hp-team-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .hp-team-info {
    width: 100%;
  }
  .hp-team-info h3,
  .hp-team-info .team-role {
    max-width: 100%;
  }
}
/* Cards End */


/* ===== HERO IMAGE FLUSH-BOTTOM FIX ===== */
/* Prevents gap under dentist images when .hp-hero-inner top-padding is reduced */
.hp-hero {
  align-items: flex-end;
}

.hp-hero-inner {
  align-items: flex-end;
}

.hp-hero-content {
  /* padding-bottom: 100px; */
}

.hp-hero-visual {
  align-self: end;
  height: 600px;
  margin-bottom: -1px;
}

.hp-hero-dentist {
  max-height: 100%;
  height: 600px;
}
/* ===== END HERO IMAGE FLUSH-BOTTOM FIX ===== */


@media (max-width: 440px) {
  .hp-hero-visual {
    height: unset;
  }

  .hp-hero-dentist {
    height: unset !important;
  }
}