/*
 * =============================================================
 *  styles.css — Pet Waste Removal Business Website
 *  Sections:
 *   1. CSS Custom Properties (edit these to rebrand)
 *   2. Reset & Base
 *   3. Accessibility Helpers
 *   4. Accessibility Toolbar
 *   5. Layout Helpers
 *   6. Buttons
 *   7. Header / Navigation
 *   8. Hero
 *   9. Stats Bar
 *  10. Services Grid
 *  11. How It Works
 *  12. Pricing
 *  13. Reviews / Testimonials
 *  14. Service Area
 *  15. FAQ
 *  16. CTA Banner
 *  17. Contact
 *  18. Footer
 *  19. Animations & Utilities
 *  20. Responsive Breakpoints
 *  21. Print Styles
 * =============================================================
 */

/* =============================================================
   1. CSS CUSTOM PROPERTIES
   Edit these variables to rebrand colors, fonts, and spacing.
   Dark mode and high-contrast overrides are below.
   ============================================================= */
:root {
  /* --- Brand Palette --- EDIT these to match your brand */
  --color-bg:           #121212;
  --color-surface:      #1e1e1e;
  --color-surface-alt:  #252525;
  --color-border:       #444444;
  --color-text:         #f0f0f0;
  /* PDF fix: muted text is now a lighter, more readable grey */
  --color-muted:        #cccccc;
  --color-white:        #ffffff;
  --color-cta:          #34e6d1;
  --color-cta-hover:    #25D7C2;
  --color-success:      #178072;
  /* PDF fix: nav background matches hero card / quote card surface color (#b8cdd3 light blue-grey) */
  --color-nav-bg:       #1e1e1e;
  /* PDF fix: select / input background uses light grey */
  --color-input-bg:     #178072;

  /* --- Typography --- EDIT to change fonts (update Google Fonts link in HTML too) */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* --- Font scale (Large Text mode multiplies these) --- */
  --font-scale: 1;

  /* --- Spacing & Shape --- */
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg:  0 12px 48px rgba(0, 0, 0, 0.6);
  --transition: 0.22s cubic-bezier(.4, 0, .2, 1);
  --max-width:  1180px;
}

/* --- Dark Mode override --- */
body.dark-mode {
  --color-bg:          #121212;
  --color-surface:     #1e1e1e;
  --color-surface-alt: #4c3847;
  --color-border:      #444444;
  --color-text:        #ff6afc;
  --color-muted:       #febcff;
  --color-white:       #fee2ff;
  --color-nav-bg:      #1e1e1e;
  --color-input-bg:    #2a2a2a;
  --color-cta:         rgba(255, 24, 224, 0.89);
  --color-cta-hover:   rgba(255, 148, 228, 0.86);
}

/* --- High Contrast override (visual impairment) --- */
body.high-contrast {
  --color-bg:          #000000;
  --color-surface:     #0a0a0a;
  --color-surface-alt: #111111;
  --color-border:      #ffffff;
  --color-accent:      #ffff00;
  --color-accent-dim:  #cccc00;
  --color-accent-glow: rgba(255, 255, 0, 0.25);
  --color-text:        #ffffff;
  --color-muted:       #eeeeee;
  --color-white:       #ffffff;
  --color-cta:         #ffff00;
  --color-cta-hover:   #cccc00;
  --color-nav-bg:      #000000;
  --color-input-bg:    #111111;
}

/* High contrast text overrides for headings */
body.high-contrast .service-card h3 {
  color: var(--color-text);
}

body.high-contrast .step h3,
body.high-contrast .price-card h3,
body.high-contrast .section-title {
  color: #ffff00;
}

/* --- Large Text mode --- */
body.large-text {
  font-size: calc(1rem * 1.2);
}

body.large-text .section-sub,
body.large-text .service-card p,
body.large-text .step p,
body.large-text .faq-answer,
body.large-text .review-text,
body.large-text .price-desc {
  font-size: 1.1rem;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

ul {
  list-style: none;
}

ol {
  list-style: none;
}

/* =============================================================
   3. ACCESSIBILITY HELPERS
   ============================================================= */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 12px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #0f1a10;
  font-weight: 700;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top var(--transition);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 12px;
}

/* Visually hidden — for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Global focus ring */
*:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Required field marker */
.required-mark {
  color: var(--color-error);
  margin-left: 2px;
}

/* Field hints */
.field-hint {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 3px;
  display: block;
}

/* Field error messages */
.field-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 4px;
  display: block;
}

.field-error[hidden] {
  display: none;
}

/* Text link */
.text-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--color-accent-dim);
}

/* =============================================================
   4. ACCESSIBILITY TOOLBAR
   ============================================================= */
#a11y-toolbar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a11y-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.a11y-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.a11y-btn:focus-visible {
  outline: 3px solid var(--color-accent);
}

.a11y-btn[aria-pressed="true"] {
  background: var(--color-accent);
  color: #0f1a10;
  border-color: var(--color-accent);
  font-weight: 700;
}

/* =============================================================
   5. LAYOUT HELPERS
   ============================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  /* Reduced by 2pt from clamp(1.875rem, 4.2vw, 3.075rem) */
  font-size: clamp(1.75rem, 3.95vw, 2.95rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.05rem;
  /* PDF fix: muted text is now lighter grey for better readability */
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================================
   6. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-cta);
  color: #0c1a0d;
  font-weight: 700;
  border-color: var(--color-cta);
}

body.high-contrast .btn-primary {
  color: #000000;
  background: #ffff00;
  border-color: #ffff00;
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(72, 255, 244, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

/* Button loading state */
.btn.is-loading .btn-text {
  opacity: 0.7;
}

.btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================================
   7. HEADER / NAVIGATION
   ============================================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  /* PDF fix: nav background matches the light blue-grey quote card color */
  background: var(--color-nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

body.dark-mode #site-header {
  background: var(--color-nav-bg);
  border-bottom-color: var(--color-border);
}

body.high-contrast #site-header {
  background: var(--color-nav-bg);
  border-bottom-color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* EDIT: logo text styles */
.site-logo {
  font-family: var(--font-display);
  /* PDF font reduction: reduced from 1.4rem by 2pt (~0.125rem) */
  font-size: 1.275rem;
  font-weight: 800;
  /* PDF fix: logo text must be white on the new nav-bg */
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--color-accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  /* PDF fix: nav links must be white */
  color: #ffffff;
  transition: color var(--transition), background var(--transition);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
}

/* Header CTA buttons on the new nav-bg need readable contrast */
#site-header .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

#site-header .btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.15);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  /* PDF fix: hamburger border/color must be visible on the new nav-bg */
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
  transition: border-color var(--transition);
}

.nav-toggle:hover {
  border-color: #ffffff;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
#mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--color-border);
}

#mobile-menu[hidden] {
  display: none;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  padding: 10px 16px;
  border-radius: var(--radius);
  /* PDF fix: mobile nav links must also be white */
  color: #ffffff;
  font-size: 1rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

#mobile-menu a:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.15);
}

/* =============================================================
   8. HERO
   ============================================================= */
#hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(111, 207, 90, 0.07) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(111, 207, 90, 0.03) 30px,
      rgba(111, 207, 90, 0.03) 31px
    );
  pointer-events: none;
}

/* Hero grid: content LEFT, image RIGHT */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  align-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(65, 200, 255, 0.12);
  border: 1px solid rgba(143, 182, 239, 0.3);
  border-radius: 999px;
  padding: 5px 14px 5px 8px;
  font-size: 0.82rem;
  color: var(--color-accent);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* EDIT: hero headline font size */
.hero-headline {
  font-family: var(--font-display);
  /* Reduced by 2pt from clamp(2.475rem, 5.25vw, 3.875rem) */
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: -36px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}

.hero-headline em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: -36px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: -32px;
  font-size: 0.88rem;
  color: var(--color-muted);
  animation: fadeSlideUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-check {
  color: var(--color-accent);
  font-size: 1rem;
}

/* Hero image — right column */
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fadeSlideUp 0.8s 0.2s ease both;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.hero-img {
  width: 480%;
  height: 480px;
  gap: 8px;
  padding: 5px 5px;
  object-position: right 60%;
  display: block;
  border-radius: var(--radius-lg);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
  color: var(--color-text);
}

body.high-contrast .form-group input,
body.high-contrast .form-group select,
body.high-contrast .contact-form input,
body.high-contrast .contact-form select,
body.high-contrast .contact-form textarea {
  color: var(--color-text);
  border-color: #ffffff;
}

/* Placeholder text color for default light inputs */
.form-group input::placeholder,
.form-group textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a5e2ff;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: var(--color-muted);
}

/* Quote result display */
.quote-result {
  background: var(--color-accent-glow);
  border: 1px solid rgba(111, 207, 90, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--color-accent);
}

/* =============================================================
   9. FORM SHARED STYLES (hero card + contact form)
   ============================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

.form-group input,
.form-group select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  /* PDF fix: use light grey for input/select backgrounds */
  background: var(--color-input-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  /* Default mode: input-bg is light grey so text must be dark */
  color: #1a2a28;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group input.is-invalid,
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group select,
.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a9e7e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Form status message */
#form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}

#form-status[hidden] {
  display: none;
}

#form-status.success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--color-success);
}

#form-status.error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--color-error);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   9. STATS BAR
   ============================================================= */
#stats {
  padding: 40px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 20px 16px;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  /* Reduced by 2pt from 2.075rem */
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* =============================================================
   10. SERVICES — 3×2 strict grid
   ============================================================= */
#services {
  background: var(--color-bg);
}

.services-header {
  margin-bottom: 48px;
}

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-glow);
  border: 1px solid rgba(111, 207, 90, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  /* Reduced by 2pt from 1.2rem */
  font-size: 1.075rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card:hover .service-link {
  gap: 10px;
}

/* =============================================================
   11. HOW IT WORKS
   ============================================================= */
#how-it-works {
  background: var(--color-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 52px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-border) 20%,
    var(--color-border) 80%,
    transparent
  );
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-display);
  /* Reduced by 2pt from 1.05rem */
  font-size: 0.925rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* =============================================================
   12. PRICING
   ============================================================= */
#pricing {
  background: var(--color-bg);
}

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

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.popular {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #0c1a0d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-tier {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-display);
  /* Reduced by 2pt from 2.675rem */
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.price-amount sup {
  font-size: 1.4rem;
  vertical-align: top;
  margin-top: 6px;
}

.price-amount span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-muted);
}

.price-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 10px 0 24px;
}

.price-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.price-feature-icon {
  color: var(--color-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* =============================================================
   12b. SPECIAL OFFERS
   ============================================================= */
#special offers {
  background: var(--color-bg);
}

#specials > .container > header {
  margin-bottom: 48px;
}

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

.special-card {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.special-card:hover {
  border-color: var(--color-accent-dim);
  box-shadow: 0 8px 32px var(--color-accent-glow);
  transform: translateY(-3px);
}

.special-card--featured {
  border-color: var(--color-accent-dim);
  background: var(--color-surface-alt);
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

/* Logo block */
.special-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 2px;
  margin-bottom: 4px;
}

.special-logo-got {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.12em;
}

.special-logo-poop {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.special-logo-paw {
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Discount amount */
.special-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-cta);
  line-height: 1;
}

.special-amount span {
  font-size: 0.55em;
  letter-spacing: 0.06em;
  color: var(--color-cta);
}

/* Special Offer Title */
.special-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1.35;
}

/* Code row */
.special-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-input-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 14px;
  width: 100%;
}

.special-code-label {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.special-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
  flex: 1;
}

.special-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.special-copy-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.special-copy-btn.copied {
  border-color: var(--color-success);
  color: var(--color-success);
}

/* Print button */
.special-coupon-print {
  width: 100%;
  padding: 13px 20px;
  background: var(--color-surface-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-special-print:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent-dim);
  color: #0c1a0d;
}

/* Fine print */
.special-fine-print {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.6;
  border-top: 1px dashed var(--color-border);
  padding-top: 12px;
  width: 100%;
  text-align: center;
}

/* Accessibility: high-contrast overrides */
body.high-contrast .coupon-card {
  border-color: #ffffff;
}

body.high-contrast .coupon-amount {
  color: #ffff00;
}

body.high-contrast .coupon-amount span {
  color: #ffff00;
}

body.high-contrast .btn-coupon-print:hover {
  color: #000;
}

/* =============================================================
   13. REVIEWS / TESTIMONIALS
   ============================================================= */
#reviews {
  background: var(--color-surface);
}

/* Centered section header utility — replaces inline style="text-align:center" */
.section-header--centered {
  text-align: center;
}

.section-header--centered .section-sub {
  margin-left: auto;
  margin-right: auto;
}

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

.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: rgba(111, 207, 90, 0.35);
}

.stars {
  color: #f5c518;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.93rem;
  color: var(--color-text);
  line-height: 1.72;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

.reviewer-name {
  font-weight: 500;
  color: var(--color-white);
  font-size: 0.9rem;
}

.reviewer-location {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* =============================================================
   14. SERVICE AREA
   ============================================================= */
#service-area {
  background: var(--color-bg);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.area-chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.area-chip:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.area-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.area-chip--more {
  border-style: dashed;
}

.area-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* =============================================================
   15. FAQ
   ============================================================= */
#faq {
  background: var(--color-surface);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

details[open] {
  border-color: rgba(111, 207, 90, 0.4);
}

summary {
  padding: 18px 22px;
  font-weight: 500;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 0.97rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* =============================================================
   16. CTA BANNER
   ============================================================= */
#cta-banner {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(111, 207, 90, 0.12) 0%,
    transparent 60%
  ), var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

#cta-banner .section-title {
  margin: 0 auto 16px;
}

#cta-banner .section-sub {
  margin: 0 auto 36px;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =============================================================
   17. CONTACT
   ============================================================= */
#contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--color-accent-glow);
  border: 1px solid rgba(111, 207, 90, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-detail-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 500;
}

.contact-detail-value a:hover {
  color: var(--color-accent);
}

.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  /* Reduced by 2pt from 1.4rem */
  font-size: 1.275rem;
  color: var(--color-white);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* =============================================================
   18. FOOTER
   ============================================================= */
#site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand .site-logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-logo-img {
  margin-top: 16px;
}

.footer-logo-img img {
  width: 120px;
  height: auto;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* =============================================================
   19. ANIMATIONS & SCROLL REVEAL
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================= */

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

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-img {
    height: 320px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coupon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .primary-nav,
  .header-cta {
    display: none;
  }
  .hero-headline {
    /* Reduced by 2pt from 2.4rem */
    font-size: 2.275rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .coupon-grid {
    grid-template-columns: 1fr;
  }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #a11y-toolbar {
    bottom: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 56px 0;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

/* =============================================================
   21. PRINT STYLES
   ============================================================= */
@media print {
  #site-header,
  #a11y-toolbar,
  #cta-banner,
  .hero-actions,
  nav {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
  .section-title {
    color: #000;
  }
  .service-card,
  .price-card,
  .review-card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  .container {
    max-width: 100%;
  }
}

/* =============================================================
   22. HERO IMAGE PLACEHOLDER
   ============================================================= */

.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5, 1.5rem);
  flex: 1 1 420px;
  min-width: 0;
}

/* Stack quote card on mobile */
@media (max-width: 768px) {
  .hero-right-col {
    width: 100%;
  }
}
