/* ==========================================================================
   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: #d62828;
  --text-dark: #1a1a1a;
  --text-muted: #888888;
  --border: #eeeeee;
  --bg-light: #f5f5f5;
  --bg-off: #f9f9f9;
  --bg-dark: #121417;
  --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
   ========================================================================== */

/* Sticky wrapper — wraps .top-bar + .site-nav together in the HTML */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* SWAP: nav height — increase or decrease this one value */
  height: 90px;
}

/* 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: var(--text-dark);
}

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

/* 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(--text-dark);
}

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

.section-sm {
  padding: 60px 0;
}

/* ==========================================================================
   SECTION: Hero
   ========================================================================== */
.hero {
  background: var(--bg-off);
  /* SWAP: hero vertical padding — increase for a taller hero */
  padding: 120px 0 100px;
}

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

.hero-content .hero-subtext {
  font-size: 1.125rem;
  color: #444;
  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: var(--text-dark);
}

.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 {
  /* SWAP: toggle between light, accent, or dark background:
     Use background: var(--bg-light) for light grey
     Use background: var(--accent) for brand colour
     Use background: var(--bg-dark) for near-black */
  background: var(--bg-light);
  padding: 80px 0;
  text-align: center;
}

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

.cta-strip p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   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.jpg" 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 top bar contact text on mobile — too cramped */
  .top-bar-contact a span,
  .top-bar-contact {
    display: none;
  }

  /* Keep top bar visible but social-icons only, centred */
  .top-bar-inner {
    justify-content: center;
  }

  /* 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: 90px; /* matches .nav-inner height */
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    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 var(--border);
    font-size: 1rem;
  }

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

}

/* Nav position context for mobile dropdown — .site-header handles sticky */
.site-nav {
  position: relative;
  z-index: 100;
}

/* ============================================================
   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: 100%;
  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: 260px;
    width: 100%;
  }
}

/* ============================================================
   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%;
  }
}

/* ==========================================================================

   NEWSLETTER BAND
   ========================================================================== */
.newsletter-band {
  background: var(--bg-dark);
  padding: 60px 0;
}

.newsletter-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-band-text h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-band-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  min-width: 180px;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-feedback {
  width: 100%;
  margin-top: 12px;
  font-size: 0.9rem;
}

.newsletter-feedback--success {
  color: #a5d6a7;
}

.newsletter-feedback--error {
  color: #ef9a9a;
}

@media (max-width: 767px) {
  .newsletter-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="text"],
  .newsletter-form input[type="email"] {
    width: 100%;
  }
}

/* ==========================================================================
   NAV DROPDOWN — chevron rotation, desktop dropdown, mobile inline
   ========================================================================== */
.nav-chevron {
  transition: transform 0.2s;
}

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

.nav-has-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

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

@media (max-width: 767px) {
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    padding: 0 0 0 12px;
    margin: 0;
    min-width: 0;
  }

  .nav-dropdown a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

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

/* ==========================================================================
   CAR BATTERY WEXFORD — SITE ADDITIONS (shared by style.css + style-home.css)
   Brand: battery-terminal red on near-black.
   ========================================================================== */

/* Anchor targets clear the sticky header (top bar 45px + nav 90px) */
[id] { scroll-margin-top: 150px; }

/* Text logo */
.logo-text { font-weight: 800; letter-spacing: -0.03em; }
.logo-bolt { color: var(--accent); margin-right: 4px; font-size: 0.95em; }
.logo-accent { color: var(--accent); }

/* Top bar tagline (replaces social icons) */
.top-bar-tagline { font-size: 0.8125rem; color: rgba(255,255,255,0.7); }

/* Nav call button */
.nav-menu a.nav-cta { color: var(--white); padding: 12px 20px; }
.nav-menu a.nav-cta:hover { color: var(--white); }
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-menu { gap: 1.25rem; }
  .nav-cta-item { display: none; }
}

/* Buttons with icons + WhatsApp */
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { opacity: 0.9; }
.mobile-only, a.btn-whatsapp.mobile-only { display: none; }
@media (max-width: 767px) {
  .mobile-only { display: inline-block; }
  .desktop-only { display: none !important; }
}
.alt-block-btns, .cta-strip-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-strip-btns { justify-content: center; }

/* Icons inside the template's icon placeholder */
.icon-placeholder { display: flex; align-items: center; justify-content: center; color: var(--accent); background: #fbe9e9; }
.step-num { font-size: 1.375rem; font-weight: 800; color: var(--white); background: var(--accent); border-radius: 50%; }
.step-card { text-align: left; }

/* Floating call + WhatsApp buttons */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 56px; height: 56px; border-radius: 28px; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.float-whatsapp { background: #25d366; width: 56px; }
.float-call { background: var(--accent); padding: 0 18px 0 15px; font-weight: 700; font-size: 0.95rem; }
.float-btn:hover { opacity: 0.92; }
.float-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
  .float-call-label { display: none; }
  .float-call { width: 56px; padding: 0; }
  .site-footer { padding-bottom: 80px; }
}

/* Footer parent-site line */
.footer-parent { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-top: 14px; }
.footer-parent a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 2px; }

/* Anti-spam honeypot */
.as-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* ==========================================================================
   HOMEPAGE ONLY — hero, areas, contact (homepage loads style-home.css only)
   ========================================================================== */

/* Hero — full-bleed photo; overlay is baked into hero.webp (no CSS overlay) */
.hero {
  background: #0e0f11 url('../images/hero.webp') center / cover no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 120px 0 110px;
}
.hero .container { width: 100%; }
.hero-grid { grid-template-columns: minmax(0, 700px); }
.hero h1 { color: #fff; }
.hero-eyebrow { color: #ff6b6b; }
.hero-content .hero-subtext { color: rgba(255,255,255,0.88); font-size: 1.1875rem; }
.hero-trust li { color: #fff; }
.hero-trust li::before { color: #ff6b6b; }
@media (max-width: 767px) {
  .hero { min-height: 0; padding: 56px 0 64px; background-position: 65% center; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* CTA strip — brand red band */
.cta-strip { background: var(--accent); }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.88); }
.cta-strip .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }

/* How it works */
.steps { background: var(--bg-off); }
.steps .features-grid { margin-top: 0; }

/* Areas — uses the dark reviews-section colour scheme, static grid (no slider) */
.areas-intro { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto; }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.area-card { gap: 12px; }
.area-county { color: #fff; font-size: 1.0625rem; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.area-list li { color: #d5dbe4; font-size: 0.9375rem; padding: 6px 0 6px 20px; position: relative; }
.area-list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }
.areas-footer-note { color: rgba(255,255,255,0.75); text-align: center; margin-top: 36px; }
.areas-footer-note a { color: #fff; text-decoration: underline; }
@media (max-width: 1023px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .areas-section { padding: 40px 0; } .areas-grid { grid-template-columns: 1fr; } }

/* Contact section */
.contact-section { background: var(--white); }
.contact-intro { color: #444; max-width: 600px; margin: 0 auto; }
.contact-form-title { font-size: 1.375rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.required { color: var(--accent); }
.form-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 12px; }
.form-note a { text-decoration: underline; }
.btn-submit { min-width: 200px; }
.contact-feedback ul { padding-left: 18px; list-style: disc; }
.contact-feedback a { text-decoration: underline; font-weight: 600; }
.sidebar-btns { display: flex; flex-direction: column; gap: 10px; }
.sidebar-contact .sidebar-heading { color: #fff; }
.sidebar-contact-list a { text-decoration: underline; }
@media (max-width: 767px) { .form-row { grid-template-columns: 1fr; } }

/* Contact form + sidebar widget rules — copied from style.css (homepage only loads this file) */
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid #d9d9d9; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.9375rem; color: var(--text-dark); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-feedback { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.9375rem; }
.contact-feedback--success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.contact-feedback--error { background: #fbe9e7; color: #c62828; border: 1px solid #ef9a9a; }
.contact-details { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 150px; }
.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; }
.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); }
.sidebar-phone a:hover { color: var(--accent); }
.sidebar-emergency { color: #ff6b6b; font-size: 0.85rem; font-weight: 600; margin: 0 0 1.25rem; }
.sidebar-contact-list li { font-size: 0.9375rem; color: #444; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-contact-list li:last-child { border-bottom: none; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .contact-details { position: static; } }

/* Mobile nav: anchor menu needs the hamburger panel to clear the sticky header */
@media (max-width: 767px) { .nav-menu a.nav-cta { margin-top: 10px; text-align: center; border-bottom: none; } }
@media (max-width: 767px) { .top-bar-tagline { font-size: 0.72rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } }
