/* =========================================================
   PMA Maid Agency — Main Stylesheet
   Design: Clean, warm, high-trust. WCAG 2.1 AA compliant.
   ========================================================= */

/* --- 1. CSS Custom Properties (Design Tokens) --- */
:root {
  --color-primary:        #1B4F72;
  --color-primary-dark:   #154060;
  --color-primary-light:  #2E86C1;
  --color-accent:         #C9922A;
  --color-accent-dark:    #A97820;
  --color-accent-light:   #F0C060;
  --color-text:           #1A1A2E;
  --color-text-muted:     #5A6170;
  --color-bg:             #FFFFFF;
  --color-bg-soft:        #F5F7FA;
  --color-bg-warm:        #FBF8F4;
  --color-border:         #D8DDE4;
  --color-success:        #1B6B3A;
  --color-whatsapp:       #25D366;
  --color-whatsapp-dark:  #128C7E;
  --color-bg-alt:         #F5F7FA;

  --font-body:    'Lato', system-ui, -apple-system, Arial, sans-serif;
  --font-heading: 'Lato', system-ui, -apple-system, Arial, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;   /* 17px */
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

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

  --radius-sm:  0.25rem;
  --radius-md:  0.5rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

  --max-width:  1200px;
  --header-height: 72px;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Offset anchors for sticky header */
:target { scroll-margin-top: calc(var(--header-height) + 16px); }

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; }
a:hover { color: var(--color-primary-dark); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: var(--space-2); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); }
th { background: var(--color-primary); color: #fff; font-weight: 700; }
tr:nth-child(even) td { background: var(--color-bg-soft); }
strong { font-weight: 700; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid var(--color-border); margin: var(--space-8) 0; }
blockquote { border-left: 4px solid var(--color-accent); padding: var(--space-4) var(--space-6); background: var(--color-bg-warm); margin: var(--space-6) 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
blockquote p { margin: 0; font-style: italic; }

/* --- 3. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}
h1 { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); margin-bottom: var(--space-4); }
h2 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); margin-bottom: var(--space-4); }
h3 { font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl)); margin-bottom: var(--space-3); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
h5 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
h6 { font-size: var(--text-base); margin-bottom: var(--space-2); }
p { max-width: 70ch; margin-bottom: var(--space-4); }
p.wide { max-width: none; }
.lead { font-size: var(--text-lg); color: var(--color-text); }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- 4. Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}
.section { padding: var(--space-16) 0; }
.section--sm { padding: var(--space-10) 0; }
.section--lg { padding: var(--space-24) 0; }
.section--soft { background: var(--color-bg-soft); }
.section--warm { background: var(--color-bg-warm); }
.section--primary { background: var(--color-primary); color: #fff; }
.section--primary h2,
.section--primary h3 { color: #fff; }
.section--primary p { color: rgba(255,255,255,0.9); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* --- 5. Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo span {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-logo a { text-decoration: none; display: flex; align-items: center; gap: var(--space-3); }

.site-nav { display: flex; align-items: center; gap: var(--space-1); }
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--color-bg-soft); color: var(--color-primary); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  border: none;
  background: transparent;
  font-family: inherit;
}
.nav-dropdown-toggle:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: var(--space-2) 0;
  z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  border-radius: 0;
  font-size: var(--text-sm);
}
.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-2) var(--space-4) !important;
}
.nav-cta:hover { background: var(--color-accent-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.2s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  overflow-y: auto;
  z-index: 800;
  padding: var(--space-6);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
.mobile-nav .mobile-nav-section { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: var(--space-4) 0 var(--space-2); border-bottom: none; }
.mobile-nav .mobile-cta { background: var(--color-accent); color: #fff; border-radius: var(--radius-md); text-align: center; margin-top: var(--space-6); padding: var(--space-4); border-bottom: none; }

/* Fixed mobile bottom bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
}
.mobile-bottom-bar .bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2);
}
.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: var(--space-2);
  min-height: 52px;
}
.bar-call { background: var(--color-primary); color: #fff; }
.bar-whatsapp { background: var(--color-whatsapp); color: #fff; }
.bar-enquire { background: var(--color-accent); color: #fff; }
.mobile-bottom-bar a svg { width: 20px; height: 20px; }

/* --- 6. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; border-color: var(--color-whatsapp); }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); border-color: var(--color-whatsapp-dark); color: #fff; }
.btn-sm { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); min-height: 40px; }
.btn-lg { font-size: var(--text-lg); padding: var(--space-4) var(--space-8); min-height: 56px; }
.btn-full { width: 100%; }

/* Maps & Waze direction buttons */
.direction-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  text-decoration: none;
  transition: all 0.15s;
  min-height: 44px;
  color: var(--color-text);
  background: var(--color-bg);
}
.direction-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-bg-soft); }
.direction-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-maps { border-color: #1A73E8; color: #1A73E8; }
.btn-maps:hover { background: #1A73E8; color: #fff; }
.btn-waze { border-color: #33CCFF; color: #0B82A8; }
.btn-waze:hover { background: #33CCFF; color: #000; }

/* --- 7. Hero Section --- */
.hero {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-20) 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); margin-bottom: var(--space-5); }
.hero p.lead { color: rgba(255,255,255,0.92); font-size: var(--text-xl); margin-bottom: var(--space-8); max-width: 55ch; }
.hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-10); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  align-items: center;
  padding: var(--space-4) var(--space-6);
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  margin-top: var(--space-8);
  max-width: fit-content;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
}
.trust-strip-item svg { color: var(--color-accent-light); flex-shrink: 0; }

/* --- 8. Cards --- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { font-size: 2.5rem; margin-bottom: var(--space-4); display: block; }
.card-icon svg { width: 48px; height: 48px; color: var(--color-primary); }
.card h3 { margin-bottom: var(--space-3); }
.card p { margin-bottom: 0; color: var(--color-text-muted); }

.branch-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.branch-card:hover { box-shadow: var(--shadow-md); }
.branch-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-soft);
}
.branch-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}
.branch-card-body { padding: var(--space-5); }
.branch-card h3 { color: var(--color-primary); margin-bottom: var(--space-3); }
.branch-card address { font-style: normal; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-3); line-height: 1.5; }
.branch-card .hours { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.branch-card .phone-link { font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); text-decoration: none; display: block; margin-bottom: var(--space-4); }
.branch-card-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* --- 9. Section Headers --- */
.section-header { margin-bottom: var(--space-10); }
.section-header .eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; margin-bottom: 0; }

/* --- 10. Steps / Process --- */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: var(--space-8);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li::after {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 2.25rem;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.steps li:last-child::after { display: none; }
.steps li h3 { margin-bottom: var(--space-2); font-size: var(--text-xl); }
.steps li p { margin-bottom: 0; color: var(--color-text-muted); }

/* --- 11. Quick Answer Box --- */
.quick-answer {
  background: var(--color-bg-warm);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}
.quick-answer-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-3);
}
.quick-answer ul { margin: 0; }
.quick-answer li { margin-bottom: var(--space-2); }

/* --- 12. FAQ --- */
.faq-list { list-style: none; padding: 0; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  padding: var(--space-5) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.2s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: var(--space-5);
}
.faq-item.open .faq-answer { display: block; }

/* Native <details>/<summary> FAQ support */
details.faq-item { display: block; }
details.faq-item > summary.faq-question {
  list-style: none;
}
details.faq-item > summary.faq-question::-webkit-details-marker { display: none; }
details.faq-item > summary.faq-question::marker { display: none; }
details.faq-item[open] .faq-answer { display: block; }

.faq-answer p { color: var(--color-text-muted); margin-bottom: var(--space-3); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { color: var(--color-text-muted); margin-bottom: var(--space-3); }

/* --- 13. Testimonials --- */
.testimonials { }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-6); }
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #F5A623; font-size: var(--text-lg); margin-bottom: var(--space-3); letter-spacing: 2px; }
.testimonial-body { font-style: italic; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.testimonial-body p { max-width: none; }
.testimonial-author { font-weight: 700; color: var(--color-text); font-size: var(--text-sm); }
.testimonial-location { font-size: var(--text-xs); color: var(--color-text-muted); }

/* --- 14. Comparison Table --- */
.comparison-table { overflow-x: auto; }
.comparison-table table { min-width: 500px; }
.comparison-table th:first-child { background: var(--color-text-muted); }
.comparison-table .col-id { background: rgba(201,146,42,0.12); }
.comparison-table .col-ph { background: rgba(27,79,114,0.08); }

/* --- 15. Author Bio --- */
.author-bio {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}
.author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-border);
}
.author-bio-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 700;
  flex-shrink: 0;
}
.author-bio-info h4 { color: var(--color-primary); margin-bottom: var(--space-1); }
.author-bio-info .role { font-size: var(--text-sm); color: var(--color-accent); font-weight: 700; margin-bottom: var(--space-2); }
.author-bio-info p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: 0; max-width: none; }

/* --- 16. Breadcrumb --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: var(--space-3) 0;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .current { color: var(--color-text); font-weight: 600; }

/* --- 17. Alert / Info Boxes --- */
.alert {
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}
.alert p { max-width: none; margin-bottom: var(--space-2); }
.alert p:last-child { margin-bottom: 0; }
.alert-info { background: #EBF5FB; border-left: 4px solid var(--color-primary-light); color: #1A5276; }
.alert-warning { background: #FEF9E7; border-left: 4px solid var(--color-accent); color: #7D6608; }
.alert-verify { background: #FDEDEC; border-left: 4px solid #E74C3C; color: #922B21; }

/* --- 18. Pricing Cards --- */
.pricing-highlight {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.pricing-highlight h3 { color: var(--color-accent-light); }
.pricing-highlight p { color: rgba(255,255,255,0.85); }
.price-range { font-size: var(--text-3xl); font-weight: 700; color: var(--color-accent-light); }

/* --- 19. Contact Form --- */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-2); color: var(--color-text); }
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s;
  min-height: 48px;
}
.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: flex-start; gap: var(--space-3); }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; cursor: pointer; }
.form-check label { font-size: var(--text-sm); color: var(--color-text-muted); cursor: pointer; }
.form-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }

/* --- 20. Last Reviewed Banner --- */
.last-reviewed {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.last-reviewed svg { color: var(--color-primary); flex-shrink: 0; }
.last-reviewed strong { color: var(--color-text); }

/* --- 21. Table of Contents --- */
.toc {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}
.toc h3 { font-size: var(--text-base); margin-bottom: var(--space-3); }
.toc ol { margin: 0; padding-left: 1.5rem; }
.toc li { margin-bottom: var(--space-1); }
.toc a { font-size: var(--text-sm); color: var(--color-primary); }

/* --- 22. Tags / Badges --- */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-primary { background: var(--color-primary); color: #fff; }
.badge-accent { background: var(--color-accent); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--color-primary); color: var(--color-primary); }

/* --- 23. Footer --- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand img { height: 44px; margin-bottom: var(--space-4); filter: brightness(0) invert(1); }
.footer-brand-name { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: var(--space-3); }
.footer-brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.7); max-width: none; }
.licence-display {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-light);
  margin-top: var(--space-4);
}
.footer-col h4 { font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col a { color: rgba(255,255,255,0.75); font-size: var(--text-sm); text-decoration: none; }
.footer-col a:hover { color: #fff; }

.footer-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}
.footer-branch h4 { font-size: var(--text-sm); font-weight: 700; color: var(--color-accent-light); margin-bottom: var(--space-3); }
.footer-branch address { font-style: normal; font-size: var(--text-sm); color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-branch a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-branch a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: var(--space-4); }

/* --- 24. Utility --- */
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-auto { margin-top: auto; }
.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; }
.hidden { display: none !important; }
.full-width { width: 100%; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

/* Inline icon alignment */
.icon-text { display: inline-flex; align-items: center; gap: var(--space-2); }
.icon-text svg { flex-shrink: 0; }

/* --- 25. Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 72px; }
  .hero { padding: var(--space-12) 0; }
  .section { padding: var(--space-10) 0; }
  .section--lg { padding: var(--space-12) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-branches { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .trust-strip { gap: var(--space-3) var(--space-5); }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .steps li { padding-left: 3rem; }
  h1 { font-size: var(--text-3xl); }
  .btn { white-space: normal; max-width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .card { padding: var(--space-4); }
  .quick-answer { padding: var(--space-4); }
  p { max-width: none; }
}

/* --- 26. Print --- */
@media print {
  .site-header, .mobile-bottom-bar, .hero-cta, .contact-form { display: none; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}

/* --- 27. Focus Styles (a11y) --- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- 28. Local highlight for in-page nav --- */
.page-intro { font-size: var(--text-lg); max-width: 65ch; margin-bottom: var(--space-8); color: var(--color-text); }
.service-icon { width: 56px; height: 56px; background: var(--color-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.service-icon svg { width: 32px; height: 32px; color: #fff; }

/* Location areas list */
.areas-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.areas-list li { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: var(--space-1) var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }

/* Two-column layout for content + sidebar */
.content-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-10); align-items: start; }
@media (max-width: 900px) { .content-sidebar { grid-template-columns: 1fr; } }

.sticky-sidebar { position: sticky; top: calc(var(--header-height) + 16px); }

/* Contact card in sidebar */
.contact-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.contact-card h3 { color: #fff; margin-bottom: var(--space-3); }
.contact-card p { color: rgba(255,255,255,0.85); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.contact-card .btn { width: 100%; margin-bottom: var(--space-3); }

/* Blog card */
.blog-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--color-bg-soft); }
.blog-card-body { padding: var(--space-5); }
.blog-card-meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.blog-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.blog-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: 0; max-width: none; }
