/* ============================================================
   Top Dog KC - Main Stylesheet
   Navy/Gold Theme | Mobile-first | WCAG 2.1 AA | Core Web Vitals optimized
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Brand colors - Navy/Gold theme */
  --navy:        #162447;
  --navy-light:  #1e2f5c;
  --navy-tint:   #f0f4ff;
  --gold:        #FFD700;
  --gold-dark:   #C9A84C;
  --gold-light:  #FFF0A0;
  --black:       #0D0D0D;
  --white:       #FFFFFF;
  --red:         #C0392B;
  --green:       #27AE60;

  /* Legacy gray aliases mapped to navy palette for compatibility */
  --gray-900:    #162447;
  --gray-700:    #2a3a6e;
  --gray-500:    #6b7ab5;
  --gray-200:    #d0d8f0;
  --gray-100:    #f0f4ff;

  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.375vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.625vw, 1.375rem);
  --text-xl:   clamp(1.25rem,  1.1rem  + 0.75vw,  1.625rem);
  --text-2xl:  clamp(1.5rem,   1.3rem  + 1vw,     2.25rem);
  --text-3xl:  clamp(2rem,     1.6rem  + 2vw,     3rem);
  --text-4xl:  clamp(2.5rem,   2rem    + 2.5vw,   4rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius:    6px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow:    0 2px 12px rgba(22,36,71,.10);
  --shadow-lg: 0 8px 32px rgba(22,36,71,.18);
  --transition: 200ms ease-out;

  --container: 1200px;
  --sidebar-w: 240px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2em; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--gold);
  color: var(--black);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-2); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }

/* ============================================================
   SIDEBAR NAVIGATION
   ============================================================ */

/* Sidebar - fixed left panel, desktop only */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,.08);
  display: none;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  box-shadow: 2px 0 16px rgba(22,36,71,.30);
}

.sidebar-logo {
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: center;
}

.sidebar-links {
  flex: 1;
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition), background var(--transition);
  white-space: normal;
  line-height: 1.3;
}
.sidebar-link svg { flex-shrink: 0; opacity: .75; }
.sidebar-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.sidebar-link:hover svg { opacity: 1; }
.sidebar-link.is-active {
  color: var(--gold);
  background: rgba(255,215,0,.12);
  font-weight: 700;
}
.sidebar-link.is-active svg { color: var(--gold); opacity: 1; }

.sidebar-bottom {
  padding: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.sidebar-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-1);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.sidebar-social-link:hover { color: var(--gold); }
.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.sidebar-phone:hover { color: var(--gold); }

/* Sidebar hours block */
.sidebar-hours {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--space-1);
}
.sidebar-hours-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.sidebar-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.65);
  padding: 2px 0;
}
.sidebar-hours-appt {
  font-size: var(--text-xs);
  color: rgba(255,215,0,.5);
  font-style: italic;
  margin-top: var(--space-1);
}

/* Mobile menu hours + buttons */
.mobile-menu-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-3) var(--space-6);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-hours-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}
.mobile-menu-hours span:not(.mobile-menu-hours-label) {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
}
.mobile-menu-btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
}

/* Page content pushed right by sidebar width on desktop */
.page-wrap {
  margin-left: 0;
}

/* Desktop: show sidebar, hide mobile bar */
@media (min-width: 1024px) {
  .page-wrap    { margin-left: var(--sidebar-w); }
  .sidebar      { display: flex !important; }
  .mobile-bar   { display: none !important; }
  .mobile-menu  { display: none !important; }
}

/* Mobile: hide sidebar, show mobile bar */
@media (max-width: 1023px) {
  .sidebar      { display: none !important; }
  .mobile-bar   { display: flex !important; }
}

/* Mobile top bar (replaces the sidebar on small screens) */
.mobile-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 12px rgba(22,36,71,.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
  height: 60px;
}
.mobile-logo { display: flex; align-items: center; }

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-2);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer - drops down below mobile-bar */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--navy-light);
  border-bottom: 2px solid rgba(255,215,0,.3);
  z-index: 199;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  padding: var(--space-2) 0 var(--space-4);
}
.mobile-menu.is-open { display: flex; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu > a {
  display: block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu > a:hover,
.mobile-menu > a[aria-current="page"] {
  color: var(--gold);
  background: rgba(255,215,0,.08);
}
.mobile-menu-btns .btn { display: block; text-align: center; }

/* Footer city list - 2 column layout */
/* footer-cities split into two columns in template.php - no CSS columns needed */

/* Sidebar hidden on mobile by default (display:none in base rule) */

/* ============================================================
   TRUST BAR (under nav)
   ============================================================ */
.trust-bar {
  background: var(--navy-light);
  padding-block: var(--space-2);
  border-bottom: 1px solid rgba(255,215,0,.15);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.80);
}
.trust-bar-sep {
  width: 1px;
  height: 14px;
  background: var(--gold);
  opacity: 0.4;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}
.trust-bar-item svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,215,0,.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--gold-light);
}
.btn-lg {
  font-size: var(--text-base);
  padding: 1.125rem 2.25rem;
}
.btn-full { width: 100%; }

/* ============================================================
   HERO - Full bleed cinematic
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy);
}
@media (min-width: 768px) {
  .hero { min-height: 80vh; }
}

/* Full bleed background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  display: block;
}

/* Dark navy gradient overlay - left side heavier so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(22, 36, 71, 0.55) 0%,
    rgba(22, 36, 71, 0.35) 45%,
    rgba(22, 36, 71, 0.05) 100%
  );
}

/* Content sits above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: var(--space-16) var(--space-8);
  margin-left: 0;
}
@media (min-width: 1200px) {
  .hero-content {
    padding-left: calc((100vw - var(--container)) / 2 + var(--space-8));
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.30);
  border-radius: 100px;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw + 0.8rem, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.90);
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-10);
}

.hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  flex-wrap: nowrap;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,0,.25);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  width: fit-content;
  max-width: calc(100vw - var(--space-8));
  box-sizing: border-box;
}
.hero-stars svg { flex-shrink: 0; }
.hero-stars-text {
  color: rgba(255,255,255,.90);
  margin-left: 6px;
  white-space: normal;
  font-size: var(--text-sm);
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-stars-text strong {
  color: var(--gold);
  font-weight: 700;
}

/* Wave divider at bottom */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-wave svg path { fill: var(--white); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-12); }
.section-lg { padding-block: var(--space-24); }

/* Alternating section backgrounds */
.section-alt { background: var(--navy-tint); }

/* Dark navy section */
.section-dark,
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy .section-header h2 { color: var(--white); }
.section-navy .section-header p { color: rgba(255,255,255,.7); }
.section-navy .section-label { color: var(--gold); }

.section-gold {
  background: var(--gold);
  color: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin-inline: auto;
}
.section-dark .section-header p { color: rgba(255,255,255,.7); }
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}
.section-dark .section-label { color: var(--gold); }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: var(--space-6); }
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,215,0,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--gold-dark);
}
.card-body h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--navy);
}
.card-body p { color: var(--gray-500); font-size: var(--text-sm); line-height: 1.7; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--gold);
  padding-block: var(--space-8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-number {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(0,0,0,.65);
  margin-top: var(--space-1);
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}
.service-card p { color: var(--gray-500); font-size: var(--text-sm); }
.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.testimonial-stars {
  color: var(--gold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
  display: flex;
  gap: 2px;
}
.testimonial-text {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
}
/* testimonial-quote and testimonial-author used in index.php */
.testimonial-quote {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  font-style: italic;
}
.testimonial-card .testimonial-author,
.testimonial-card p.testimonial-author {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
  margin: 0;
}
.testimonial-author-info strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}
.testimonial-author-info span {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy-light);
  border-top: 4px solid var(--gold);
  padding-block: var(--space-16);
  text-align: center;
}
.cta-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  text-align: center;
  width: 100%;
}
.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--gray-500);
}
.breadcrumb-list a { color: var(--gold-dark); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-200); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--navy);
  padding-block: var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-2);
}
.page-header p {
  color: rgba(255,255,255,.75);
  font-size: var(--text-lg);
  max-width: 600px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(255,215,0,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  transition: transform var(--transition);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: var(--space-5);
  color: var(--gray-500);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.faq-item.is-open .faq-answer { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sms-consent-inline {
  display: block;
  font-size: 0.68rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin-top: -2px;
}
.sms-consent-footer {
  font-size: 0.68rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin: 0 0 var(--space-3);
  text-align: center;
}
.sms-consent-footer a {
  color: var(--gray-500);
  text-decoration: underline;
}
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}
.form-required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,.18);
}
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--gray-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: var(--space-16);
}
@media (min-width: 1024px) {
  .site-footer {
    margin-left: var(--sidebar-w);
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; } }
.footer-brand img { height: 52px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); line-height: 1.7; max-width: 300px; }
.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-legal a { color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold-dark); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }
.font-head { font-family: var(--font-head); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-block: var(--space-4);
}
.divider-center { margin-inline: auto; }

/* ============================================================
   RATES TABLE
   ============================================================ */
.rates-section { margin-bottom: var(--space-12); }
.rates-section h2 {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.rates-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.rates-table thead tr { background: var(--gold); }
.rates-table thead th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}
.rates-table tbody tr { border-bottom: 1px solid var(--gray-200); }
.rates-table tbody tr:hover { background: var(--navy-tint); }
.rates-table tbody td { padding: var(--space-3) var(--space-4); color: var(--gray-700); }
.rates-table tbody td:last-child { font-weight: 700; color: var(--navy); }
.rates-note {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: var(--space-2);
  font-style: italic;
}
.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-3);
}
.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--navy-tint);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: var(--text-sm);
}
.addon-item strong { font-weight: 700; color: var(--navy); }
.addon-price { font-weight: 700; color: var(--gold-dark); }

/* ============================================================
   MAINTENANCE STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: var(--space-6); }
.step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
}
.step-content h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--navy);
}
.step-content p { color: var(--gray-500); font-size: var(--text-sm); }

/* ============================================================
   BOOKING EMBED
   ============================================================ */
.booking-wrap {
  background: var(--navy-tint);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 900px;
  margin-inline: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) { .about-split { grid-template-columns: 1fr 1fr; } }
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-size: 0;
  line-height: 0;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text h2 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.about-text p {
  color: var(--gray-500);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,215,0,.10);
  border: 1px solid rgba(255,215,0,.30);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-dark);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: var(--space-16);
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-content p, .legal-content li {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}
.legal-content ul { list-style: disc; padding-left: var(--space-6); }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }

/* ============================================================
   PAGE HEADER - SMALL VARIANT (legal pages, contact)
   ============================================================ */
.page-header-sm {
  position: relative;
  background: var(--navy);
  padding: var(--space-12) 0;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.page-header-sm .page-header-content {
  position: relative;
  z-index: 1;
}
.page-header-sm h1 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.page-header-sm p {
  color: rgba(255,255,255,.65);
  font-size: var(--text-base);
}

/* ============================================================
   PROSE (legal / policy pages)
   ============================================================ */
.prose h2 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p, .prose li, .prose address {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}
.prose ul, .prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: var(--gold-dark); text-decoration: underline; }
.prose strong { font-weight: 700; color: var(--navy); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ============================================================
   PHOTO ALBUM GRID - "Life at Top Dog KC"
   ============================================================ */
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 640px) {
  .album-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .album-grid { grid-template-columns: repeat(4, 1fr); }
}

.album-photo {
  position: relative;
  display: block;
}

/* Polaroid / photo album card */
.album-photo-inner {
  background: var(--white);
  padding: 10px 10px 28px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.28), 0 1px 3px rgba(0,0,0,.18);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.album-photo:hover .album-photo-inner {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 10px 32px rgba(0,0,0,.38);
  z-index: 2;
}

/* Alternate tilts so they look scattered */
.album-photo:nth-child(1)  { --tilt: -2.5deg; }
.album-photo:nth-child(2)  { --tilt:  1.8deg; }
.album-photo:nth-child(3)  { --tilt: -1.2deg; }
.album-photo:nth-child(4)  { --tilt:  2.2deg; }
.album-photo:nth-child(5)  { --tilt:  1.0deg; }
.album-photo:nth-child(6)  { --tilt: -2.0deg; }
.album-photo:nth-child(7)  { --tilt:  2.8deg; }
.album-photo:nth-child(8)  { --tilt: -1.5deg; }

.album-photo-inner img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Caption strip at bottom (Polaroid label) */
.album-caption {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-700);
  margin-top: 6px;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About intro - compact two-col card instead of giant wall of text */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .home-intro-grid {
    grid-template-columns: 420px 1fr;
  }
}
.home-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.home-intro-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
/* Gold badge pinned on the image */
.home-intro-badge {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  text-align: center;
  line-height: 1.3;
}
.home-intro-text h2 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.home-intro-text .divider { margin-bottom: var(--space-4); }
.home-intro-text p {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
}
/* Compact checklist pills */
.intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
  margin-bottom: var(--space-6);
}
.intro-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.35);
  border-radius: 100px;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
}
.intro-pill svg { color: var(--gold-dark); flex-shrink: 0; }

/* ============================================================
   HOME SALON SECTION - Grooming in Our Home
   ============================================================ */
.home-salon-section {
  background: var(--white);
}

.home-salon-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}
.home-salon-header h2 {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.home-salon-header p {
  color: var(--gray-500);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-top: var(--space-4);
}

/* Gallery: large image left, stacked pair right */
.home-salon-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  .home-salon-gallery {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
  }
}

/* Each image wrapper: rounded, overflow hidden, relative for label */
.salon-img-main,
.salon-img-secondary {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.salon-img-main { flex: 1; }
.salon-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
  transition: transform 0.4s ease;
}
.salon-img-main:hover img { transform: scale(1.03); }

/* Right stacked column */
.salon-img-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.salon-img-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
@media (min-width: 768px) {
  .salon-img-secondary img { height: 100%; min-height: 180px; }
  .salon-img-stack { height: 100%; }
  .salon-img-secondary { flex: 1; }
}
.salon-img-secondary:hover img { transform: scale(1.04); }

/* Caption label overlaid at bottom of each image */
.salon-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(22,36,71,0.85) 0%, transparent 100%);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-6) var(--space-4) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0.02em;
}

/* Stats bar */
.home-salon-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-10);
}
.salon-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  flex: 1;
  min-width: 120px;
}
.salon-stat-num {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.salon-stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
  text-align: center;
}
.salon-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,215,0,0.2);
  display: none;
}
@media (min-width: 600px) {
  .salon-stat-divider { display: block; }
}

/* Footer pills + CTAs */
.home-salon-footer {
  text-align: center;
}

/* ============================================================
   MOBILE & RESPONSIVE - Global Optimizations
   ============================================================ */

/* --- Base mobile resets (max 767px) --- */
@media (max-width: 767px) {

  /* Layout: full bleed sections */
  .section { padding: var(--space-10) var(--space-4); }
  .section-sm { padding: var(--space-8) var(--space-4); }
  .container { padding-inline: var(--space-4); }

  /* Hero */
  .hero { min-height: 60vh; }
  .hero-content { padding: var(--space-10) var(--space-4); max-width: 100%; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-cta-row { flex-direction: column; gap: var(--space-3); }
  .hero-cta-row .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-stars { font-size: 0.75rem; gap: 3px; padding: 5px 10px 5px 8px; }
  .hero-stars svg { width: 16px; height: 16px; }
  .hero-stars-text { font-size: 0.75rem; margin-left: 4px; }

  /* Typography scale down */
  h1 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.9rem); }
  h3 { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }

  /* Stats bar - 2-col on small screens */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .stat-number { font-size: var(--text-2xl); }

  /* Grids collapse to 1 col */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }

  /* Trust bar wraps */
  .trust-bar { flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

  /* Footer - single column, centered */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-brand p { max-width: 100%; }
  .footer-cta-box { padding: var(--space-6) var(--space-4); }
  .footer-cta-box .btn-row { flex-direction: column; gap: var(--space-3); }
  .footer-cta-box .btn { width: 100%; justify-content: center; }

  /* CTA section */
  .cta-section .btn-row { flex-direction: column; gap: var(--space-3); align-items: center; }
  .cta-section .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Home intro grid */
  .home-intro-grid { grid-template-columns: 1fr; }
  .home-intro-img img { height: auto !important; min-height: 0 !important; width: 100%; object-fit: cover; }

  /* Salon gallery */
  .home-salon-gallery { grid-template-columns: 1fr; }
  .salon-img-main img { min-height: 0 !important; height: auto !important; }

  /* Salon stats row */
  .home-salon-stats { flex-direction: row; flex-wrap: wrap; padding: var(--space-4); }
  .salon-stat { min-width: 50%; padding: var(--space-3) var(--space-2); }
  .salon-stat-divider { display: none !important; }
  .salon-stat-num { font-size: var(--text-2xl); }

  /* Location city grid */
  .location-cities { grid-template-columns: repeat(2, 1fr) !important; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr !important; }

  /* About split - kill all fixed heights on mobile so no white gap */
  .about-split { grid-template-columns: 1fr; }
  .about-img {
    min-height: 0 !important;
    height: auto !important;
  }
  .about-img img {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    object-fit: cover;
  }
  .about-list { grid-template-columns: 1fr !important; }

  /* Album grid */
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

  /* Page header */
  .page-header { padding: var(--space-10) var(--space-4) var(--space-6); }
  .page-header h1 { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Breadcrumb */
  .breadcrumb { flex-wrap: wrap; font-size: var(--text-xs); padding: var(--space-2) var(--space-4); }

  /* FAQ accordion */
  .faq-item { margin-bottom: var(--space-2); }
  .faq-question { font-size: var(--text-sm); padding: var(--space-3) var(--space-4); }

  /* Cards */
  .card-body { padding: var(--space-4); }

  /* Buttons - make touch-friendly */
  .btn { min-height: 48px; }
}

/* --- Tablet (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Layout wraps with sidebar hidden - add safe margin */
  .page-wrap { margin-left: 0; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }

  /* Grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero { min-height: 65vh; }

  /* Why cards */
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Prevent horizontal scroll globally on mobile --- */
@media (max-width: 1023px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .page-wrap { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  table { width: 100%; }

  /* Tables that might overflow: scroll wrapper */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Sidebar is hidden on mobile - zero out its margin */
  .page-wrap, main, .content-wrap { margin-left: 0 !important; }

  /* Mobile bar is sticky (not fixed) - no padding-top needed */
}

/* --- Small phones (max 480px) --- */
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.5rem; }
  .hero-eyebrow { font-size: 0.6rem; }
  .btn { font-size: var(--text-sm); padding: var(--space-3) var(--space-4); }
}

/* ============================================================
   IMAGE GAP FIX - eliminates inline-block baseline whitespace
   below images in all container types
   ============================================================ */

/* All images are block-level - no baseline gap */
img { display: block; vertical-align: bottom; }

/* Image container wrappers - zero out line-height so no gap beneath img */
.about-img,
.salon-img-main,
.salon-img-secondary,
.service-card-img,
.album-photo-inner,
.home-intro-img,
figure,
.city-hero-img,
.city-area-img,
[class*="-img"],
[class*="img-wrap"],
[class*="photo"] {
  font-size: 0;
  line-height: 0;
}

/* Restore font-size for any child text nodes (figcaption, captions) */
figure figcaption,
.album-caption,
.salon-img-label {
  font-size: var(--text-xs);
  line-height: 1.4;
}

/* Explicit display:block + vertical-align on all img/video */
img, video, iframe {
  display: block;
  vertical-align: bottom;
  max-width: 100%;
}

/* Fix: img inside flex/grid cards that show gap on mobile */
.card img,
.card-body img,
figure img,
.about-img img,
.salon-img-main img,
.salon-img-secondary img,
.service-card-img img,
.home-intro-img img {
  display: block;
  width: 100%;
}

/* ============================================================
   CTA FULL-WIDTH BANNER
   Lives outside .page-wrap so it spans the full viewport.
   No sidebar offset. True centered layout.
   ============================================================ */
.cta-full {
  background: var(--navy-light);
  border-top: 4px solid var(--gold);
  padding: var(--space-16) 0;
  text-align: center;
  width: 100%;
}
/* At desktop, shift centering to account for fixed sidebar */
@media (min-width: 1024px) {
  .cta-full {
    padding-left: var(--sidebar-w);
  }
}
.cta-full-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  text-align: center;
}
.cta-full-heading {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  text-align: center;
}
.cta-full-sub {
  color: rgba(255, 255, 255, .8);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  text-align: center;
}
.cta-full-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}
