/* ==========================================================================
   MASTER TEMPLATE STYLESHEET
   Single file — no preprocessors
   ========================================================================== */

/* ==========================================================================
   SWAP: Brand accent colour — this is the ONLY value that changes per site.
   Line 11. Change --accent to your client's primary brand colour.
   ========================================================================== */
:root {
  --accent: #D4A017;       /* Quickstart Recovery gold */
  --accent-dark: #b8890e;  /* deeper gold for hover states */
  --text-dark: #1a1a1a;
  --text-muted: #888888;
  --border: #eeeeee;
  --bg-light: #f5f5f5;
  --bg-off: #f9f9f9;
  --bg-dark: #111111;      /* near-black matching logo background */
  --nav-bg: #000000;       /* pure black nav bar to match logo */
  --white: #ffffff;
  --max-width: 1140px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 0.75rem;         /* 12px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: none; /* no animations — performance first */
}

/* Primary: solid accent */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Secondary: outlined on dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--text-dark);
}

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

.link-accent:hover {
  opacity: 0.8;
}

/* ==========================================================================
   TOP BAR
   Dark background, accent top border, contact left, social right.
   ========================================================================== */
.top-bar {
  width: 100%;
  background: var(--bg-dark);
  /* SWAP: accent top border — pulls from --accent automatically */
  border-top: 3px solid var(--accent);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.top-bar-contact a:hover {
  color: var(--white);
}

.top-bar-contact svg {
  flex-shrink: 0;
  color: var(--accent);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-social a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.top-bar-social a:hover {
  color: var(--accent);
}

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

/* Header — not sticky, stays at top */
.site-header {
  position: relative;
  z-index: 100;
}

.site-nav {
  width: 100%;
  background: var(--nav-bg);
  box-shadow: 0 2px 0 0 rgba(212,160,23,0.25), 0 4px 12px rgba(0,0,0,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

/* SWAP: logo text styling — remove if using img */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* Nav menu — desktop: flex row */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.nav-menu a:hover {
  color: var(--accent);
}

/* CTA button in nav */
.nav-cta-btn {
  background: var(--accent);
  color: var(--bg-dark) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.nav-cta-btn svg {
  stroke: var(--bg-dark);
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: var(--accent-dark);
  opacity: 1 !important;
}

/* Hamburger button — hidden on desktop (>767px), floated right on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
}

/* ==========================================================================
   SECTIONS — shared padding
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 100px 0 80px;
}

/* ==========================================================================
   SECTION: Hero
   ========================================================================== */
.hero {
  background: var(--bg-dark);
  padding: 120px 0 100px;
  position: relative;
}

.hero h1 {
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: center;
}

.hero-content .hero-subtext {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

/* Trust list with checkmarks */
.hero-trust {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-trust li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* SWAP: widget embed — replace inner content with iframe or form */
/* To show this widget on mobile, add class "widget-visible" or remove the mobile hide rule below */
.hero-widget {
  background: var(--bg-light);
  border: 1px solid var(--border);
  min-height: 300px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-placeholder {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
}

/* ==========================================================================
   SECTION: Intro Strip
   ========================================================================== */
.intro {
  background: var(--white);
  padding: 80px 0;
}

.intro-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.intro-inner p {
  font-size: 1.0625rem;
  color: #444;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECTION: Features / Services Cards
   ========================================================================== */
.features {
  background: var(--bg-off);
  padding: 80px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* SWAP: icon placeholder — replace this div with <img> or inline SVG */
.icon-placeholder {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  /* SWAP: add SVG background-image or replace entirely with <img width="48" height="48"> */
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #444;
  margin-bottom: 1rem;
}

/* ==========================================================================
   SECTION: CTA Strip
   ========================================================================== */
.cta-strip {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--bg-dark);
  margin-bottom: 1rem;
}

.cta-strip p {
  color: rgba(0, 0, 0, 0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-strip .btn-primary {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--accent);
}

/* ==========================================================================
   SECTION: Alternating Image / Text
   ========================================================================== */
.alt-blocks {
  background: var(--white);
  padding: 80px 0;
}

.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.alt-block:last-child {
  margin-bottom: 0;
}

/* Image right variant — reverses column order */
.alt-block.img-right {
  direction: rtl;
}

.alt-block.img-right > * {
  direction: ltr;
}

/* SWAP: image placeholder — replace this div with <img width="..." height="..." loading="lazy"> */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  border-radius: var(--radius);
  /* SWAP: set explicit dimensions in the img tag when replacing:
     <img src="/images/your-image.webp" alt="Description" width="540" height="405" loading="lazy"> */
}

.alt-block-text h2 {
  margin-bottom: 1rem;
}

.alt-block-text p {
  color: #444;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECTION: FAQ Accordion
   ========================================================================== */
.faq {
  background: var(--bg-off);
  padding: 80px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.7;
}

/* Open state — toggled by main.js adding .open class */
.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  content: "×";
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo .logo-text {
  color: var(--white);
  font-size: 1.125rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* SWAP: social icon row — uncomment in footer.php */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  opacity: 0.6;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
  color: var(--white);
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
}

.footer-copy a {
  color: var(--text-muted);
}

.footer-copy a:hover {
  color: var(--white);
}

/* ==========================================================================
   RESPONSIVE — MOBILE 767px
   Matches Elementor / standard mobile breakpoint.
   Everything collapses here: nav hamburger, grids, section padding.
   ========================================================================== */
@media (max-width: 767px) {

  /* Section padding halved on mobile */
  .section,
  .hero,
  .intro,
  .features,
  .cta-strip,
  .alt-blocks,
  .faq {
    padding: 40px 0;
  }

  /* Hero: stack columns */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .alt-block {
    margin-bottom: 40px;
  }

  /* Hero CTA stack */
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* SWAP: widget hidden on mobile by default.
     To show on mobile, delete the rule below or add class "widget-visible" to .hero-widget */
  .hero-widget {
    display: none;
  }

  /* Features: single column */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Alternating blocks: stack, image always on top */
  .alt-block,
  .alt-block.img-right {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  /* ── NAV: hamburger menu ────────────────────────────────────────────── */

  /* Hide entire top bar on mobile — reduces header height */
  .top-bar {
    display: none;
  }

  /* Show hamburger button, floated right via margin-left: auto on the element */
  .nav-hamburger {
    display: flex;
  }

  /* Hide nav links until toggled */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 110px; /* matches .nav-inner height */
    left: 0;
    right: 0;
    background: var(--nav-bg);
    box-shadow: 0 2px 0 0 rgba(212,160,23,0.25), 0 4px 12px rgba(0,0,0,0.07);
    padding: 8px 24px 16px;
    z-index: 99;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

}

/* Nav position context for mobile dropdown */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 0 0 rgba(212,160,23,0.25), 0 4px 12px rgba(0,0,0,0.07);
}

/* ============================================================
   FEATURE CARD IMAGE
   Full-width image below the heading, rounded corners,
   consistent aspect ratio across all three cards.
   ============================================================ */
.feature-card-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin: 12px 0 16px;
}

/* ============================================================
   ALT BLOCK — REAL IMAGE
   Replaces .img-placeholder. Same sizing, covers the slot,
   rounded corners to match card style.
   ============================================================ */
.alt-block-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* On mobile the alt-block stacks; give the image a sensible height */
@media (max-width: 767px) {
  .alt-block-img {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* ============================================================
   REVIEWS SLIDER
   Dark section, 3-up on desktop, 2 on tablet, 1 on mobile.
   Vanilla JS drives .reviews-track translateX().
   ============================================================ */
.reviews-section {
  background: var(--bg-dark);
  padding: 80px 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-header h2 {
  color: #fff;
  margin-bottom: 16px;
}

.reviews-header .eyebrow {
  color: var(--accent);
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
  margin-top: 8px;
}

.reviews-google-label {
  color: #e0eeff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.reviews-stars-badge {
  color: #fbbc05;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.reviews-track-outer {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  flex: 0 0 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  color: #fbbc05;
  font-size: 18px;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  flex: 1;
}

.review-text p {
  color: #c8d8f0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.review-location {
  color: #7a9abd;
  font-size: 0.8rem;
  margin: 2px 0 0;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

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

.reviews-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.reviews-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 767px) {
  .review-slide {
    flex: 0 0 100%;
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .review-slide {
    flex: 0 0 50%;
  }
}

/* ==========================================================================
   QUICKSTART RECOVERY — SITE-SPECIFIC ADDITIONS
   ========================================================================== */

/* Logo image dimensions — prevent CLS */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 110px;
  height: 94px;
}

.nav-logo img {
  width: 110px;
  height: 94px;
  object-fit: contain;
  content-visibility: visible;
}

/* Nav inner height — taller to fit logo */
.nav-inner {
  height: 110px;
}

/* Mobile nav top offset matches new nav height */
@media (max-width: 767px) {
  .nav-menu {
    top: 110px;
  }
}

/* Footer logo */
.footer-logo img {
  width: 110px;
  height: 94px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Eyebrow in reviews header override — gold on dark */
.reviews-header .eyebrow {
  color: var(--accent);
}

/* Feature card icon placeholder — gold tint, icon centred in gold */
.icon-placeholder {
  background: rgba(212, 160, 23, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

/* ==========================================================================
   WHATSAPP BUTTON — mobile only
   ========================================================================== */

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  border-color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* Hidden on desktop, shown on mobile */
.mobile-only,
span.mobile-only,
span.mobile-only a,
a.btn-call-gold.mobile-only,
a.btn-call-dark.mobile-only,
a.btn-whatsapp.mobile-only {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-only {
    display: block !important;
  }
  span.mobile-only {
    display: inline-block !important;
  }
  span.mobile-only a,
  a.mobile-only,
  button.mobile-only,
  a.btn-call-gold.mobile-only,
  a.btn-call-dark.mobile-only,
  a.btn-whatsapp.mobile-only {
    display: inline-flex !important;
  }
}


/* ==========================================================================
   SERVICE AREAS SECTION
   ========================================================================== */

.service-areas {
  background: var(--bg-off);
}

.service-areas-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.service-areas-intro {
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.area-col {
  background: var(--white);
  padding: 2rem 1.75rem 1.75rem;
  border-top: 3px solid var(--accent);
}

.area-county {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 0.9375rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.area-list li:last-child {
  border-bottom: none;
}

.area-pin {
  font-size: 0.8rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.area-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.area-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.areas-footer-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.areas-footer-note a {
  color: var(--accent-dark);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
}

@media (max-width: 600px) {
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ==========================================================================
   HERO — background image + text/icon overrides
   ========================================================================== */

/* Background image — path confirmed working */
.hero {
  background-image: url('../images/accident-breakdown-service-wexford.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hide the placeholder widget box — hero is now full-width background image */
.hero-widget {
  display: none !important;
}

/* Full-width hero content when widget is hidden */
.hero-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Phone emoji in call button — force white */
.btn-primary {
  color: var(--white) !important;
}

/* ==========================================================================
   CALL BUTTON VARIANTS
   ========================================================================== */

/* Override .btn display for call/whatsapp buttons that need flex for icon alignment */
a.btn-call-gold,
a.btn-call-dark,
a.btn-whatsapp {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}

/* SVG icon inside call buttons — always white */
a.btn-call-gold svg,
a.btn-call-dark svg {
  stroke: #ffffff;
  flex-shrink: 0;
  fill: none;
}

/* Gold variant — for dark/image backgrounds */
a.btn-call-gold {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

a.btn-call-gold:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

/* Dark variant — for light/white backgrounds */
a.btn-call-dark {
  background: var(--bg-dark) !important;
  color: #ffffff !important;
  border-color: var(--bg-dark) !important;
}

a.btn-call-dark:hover {
  background: #2a2a2a !important;
  border-color: #2a2a2a !important;
}

/* Alt block button row */
.alt-block-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* desktop-only — inverse of mobile-only */
.desktop-only {
  display: inline-flex;
}

@media (max-width: 767px) {
  .desktop-only,
  span.desktop-only,
  span.desktop-only a {
    display: none !important;
  }
}
/* ==========================================================================
   SERVICE PAGE — Page Hero / Breadcrumb Banner
   Light gradient background. SWAP gradient colours per site.
   ========================================================================== */
.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  /* SWAP: update gradient colours per site */
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f0ff 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 100px 0 80px;
}

.page-hero h1 {
  color: var(--text-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.page-hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}

/* Breadcrumb nav */
.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   SERVICE PAGE — Two-column layout: content + sidebar
   ========================================================================== */
.service-layout {
  background: var(--bg-off);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   SERVICE PAGE — Left: Main content
   ========================================================================== */
.service-content {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--border);
}

.service-lead-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.service-content h2 {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.service-content h2:first-of-type {
  margin-top: 0;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Alternating image + text block */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-block-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.service-block-text h2 {
  margin-top: 0;
}

/* Checklist */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Inline CTA block */
.service-cta-inline {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 24px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.service-cta-inline p {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
  min-width: 200px;
}

/* ==========================================================================
   SERVICE PAGE — Right: Sidebar
   ========================================================================== */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px; /* clears the sticky nav height */
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}

.sidebar-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Contact widget */
.sidebar-contact {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  text-align: center;
}

.sidebar-phone {
  margin: 0 0 4px;
}

.sidebar-phone a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.sidebar-phone a:hover {
  color: var(--accent);
}

.sidebar-emergency {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: 0.3px;
}

.sidebar-btn {
  width: 100%;
  display: block;
  text-align: center;
}

.sidebar-btn svg {
  stroke: currentColor;
  fill: none;
}

/* Services list widget */
.sidebar-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-services li {
  border-bottom: 1px solid var(--border);
}

.sidebar-services li:last-child {
  border-bottom: none;
}

.sidebar-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-services a::after {
  content: '→';
  color: var(--accent);
  font-size: 0.85rem;
}

.sidebar-services a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Contact details widget */
.sidebar-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sidebar-contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.sidebar-contact-list a {
  color: var(--text-dark);
  text-decoration: none;
}

.sidebar-contact-list a:hover {
  color: var(--accent);
}

/* ==========================================================================
   SERVICE PAGE — Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 280px;
    padding: 70px 0 50px;
    text-align: left;
  }

  .page-hero .breadcrumb ol {
    justify-content: flex-start;
  }

  .page-hero-sub {
    margin: 0;
  }

  .page-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
  }

  .service-content {
    padding: 24px 20px;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-lead-img {
    height: 220px;
    object-position: center 30%;
  }

  .service-block-img {
    height: 220px;
  }

  .service-cta-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-cta-inline .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   SERVICE MAP
   ========================================================================== */
.service-map {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.service-map-heading {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-map-embed iframe {
  display: block;
  width: 100%;
}

@media (max-width: 767px) {
  .service-map-embed iframe {
    height: 280px;
  }
}

/* ==========================================================================
   SERVICE AREA HUB PAGE
   ========================================================================== */

.hub-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hub-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hub-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hub-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-dark);
  margin-top: 0.5rem;
}

.hub-section-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Wexford 4-column card grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.hub-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.hub-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.hub-card-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--bg-light);
}

.hub-card-list li:last-child {
  border-bottom: none;
}

.hub-card-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}

.hub-card-link:hover {
  color: var(--accent-dark);
}

/* Surrounding counties grid */
.hub-counties-section {
  background: var(--bg-off);
}

.hub-county-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hub-county-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.hub-county-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.hub-county-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hub-county-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hub-county-route {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hub-county-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.1rem;
  color: var(--border);
  transition: color 0.2s, transform 0.2s;
}

.hub-county-card:hover .hub-county-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Can't find your town callout */
.hub-callout {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hub-callout p {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0;
}

.hub-callout p a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.hub-callout-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

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

  .hub-county-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-county-grid {
    grid-template-columns: 1fr;
  }

  .hub-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   NAV DROPDOWN
   ========================================================================== */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  z-index: 200;
}

.nav-has-dropdown.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li a:hover {
  background: var(--bg-light);
  color: var(--accent);
}

/* Mobile dropdown — stacked inline */
@media (max-width: 767px) {
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    background: var(--bg-off);
    padding: 4px 0;
    margin: 4px 0 8px 12px;
  }

  .nav-dropdown li a {
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   LEGAL PAGES (Privacy & Terms)
   ========================================================================== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-section {
  background: var(--bg-off);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Map column */
.contact-map-col {
  position: sticky;
  top: 100px;
}

.contact-map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 480px;
}

.contact-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.contact-details-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 20px 24px;
  display: flex;
  gap: 24px;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.contact-details-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.contact-details-col p,
.contact-details-col a {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.5;
}

.contact-details-col a:hover {
  color: var(--accent);
}

/* Form column */
.contact-form-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form-col h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.contact-form-intro a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* Form fields */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.required {
  color: var(--accent);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.btn-contact-submit {
  width: 100%;
  background: var(--bg-dark);
  color: var(--white);
  border: 2px solid var(--bg-dark);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 0.5rem;
}

.btn-contact-submit:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* Success & error states */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.form-success svg {
  flex-shrink: 0;
  color: #16a34a;
  margin-top: 2px;
}

.form-success strong {
  display: block;
  color: #15803d;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.form-success p {
  font-size: 0.875rem;
  color: #166534;
  margin: 0;
  line-height: 1.6;
}

.form-success p a {
  color: #15803d;
  font-weight: 600;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #b91c1c;
  line-height: 1.6;
}

.form-error ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.form-error a {
  color: #b91c1c;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-col {
    position: static;
  }

  .contact-map-wrap {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .contact-form-col {
    padding: 1.5rem;
  }

  .contact-map-wrap {
    height: 300px;
  }

  .contact-details-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
}

/* ==========================================================================
   HOMEPAGE MAP SECTION
   ========================================================================== */
.homepage-map-section {
  background: var(--bg-off);
}

.homepage-map-header {
  text-align: center;
  margin-bottom: 2rem;
}

.homepage-map-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text-dark);
  margin: 0.5rem 0;
}

.homepage-map-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.homepage-map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.homepage-map-embed iframe {
  display: block;
  width: 100%;
}

@media (max-width: 767px) {
  .homepage-map-embed iframe {
    height: 280px;
  }
}

/* ==========================================================================
   VIDEOS — standard YouTube block (matches the Site Manager Videos tool)
   ========================================================================== */
.video-wrapper{position:relative;width:100%;max-width:1280px;aspect-ratio:16/9;margin:1.5rem auto;overflow:hidden;border-radius:var(--radius);background:#000}
.video-wrapper--portrait{max-width:478px;aspect-ratio:478/550}
.video-wrapper img{display:block;width:100%;height:100%;object-fit:cover}
.video-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer;line-height:0}
.video-play-btn:focus-visible{outline:3px solid #fff;outline-offset:4px}
.video-transcript{max-width:1280px;margin:-0.75rem auto 1.5rem;font-size:.95em}
.video-transcript summary{cursor:pointer;font-weight:600}

/* ==========================================================================
   OLD: STICKY CALL / WHATSAPP BAR (bottom, mobile) — commented out 2026-11-11.
   Replaced by .side-cta below. Inner comments changed to ( ) so this block
   stays one comment. To restore: un-comment here and in includes/footer.php.
   --------------------------------------------------------------------------
( ==========================================================================
   STICKY CALL / WHATSAPP BAR
   Markup lives in includes/footer.php (shows on every page).
   SWAP: mobile only by default. To show on all screens, delete the
   "display: none" line in .sticky-cta and the @media wrapper around
   the body padding rule.
   ========================================================================== )
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  background: #000;
}

.sticky-cta-btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.sticky-cta-call {
  background: #D32F2F;   ( red )
}

.sticky-cta-call:hover,
.sticky-cta-call:active {
  background: #B71C1C;
}

.sticky-cta-whatsapp {
  background: #1FAF54;   ( WhatsApp green (slightly deeper than #25D366 so white text reads) )
}

.sticky-cta-whatsapp:hover,
.sticky-cta-whatsapp:active {
  background: #178F44;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
  }

  ( Stop the bar covering the bottom of the footer )
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
   ========================================================================== */

/* ==========================================================================
   SIDE CALL / WHATSAPP BUTTONS
   Fixed to the right edge, halfway down the screen, on every page and every
   screen size. Markup lives in includes/footer.php.
   ========================================================================== */
.side-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Horizontal side buttons: icon + label, same width, flush to the screen edge */
.side-cta-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 16px;
  color: var(--white);
  text-decoration: none;
  border-radius: 5px 0 0 5px;   /* rounded on the inside edge, flush to the screen edge */
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.25);
  transition: padding 0.15s, background 0.15s;
}

.side-cta-btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.side-cta-label {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.side-cta-btn:hover,
.side-cta-btn:focus-visible {
  padding-right: 24px;
}

.side-cta-call {
  background: #D32F2F;   /* red */
}

.side-cta-call:hover {
  background: #B71C1C;
}

.side-cta-whatsapp {
  background: #1FAF54;   /* WhatsApp green */
}

.side-cta-whatsapp:hover {
  background: #178F44;
}

/* Smaller on phones so they cover less of the text */
@media (max-width: 767px) {
  .side-cta-btn {
    gap: 7px;
    padding: 9px 12px 9px 11px;
  }

  .side-cta-btn:hover,
  .side-cta-btn:focus-visible {
    padding-right: 12px;
  }

  .side-cta-btn svg {
    width: 18px;
    height: 18px;
  }

  .side-cta-label {
    font-size: 0.8125rem;
  }
}
