/* Good Dog Lady — design system modeled on Uppity Pet Resort. */

:root {
  --accent: #d81824;
  --accent-light: #ee1c25;
  --accent-dark: #a81319;
  --bg: #fafafa;
  --bg-white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e5e5e5;
  --gold: #fbbc05;
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-green: #34a853;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-light); }

/* Body-content links: underlined so they're distinguishable without color (a11y) */
.content-block p a,
.content-block li a,
.rs-text a,
.wall-review-card a,
.legal-content a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

h1, h2, h3, h4, .section-label, .hero-badge, .logo-text, .grb-rating {
  font-family: Georgia, "Times New Roman", serif;
}
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

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

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-alt { background: var(--bg-white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-header .section-label {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; transform: translateY(-1px); }
.btn-white { background: white; color: var(--accent); border-color: white; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; font-weight: 700; }
.btn-sm { padding: 10px 24px; font-size: 0.95rem; font-weight: 700; }

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 72px; width: auto; margin: 8px 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav li { position: relative; }
.nav > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav > li > a:hover { color: var(--accent); background: rgba(238, 28, 37, 0.06); }

.has-dropdown > a::after {
  content: '\00a0\25BE';
  font-size: 0.7rem;
  color: var(--text-muted);
  display: inline;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  z-index: 150;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown-group-title {
  font-family: Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 20px 4px;
  font-weight: 700;
}
.dropdown li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover { background: rgba(238, 28, 37, 0.06); color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 30px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}
.nav-overlay.open { display: block; }

/* Hero — homepage split layout (white background, red accents) */
.hero {
  background: var(--bg-white);
  padding: 80px 0;
  color: var(--text);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 0;
  background: none;
}
.hero-badge-star {
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.hero h1 {
  color: var(--text);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Page hero (sub-pages use same split layout, slightly shorter) */
.page-hero {
  background: var(--bg-white);
  padding: 64px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero h1 {
  color: var(--text);
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.page-hero .hero-image { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero-centered .container {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
}
.page-hero-centered .hero-badge { margin: 0 auto 14px; }
.page-hero-centered p { margin-left: auto; margin-right: auto; }
.page-hero-with-form .container { max-width: 1160px; }
.page-hero-with-form .hero-content {
  max-width: 720px;
  margin: 0 auto 8px;
}
.page-hero-with-form .hero-content p { margin-bottom: 8px; }
.page-hero-with-form .form-page-embed {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  justify-self: center;
}
.page-hero-with-form .form-page-embed iframe {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: 720px;
}

/* Trust bar */
.trust-bar {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(238, 28, 37, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Content grid — image + text */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-grid + .content-grid { margin-top: 80px; }
.content-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.content-grid.reverse > :first-child { order: 2; }
.content-grid.reverse > :last-child { order: 1; }
.content-block .section-label {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.content-block h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.content-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 24px 0 10px;
}
.content-block p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.content-block ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.content-block ul li {
  padding: 6px 0 6px 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  position: relative;
}
.content-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Card grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(238, 28, 37, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent);
}
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; flex: 1; }
.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.card .card-link:hover { color: var(--accent-dark); }

.service-card { text-align: center; padding: 40px 28px; }
.service-card .card-icon { margin: 0 auto 20px; }

/* Amenity list */
.amenity-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.amenity-item:last-child { border-bottom: none; }
.amenity-icon {
  width: 48px;
  height: 48px;
  background: rgba(238, 28, 37, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--accent);
}
.amenity-item h4 { font-weight: 700; margin-bottom: 4px; font-size: 1.05rem; }
.amenity-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Process steps */
.process-steps { counter-reset: step; }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.process-step h4 { font-weight: 700; margin-bottom: 6px; font-size: 1.1rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.7; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: white;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(238, 28, 37, 0.03); }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Reviews — Google badge header + slider */
.google-review-badge { text-align: center; margin-bottom: 32px; }
.grb-rating {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}
.grb-stars { color: var(--gold); font-size: 1.8rem; margin: 4px 0; letter-spacing: 2px; }
.grb-count { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 8px; }
.grb-logo { margin-top: 4px; }
.read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.read-more:hover { text-decoration: underline; }
.text-center { text-align: center; }

.review-slider {
  position: relative;
  overflow: hidden;
  padding: 0 4px;
  touch-action: pan-y;
  cursor: grab;
}
.review-slider:active { cursor: grabbing; }
.review-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.review-slide {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}
.rs-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.rs-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rs-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.rs-meta { flex: 1; }
.rs-meta strong { display: block; font-size: 0.9rem; color: var(--text); }
.rs-meta span { font-size: 0.78rem; color: var(--text-muted); }
.rs-stars { color: var(--gold); font-size: 1rem; margin-bottom: 8px; letter-spacing: 2px; }
.rs-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* Services slider — same pattern as reviews slider */
.services-slider { position: relative; overflow: hidden; padding: 0 4px; touch-action: pan-y; cursor: grab; }
.services-slider:active { cursor: grabbing; }
.services-slider-track { display: flex; transition: transform 0.4s ease; }
.service-slide { flex: 0 0 33.333%; padding: 0 12px; box-sizing: border-box; }
.service-slide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.service-slide-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-slide-card:hover .service-slide-thumb img { transform: scale(1.04); }
.service-slide-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.service-slide-body .card-link { margin-top: auto; padding-top: 10px; }
@media (max-width: 1100px) { .service-slide { flex: 0 0 50%; } }
@media (max-width: 768px) { .service-slide { flex: 0 0 100%; } }

/* Reviews wall — stacked grid (replaces carousel on /reviews/ page) */
.reviews-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.wall-review-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.wall-review-card .rs-text {
  flex: 1;
  min-height: 0;
}
@media (max-width: 1000px) { .reviews-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews-wall { grid-template-columns: 1fr; } }

/* Programs slider — richer variant of services slider for service/city pages */
.programs-slider { position: relative; overflow: hidden; padding: 0 4px; touch-action: pan-y; cursor: grab; }
.programs-slider:active { cursor: grabbing; }
.programs-slider-track { display: flex; transition: transform 0.4s ease; }
.program-slide { flex: 0 0 33.333%; padding: 0 12px; box-sizing: border-box; }
.program-slide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.program-slide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.program-slide-thumb { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.program-slide-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.program-slide-card:hover .program-slide-thumb img { transform: scale(1.04); }
.program-slide-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-slide-body h3 { font-size: 1.2rem; margin: 0 0 2px; color: var(--text); }
.program-slide-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin: 0; flex: 1; }
.program-slide-body .card-link { margin-top: auto; font-weight: 600; color: var(--accent); font-size: 0.9rem; }
@media (max-width: 1100px) { .program-slide { flex: 0 0 50%; } }
@media (max-width: 768px) { .program-slide { flex: 0 0 100%; } }

/* Landing Page — one-page paid-traffic variant with form embed in hero */
.lp-header {
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.lp-header .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.lp-header .logo img { height: 72px; width: auto; margin: 8px 0; }
.lp-header .nav a { color: var(--text); }
.lp-header .nav a:hover { color: var(--accent); }

.lp-hero {
  background: var(--bg) !important;
  color: var(--text) !important;
  min-height: auto;
  display: block;
  padding: 48px 0 16px;
  overflow: visible;
}
.lp-hero .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.lp-hero .hero-content {
  padding: 40px 0 0;
  max-width: none;
  z-index: 1;
  position: relative;
}
.lp-hero .hero-content h1 { color: var(--text); letter-spacing: 0; }
.lp-hero .hero-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}

.lp-form-embed {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  scroll-margin-top: 100px;
}
/* Give every in-page LP anchor target clearance under the sticky header so the
   banner/section heading isn't hidden behind it when a link scrolls in. */
#top, #form, #programs, #reviews, #about, #service-area {
  scroll-margin-top: 100px;
}
.lp-form-banner-wrap {}
.lp-form-embed .lp-form-banner {
  background: var(--accent);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.95rem);
  font-weight: 900;
  padding: 16px 18px;
  text-align: center;
  letter-spacing: 0.01em;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  line-height: 1.15;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.lp-form-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 440px;
  margin-top: -32px;
  margin-bottom: -32px;
  position: relative;
  z-index: 1;
}

.lp-footer { padding: 48px 0 20px; }

@media (max-width: 900px) {
  .lp-hero .container { grid-template-columns: 1fr; gap: 30px; }
  .lp-hero .hero-content { text-align: center; padding: 20px 0 0; }
  .lp-hero .hero-content p { margin-left: auto; margin-right: auto; }
  .lp-form-embed { min-height: 640px; }
}

/* Thank-you schedule page — centered, vertically stacked, calendar below text */
.thank-you-section {
  background: var(--bg);
  padding: 60px 20px 40px;
  min-height: 80vh;
}
.thank-you-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.thank-you-h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 14px;
}
.thank-you-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 500;
}
.thank-you-calendar {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  min-height: 620px;
}
.thank-you-calendar iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}
.thank-you-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.thank-you-socials a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--text);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.thank-you-socials a:hover { background: var(--accent); transform: translateY(-2px); }

/* Info page — "Tell Us About Your Situation" form page after scheduling */
.info-section {
  background: var(--bg);
  padding: 60px 20px 60px;
  min-height: 80vh;
}
.info-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.info-h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 14px;
}
.info-sub {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 700;
}
.info-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  min-height: 560px;
}
.info-form iframe {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
}
.ty-final { padding: 100px 20px 100px; }
.ty-final-h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Maps embed */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all 0.2s;
}
.slider-arrow:hover { background: #f9fafb; color: var(--text); }
.slider-arrow-left { left: -8px; }
.slider-arrow-right { right: -8px; }

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.slider-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
}
.slider-dot:hover::before { background: var(--text-muted); }
.slider-dot.active::before { background: var(--accent); transform: translate(-50%, -50%) scale(1.3); }
.slider-dots { gap: 0; }

/* CTA band */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.cta-section h2 { color: white; font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 28px;
  max-width: 560px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Form */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-page-embed {
  max-width: 720px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(238, 28, 37, 0.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo img {
  height: auto;
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
  background: white;
  padding: 14px 18px;
  border-radius: 10px;
  display: block;
}
.footer-col h4,
.footer-col .footer-heading {
  font-family: Georgia, serif;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  transition: color 0.3s;
  display: inline-block;
  padding: 4px 0;
  min-height: 32px;
}
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-col p { color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.8; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.socials a:hover { background: var(--accent); color: white; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.footer-bottom a:hover { color: white; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 24px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav > li { border-bottom: 1px solid var(--border); }
  .nav > li > a { display: block; padding: 14px 0; font-size: 1rem; border-radius: 0; }
  .has-dropdown > a::after { content: ''; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    padding: 6px 0 12px;
    border-radius: 0;
  }
  .dropdown li a { padding: 8px 16px; font-size: 0.9rem; }
  .dropdown-group-title { padding: 8px 16px 2px; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .hero, .page-hero { padding: 50px 0; }
  .hero .container,
  .page-hero .container,
  .content-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .content-grid.reverse > :first-child { order: 0; }
  .content-grid.reverse > :last-child { order: 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .section-header h2 { font-size: 1.6rem; }
  .content-block h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .review-slide { flex: 0 0 100%; }
  /* Keep arrows visible on mobile — users asked for manual navigation */
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .slider-arrow-left { left: 2px; }
  .slider-arrow-right { right: 2px; }
  /* Center hero/CTA buttons, keep them side-by-side */
  .hero-buttons {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-buttons .btn,
  .hero-buttons .btn-lg {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.9rem;
    letter-spacing: 0;
  }
  .cta-buttons { justify-content: center; }
  /* Center ONLY the CTA buttons under content sections (not body text/headlines) */
  .content-block > p:has(> .btn:only-child),
  .content-block > div:has(> .btn:only-child) { text-align: center; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    justify-items: center;
  }
  .trust-item {
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* Scale headings down hard on small screens so no heading exceeds 2 lines */
  .hero h1 { font-size: 1.9rem; letter-spacing: 0; }
  .page-hero h1 { font-size: 1.6rem; letter-spacing: 0; }
  .section-header h2 { font-size: 1.35rem; }
  .content-block h2 { font-size: 1.3rem; letter-spacing: 0; }
  .content-block h3 { font-size: 1.05rem; }
  .program-slide-body h3,
  .service-slide-card h3 { font-size: 1rem; }
  .card h3, .rs-meta strong { font-size: 0.95rem; }
  h2 { letter-spacing: 0; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.4rem; }
  .section-header h2 { font-size: 1.2rem; }
  .content-block h2 { font-size: 1.15rem; }
}
