/* =====================================================================
   Color Trail Painting — Design System (css/styles.css)
   Shared by EVERY page. Pages never carry their own layout CSS.
   Brand: primary #0b5bab · hover #29b6df · Montserrat / Open Sans
   ===================================================================== */

/* Google Fonts are loaded via <link> in each page <head> (preconnect + display=swap):
   Montserrat 700/800 · Open Sans 400/600 · Dancing Script 600 */

/* ── Global guards ── */
[hidden] { display: none !important; }

/* ── Design tokens ── */
:root {
  /* Client-provided */
  --color-primary: #0b5bab;
  --color-hover:   #29b6df;

  /* Derived from primary */
  --color-primary-dark:  #08427d;   /* deep band backgrounds (guarantee, trust bar) */
  --color-primary-deep:  #062f59;   /* gradient end on dark bands */
  --color-primary-light: #e3eef9;   /* tints, pill backgrounds, icon discs */
  --color-accent:        #b7791f;   /* warm gold — stars & small highlights on light bg (3.6:1) */
  --color-accent-bright: #f5b83d;   /* gold on dark backgrounds */

  /* Text */
  --color-text-dark:  #2d2d2d;
  --color-text-light: #ffffff;
  --color-text-muted: #5f6368;      /* 6.1:1 on white, 5.6:1 on #f2f2f2 */
  --color-cta-text:   #ffffff;      /* on primary: 6.8:1 */
  --color-hover-text: #0b1a2b;      /* on hover #29b6df: 7.4:1 (white would be 2.4:1 — fails) */

  /* Backgrounds — fixed */
  --color-bg-white: #ffffff;
  --color-bg-gray:  #f2f2f2;
  --color-bg-light: #f4f8fc;        /* neutral hover tint */
  --color-footer:   #282828;

  /* Utility */
  --color-border: #d5e3f2;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-lift: 0 10px 28px rgba(11, 91, 171, 0.14);

  /* Fonts */
  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --section-padding-mobile: 3rem 0;
  --section-padding-tablet: var(--space-xl) var(--space-xs);
  --section-padding-desktop: var(--space-2xl) var(--space-sm);
  --container-max-width: 1200px;
  --header-height: 66px;
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px); /* anchors never hide under the sticky header */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-bg-white);
  overflow-x: hidden;
}
img, iframe, video { max-width: 100%; }
img { height: auto; display: block; }
a, a:hover, a:focus, a:focus-visible, a:visited, a:active, button, button:hover, button:focus { text-decoration: none; }
a { color: var(--color-primary); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-primary);   /* 6.8:1 on white */
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #ffffff;             /* white halo keeps the ring visible on dark bands */
}
p { margin: 0 0 var(--space-sm); }
ul { margin: 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  color: var(--color-text-dark);
  margin: 0 0 var(--space-sm);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p, li, label, input, textarea, select, blockquote { font-family: var(--font-body); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ── Layout ── */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  width: 100%;
}
section { padding: var(--section-padding-mobile); }
@media (min-width: 768px) { section { padding: var(--section-padding-tablet); } }
@media (min-width: 1024px) { section { padding: var(--section-padding-desktop); } }

/* ── Section background rhythm (fixed per section — pages never override) ──
   Hero(photo) → Trust bar(dark strip, hero zone) → Why Us(gray) → About(white)
   → Results(gray) → Gallery(white) → Reviews(gray) → Banner(primary)
   → Services(white) → Steps(gray) → Service Area(white) → Guarantee(dark band)
   → FAQs(gray) → Footer(dark) */
.why-us, .results, .reviews, .steps-section, .faqs-section { background-color: var(--color-bg-gray); }
.about-us, .gallery, .services-section, .service-area { background-color: var(--color-bg-white); }
.section-alt { background-color: var(--color-bg-gray); }

/* =====================================================================
   SECTION HEADER — CENTERED (one shared component, every section, every page)
   <div class="section-head">
     <p class="eyebrow">Short label</p>
     <h2 class="section-title">Visitor-first headline</h2>
     <p class="section-intro">40–60 word intro…</p>
   </div>
   Header block is centered with a readable cap; grids below span full width.
   ===================================================================== */
.section-head {
  max-width: 46rem;                 /* ~70ch readable measure */
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  text-align: center;
}
.section-head .section-title,
.section-head h2 {
  text-align: center;
  margin-bottom: var(--space-sm);
}
.section-head .section-intro,
.section-head p {
  text-align: center;
  margin-inline: auto;
}
.section-head > :last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 var(--space-xs);
}
.section-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin-bottom: 0;
}
/* Body copy INSIDE components stays left-aligned */
.why-us-card, .result-card, .review-card, .service-card-body, .step-card, .faq-answer, .legal-content {
  text-align: left;
}

/* =====================================================================
   BUTTONS — one system site-wide
   Rules: equal size in a group · labels wrap, never clip · every hover is
   var(--color-hover) with computed dark text (#0b1a2b, 7.4:1).
   ===================================================================== */
.btn-primary,
.btn-secondary,
.btn-banner-primary,
.btn-banner-secondary,
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  min-height: 52px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
}
.btn-primary i, .btn-secondary i, .btn-banner-primary i, .btn-banner-secondary i { font-size: 1.05em; }
.btn-primary:hover, .btn-secondary:hover,
.btn-banner-primary:hover, .btn-banner-secondary:hover { transform: translateY(-1px); }

/* Primary — filled */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-cta-text);
  box-shadow: 0 6px 18px rgba(11, 91, 171, 0.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
  color: var(--color-hover-text);
}

/* Secondary — outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
  color: var(--color-hover-text);
}

/* Secondary on the photo hero — translucent white so it never vanishes */
.hero-ctas .btn-secondary {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
}
.hero-ctas .btn-secondary:hover, .hero-ctas .btn-secondary:focus-visible {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
  color: var(--color-hover-text);
}

/* Banner buttons (on primary background) */
.btn-banner-primary {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}
.btn-banner-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-banner-primary:hover, .btn-banner-primary:focus-visible,
.btn-banner-secondary:hover, .btn-banner-secondary:focus-visible {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
  color: var(--color-hover-text);
}

/* Footer secondary sits on dark — white outline */
.footer .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}
.footer .btn-secondary:hover, .footer .btn-secondary:focus-visible {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
  color: var(--color-hover-text);
}

/* ── CTA groups: equal width + equal height pairs ── */
.hero-ctas,
.banner-ctas,
.footer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: stretch;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-secondary,
.banner-ctas .btn-banner-primary,
.banner-ctas .btn-banner-secondary,
.footer-ctas .footer-btn,
.footer-ctas .btn-primary,
.footer-ctas .btn-secondary {
  flex: 1 1 0;
  min-width: min(400px, 100%);
  max-width: 480px;
}
.hero-ctas > :only-child,
.banner-ctas > :only-child,
.footer-ctas > :only-child {
  flex: 0 1 auto;
  min-width: min(400px, 100%);
  max-width: 100%;
}

/* ── Lone CTA under a section: always centered below the text ── */
.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  text-align: center;
}
.section-cta .btn-primary,
.section-cta .btn-secondary {
  min-width: min(400px, 100%);
  max-width: 100%;
}
.cta-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}
.cta-note a { font-weight: 700; }

/* ── Mobile: every CTA is 100% of its container ── */
@media (max-width: 700px) {
  .hero-ctas,
  .banner-ctas,
  .footer-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .banner-ctas .btn-banner-primary,
  .banner-ctas .btn-banner-secondary,
  .footer-ctas .footer-btn,
  .footer-ctas .btn-primary,
  .footer-ctas .btn-secondary {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .hero-ctas > :only-child,
  .banner-ctas > :only-child,
  .footer-ctas > :only-child,
  .section-cta .btn-primary,
  .section-cta .btn-secondary {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .section-cta { align-items: stretch; }
}

/* =====================================================================
   HEADER / NAVIGATION (site-wide) — logo + name + menu. No buttons, no phone.
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-height);
  padding-top: 6px;
  padding-bottom: 6px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 50px; height: 50px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
@media (max-width: 420px) {
  .brand-name { font-size: 17px; }
  .brand img { width: 44px; height: 44px; }
}

.main-nav { display: none; }
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link:focus-visible,
.has-dropdown.is-open > .nav-link {
  background-color: var(--color-hover);
  color: var(--color-hover-text);
}
.nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.has-dropdown.is-open > .nav-link .nav-chevron { transform: rotate(180deg); }
.dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  position: absolute;
  top: 100%;
  left: 0;                          /* aligned to parent's LEFT edge */
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: none;
}
.has-dropdown.is-open > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown a:hover, .dropdown a:focus-visible {
  background-color: var(--color-hover);
  color: var(--color-hover-text);
}
.dropdown a[aria-current="page"] { background: var(--color-primary-light); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--color-bg-light); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: inline; }

/* Desktop: hover dropdowns, hamburger hidden */
@media (min-width: 768px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .has-dropdown:hover > .dropdown { display: block; }
  .has-dropdown:hover > .nav-link .nav-chevron { transform: rotate(180deg); }
}

/* Mobile: full-width panel under the header */
@media (max-width: 767px) {
  .nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 0.5rem var(--space-sm) var(--space-sm);
  }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--color-border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.85rem 0.5rem; }
  .dropdown {
    position: static;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0.5rem 1rem;      /* sub-items indent */
  }
  .dropdown a { white-space: normal; padding: 0.75rem 0.5rem; }
}

/* ── Landing-page header (no navigation): logo (not linked) + click-to-call ── */
.lp-header .container { gap: var(--space-xs); }
.lp-header .brand { cursor: default; }
.lp-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-cta-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.lp-call:hover, .lp-call:focus-visible { background: var(--color-hover); color: var(--color-hover-text); }
@media (max-width: 480px) {
  .lp-call .lp-call-label { display: none; }   /* phone number stays visible */
  .lp-call { padding: 0.6rem 0.8rem; font-size: 0.9rem; }
}

/* =====================================================================
   HERO — photo + gradient scrim. Each page adds a modifier class
   (e.g. .hero--home) that sets --hero-img / --hero-img-mobile (see bottom of file).
   ===================================================================== */
.hero {
  position: relative;
  background-color: var(--color-primary-deep);
  background-image: var(--hero-img-mobile, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { background-image: var(--hero-img, none); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
@media (min-width: 768px) {
  .hero::before {
    background: linear-gradient(100deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 55%,
      rgba(0, 0, 0, 0.30) 100%);
  }
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  width: 100%;
  padding: 56px 0 60px;
  text-align: left;
}
@media (min-width: 768px) { .hero-content { padding: 88px 0 96px; } }
.hero-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8cc8f5;                    /* light brand tint — 9.4:1 on the scrim (primary itself would fail on black) */
  margin: 0 0 var(--space-sm);
}
.hero-headline {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 0 var(--space-sm);
}
.hero-body {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
  margin: 0 0 var(--space-md);
}
.hero-proof {                       /* local proof line near the hero CTAs */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 var(--space-lg);
  padding: 0;
  list-style: none;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-proof i { color: var(--color-accent-bright); }
.hero .hero-ctas { justify-content: flex-start; }
.hero-note {
  margin: var(--space-sm) 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* =====================================================================
   TRUST BAR — thin strip directly under the hero (hero zone, not alternating)
   ===================================================================== */
.trust-bar {
  background: var(--color-primary-dark);
  padding: 1rem var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
  align-items: center;
}
.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.trust-bar__item i { color: var(--color-accent-bright); font-size: 1.05rem; width: 1.2em; text-align: center; }
@media (max-width: 600px) {
  .trust-bar__items { justify-content: flex-start; gap: 0.6rem 1.25rem; }
  .trust-bar__item { font-size: 0.9rem; flex: 1 1 45%; }
}

/* =====================================================================
   CARD BASE (shared look: radius 8, soft shadow)
   ===================================================================== */
.why-us-card, .result-card, .review-card, .service-card, .step-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ── Why Us — exactly 3 cards ── */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .why-us-grid { grid-template-columns: repeat(3, 1fr); } }
.why-us-card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}
.why-us-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}
.why-us-card h3 { margin: 0; }
.why-us-card p { margin: 0; color: var(--color-text-muted); }
.why-us-closer { margin: var(--space-lg) auto 0; max-width: 46rem; text-align: center; }

/* ── About Us — centered head, then 2 columns (text | image) ── */
.about-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 768px) { .about-us-grid { grid-template-columns: 1fr 1fr; } }
.about-us-text { display: flex; flex-direction: column; gap: var(--space-sm); }
.about-us-text p { margin: 0; }
.about-us-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list i { color: var(--color-primary); margin-top: 0.3rem; }

/* ── Results / Proof — 3–4 case cards ── */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .results-grid { grid-template-columns: repeat(4, 1fr); } }
.result-card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 4px solid var(--color-primary);
}
.result-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.result-card h3 { margin: 0; }
.result-card dl { margin: 0; display: grid; gap: 0.5rem; }
.result-card dt {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.result-card dd { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Photo Gallery — figure + figcaption ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 360px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  margin: 0;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-dark);
}
.gallery-item figcaption strong { display: block; font-family: var(--font-heading); color: var(--color-primary); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }

/* ── Reviews — 3 cards ── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}
.review-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: var(--space-xs); }
.review-stars { color: var(--color-accent); font-size: 0.95rem; letter-spacing: 0.1em; }
.review-title { margin: 0; }
.review-body { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }
.review-name {
  font-family: var(--font-script);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

/* ── Banner — always primary ── */
.banner {
  background-color: var(--color-primary) !important;
  background-image: radial-gradient(circle at 85% 20%, rgba(41, 182, 223, 0.35), transparent 55%);
}
.banner-text {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.25;
  margin: 0 auto var(--space-sm);
  max-width: 900px;
}
.banner-sub {
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  max-width: 46rem;
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
}

/* ── Services — 2 per row (1 on phones) ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.service-card:hover, a.service-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.service-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}
.service-card-title { margin: 0; }
.service-card-text { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }
.service-card-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary);
}
a.service-card:hover .service-card-link { text-decoration: none; }
.service-card-icon {             /* icon header for informational sub-service cards */
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 6;
  background: linear-gradient(135deg, var(--color-primary-light), #ffffff);
  color: var(--color-primary);
  font-size: 2.5rem;
}

/* ── How It Works — numbered 3-card grid (identical on every page) ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: step;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-primary);
}
.step-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: var(--space-xs); }
.step-title { margin: 0; }
.step-body { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Service Area — list + Google Map ── */
.service-area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 900px) { .service-area__grid { grid-template-columns: 1fr 1fr; } }
.service-area__text p { margin: 0 0 var(--space-sm); }
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}
@media (min-width: 560px) { .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.area-list li i { color: var(--color-primary); font-size: 0.85rem; }
.area-list a { font-weight: 700; }
.service-area__map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-card);
}

/* ── Guarantee / Risk-reversal — high-contrast dark band ── */
.guarantee {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-deep));
  color: #ffffff;
}
.guarantee__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.guarantee__icon {
  font-size: 3rem;
  color: var(--color-accent-bright);
  margin-bottom: var(--space-sm);
}
.guarantee h2 { color: #ffffff; text-align: center; }
.guarantee p { color: rgba(255, 255, 255, 0.92); text-align: center; }
.guarantee-points {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
}
.guarantee-points li { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 600; color: #ffffff; }
.guarantee-points i { color: var(--color-accent-bright); }
.guarantee .section-cta { width: 100%; }
.guarantee .btn-primary { background: #ffffff; border-color: #ffffff; color: var(--color-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.guarantee .btn-primary:hover, .guarantee .btn-primary:focus-visible { background: var(--color-hover); border-color: var(--color-hover); color: var(--color-hover-text); }
.guarantee .cta-note, .guarantee .cta-note a { color: rgba(255, 255, 255, 0.9); }

/* ── FAQs — neutral accordion (accent only as a cue) ── */
.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 900px;
  margin-inline: auto;
}
.faq-item { border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  gap: var(--space-sm);
  transition: background-color 0.2s ease;
  font: inherit;
}
.faq-question:hover { background-color: var(--color-bg-light); }
.faq-question[aria-expanded="true"] { border-left-color: var(--color-primary); }
.faq-question h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  flex: 1;
  color: var(--color-text-dark);
}
.faq-chevron { color: var(--color-primary); font-size: 1rem; flex-shrink: 0; transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: none;
}
.faq-answer p { margin: 0 0 0.75rem; line-height: 1.7; }
.faq-answer p:last-child { margin-bottom: 0; }

/* =====================================================================
   FOOTER — dark. Layout A (map present): brand + CTAs | map,
   then link columns, then bottom bar.
   ===================================================================== */
.footer {
  background-color: var(--color-footer) !important;
  color: #ffffff;
}
.footer a { text-decoration: none; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) var(--space-sm);
}
@media (min-width: 1001px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}
.footer-brand img {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
}
.footer-company-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6fb4ef;                   /* brand-blue tint readable on #282828 (7.0:1) */
}
.footer-tagline { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 34rem; }
.footer-left .footer-ctas { flex-direction: column; align-items: center; width: 100%; }
.footer-left .footer-ctas .btn-primary,
.footer-left .footer-ctas .btn-secondary { flex: 0 0 auto; width: 100%; }
.footer-right iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}
.footer-links {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) var(--space-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
.footer-links h3 {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.footer-links a, .footer-links li, .footer-links p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}
.footer-links a { display: inline-block; padding: 0.35rem 0; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--color-hover); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm);
  text-align: center;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }

/* ── Landing-page footer: NAP + hours + privacy only ── */
.lp-footer .lp-footer-inner {
  padding: var(--space-lg) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.lp-footer .footer-company-name { font-size: 20px; }
.lp-footer p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.lp-footer a.lp-footer-phone { color: #ffffff; font-weight: 700; font-size: 1.1rem; }
.lp-footer a.lp-footer-phone:hover { color: var(--color-hover); }

/* ── Mobile sticky CTA bar (phones only) ── */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  background: #ffffff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}
.mobile-cta-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.15;
  text-decoration: none;
  border: 2px solid var(--color-primary);
}
.mobile-cta-bar .mcb-primary { background: var(--color-primary); color: var(--color-cta-text); }
.mobile-cta-bar .mcb-secondary { background: #ffffff; color: var(--color-primary); }
.mobile-cta-bar > :only-child { grid-column: 1 / -1; }
.mobile-cta-bar a:hover, .mobile-cta-bar a:focus-visible { background: var(--color-hover); border-color: var(--color-hover); color: var(--color-hover-text); }
@media (max-width: 767px) {
  body.has-mobile-cta { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
}

/* ── Legal pages ── */
.legal-page {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg-white);
}
@media (min-width: 768px) { .legal-page { padding: var(--space-2xl) 0; } }
.legal-content { width: 100%; max-width: 860px; margin-inline: auto; }
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}
.legal-content .legal-updated { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.legal-content h2 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.legal-content p, .legal-content li { line-height: 1.8; margin-bottom: var(--space-sm); }
.legal-content ul { padding-left: var(--space-md); }
.legal-content a { color: var(--color-primary); text-decoration: none; }

/* ── Private campaign index (/landing-pages/) ── */
.lp-index { padding: var(--space-xl) 0; }
.lp-index h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.lp-index ul { padding-left: var(--space-md); }
.lp-index li { margin-bottom: 0.6rem; }
.lp-index a { font-weight: 600; }

/* ── Inline text links inside section copy ── */
.about-us-text a, .service-area__text a, .faq-answer a, .why-us-closer a {
  font-weight: 700;
  text-decoration: none;
}

/* ── Scroll reveal: PROGRESSIVE ENHANCEMENT ONLY ──
   Content is visible by default; only once JS adds .js-reveal to <html>
   do elements start hidden and fade in. No JS = everything visible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.lp-footer a.lp-footer-privacy { color: #ffffff; text-decoration: none; }
.lp-footer a.lp-footer-privacy:hover { color: var(--color-hover); }

/* ── Per-page hero photos (one modifier per page; breakpoint matches the head preloads) ── */
.hero--home { --hero-img: url('/images/hero-bg.webp'); --hero-img-mobile: url('/images/hero-bg-mobile.webp'); }
.hero--exterior { --hero-img: url('/images/hero-pintura-exterior-de-casas.webp'); --hero-img-mobile: url('/images/hero-pintura-exterior-de-casas-mobile.webp'); }
.hero--interior { --hero-img: url('/images/hero-pintura-interior-de-casas.webp'); --hero-img-mobile: url('/images/hero-pintura-interior-de-casas-mobile.webp'); }
.hero--apartamentos { --hero-img: url('/images/hero-pintura-de-apartamentos.webp'); --hero-img-mobile: url('/images/hero-pintura-de-apartamentos-mobile.webp'); }
.hero--techo { --hero-img: url('/images/hero-pintar-techo-manchado-de-agua.webp'); --hero-img-mobile: url('/images/hero-pintar-techo-manchado-de-agua-mobile.webp'); }

/* Landing header on small phones: keep the name to two lines beside the call button */
@media (max-width: 420px) {
  .lp-header .brand-name { font-size: 14px; }
  .lp-header .brand img { width: 40px; height: 40px; }
}

/* Phones: quieter hero body + tighter top so the CTAs rise toward the fold */
@media (max-width: 600px) {
  .hero-content { padding: 36px 0 44px; }
  .hero-body { font-size: 1rem; line-height: 1.6; margin-bottom: var(--space-sm); }
  .hero-proof { margin-bottom: var(--space-md); gap: 0.4rem 1rem; }
  .hero-proof li { font-size: 0.9rem; }
}
.hero--entregar { --hero-img: url('/images/hero-pintar-apartamento-para-entregar.webp'); --hero-img-mobile: url('/images/hero-pintar-apartamento-para-entregar-mobile.webp'); }
.hero--drywall { --hero-img: url('/images/hero-reparar-drywall-y-pintar.webp'); --hero-img-mobile: url('/images/hero-reparar-drywall-y-pintar-mobile.webp'); }
.hero--finde { --hero-img: url('/images/hero-pintor-fin-de-semana.webp'); --hero-img-mobile: url('/images/hero-pintor-fin-de-semana-mobile.webp'); }
