/* ==========================================================
   Cirencester Handyman - Global Stylesheet
   Version 1.0  |  Mobile-first  |  Accessibility-first
   ========================================================== */

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

:root {
  --purple: #4A1A6B;
  --purple-dark: #3A1155;
  --purple-light: #F0EBF5;
  --cream: #FBF8F1;
  --white: #FFFFFF;
  --gold: #8B6914;
  --gold-light: #C8922A;
  --gold-hover: #6E5310;
  --gold-pale: #F5EFE0;
  --text: #2D2D2D;
  --text-light: #555555;
  --border: #E0D8CE;
  --shadow: rgba(74, 26, 107, 0.08);
  --radius: 10px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 18px;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: underline; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--purple);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--purple);
  font-weight: 800;
}
h1 { font-size: 2.4rem; margin-bottom: 0.5em; }
h2 { font-size: 1.8rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
h4 { font-size: 1.05rem; margin-bottom: 0.3em; }
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.2em; }
li { margin-bottom: 0.4em; }
hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
blockquote {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 20px;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 4rem 0;
}

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-purple-light { background: var(--purple-light); }
.bg-purple { background: var(--purple); color: var(--white); }
.bg-purple h2, .bg-purple h3 { color: var(--white); }
.bg-purple .section-subtitle { color: rgba(255,255,255,0.85); }

.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-height: 52px;
  min-width: 48px;
}
.btn:active { transform: scale(0.98); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-hover); color: var(--white); }

.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover, .btn-purple:focus { background: var(--purple-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover, .btn-outline:focus { background: var(--purple); color: var(--white); }

.btn-white { background: var(--white); color: var(--purple); }
.btn-white:hover, .btn-white:focus { background: var(--cream); color: var(--purple); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.header-brand-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--purple);
  line-height: 1.2;
}
.header-brand-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }
.header-phone svg { flex-shrink: 0; }

.header-nav { display: flex; align-items: center; gap: 8px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-links a:hover { background: var(--purple-light); color: var(--purple); }
.nav-links a.active { background: var(--purple-light); color: var(--purple); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: var(--purple);
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--purple); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: var(--purple-light);
  padding: 14px 0;
  font-size: 0.9rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.breadcrumbs li + li::before {
  content: '›';
  color: var(--text-light);
  margin-right: 2px;
}
.breadcrumbs a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li:last-child { color: var(--text-light); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,146,42,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero > * { position: relative; }
.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  max-width: 760px;
  margin: 0 auto 0.4em;
}
.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.hero-phone:hover { color: var(--gold-light); }
.hero-phone svg { flex-shrink: 0; }
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 0.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust-item svg { color: var(--gold-light); flex-shrink: 0; }

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,146,42,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero > * { position: relative; }
.page-hero h1 {
  color: var(--white);
  font-size: 2.2rem;
  max-width: 760px;
  margin: 0 auto 0.5em;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ABOUT / CONTENT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--purple-light);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--text-light); }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold-pale);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(139,105,20,0.15);
}
.trust-badge svg { flex-shrink: 0; color: var(--gold); }

/* Long-form content (article body) */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
}
.prose p { color: var(--text); margin-bottom: 1.2em; }
.prose h2 {
  font-size: 1.65rem;
  margin: 2.2rem 0 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-of-type { padding-top: 0; border-top: none; margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; color: var(--purple-dark); }
.prose ul, .prose ol { margin-bottom: 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--purple-dark); }
.prose a { color: var(--purple); }
.prose a:hover { color: var(--gold); }
.prose .info-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 1.8rem 0;
  font-size: 0.98rem;
}
.prose .info-box p:last-child { margin-bottom: 0; }

/* ===== SERVICES (cards) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.service-card:hover {
  box-shadow: 0 4px 20px var(--shadow);
  border-color: rgba(74,26,107,0.15);
  transform: translateY(-2px);
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; color: var(--purple); }
.service-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }
.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--purple);
}

.category-heading {
  text-align: left;
  font-size: 1.4rem;
  color: var(--purple-dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
.category-heading:first-of-type { margin-top: 0; }

/* ===== PRICING ===== */
.pricing-callout {
  background: var(--gold-pale);
  border: 1px solid rgba(139,105,20,0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
  text-align: center;
}
.pricing-callout strong { color: var(--gold); }

.rate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 3rem;
}
.rate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.rate-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.rate-card-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
}
.rate-card-price span { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.rate-card-note { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px var(--shadow);
}
.price-table caption {
  text-align: left;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--purple);
  padding: 0 0 12px;
  caption-side: top;
}
.price-table thead th {
  background: var(--purple);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .price-col {
  text-align: right;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}
.price-table .note-text {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.package-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.package-card:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 24px var(--shadow);
}
.package-card.featured { border-color: var(--gold); }
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.package-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 8px;
}
.package-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 4px;
}
.package-price span { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.package-hours {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.package-features {
  list-style: none;
  text-align: left;
  margin: 0 0 20px;
  padding: 0;
}
.package-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}
.package-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.area-tag:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 12px var(--shadow);
  color: var(--purple);
}
.area-tag svg { color: var(--purple); flex-shrink: 0; }
.area-tag.primary { border-color: var(--purple); background: var(--purple-light); color: var(--purple); }
.area-note {
  margin-top: 1.5rem;
  padding: 16px 20px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  font-size: 0.95rem;
  border: 1px solid rgba(139,105,20,0.12);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.65;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple);
}
.testimonial-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--purple-light);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(74,26,107,0.15);
}
.testimonial-placeholder p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== FAMILY CALLOUT ===== */
.family-callout {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}
.family-callout h2 { color: var(--white); margin-bottom: 1rem; }
.family-callout p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 1.5rem; }

/* CTA strip (full-width) */
.cta-strip {
  background: var(--purple);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.6em; }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.cta-strip .hero-phone { font-size: 1.6rem; margin-bottom: 0.8rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
}
.contact-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-value {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2px;
}
.contact-info-value a { color: var(--purple); text-decoration: none; }
.contact-info-value a:hover { color: var(--gold); }

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  min-height: 48px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--purple);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-group { margin-bottom: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item details {
  padding: 0;
}
.faq-item summary {
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item details[open] summary::after {
  content: '−';
  background: var(--purple);
  color: var(--white);
}
.faq-item summary:hover { color: var(--purple); }
.faq-answer {
  padding: 0 0 22px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
}
.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ===== FLOATING CALL BUTTON (mobile) ===== */
.float-call {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 20px rgba(139,105,20,0.35);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}
.float-call:hover { background: var(--gold-hover); transform: scale(1.05); }
.float-call svg { width: 28px; height: 28px; }

/* Related links block */
.related-links {
  background: var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 2.5rem auto;
  max-width: 760px;
}
.related-links h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--purple-dark);
}
.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.related-links li { margin: 0; }
.related-links a {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple);
  border: 1px solid transparent;
  transition: border-color 0.15s;
}
.related-links a:hover { border-color: var(--purple); }

/* Two-column layout for inner pages */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.sidebar-card h3 {
  font-size: 1.05rem;
  color: var(--purple);
  margin-bottom: 0.8em;
}
.sidebar-card p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 1em; }
.sidebar-card .btn { width: 100%; }

/* 404 */
.error-page {
  text-align: center;
  padding: 5rem 0;
}
.error-page h1 { font-size: 3rem; }
.error-page .big-num { font-size: 5rem; color: var(--gold); font-weight: 800; line-height: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-phone .phone-text { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 17px; }
  section { padding: 3rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-phone { font-size: 1.3rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
  .page-hero h1 { font-size: 1.7rem; }
  .rate-cards { grid-template-columns: repeat(2, 1fr); }
  .price-table { font-size: 0.88rem; }
  .price-table thead th, .price-table tbody td { padding: 10px 12px; }
  .packages-grid { grid-template-columns: 1fr; }
  .family-callout { padding: 2rem 1.5rem; }
  .float-call { display: flex; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .related-links { padding: 22px 24px; }
}

@media (max-width: 400px) {
  .rate-cards { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header, .float-call, .nav-toggle, .mobile-nav, .cta-strip, .related-links { display: none !important; }
  section { padding: 1rem 0; }
  body { font-size: 12pt; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
