/* ==========================================================================
   Encore Plumbing  |  Design system
   Retro aviation service brand, pulled from the van wrap.
   Sky blue base, red-orange stripe, navy ink, sunburst motif.
   Mobile-first. Tune the whole site from the :root block.
   ========================================================================== */

:root {
  /* Palette */
  --sky:        #BFDADF;   /* van body blue */
  --sky-deep:   #A4C7CF;   /* darker sunburst rays */
  --sky-light:  #DCEBEE;   /* lighter sunburst rays */
  --cloud:      #EEF4F5;   /* section surface */
  --cream:      #F7F5EF;   /* page background */
  --white:      #FFFFFF;
  --ink:        #1C2A35;   /* logo outline navy */
  --ink-soft:   #2C3F4D;
  --slate:      #44606D;   /* body text on light */
  --line:       #C9D8DC;
  --red:        #D63A12;   /* buttons and text accent (passes AA on white) */
  --red-bright: #E8471D;   /* decorative stripe, matches wrap */
  --red-dark:   #B02E0C;
  --success:    #1E7A4D;
  --error:      #B3261E;
  --info:       #2A6F8F;

  /* Type */
  --font-display: "Alfa Slab One", "Rockwell Extra Bold", Georgia, serif;
  --font-script:  "Yellowtail", "Brush Script MT", cursive;
  --font-body:    "Karla", "Helvetica Neue", Helvetica, sans-serif;

  --text-xs:  clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --text-sm:  clamp(0.9rem, 0.86rem + 0.2vw, 0.98rem);
  --text-md:  clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-lg:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --text-xl:  clamp(1.5rem, 1.25rem + 1.2vw, 2.2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 4vw, 4.6rem);

  /* Spacing (8px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;
  --section-y: clamp(3.5rem, 3rem + 4vw, 7rem);
  --container: 1240px;
  --gutter: clamp(1.1rem, 0.6rem + 3vw, 2.5rem);

  /* Shape and depth */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(28, 42, 53, 0.08), 0 2px 8px rgba(28, 42, 53, 0.06);
  --shadow:    0 4px 14px rgba(28, 42, 53, 0.12), 0 12px 32px rgba(28, 42, 53, 0.10);
  --shadow-lg: 0 18px 50px rgba(28, 42, 53, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --base: 260ms;
  --slow: 520ms;

  --header-h: 88px;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--slate);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.1; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.005em; }
h3, h4 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color var(--fast) var(--ease); }
a:hover { color: var(--red-dark); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red-bright); color: var(--white); }
[id] { scroll-margin-top: 1.5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

/* Subtle paper grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { position: relative; z-index: 1; overflow-x: clip; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-script);
  color: var(--red);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1;
  margin: 0 0 var(--s-3);
  display: block;
}
.label {
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.lead { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-soft); }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p { margin-top: var(--s-4); }
.placeholder { outline: 2px dashed var(--red-bright); outline-offset: 4px; }
.placeholder-note {
  font-size: var(--text-xs); color: var(--red); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Sunburst  (the signature motif from the wrap)
   -------------------------------------------------------------------------- */
.sunburst {
  position: relative;
  isolation: isolate;
  background-color: var(--sky);
}
.sunburst::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-conic-gradient(from -8deg at 50% 118%,
      var(--sky-light) 0deg 7deg,
      var(--sky) 7deg 14deg);
  mask-image: radial-gradient(ellipse at 50% 110%, #000 20%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.35) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 110%, #000 20%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.35) 100%);
}
.sunburst--soft::before { opacity: 0.55; }

/* Red racing stripe used as a section accent */
.stripe { position: relative; }
.stripe::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: var(--red-bright);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red); --btn-fg: var(--white); --btn-border: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.8rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-border);
  border-radius: 999px; font-weight: 800; font-size: var(--text-sm);
  letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--base) var(--ease),
              background-color var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
}
.btn:hover { --btn-bg: var(--red-dark); --btn-border: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { --btn-bg: var(--ink); --btn-border: var(--ink); }
.btn--ink:hover { --btn-bg: var(--ink-soft); --btn-border: var(--ink-soft); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-border: var(--ink); color: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-border: var(--white); }
.btn--light:hover { --btn-bg: var(--cloud); --btn-border: var(--cloud); color: var(--ink); }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: var(--text-md); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.text-link {
  font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--fast) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: relative; z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }

/* Mobile and tablet: header is fixed, hides on scroll down and returns on scroll up */
@media (max-width: 1024px) {
  body { padding-top: var(--header-h); }
  [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
  .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    transform: translateY(0);
    transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
  }
  .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 42, 53, 0.10); }
  .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__logo { height: 70px; width: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(28,42,53,0.18)); transition: transform var(--fast) var(--ease); }
.brand:hover .brand__logo { transform: translateY(-1px); }
.brand--footer .brand__logo { height: 120px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.02em; color: var(--ink); }
.brand__sub { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.32em; text-transform: uppercase; color: var(--red); margin-top: 3px; }

.nav { display: none; }
.nav__list { display: flex; gap: var(--s-1); list-style: none; }
.nav__link {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: 999px;
  font-weight: 700; color: var(--ink); text-decoration: none; font-size: var(--text-sm);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav__link:hover { background: var(--sky-light); color: var(--ink); }
.nav__link[aria-current="page"] { background: var(--ink); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-actions .btn { display: none; }
.header-phone { display: none; }

.header-social {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  color: var(--ink); background: var(--sky-light);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.header-social:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.header-social svg { width: 20px; height: 20px; }

.menu-toggle {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px;
  color: var(--ink); transition: background-color var(--fast) var(--ease);
}
.menu-toggle:hover { background: var(--sky-light); }
.menu-toggle__bars { width: 24px; height: 16px; position: relative; display: block; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform var(--base) var(--ease), opacity var(--fast) var(--ease), top var(--base) var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink); color: var(--white);
  padding: 0 var(--gutter) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-6);
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--base) var(--ease), opacity var(--base) var(--ease), visibility 0s linear var(--base);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-menu__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: var(--s-2); }
.brand__logo--menu { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.mobile-menu__close {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px;
  color: var(--white); background: rgba(255,255,255,0.08); transition: background-color var(--fast) var(--ease);
}
.mobile-menu__close:hover { background: var(--red-bright); }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__list { list-style: none; display: flex; flex-direction: column; }
.mobile-menu__link {
  display: block; padding: var(--s-4) 0; font-family: var(--font-display); font-size: var(--text-xl);
  color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color var(--fast) var(--ease), padding-left var(--fast) var(--ease);
}
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { color: var(--sky); padding-left: 6px; }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu__meta { color: var(--sky); font-size: var(--text-sm); display: grid; gap: var(--s-4); }
.mobile-menu__meta a { color: var(--white); }
.mobile-menu__fb { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.mobile-menu__fb svg { width: 20px; height: 20px; }
body.menu-open { overflow: hidden; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 110;
  transform-origin: left; transform: scaleX(0); background: var(--red-bright);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 0; overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__copy { max-width: 620px; }
.hero h1 { margin-bottom: var(--s-4); text-wrap: balance; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.7rem); }
.hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  margin: var(--s-5) 0; font-weight: 700; color: var(--ink);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
.hero__facts svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.hero__photo { position: relative; margin: 0 calc(-1 * var(--gutter)) -10px; }
.hero__photo img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 60%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg);
}
.hero__tag {
  position: absolute; right: var(--s-4); bottom: var(--s-4); z-index: 2;
  background: var(--white); padding: 0.55rem 0.9rem; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  box-shadow: var(--shadow);
}
.hero__tag span { color: var(--red); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(3rem, 2.5rem + 3vw, 5.5rem) 0; }
.page-hero h1 { margin-bottom: var(--s-4); text-wrap: balance; max-width: 16ch; }
.page-hero .lead { max-width: 640px; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--text-xs); font-weight: 700; margin-bottom: var(--s-5); letter-spacing: 0.06em; text-transform: uppercase; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--slate); }
.breadcrumbs [aria-current] { color: var(--red); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust { background: var(--ink); color: var(--white); padding: var(--s-6) 0; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.trust__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.trust__item svg { width: 28px; height: 28px; color: var(--sky); flex: none; margin-top: 2px; }
.trust__item strong { display: block; color: var(--white); font-size: var(--text-md); line-height: 1.2; }
.trust__item span { display: block; color: var(--sky); font-size: var(--text-sm); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--cloud { background: var(--cloud); }
.section--ink { background: var(--ink); color: var(--sky-light); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--red-bright); }

/* Service cards */
.services-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5); text-decoration: none; color: inherit; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease), border-color var(--base) var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red-bright);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--base) var(--ease);
}
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-deep); color: inherit; }
.service-card:hover::before, .service-card:focus-visible::before { transform: scaleY(1); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-light); color: var(--ink);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: var(--text-lg); }
.service-card p { color: var(--slate); font-size: var(--text-sm); flex: 1; }
.service-card .text-link { color: var(--red); margin-top: auto; font-size: var(--text-sm); }

/* Media + text split */
.split { display: grid; gap: var(--s-6); align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split__media--portrait img { aspect-ratio: 3 / 4; }
.split ul { list-style: none; display: grid; gap: var(--s-2); margin: var(--s-4) 0 var(--s-5); }
.split li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.split li svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }

/* Photo strip */
.photo-strip { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.photo-strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--ink); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--slow) var(--ease); }
.photo-strip figure:hover img { transform: scale(1.03); }
.photo-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-4);
  background: linear-gradient(to top, rgba(28,42,53,0.92), rgba(28,42,53,0));
  color: var(--white); font-weight: 700; font-size: var(--text-sm);
}

/* Process steps (a real sequence, so numbering carries meaning) */
.steps { display: grid; gap: var(--s-5); counter-reset: step; list-style: none; }
.step {
  counter-increment: step; position: relative; padding-left: 4.25rem;
}
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -0.2rem;
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--red-bright);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--slate); }

/* Reviews */
.reviews-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.review {
  background: var(--white); border-radius: var(--radius); padding: var(--s-5);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--s-3);
}
.review__stars { display: flex; gap: 2px; color: #E39B12; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; color: var(--ink-soft); font-size: var(--text-md); line-height: 1.55; flex: 1; }
.review cite { font-style: normal; font-weight: 800; color: var(--ink); font-size: var(--text-sm); display: flex; flex-direction: column; gap: 2px; }
.review cite span { font-weight: 400; color: var(--slate); font-size: var(--text-xs); }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-4); color: var(--ink-soft); }
.rating .review__stars { display: inline-flex; }
.rating strong { color: var(--ink); font-size: var(--text-lg); }

/* Team */
.team { display: grid; gap: var(--s-5); grid-template-columns: 1fr; max-width: 880px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.team-card__body { padding: var(--s-5); }
.team-card h3 { font-size: var(--text-xl); font-family: var(--font-display); font-weight: 400; }
.team-card .label { color: var(--red); display: block; margin: var(--s-1) 0 var(--s-3); }

/* Credentials */
.cred-list { list-style: none; display: grid; gap: var(--s-3); }
.cred-list li {
  display: flex; gap: var(--s-3); align-items: center; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); font-weight: 700; color: var(--ink);
}
.cred-list svg { width: 26px; height: 26px; color: var(--red); flex: none; }

/* Gallery */
.gallery { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--slow) var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child img { aspect-ratio: 16 / 9; }

/* Service detail rows (services page) */
.service-row { display: grid; gap: var(--s-6); align-items: center; padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.service-row:first-of-type { border-top: 0; }
.service-row--text { grid-template-columns: 1fr; padding-block: calc(var(--section-y) * 0.72); }
.service-row--text > div { max-width: 780px; }
.service-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-row__media--portrait img { aspect-ratio: 3 / 4; object-position: center; }
.service-row h2 { font-size: var(--text-xl); margin-bottom: var(--s-3); }
.service-row ul { list-style: none; display: grid; gap: var(--s-2); margin: var(--s-4) 0 var(--s-5); }
.service-row li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.service-row li svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.service-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.service-nav a {
  display: inline-block; padding: 0.5rem 0.9rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--text-xs);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.service-nav a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Contact */
.contact-grid { display: grid; gap: var(--s-7); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.contact-details { display: grid; gap: var(--s-5); }
.contact-details dt { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-details dd { margin: 0; color: var(--ink); font-weight: 700; font-size: var(--text-md); }
.contact-details dd a { color: var(--ink); text-decoration: none; }
.contact-details dd a:hover { color: var(--red); }
.contact-details dd small { display: block; font-weight: 400; color: var(--slate); font-size: var(--text-sm); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: var(--s-5); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Forms */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; color: var(--ink); font-size: var(--text-sm); }
.field label .optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sky-deep); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(191, 218, 223, 0.7); background: var(--white); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--success); }
.field__msg { font-size: var(--text-xs); font-weight: 700; min-height: 1.2em; color: var(--error); }
.field.is-valid .field__msg { color: var(--success); }
.form__note { font-size: var(--text-xs); color: var(--slate); }
.honeypot { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--red-bright); color: var(--white); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
  background: repeating-conic-gradient(from -8deg at 50% 120%, #fff 0deg 7deg, transparent 7deg 14deg);
}
.cta-band .container { position: relative; display: grid; gap: var(--s-5); align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.92); font-size: var(--text-lg); }
.cta-band .btn--light { box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--sky-light); padding: var(--s-8) 0 var(--s-6); position: relative; z-index: 1; }
.footer-grid { display: grid; gap: var(--s-6); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: var(--sky); }
.footer-brand p { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--sky); max-width: 32ch; }
.footer-col h4 { color: var(--white); margin-bottom: var(--s-3); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-col a { color: var(--sky-light); text-decoration: none; font-size: var(--text-sm); }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col address { font-style: normal; font-size: var(--text-sm); line-height: 1.7; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: var(--text-xs); color: var(--sky);
}
.footer-bottom a { color: var(--sky-light); }
.social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--white); transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.social a:hover { background: var(--red-bright); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Modal and toast
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter);
  background: rgba(28, 42, 53, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--base) var(--ease), visibility 0s linear var(--base);
}
.modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__card {
  width: min(100%, 480px); background: var(--white); border-radius: var(--radius-lg); padding: var(--s-6);
  box-shadow: var(--shadow-lg); position: relative; text-align: center;
  transform: translateY(14px) scale(0.98); transition: transform var(--base) var(--ease);
}
.modal.is-open .modal__card { transform: none; }
.modal__card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 6px; background: var(--red-bright); border-radius: 0 0 4px 4px; }
.modal__icon { width: 64px; height: 64px; margin: 0 auto var(--s-4); border-radius: 999px; background: var(--sky-light); display: grid; place-items: center; color: var(--success); }
.modal__icon svg { width: 34px; height: 34px; }
.modal__card h2 { font-size: var(--text-xl); margin-bottom: var(--s-3); }
.modal__card p { color: var(--slate); }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 999px; color: var(--slate); transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.modal__close:hover { background: var(--cloud); color: var(--ink); }
.modal__close svg { width: 20px; height: 20px; }
body.modal-open { overflow: hidden; }

.toast-region { position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 210; display: grid; gap: var(--s-2); width: min(100% - 2rem, 380px); }
.toast {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-left: 5px solid var(--info);
  color: var(--ink); font-weight: 700; font-size: var(--text-sm);
  transform: translateX(24px); opacity: 0; transition: transform var(--base) var(--ease), opacity var(--base) var(--ease);
}
.toast.is-visible { transform: none; opacity: 1; }
.toast--success { border-left-color: var(--success); }
.toast--error { border-left-color: var(--error); }
.toast__icon { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.toast--success .toast__icon { color: var(--success); }
.toast--error .toast__icon { color: var(--error); }
.toast--info .toast__icon { color: var(--info); }
.toast__close { margin-left: auto; color: var(--slate); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; }
.toast__close:hover { background: var(--cloud); }
.toast__close svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal h2 { font-family: var(--font-body); font-weight: 800; font-size: var(--text-xl); margin: var(--s-7) 0 var(--s-3); letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: var(--s-5); }
.legal h3 { font-size: var(--text-md); margin: var(--s-5) 0 var(--s-2); color: var(--ink); }
.legal p, .legal li { color: var(--slate); }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); }
.legal strong { color: var(--ink); }
.legal__address { font-style: normal; line-height: 1.8; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); margin: var(--s-4) 0; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: var(--section-y) 0; }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 4rem + 8vw, 11rem); line-height: 1; color: var(--red-bright); }
.notfound h1 { font-size: var(--text-2xl); margin: var(--s-3) 0 var(--s-4); }

/* --------------------------------------------------------------------------
   Scroll reveals (Intersection Observer adds .is-in)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--scale { transform: scale(0.96); }

/* --------------------------------------------------------------------------
   Breakpoints: tablet 641+, laptop 1025+, desktop 1441+
   -------------------------------------------------------------------------- */
@media (min-width: 641px) {
  .hero__photo { margin: 0; }
  .hero__photo img { border-radius: var(--radius-lg); }
  .hero { padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-band .container { grid-template-columns: 1fr auto; }
  .header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: var(--text-sm); }
  .header-phone svg { width: 18px; height: 18px; color: var(--red); }
  .header-phone:hover { color: var(--red); }
}

@media (min-width: 1025px) {
  :root { --header-h: 104px; }
  .brand__logo { height: 84px; }
  .nav { display: block; }
  .header-social {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  color: var(--ink); background: var(--sky-light);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.header-social:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.header-social svg { width: 20px; height: 20px; }

.menu-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
  .header-phone { display: none; }
  .hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); }
  .hero__photo img { aspect-ratio: 3 / 2; object-position: 55% 55%; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row--flip .service-row__media { order: 2; }
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery figure:first-child img { aspect-ratio: 4 / 3; height: 100%; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1441px) {
  :root { --container: 1360px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .photo-strip figure:hover img, .gallery figure:hover img { transform: none; }
  .scroll-progress { display: none; }
}
