/*
Theme Name:        PlumbUp
Theme URI:         https://example.com/
Author:            PlumbUp
Author URI:        https://example.com/
Description:       Professional plumbing services landing page. Navy + red palette inspired by trade industry conventions, with full-bleed photo hero, animated testimonials slider, service icon grid, FAQ accordion, and scroll-reveal throughout. Designed mobile-first and fully responsive.
Version:           2.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       plumbup
Tags:              landing-page, business, custom-colors, responsive-layout, one-column
*/

/* ============================================================
   Palette: deep navy + signal red on white. Trade-industry
   convention, refreshed. Manrope throughout.
   ============================================================ */

:root {
  --navy:       #0B3B68;
  --navy-dark:  #062847;
  --navy-light: #1E5A92;
  --red:        #E63946;
  --red-dark:   #C42835;
  --red-light:  #F4636E;

  --bg:         #FFFFFF;
  --bg-alt:     #F4F6F8;
  --bg-dark:    #1F2937;
  --bg-dark-2:  #111827;

  --text:       #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border:     #E5E7EB;
  --border-2:   #D1D5DB;
  --white:      #FFFFFF;

  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow:    0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,.10), 0 8px 10px -6px rgba(15,23,42,.08);
  --transition: 220ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .005em;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 12px -4px rgba(230,57,70,.4);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(230,57,70,.5);
}
.btn--secondary {
  background: var(--navy);
  color: var(--white);
}
.btn--secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* ---------- top utility strip ---------- */
.topstrip {
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
}
.topstrip__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .65rem 0;
  flex-wrap: wrap;
}
.topstrip__badges {
  display: inline-flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.topstrip__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  opacity: .92;
  font-weight: 500;
}
.topstrip__badge .stars { display: inline-flex; gap: 1px; }
.topstrip__badge .stars svg { width: 12px; height: 12px; fill: #FBBF24; }
.topstrip__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--white);
  transition: color var(--transition);
}
.topstrip__phone:hover { color: var(--red-light); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(230,57,70,.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(230,57,70,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(230,57,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), padding var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  transition: padding var(--transition);
}
.header.is-scrolled .header__row { padding: .65rem 0; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--navy);
}
.brand__mark {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--white);
  flex-shrink: 0;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1;
}
.brand__name em { font-style: normal; color: var(--red); }
.brand__tag {
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .35rem;
}
.brand--light .brand__tag { color: rgba(255,255,255,.55); }

.nav {
  display: flex; gap: 2rem;
  font-weight: 600;
  font-size: .95rem;
}
.nav a {
  position: relative;
  padding: .35rem 0;
  color: var(--text);
  transition: color var(--transition);
}
.nav a:hover { color: var(--red); }
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 41;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- hero (full-bleed photo with centred panel) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--white);

  /* Photo from Unsplash — "a man working on a pipe in a wall" by Timur Shakerzianov */
  /* Free for commercial use under the Unsplash License */
  background:
    linear-gradient(120deg, rgba(6,40,71,.55) 0%, rgba(17,24,39,.55) 100%),
    url('https://images.unsplash.com/photo-1676210134188-4c05dd172f89?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat;
  background-color: var(--navy-dark);  /* fallback if photo fails to load */
}
.hero::after {
  /* subtle vignette to lift the centered text */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(6,40,71,.45) 100%);
  pointer-events: none;
}
.hero__panel {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
  padding: 2.75rem 2.5rem;
  background: rgba(17,24,39,.78);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  text-align: center;
}
.hero__content { padding: 2rem 0; }
.hero__panel .hero__content { padding: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(230,57,70,.22);
  border: 1px solid rgba(244,99,110,.4);
  color: var(--white);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero__badge .dot { background: var(--red-light); }
.hero__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 1.25rem;
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  color: var(--red-light);
}
.hero__lede {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 auto 2rem;
  max-width: 56ch;
  font-weight: 400;
}
.hero__cta {
  display: flex; gap: .75rem; flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* ---------- section base ---------- */
.section { padding: clamp(4rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--white); }

.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
  max-width: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--red-light); }

.section__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 1rem;
  color: var(--navy);
}
.section__title--light { color: var(--white); }
.section__title em {
  font-style: normal;
  color: var(--red);
}
.section__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}
.section__sub--light { color: rgba(255,255,255,.75); }
.section__sub--right { justify-self: end; text-align: right; }

/* ============================================================
   Why Choose Us — 4 cards with red circle icons (Protoplumb-style)
   ============================================================ */
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.promise__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.promise__card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}
.promise__icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red);
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  color: var(--navy);
  position: relative;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.promise__icon svg { width: 36px; height: 36px; }
.promise__icon::after {
  content: "";
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(230,57,70,.4);
}
.promise__icon::before {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 12px; height: 12px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.promise__card:hover .promise__icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.05);
}
.promise__card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.005em;
  margin: 0 0 .65rem;
  color: var(--red);
  line-height: 1.25;
}
.promise__card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Local Expert — softer dark grey + photo right + service tiles
   ============================================================ */
.expert {
  background: #3A3F47;  /* softer than charcoal, matches Protoplumb mid-grey */
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.expert::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;

  /* Photo from Unsplash — "a man fixing a water heater in a room" by Timur Shakerzianov */
  /* Free for commercial use under the Unsplash License */
  background:
    linear-gradient(90deg, #3A3F47 0%, transparent 12%),
    url('https://images.unsplash.com/photo-1676210134190-3f2c0d5cf58d?auto=format&fit=crop&w=1200&q=80')
    center / cover no-repeat;
  background-color: #2A2E35;
  z-index: 0;
}
.expert .container {
  position: relative;
  z-index: 1;
}
.expert__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: clamp(4rem, 7vw, 6rem) 0;
  align-items: center;
}
.expert__copy { max-width: 540px; }
.expert__copy .section__title { color: var(--white); }
.expert__copy .section__sub { color: rgba(255,255,255,.78); margin-bottom: 2rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-tile {
  background: var(--white);
  color: var(--red);
  padding: 1.5rem .85rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  min-height: 130px;
  justify-content: center;
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px -10px rgba(0,0,0,.4);
}
.service-tile__icon {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.service-tile:hover .service-tile__icon {
  background: var(--red-dark);
}
.service-tile__icon svg { width: 26px; height: 26px; }
.service-tile__label {
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: -.005em;
  line-height: 1.25;
  color: var(--red);
}

/* ============================================================
   Stats — keep, lighter design
   ============================================================ */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat__num {
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .5rem;
}
.stat__num .counter { color: var(--red-light); }
.stat__num span {
  font-size: .55em;
  color: var(--white);
  margin-left: .1em;
  font-weight: 700;
}
.stat__label {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
}

/* ============================================================
   Process steps
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.step {
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px; right: -1rem;
  width: 2rem; height: 2px;
  background: var(--border);
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--red);
  color: var(--red);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.step h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
.step p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Testimonials slider
   ============================================================ */
.slider {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}
.slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider__track { position: relative; min-height: 320px; }
.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms cubic-bezier(.2,.7,.2,1), transform 500ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  padding: 3rem 2.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.slider__slide.is-active {
  opacity: 1; transform: none; pointer-events: auto;
  position: relative;
}
.slider__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--red);
  display: grid; place-items: center;
  color: var(--red);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.slider__stars { display: inline-flex; gap: .15rem; margin-bottom: 1.25rem; }
.slider__stars svg { width: 20px; height: 20px; fill: #FBBF24; }
.slider__quote {
  font-weight: 500;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 56ch;
  margin: 0 0 1.5rem;
}
.slider__cite { font-size: .92rem; color: var(--text-muted); }
.slider__cite strong { color: var(--navy); font-weight: 700; }

.slider__btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 2;
  box-shadow: var(--shadow);
}
.slider__btn:hover {
  background: var(--red); color: var(--white); border-color: var(--red);
  transform: translateY(-50%) scale(1.06);
}
.slider__btn--prev { left: -24px; }
.slider__btn--next { right: -24px; }
.slider__btn svg { width: 18px; height: 18px; }

.slider__dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1.75rem;
}
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-2);
  transition: background var(--transition), width var(--transition);
  padding: 0;
}
.slider__dot:hover { background: var(--red-light); }
.slider__dot.is-active {
  background: var(--red);
  width: 32px;
  border-radius: 999px;
}

/* ============================================================
   Service areas
   ============================================================ */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.areas__list {
  columns: 2;
  column-gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.areas__list li {
  break-inside: avoid;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  display: flex; align-items: center; gap: .65rem;
  transition: color var(--transition), padding-left var(--transition);
}
.areas__list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.areas__list li:hover {
  color: var(--red);
  padding-left: .35rem;
}
.areas__list li:hover::before { transform: scale(1.35); }

.areas__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
}
.areas__map { width: 100%; height: 100%; }
.areas__pin { transform-origin: center; animation: pin-drop 2.4s ease-out infinite; }
.areas__pin:nth-child(odd) { animation-delay: .4s; }
.areas__pin:nth-child(even) { animation-delay: 1.1s; }
@keyframes pin-drop {
  0%, 60%, 100% { transform: translateY(0); opacity: 1; }
  30%           { transform: translateY(-12px); opacity: .85; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item.is-open { border-color: var(--red); box-shadow: var(--shadow); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.005em;
  color: var(--navy);
  transition: color var(--transition);
}
.faq__q:hover { color: var(--red); }
.faq__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), background var(--transition), border-color var(--transition), color var(--transition);
  color: var(--navy);
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(.2,.7,.2,1);
}
.faq__a-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 65ch;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(230,57,70,.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(30,90,146,.3), transparent 60%);
  pointer-events: none;
}
.cta-banner__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.cta-banner h2 {
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.022em;
  margin: 0 0 .85rem;
  color: var(--white);
}
.cta-banner h2 em { font-style: normal; color: var(--red-light); }
.cta-banner p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0;
}
.cta-banner__actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  justify-self: end;
}

/* ============================================================
   Contact form
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__copy .section__title { color: var(--white); }
.contact__copy .section__sub { color: rgba(255,255,255,.78); margin-bottom: 2rem; }
.contact__lines { display: flex; flex-direction: column; gap: .75rem; }
.contact__line {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.contact__line-icon {
  width: 44px; height: 44px;
  background: rgba(230,57,70,.18);
  border: 1px solid rgba(230,57,70,.4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--red-light);
  flex-shrink: 0;
}
.contact__line-icon svg { width: 20px; height: 20px; }
.contact__line-label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-light);
  margin-bottom: .15rem;
}
.contact__line-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.form {
  background: var(--white);
  color: var(--text);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; }
.field > span {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .4rem;
  color: var(--navy);
}
.field > span em { color: var(--text-muted); font-style: normal; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.check {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
}
.check input { margin-top: .2rem; accent-color: var(--red); }
.form__submit { align-self: flex-start; margin-top: .5rem; }
.form__fine { font-size: .78rem; color: var(--text-muted); margin: 0; }

.flash {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.flash--success { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.flash--error   { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark-2);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 1.5rem;
  font-size: .92rem;
}
.brand--light { color: var(--white); }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__name em { color: var(--red-light); }
.brand--light .brand__mark { background: var(--red); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { margin: 1rem 0 0; max-width: 30ch; font-size: .88rem; line-height: 1.55; }
.footer h4 {
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--white);
  margin: 0 0 1.25rem;
}
.footer ul { display: flex; flex-direction: column; gap: .65rem; }
.footer a:hover { color: var(--red-light); }
.footer__social {
  display: flex; gap: .65rem;
  margin-top: 1.25rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.footer__bottom a { color: rgba(255,255,255,.6); }

/* ============================================================
   Scroll reveal primitives
   ============================================================ */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal-stagger > .is-visible { opacity: 1; transform: none; }

.reveal-stagger > *:nth-child(1) { transition-delay:  60ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 220ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 380ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 460ms; }

.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX( 30px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: none; }

/* Hero content enters on load */
.hero__content > * { animation: hero-in 800ms cubic-bezier(.2,.7,.2,1) both; }
.hero__content > *:nth-child(1) { animation-delay:  80ms; }
.hero__content > *:nth-child(2) { animation-delay: 180ms; }
.hero__content > *:nth-child(3) { animation-delay: 280ms; }
.hero__content > *:nth-child(4) { animation-delay: 380ms; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .promise        { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats__grid    { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .process        { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .areas          { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-banner__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-banner__actions { justify-self: start; }
  .contact        { grid-template-columns: 1fr; gap: 2.5rem; }
  .section__head--split { grid-template-columns: 1fr; }
  .section__sub--right  { justify-self: start; text-align: left; }
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }

  /* Expert section — stack on mobile, photo becomes a top banner */
  .expert::before {
    width: 100%;
    height: 280px;
    background:
      linear-gradient(180deg, transparent 60%, #3A3F47 100%),
      url('https://images.unsplash.com/photo-1676210134190-3f2c0d5cf58d?auto=format&fit=crop&w=1200&q=80')
      center / cover no-repeat;
  }
  .expert__grid {
    grid-template-columns: 1fr;
    padding-top: 280px;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header__row { padding: .75rem 0; }
  .nav {
    /* always present in the DOM so it can animate */
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem;
    z-index: 40;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 220ms cubic-bezier(.2,.7,.2,1),
      transform 220ms cubic-bezier(.2,.7,.2,1),
      visibility 220ms;
  }
  .nav a {
    padding: .95rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  body.nav-open .nav {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  .hamburger { display: flex; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .topstrip__row {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: .35rem;
  }
  .topstrip__badges { gap: .85rem; font-size: .75rem; }
  .topstrip__phone { font-size: .88rem; }

  .hero { min-height: 500px; }
  .hero__panel { padding: 2rem 1.5rem; }
  .hero__title { font-size: clamp(1.7rem, 7vw, 2.25rem); }
  .hero__lede { font-size: .95rem; }
  .hero__cta .btn { flex: 1 1 100%; }

  .promise       { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .stats__grid   { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
  .process       { grid-template-columns: 1fr; gap: 2rem; }
  .step::after   { display: none !important; }
  .areas__list   { columns: 1; }
  .slider__slide { padding: 2.5rem 1.25rem; }
  .slider__quote { font-size: 1rem; }
  .form          { padding: 1.5rem; }
  .form__row     { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, var(--container)); }
  .services-grid { grid-template-columns: 1fr; }
  .stats__grid   { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* WordPress admin bar safety */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
