/*
 * cheerdental.css — CheerDental Child Theme
 * Design system: CSS custom properties → components → utilities
 * Performance: No @import, no external dependencies, < 20KB gzipped target
 */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand */
  --cd-teal:          #26C1C1;
  --cd-teal-dark:     #1a9e9e;
  --cd-teal-xdark:    #127a7a;
  --cd-teal-light:    #e8f9f9;
  --cd-teal-xlight:   #f2fcfc;
  --cd-grey:          #8E9091;
  --cd-grey-dark:     #3a3d3e;
  --cd-grey-mid:      #5a5d5e;
  --cd-grey-text:     #626566;
  --cd-emergency:     #e84343;
  --cd-emergency-dk:  #c42d2d;
  --cd-gold:          #f5a623;

  /* Neutrals */
  --cd-white:         #ffffff;
  --cd-off-white:     #f8fafa;
  --cd-border:        #e4eeee;

  /* Typography */
  --cd-font-display:  'Cormorant Garamond', 'Georgia', serif;
  --cd-font-body:     'Jost', 'Segoe UI', sans-serif;

  /* Spacing */
  --cd-space-xs:   4px;
  --cd-space-sm:   8px;
  --cd-space-md:   16px;
  --cd-space-lg:   24px;
  --cd-space-xl:   40px;
  --cd-space-2xl:  64px;
  --cd-space-3xl:  96px;

  /* Radii */
  --cd-radius-sm:  8px;
  --cd-radius-md:  12px;
  --cd-radius-lg:  20px;
  --cd-radius-xl:  32px;
  --cd-radius-pill:50px;

  /* Shadows */
  --cd-shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --cd-shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --cd-shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
  --cd-shadow-teal: 0 4px 24px rgba(38,193,193,0.22);

  /* Transitions */
  --cd-ease:        cubic-bezier(0.4,0,0.2,1);
  --cd-duration:    0.22s;
}

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--cd-font-body);
  color: var(--cd-grey-dark);
  background: var(--cd-white);
  line-height: 1.65;
  padding-bottom: 70px; /* mobile bar */
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =========================================================
   SKIP LINK
   ========================================================= */
.cd-skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--cd-teal); color: var(--cd-white);
  padding: 10px 20px; border-radius: var(--cd-radius-sm);
  font-weight: 600;
}
.cd-skip-link:focus { top: 8px; }

/* =========================================================
   CONTAINER
   ========================================================= */
.cd-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* =========================================================
   TYPOGRAPHY SCALE
   ========================================================= */
.cd-hero__h1     { font-family: var(--cd-font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.cd-section__h2  { font-family: var(--cd-font-display); font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.18; color: var(--cd-grey-dark); }
.cd-why__h2      { font-family: var(--cd-font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; color: var(--cd-grey-dark); margin-bottom: var(--cd-space-md); }
.cd-eyebrow      { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cd-teal); margin-bottom: 10px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.cd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--cd-radius-pill);
  font-family: var(--cd-font-body);
  font-weight: 600; font-size: 0.9rem;
  border: 2px solid transparent;
  transition: all var(--cd-duration) var(--cd-ease);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.cd-btn--lg   { padding: 14px 28px; font-size: 0.97rem; }
.cd-btn--icon { gap: 10px; }

.cd-btn--primary {
  background: var(--cd-teal);
  color: var(--cd-white);
  border-color: var(--cd-teal);
}
.cd-btn--primary:hover, .cd-btn--primary:focus-visible {
  background: var(--cd-teal-dark);
  border-color: var(--cd-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--cd-shadow-teal);
}

.cd-btn--teal { /* Same as primary — alias */
  background: var(--cd-teal); color: var(--cd-white); border-color: var(--cd-teal);
}
.cd-btn--teal:hover { background: var(--cd-teal-dark); border-color: var(--cd-teal-dark); transform: translateY(-2px); box-shadow: var(--cd-shadow-teal); }

.cd-btn--outline {
  background: transparent;
  color: var(--cd-teal);
  border-color: var(--cd-teal);
}
.cd-btn--outline:hover { background: var(--cd-teal); color: var(--cd-white); transform: translateY(-2px); }

.cd-btn--emergency {
  background: var(--cd-emergency);
  color: var(--cd-white);
  border-color: var(--cd-emergency);
  animation: cd-pulse-btn 2.2s ease-in-out infinite;
}
.cd-btn--emergency:hover { background: var(--cd-emergency-dk); border-color: var(--cd-emergency-dk); transform: translateY(-2px); }

.cd-btn--ghost {
  background: transparent;
  color: var(--cd-teal);
  border-color: var(--cd-teal);
}
.cd-btn--ghost:hover { background: var(--cd-teal); color: var(--cd-white); }

.cd-btn--white {
  background: var(--cd-white);
  color: var(--cd-teal);
  border-color: var(--cd-white);
}
.cd-btn--white:hover { background: var(--cd-teal-light); transform: translateY(-2px); }

.cd-btn--ghost-white {
  background: transparent;
  color: var(--cd-white);
  border-color: rgba(255,255,255,0.6);
}
.cd-btn--ghost-white:hover { background: rgba(255,255,255,0.1); border-color: var(--cd-white); }

@keyframes cd-pulse-btn {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,67,67,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(232,67,67,0); }
}

/* =========================================================
   PULSE DOT
   ========================================================= */
.cd-pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: cd-dot-pulse 1.8s ease-in-out infinite;
}
.cd-pulse-dot--lg { width: 12px; height: 12px; }

@keyframes cd-dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50%      { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* =========================================================
   TOP BAR
   ========================================================= */
.cd-topbar {
  background: var(--cd-grey-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 9px 0;
  line-height: 1.4;
}
.cd-topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.cd-topbar__left  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cd-topbar__right { display: flex; align-items: center; gap: 16px; }
.cd-topbar__item  { display: flex; align-items: center; gap: 6px; }

.cd-topbar__phone {
  display: flex; align-items: center; gap: 7px;
  color: var(--cd-teal);
  font-weight: 700; font-size: 0.88rem;
  transition: color var(--cd-duration);
}
.cd-topbar__phone:hover { color: #4dd4d4; }

.cd-topbar__emergency {
  display: flex; align-items: center; gap: 7px;
  background: var(--cd-emergency);
  color: var(--cd-white);
  padding: 4px 12px;
  border-radius: var(--cd-radius-pill);
  font-size: 0.78rem; font-weight: 600;
  transition: background var(--cd-duration);
}
.cd-topbar__emergency:hover { background: var(--cd-emergency-dk); }

/* =========================================================
   PRIMARY HEADER
   ========================================================= */
.cd-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cd-border);
  position: sticky; top: 0; z-index: 900;
  transition: box-shadow var(--cd-duration) var(--cd-ease);
}
.cd-header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.09); }
.cd-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 16px;
}

/* Logo */
.cd-header__logo a { display: flex; align-items: center; gap: 10px; }
.cd-header__logo svg, .cd-header__logo img { height: 44px; width: auto; }
.cd-logo-text {
  font-family: var(--cd-font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--cd-teal); line-height: 1;
}

/* Nav */
.cd-nav { flex: 1; }
.cd-nav__menu {
  display: flex; align-items: center;
  gap: 2px;
  list-style: none;
}
.cd-nav__menu > li > a {
  display: block;
  padding: 8px 13px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--cd-grey-dark);
  border-radius: var(--cd-radius-sm);
  transition: color var(--cd-duration), background var(--cd-duration);
  position: relative;
}
.cd-nav__menu > li > a:hover,
.cd-nav__menu > li > a:focus-visible {
  color: var(--cd-teal);
  background: var(--cd-teal-light);
}
/* Dropdown arrow */
.cd-nav__menu .menu-item-has-children > a::after {
  content: ' ▾'; font-size: 0.65em; opacity: 0.7;
}
/* Sub-menu */
.cd-nav__menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  box-shadow: var(--cd-shadow-lg);
  padding: 10px;
  min-width: 220px;
  display: none;
  list-style: none;
  z-index: 100;
}
.cd-nav__menu .menu-item-has-children { position: relative; }
.cd-nav__menu .menu-item-has-children:hover .sub-menu,
.cd-nav__menu .menu-item-has-children:focus-within .sub-menu { display: block; }
.cd-nav__menu .sub-menu a {
  display: block; padding: 9px 14px;
  font-size: 0.84rem; color: var(--cd-grey-mid);
  border-radius: var(--cd-radius-sm);
  transition: color var(--cd-duration), background var(--cd-duration);
}
.cd-nav__menu .sub-menu a:hover { color: var(--cd-teal); background: var(--cd-teal-xlight); }

/* Header CTAs */
.cd-header__ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cd-header__mobile-call { display: none; }
.cd-header__book-btn  { font-size: 0.88rem; padding: 10px 20px; }

/* Hamburger */
.cd-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; min-width: 44px; min-height: 44px;
  background: none; border: none; padding: 8px;
}
.cd-hamburger__bar {
  display: block; width: 24px; height: 2px;
  background: var(--cd-grey-dark); border-radius: 2px;
  transition: transform 0.3s var(--cd-ease), opacity 0.2s;
}
.cd-hamburger[aria-expanded="true"] .cd-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cd-hamburger[aria-expanded="true"] .cd-hamburger__bar:nth-child(2) { opacity: 0; }
.cd-hamburger[aria-expanded="true"] .cd-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   STICKY BAR (desktop — appears after 400px scroll)
   ========================================================= */
.cd-sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 850;
  background: var(--cd-grey-dark);
  color: var(--cd-white);
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform 0.3s var(--cd-ease);
}
.cd-sticky-bar.is-visible { transform: translateY(0); }
.cd-sticky-bar__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.cd-sticky-bar__tagline { font-size: 0.9rem; font-weight: 500; }
.cd-sticky-bar__rating  { color: var(--cd-gold); margin-left: 8px; }
.cd-sticky-bar__actions { display: flex; gap: 10px; align-items: center; }
.cd-sticky-bar__phone   { font-size: 0.88rem; padding: 8px 16px; }

/* =========================================================
   MOBILE BOTTOM BAR
   ========================================================= */
.cd-mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: var(--cd-white);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
  padding: 8px 0 12px;
}
.cd-mobile-bar__item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600;
  color: var(--cd-grey-mid);
  padding: 4px 0;
  transition: color var(--cd-duration);
}
.cd-mobile-bar__call, .cd-mobile-bar__book { color: var(--cd-teal); }
.cd-mobile-bar__emergency { color: var(--cd-emergency); }
.cd-mobile-bar__item:hover { color: var(--cd-teal-dark); }

/* =========================================================
   SECTION COMMONS
   ========================================================= */
.cd-section        { padding: var(--cd-space-3xl) 0; }
.cd-section--light { background: var(--cd-off-white); }
.cd-section__header {
  text-align: center; margin-bottom: var(--cd-space-2xl);
}
.cd-section__subtitle {
  font-size: 1.02rem; color: var(--cd-grey-text);
  margin-top: 12px; max-width: 540px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

/* =========================================================
   HERO
   ========================================================= */
.cd-hero {
  padding: var(--cd-space-3xl) 0;
  background: linear-gradient(138deg, var(--cd-teal-xlight) 0%, var(--cd-white) 55%, #fff8f2 100%);
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center;
}

/* BG shapes */
.cd-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.cd-hero__bg-circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(38,193,193,0.09) 0%, transparent 70%);
}
.cd-hero__bg-circle--1 { width: 700px; height: 700px; top: -200px; right: -150px; }
.cd-hero__bg-circle--2 { width: 400px; height: 400px; bottom: -100px; left: -80px; }
.cd-hero__bg-arc {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cd-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.cd-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}

/* Hero copy */
.cd-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-pill);
  padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--cd-grey-mid);
  margin-bottom: var(--cd-space-lg);
  box-shadow: var(--cd-shadow-sm);
  animation: cd-fade-up 0.5s var(--cd-ease) both;
}
.cd-hero__stars      { color: var(--cd-gold); letter-spacing: 2px; }
.cd-hero__pill-dot   { width: 4px; height: 4px; background: var(--cd-border); border-radius: 50%; }

.cd-hero__h1 {
  color: var(--cd-grey-dark);
  margin-bottom: var(--cd-space-lg);
  animation: cd-fade-up 0.55s 0.1s var(--cd-ease) both;
}
.cd-hero__h1-accent { color: var(--cd-teal); position: relative; display: inline-block; }
.cd-hero__h1-accent::after {
  content: '';
  position: absolute; bottom: 3px; left: 0; right: 0;
  height: 4px; background: var(--cd-teal); opacity: 0.18;
  border-radius: 2px;
}

.cd-hero__subtitle {
  font-size: 1.08rem; color: var(--cd-grey-text);
  line-height: 1.72; max-width: 500px;
  margin-bottom: var(--cd-space-xl);
  animation: cd-fade-up 0.55s 0.18s var(--cd-ease) both;
}

.cd-hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: var(--cd-space-xl);
  animation: cd-fade-up 0.55s 0.26s var(--cd-ease) both;
}

.cd-hero__stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: var(--cd-space-lg);
  border-top: 1px solid var(--cd-border);
  animation: cd-fade-up 0.55s 0.34s var(--cd-ease) both;
}
.cd-hero__stat        { display: flex; flex-direction: column; }
.cd-hero__stat-num    { font-family: var(--cd-font-display); font-size: 1.7rem; font-weight: 700; color: var(--cd-teal); line-height: 1; }
.cd-hero__stat-label  { font-size: 0.76rem; color: var(--cd-grey); font-weight: 500; margin-top: 3px; }

/* Hero visual */
.cd-hero__visual      { position: relative; animation: cd-fade-up 0.65s 0.15s var(--cd-ease) both; }
.cd-hero__img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13);
  background: linear-gradient(135deg, var(--cd-teal) 0%, var(--cd-teal-dark) 100%);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.cd-hero__img { width: 100%; height: 100%; object-fit: cover; }
.cd-hero__img-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; padding: 40px; text-align: center;
  color: rgba(255,255,255,0.75); font-size: 0.88rem; font-style: italic;
}

/* Floating cards */
.cd-hero__float-card {
  position: absolute;
  background: var(--cd-white);
  border-radius: var(--cd-radius-md);
  box-shadow: var(--cd-shadow-lg);
  padding: 14px 18px;
}
.cd-hero__float-card--trust {
  bottom: -20px; left: -32px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 190px;
}
.cd-hero__float-card--trust .cd-hero__float-stars { color: var(--cd-gold); font-size: 1rem; }
.cd-hero__float-card--trust strong { font-size: 0.9rem; color: var(--cd-grey-dark); }
.cd-hero__float-card--trust span  { font-size: 0.76rem; color: var(--cd-grey); }
.cd-hero__float-card--tech {
  top: 28px; right: -24px;
  display: flex; align-items: center; gap: 8px;
  background: var(--cd-teal); color: var(--cd-white);
  font-size: 0.82rem; font-weight: 600;
}

/* =========================================================
   EMERGENCY BAND
   ========================================================= */
.cd-emergency-band {
  background: linear-gradient(135deg, #c42d2d 0%, var(--cd-emergency) 100%);
  padding: var(--cd-space-lg) 0; color: var(--cd-white); text-align: center;
}
.cd-emergency-band__inner {
  display: flex; align-items: center; justify-content: center;
  gap: var(--cd-space-xl); flex-wrap: wrap;
}
.cd-emergency-band__icon { font-size: 2rem; position: relative; }
.cd-emergency-band__h2  { font-family: var(--cd-font-display); font-size: 1.6rem; margin-bottom: 4px; }
.cd-emergency-band p    { opacity: 0.9; font-size: 0.95rem; }

/* =========================================================
   PRIORITY SERVICES (Invisalign, Implants, Emergency)
   ========================================================= */
.cd-priority-services { padding: var(--cd-space-3xl) 0; }
.cd-priority-services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cd-priority-card {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: hidden;
  transition: transform var(--cd-duration) var(--cd-ease), box-shadow var(--cd-duration) var(--cd-ease), border-color var(--cd-duration);
}
.cd-priority-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cd-shadow-teal);
  border-color: var(--cd-teal);
}
.cd-priority-card--emergency:hover { border-color: var(--cd-emergency); box-shadow: 0 8px 32px rgba(232,67,67,0.15); }
.cd-priority-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--cd-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--cd-ease);
}
.cd-priority-card--emergency::after { background: var(--cd-emergency); }
.cd-priority-card:hover::after      { transform: scaleX(1); }

.cd-priority-card__badge {
  display: inline-flex; align-items: center;
  background: var(--cd-teal-light); color: var(--cd-teal);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: var(--cd-radius-pill);
  width: fit-content; margin-bottom: 16px;
}
.cd-priority-card__badge--gold  { background: #fff8e8; color: #b87d00; }
.cd-priority-card__badge--red   { background: #ffeaea; color: var(--cd-emergency); }

.cd-priority-card__icon { margin-bottom: 16px; }
.cd-priority-card__body { flex: 1; }
.cd-priority-card__h3   { font-size: 1.1rem; font-weight: 700; color: var(--cd-grey-dark); margin-bottom: 4px; }
.cd-priority-card__meta { font-size: 0.78rem; color: var(--cd-grey); margin-bottom: 12px; }
.cd-priority-card__desc { font-size: 0.88rem; color: var(--cd-grey-text); line-height: 1.7; margin-bottom: 16px; }
.cd-priority-card__features {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 24px;
}
.cd-priority-card__features li {
  font-size: 0.83rem; color: var(--cd-grey-mid);
  padding-left: 18px; position: relative;
}
.cd-priority-card__features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--cd-teal); font-weight: 700; font-size: 0.85rem;
}
.cd-priority-card--emergency .cd-priority-card__features li::before { color: var(--cd-emergency); }

.cd-priority-card__footer {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; padding-top: 16px;
  border-top: 1px solid var(--cd-border);
}
.cd-priority-card__price { font-size: 0.8rem; color: var(--cd-grey); }
.cd-priority-card__price--urgent { color: var(--cd-emergency); font-weight: 600; }

/* =========================================================
   ALL SERVICES GRID
   ========================================================= */
.cd-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cd-service-card {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  transition: all var(--cd-duration) var(--cd-ease);
}
.cd-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cd-shadow-teal);
  border-color: var(--cd-teal);
}
.cd-service-card__icon {
  width: 52px; height: 52px;
  background: var(--cd-teal-light);
  border-radius: var(--cd-radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--cd-duration);
}
.cd-service-card:hover .cd-service-card__icon { background: var(--cd-teal); }
.cd-service-card:hover .cd-service-card__icon svg { stroke: white; }
.cd-service-card__h3 { font-size: 0.97rem; font-weight: 700; color: var(--cd-grey-dark); }
.cd-service-card__excerpt { font-size: 0.84rem; color: var(--cd-grey-text); line-height: 1.65; flex: 1; }
.cd-service-card__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.83rem; font-weight: 600; color: var(--cd-teal);
  transition: gap var(--cd-duration);
}
.cd-service-card:hover .cd-service-card__link { gap: 8px; }

/* =========================================================
   WHY CHOOSE
   ========================================================= */
.cd-why__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.cd-why__features { display: flex; flex-direction: column; gap: 20px; margin: var(--cd-space-xl) 0; }
.cd-why__feature  { display: flex; gap: 16px; align-items: flex-start; }
.cd-why__feature-icon { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.cd-why__feature-h3   { font-size: 0.97rem; font-weight: 700; color: var(--cd-grey-dark); margin-bottom: 3px; }
.cd-why__feature p    { font-size: 0.84rem; color: var(--cd-grey-text); line-height: 1.65; }

.cd-why__stats-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cd-why__stat {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--cd-shadow-sm);
}
.cd-why__stat--offset { margin-top: 24px; }
.cd-why__stat-num   { display: block; font-family: var(--cd-font-display); font-size: 2rem; font-weight: 700; color: var(--cd-teal); }
.cd-why__stat-label { font-size: 0.8rem; color: var(--cd-grey); margin-top: 4px; }

/* =========================================================
   FINANCIAL
   ========================================================= */
.cd-financial__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: var(--cd-space-xl);
}
.cd-financial__card {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--cd-shadow-sm);
}
.cd-financial__icon { font-size: 2rem; margin-bottom: 12px; }
.cd-financial__h3   { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--cd-grey-dark); }
.cd-financial__card p { font-size: 0.86rem; color: var(--cd-grey-text); line-height: 1.65; }
.cd-financial__offer-inner {
  background: var(--cd-teal-light);
  border: 1px solid var(--cd-teal);
  border-radius: var(--cd-radius-md);
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.cd-financial__offer-title { font-size: 1.05rem; font-weight: 700; color: var(--cd-teal); display: block; margin-bottom: 4px; }
.cd-financial__offer p    { font-size: 0.88rem; color: var(--cd-grey-text); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.cd-testimonials__track-wrap { overflow: hidden; }
.cd-testimonials__track {
  display: flex; gap: 24px;
  transition: transform 0.4s var(--cd-ease);
}
.cd-t-card {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  padding: 30px 26px;
  min-width: 340px; flex-shrink: 0;
  box-shadow: var(--cd-shadow-sm);
}
.cd-t-stars   { color: var(--cd-gold); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.cd-t-text    { font-size: 0.92rem; color: var(--cd-grey-text); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.cd-t-author  { display: flex; align-items: center; gap: 12px; }
.cd-t-avatar  {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cd-teal-light); color: var(--cd-teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.cd-t-author strong { font-size: 0.9rem; color: var(--cd-grey-dark); display: block; }
.cd-t-author span   { font-size: 0.77rem; color: var(--cd-grey); }
.cd-testimonials__nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.cd-testimonials__nav button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--cd-border); background: var(--cd-white);
  font-size: 1.1rem; color: var(--cd-grey-dark);
  transition: all var(--cd-duration);
}
.cd-testimonials__nav button:hover { background: var(--cd-teal); border-color: var(--cd-teal); color: var(--cd-white); }

/* =========================================================
   FAQ
   ========================================================= */
.cd-faq__list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.cd-faq__item {
  background: var(--cd-white);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius-md);
  overflow: hidden;
  transition: border-color var(--cd-duration);
}
.cd-faq__item:has(.cd-faq__answer:not([hidden])) { border-color: var(--cd-teal); }
.cd-faq__question {
  width: 100%; padding: 18px 24px;
  background: none; border: none;
  text-align: left; font-size: 0.95rem; font-weight: 600;
  color: var(--cd-grey-dark);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  transition: color var(--cd-duration);
}
.cd-faq__question:hover    { color: var(--cd-teal); }
.cd-faq__icon              { font-size: 1.2rem; color: var(--cd-teal); transition: transform 0.25s var(--cd-ease); flex-shrink: 0; }
.cd-faq__question[aria-expanded="true"] .cd-faq__icon { transform: rotate(45deg); }
.cd-faq__answer            { padding: 0 24px 18px; font-size: 0.88rem; color: var(--cd-grey-text); line-height: 1.72; }
.cd-faq__answer[hidden]    { display: none; }

/* =========================================================
   FINAL CTA BAND
   ========================================================= */
.cd-cta-band {
  background: linear-gradient(135deg, var(--cd-teal-xdark) 0%, var(--cd-teal) 100%);
  padding: var(--cd-space-3xl) 0;
  position: relative; overflow: hidden;
  color: var(--cd-white);
}
.cd-cta-band__bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cd-cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--cd-space-xl);
  position: relative; z-index: 2;
}
.cd-cta-band__h2 { font-family: var(--cd-font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cd-cta-band p   { opacity: 0.88; font-size: 0.95rem; }
.cd-cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.cd-footer { background: var(--cd-grey-dark); color: rgba(255,255,255,0.78); }
.cd-footer__main { padding: 64px 0 48px; }
.cd-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.cd-footer__logo-link { display: inline-block; margin-bottom: 14px; }
.cd-footer__logo-text { font-family: var(--cd-font-display); font-size: 1.5rem; color: var(--cd-teal); font-weight: 700; }
.cd-footer__bio { font-size: 0.84rem; line-height: 1.72; margin-bottom: 18px; }
.cd-footer__socials { display: flex; gap: 10px; }
.cd-footer__socials a {
  width: 36px; height: 36px; border-radius: var(--cd-radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); transition: background var(--cd-duration);
}
.cd-footer__socials a:hover { background: var(--cd-teal); }

.cd-footer__col-heading {
  font-size: 0.84rem; font-weight: 700;
  color: var(--cd-white); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.cd-footer__link-list { display: flex; flex-direction: column; gap: 9px; }
.cd-footer__link-list li a { font-size: 0.84rem; color: rgba(255,255,255,0.7); transition: color var(--cd-duration); }
.cd-footer__link-list li a:hover { color: var(--cd-teal); }

.cd-footer__contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.cd-footer__contact-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.84rem; color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.cd-footer__contact-list li a { color: var(--cd-teal); font-weight: 600; }
.cd-footer__contact-list li svg { flex-shrink: 0; margin-top: 3px; opacity: 0.7; }
.cd-footer__book-btn { font-size: 0.84rem; padding: 10px 20px; }

.cd-footer__bottom {
  background: rgba(0,0,0,0.2); padding: 18px 0;
}
.cd-footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.cd-footer__copyright { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.cd-footer__legal { display: flex; gap: 20px; }
.cd-footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color var(--cd-duration); }
.cd-footer__legal a:hover { color: var(--cd-teal); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes cd-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .cd-priority-services__grid { grid-template-columns: 1fr 1fr; }
  .cd-services__grid          { grid-template-columns: repeat(2, 1fr); }
  .cd-footer__grid            { grid-template-columns: 1fr 1fr; }
  .cd-topbar__address         { display: none; }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  body { padding-bottom: 74px; }

  /* Nav */
  nav.cd-nav { display: none; }
  nav.cd-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cd-white); z-index: 800;
    padding: 80px 24px 24px;
    overflow-y: auto;
  }
  .cd-nav__menu { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cd-nav__menu > li > a { font-size: 1.05rem; padding: 12px 16px; width: 100%; border-bottom: 1px solid var(--cd-border); }
  .cd-nav__menu .sub-menu { position: static; box-shadow: none; padding-left: 16px; }

  .cd-hamburger             { display: flex; }
  .cd-header__mobile-call   { display: flex; }
  .cd-header__book-btn      { display: none; }
  .cd-sticky-bar            { display: none; }
  .cd-mobile-bar            { display: flex; }

  /* Hero */
  .cd-hero { min-height: auto; padding: 56px 0 40px; }
  .cd-hero__inner       { grid-template-columns: 1fr; gap: 40px; }
  .cd-hero__visual      { display: none; }
  .cd-hero__h1          { font-size: 2rem; }
  .cd-hero__stats       { gap: 16px; }

  /* Sections */
  .cd-priority-services__grid { grid-template-columns: 1fr; }
  .cd-services__grid          { grid-template-columns: 1fr 1fr; }
  .cd-why__grid               { grid-template-columns: 1fr; }
  .cd-why__stats-panel        { display: none; }
  .cd-financial__grid         { grid-template-columns: 1fr; }
  .cd-footer__grid            { grid-template-columns: 1fr; }
  .cd-emergency-band__inner   { flex-direction: column; text-align: center; }
  .cd-cta-band__inner         { flex-direction: column; text-align: center; }
  .cd-t-card                  { min-width: 280px; }
}

@media (max-width: 480px) {
  .cd-services__grid { grid-template-columns: 1fr; }
  .cd-hero__ctas     { flex-direction: column; }
  .cd-topbar         { display: none; }
}
