/* Pro Painting South FL — Brand Design System (Navy + Red) */

:root {
  --ink: #0d1b5e;          /* brand navy (logo) */
  --ink-2: #16225f;
  --ink-3: #0a1545;
  --paper: #ffffff;
  --bone: #f6f7fb;
  --mist: #eaecf3;
  --line: #dde1ec;
  --muted: #5a6075;
  --red: #c8102e;          /* brand red (tagline) */
  --red-2: #a50d24;
  --gold: #c8102e;         /* alias kept for backward compat — accents now red */
  --gold-2: #ff5168;       /* lighter red highlight on dark backgrounds */
  --silver: #c5cad8;
  --shadow: 0 30px 60px -20px rgba(13, 27, 94, 0.22);
  --shadow-sm: 0 10px 30px -10px rgba(13, 27, 94, 0.14);
  --maxw: 1240px;
  --r: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 220ms ease, opacity 220ms ease; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5 {
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.05;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.005em; }

p { color: var(--ink-2); max-width: 68ch; }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px; height: 1px; background: var(--red);
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, box-shadow 220ms ease;
}
.site-header.scrolled { padding: 12px 0; box-shadow: 0 2px 14px rgba(13, 27, 94, 0.08); }

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

.brand {
  display: inline-flex; align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}
.brand img, .brand svg { height: 56px; width: auto; max-width: none; display: block; }
.footer-brand .brand img, .footer-brand .brand svg { height: 56px; margin-bottom: 22px; }
@media (max-width: 560px) {
  .brand img, .brand svg { height: 36px; }
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.74rem; letter-spacing: 0.03em; }
}

.nav-links {
  display: flex; align-items: center; gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .has-sub { position: relative; }
.nav-links .submenu {
  position: absolute;
  top: calc(100% + 18px); left: -20px;
  background: var(--paper);
  min-width: 240px;
  padding: 14px 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  list-style: none;
}
.nav-links .has-sub:hover .submenu,
.nav-links .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .submenu a { display: block; padding: 8px 22px; font-size: 0.99rem; }
.nav-links .submenu a:hover { background: var(--bone); color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  margin-right: 60px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-link::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 8px 22px -8px rgba(13, 27, 94, 0.45);
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(200, 16, 46, 0.55); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--gold { background: var(--red); border-color: var(--red); color: var(--paper); box-shadow: 0 10px 26px -8px rgba(200, 16, 46, 0.55); }
.btn--gold:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn--lg { padding: 18px 36px; font-size: 0.92rem; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: 240ms ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: 78px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 320ms ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav-links a { font-size: 1.1rem; }
  .nav-links .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0 0 14px; }
  .nav-links .submenu a { padding: 6px 0; font-size: 0.95rem; }
  .menu-open .nav-links { transform: translateX(0); }
  .menu-toggle { display: block; }
  .nav-cta .phone-link { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(170deg, rgba(13, 27, 94, 0.72) 0%, rgba(13, 27, 94, 0.86) 60%, rgba(10, 21, 69, 0.94) 100%), var(--hero-img, url("../images/sf-hero.png"));
  background-size: cover;
  background-position: center;
  z-index: 0;
}
/* Subtle animated glow + palm-frond accent */
.hero::after {
  content: "";
  position: absolute;
  right: -100px; top: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 81, 104, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: var(--paper); margin-bottom: 16px; font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; }
.hero .hero-sub {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 22px;
  max-width: none;
}
.hero h1 em {
  display: inline-block;
  color: var(--paper);
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, #ff5168 0%, #c8102e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  border-radius: 2px;
}
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 56ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-meta .stat { color: var(--paper); }
.hero-meta .stat strong {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 2.64rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #ff5168 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta .stat span { font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero-aside { display: none; }
.hero-grid { grid-template-columns: 1fr; }

.hero-photo-mobile { display: none; }

@media (max-width: 880px) {
  .hero { min-height: 0; padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-aside { display: none; }
  .hero-photo-mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/11;
    object-fit: cover;
    border-radius: 16px;
    margin: 22px 0 26px;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
  }
  .hero-meta { gap: 26px; margin-top: 40px; }
  .hero-meta .stat strong { font-size: 2.2rem; }
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.tight { padding: 36px 0; }
@media (max-width: 880px) {
  section { padding: 40px 0; }
  section.tight { padding: 28px 0; }
}
section.bone { background: var(--bone); }
section.ink { background: var(--ink); color: var(--paper); }
section.ink h1, section.ink h2, section.ink h3 { color: var(--paper); }
section.ink p { color: rgba(255,255,255,0.78); }

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--muted); margin-left: auto; margin-right: auto; }
.section-head.left p { margin-left: 0; }

.divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 0 auto 28px;
}
.section-head.left .divider { margin-left: 0; }

/* ---------- About / Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.flip { grid-template-columns: 1fr 1fr; }
.split.flip .split-img { order: 2; }
.split-img {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.split-img.tall { aspect-ratio: 3/4; }
.split-img.split-img--contain { background-size: contain; background-repeat: no-repeat; background-color: var(--bone); }
.split.split--match { align-items: stretch; }
.split.split--match .split-img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.split-img-mobile { display: none; }
.split-img-mobile.split-img-mobile--contain { object-fit: contain; background: var(--bone); }
.split .reveal h2 { margin-bottom: 28px; }
.split .reveal p + p { margin-top: 18px; }

.about-stack { max-width: 980px; margin: 0 auto; text-align: center; }
.about-stack > .eyebrow { display: flex; justify-content: center; }
.about-stack h2 { margin: 8px 0 28px; text-align: center; }
@media (max-width: 600px) {
  .about-stack h2 { white-space: nowrap; font-size: clamp(1rem, 6vw, 2rem); letter-spacing: -0.02em; }
}
.about-stack .about-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 0 0 36px;
}
.about-stack-body { text-align: left; }
.about-stack-body p + p { margin-top: 18px; }

.about-band {
  background: #0d1b5e;
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
  margin: 0 0 36px;
  box-shadow: var(--shadow);
}
.about-band-col p { color: var(--paper); max-width: none; }
.about-band-left p + p { margin-top: 18px; }
.about-band-right { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.about-band-right p { color: rgba(255, 255, 255, 0.88); margin: 0 auto 24px; max-width: 42ch; }
.about-band-right .btn { margin-top: 4px; align-self: center; }

.intro-band {
  background: #0d1b5e;
  color: var(--paper);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 36px 0 0;
  box-shadow: var(--shadow);
}
.intro-band p { color: var(--paper); max-width: none; }
.intro-band p + p { margin-top: 18px; }
@media (max-width: 880px) {
  .intro-band { padding: 28px 24px; }
}
@media (max-width: 880px) {
  .about-band { padding: 32px 24px; grid-template-columns: 1fr; gap: 28px; }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-row .stat strong {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 2.86rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-row .stat strong sup { color: var(--red); font-size: 1.21rem; vertical-align: super; font-weight: 700; }
.stats-row .stat span { font-size: 0.81rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.flip .split-img { order: 0; }
  .split-img { display: none; }
  .split-img-mobile {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/11;
    object-fit: cover;
    border-radius: 16px;
    margin: 8px 0 24px;
    box-shadow: 0 18px 40px -14px rgba(13, 27, 94, 0.25);
  }
  .stats-row { gap: 16px; }
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-card {
  position: relative;
  background: var(--paper);
  padding: 56px 42px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: background 320ms ease, color 320ms ease;
  text-decoration: none; color: inherit;
}
.svc-card .num {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.svc-card h3 { margin-bottom: 14px; transition: color 320ms ease; }
.svc-card p { color: var(--muted); font-size: 0.95rem; transition: color 320ms ease; }
.svc-card .arrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--ink);
  transition: color 320ms ease, gap 320ms ease;
}
.svc-card:hover { background: var(--ink); color: var(--paper); }
.svc-card:hover h3 { color: var(--paper); }
.svc-card:hover p { color: rgba(255,255,255,0.75); }
.svc-card:hover .num { color: var(--gold-2); }
.svc-card:hover .arrow { color: var(--gold-2); gap: 16px; }

/* Image-led service cards */
.svc-cards-img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .svc-cards-img { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
  .svc-cards-img { grid-template-columns: 1fr; }
}
.svc-card-img {
  position: relative; overflow: hidden;
  background: var(--ink);
}
.svc-card-img img {
  width: 100%; height: 380px; object-fit: cover;
  transition: transform 700ms ease, opacity 320ms ease;
  opacity: 0.86;
}
.svc-card-img:hover img { transform: scale(1.04); opacity: 0.6; }
.svc-card-img .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(13, 27, 94,0) 0%, rgba(13, 27, 94,0.85) 100%);
}
.svc-card-img h3 { color: var(--paper); margin-bottom: 6px; }
.svc-card-img .overlay span { color: var(--gold-2); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Why-choose / Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 60px 40px;
}
.pillar {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pillar .num {
  position: absolute; top: -10px; left: 0;
  background: var(--paper);
  padding-right: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
}
.pillar h4 { margin-bottom: 10px; font-size: 1.05rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.testimonial {
  background: var(--paper);
  padding: 44px 38px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.testimonial .stars {
  color: var(--gold); letter-spacing: 4px; font-size: 0.95rem; margin-bottom: 18px;
}
.testimonial p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 28px;
}
.testimonial .who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial .who strong { display: block; font-weight: 600; font-size: 0.95rem; }
.testimonial .who span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.testimonial--dark { background: #0d1b5e; border-color: #0d1b5e; }
.testimonial--dark p { color: var(--paper); }
.testimonial--dark .who { border-top-color: rgba(255, 255, 255, 0.18); }
.testimonial--dark .who strong { color: var(--paper); }
.testimonial--dark .who span { color: rgba(255, 255, 255, 0.7); }
.testimonial--dark .stars { color: var(--gold-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(13, 27, 94,0.78) 0%, rgba(13, 27, 94,0.92) 100%), url("../images/CTA.jpg");
  background-size: cover; background-position: center;
  opacity: 0.6;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--paper); margin-bottom: 22px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0 auto 36px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  color: var(--ink-2);
  padding: 70px 0 26px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand .brand { color: var(--ink); margin-bottom: 22px; }
.footer-brand .brand .mark { background: var(--ink); color: var(--paper); }
.footer-brand p { color: var(--ink-2); font-size: 0.95rem; max-width: 36ch; }
.footer-social { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-social strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; text-decoration: none; transition: background 200ms ease, transform 200ms ease; }
.footer-social-link:hover { background: #1877F2; transform: translateY(-1px); color: #fff; }
.footer-social svg { display: block; }
.footer-col h5 { display: inline-block; background: var(--ink); color: #fff; font-family: "Inter", sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; padding: 3px 14px; border-radius: 4px; white-space: nowrap; line-height: 1.1; transition: background 200ms ease; }
.footer-col h5 a { color: #fff; text-decoration: none; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: color 200ms ease; }
.footer-col h5:hover { background: var(--ink-2); }
.footer-col h5 a:hover { color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.95rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--red); }
.footer-contact div { font-size: 0.95rem; margin-bottom: 12px; color: var(--ink-2); }
.footer-contact strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--red); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page header (sub-pages) ---------- */
.page-head {
  position: relative;
  padding: 180px 0 90px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(13, 27, 94,0.7), rgba(13, 27, 94,0.88)), var(--head-img, url("../images/sf-hero.png"));
  background-size: cover; background-position: center;
}
.page-head .container { position: relative; max-width: 880px; }
.page-head h1 { color: var(--paper); margin-bottom: 18px; }
.page-head p { color: rgba(255,255,255,0.78); font-size: 1.15rem; }
.crumbs { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,0.7); }
.crumbs a:hover { color: var(--paper); }
.crumbs .sep { margin: 0 10px; opacity: 0.5; }

/* ---------- Quote form ---------- */
.quote-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.quote-aside {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 56px;
  position: relative;
  overflow: hidden;
}
.quote-aside::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 94,0.78), rgba(13, 27, 94,0.95)), url("../images/sf-hero.png");
  background-size: cover; background-position: center;
  opacity: 0.7;
  z-index: 0;
}
.quote-aside > * { position: relative; z-index: 1; }
.quote-aside h2 { color: var(--paper); margin-bottom: 20px; }
.quote-aside p { color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.trust-list { list-style: none; padding: 0; margin: 0 0 36px 0; }
.trust-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.86);
}
.trust-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.trust-list .check {
  flex: 0 0 22px; width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-top: 2px;
  font-size: 0.7rem;
}
.quote-aside .contact-line { color: var(--paper); font-size: 1.4rem; font-family: "Manrope", "Inter", sans-serif; }
.quote-aside .contact-line span { display: block; font-family: "Inter", sans-serif; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }

.quote-form { padding: 70px 56px; }
.quote-form h3 { margin-bottom: 8px; }
.quote-form .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 36px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 220ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { min-height: 90px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 18px; }
.form-foot small { color: var(--muted); font-size: 0.82rem; max-width: 60ch; line-height: 1.5; }

@media (max-width: 980px) {
  .quote-shell { grid-template-columns: 1fr; }
  .quote-aside, .quote-form { padding: 50px 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Article / Blog ---------- */
.article {
  max-width: 760px; margin: 0 auto;
}
.article p, .article ul, .article ol { margin-bottom: 1.4rem; font-size: 1.05rem; color: var(--ink-2); }
.article h2 { margin: 3rem 0 1.2rem; }
.article h3 { margin: 2.2rem 0 1rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 24px;
  margin: 2rem 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--ink);
  line-height: 1.3;
}

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; }
.post-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow 240ms ease, transform 240ms ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-img { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.post-card-body { padding: 32px 28px; }
.post-card .meta { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.post-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px;
}
.portfolio-item {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
}
.portfolio-item::after {
  content: attr(data-label);
  position: absolute; left: 28px; bottom: 24px;
  color: var(--paper);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.2rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.portfolio-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 94,0) 30%, rgba(13, 27, 94,0.65) 100%);
  transition: background 320ms ease;
}
.portfolio-item:hover::before { background: linear-gradient(180deg, rgba(13, 27, 94,0.2) 0%, rgba(13, 27, 94,0.7) 100%); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 300; color: var(--gold);
  transition: transform 240ms ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; color: var(--muted); }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 880px) {
  .area-grid .area-card--wide { grid-column: 1 / -1; }
}
.area-card { background: var(--paper); padding: 36px 32px; transition: background 240ms ease, color 240ms ease; }
.area-card:hover { background: var(--ink); color: var(--paper); }
.area-card:hover h4, .area-card:hover .arrow { color: var(--paper); }
.area-card:hover p { color: rgba(255,255,255,0.74); }
.area-card h4 { margin-bottom: 8px; }
.area-card p { color: var(--muted); font-size: 0.92rem; }
.area-card .arrow { display: inline-block; margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ---------- utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.ink-bg { background: var(--ink); color: var(--paper); }
.gold { color: var(--gold); }

/* ---------- Before / After stack ---------- */
.ba-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.ba-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
  transition: transform 700ms ease;
}
.ba-frame:hover img { transform: scale(1.03); }
.ba-frame figcaption {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(13, 27, 94, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
}
.ba-frame:nth-child(2) figcaption {
  background: var(--red);
}
@media (min-width: 720px) and (max-width: 1099px) {
  .ba-stack { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal animation (progressive-enhancement) ----------
   Default is visible so content always renders without JS, on screenshots,
   or when IntersectionObserver hasn't caught up yet. JS adds .js-ready to <html>
   to opt in to the entrance animation. */
.reveal { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms ease; }
.js-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- New Construction Gallery ---------- */
.nc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.nc-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 12px 36px rgba(13, 27, 94, 0.12);
  aspect-ratio: 4 / 5;
}
.nc-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.nc-shot:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .nc-gallery { grid-template-columns: 1fr; gap: 18px; }
  .nc-shot { aspect-ratio: 16 / 11; }
}

/* ---------- Submenu group divider + heading ---------- */
.nav-links .submenu .submenu-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 22px;
  padding: 0;
  list-style: none;
}
.nav-links .submenu .submenu-heading {
  display: block;
  padding: 6px 22px 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  list-style: none;
  pointer-events: none;
}
.nav-links .submenu .submenu-area span {
  display: block;
  padding: 8px 22px;
  font-size: 0.99rem;
  color: var(--ink);
  cursor: default;
  pointer-events: none;
}
@media (max-width: 980px) {
  .nav-links .submenu .submenu-divider { margin: 6px 0; }
  .nav-links .submenu .submenu-heading { padding: 4px 0 2px; }
  .nav-links .submenu .submenu-area span { padding: 6px 0; font-size: 0.95rem; }
}

/* ---------- New Construction Feature Shot ---------- */
.nc-feature {
  margin: 36px 0 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(13, 27, 94, 0.28);
  background: var(--bone);
}
.nc-feature img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Residential Before/After ---------- */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
.ba-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 24px 60px -20px rgba(13, 27, 94, 0.25);
  aspect-ratio: 4 / 3;
}
.ba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.ba-card:hover img { transform: scale(1.04); }
.ba-card figcaption {
  position: absolute;
  top: 16px; left: 16px;
  margin: 0;
}
.ba-tag {
  display: inline-block;
  padding: 8px 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.4);
}
.ba-tag--before { background: var(--ink); }
.ba-tag--after { background: var(--red); }
@media (max-width: 760px) {
  .ba-pair { grid-template-columns: 1fr; gap: 18px; }
  .ba-card { aspect-ratio: 16 / 11; }
}

/* ---------- Contact card ---------- */
.contact-card {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-card li {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
a.contact-value { transition: color 220ms ease; }
a.contact-value:hover { color: var(--red); }
.contact-value--soft { font-weight: 500; color: var(--ink-2); }
@media (max-width: 560px) {
  .contact-card li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* ---------- Blog featured post ---------- */
.post-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 6px;
  transition: box-shadow 280ms ease, transform 240ms ease;
  text-decoration: none;
  color: inherit;
}
.post-feature:hover {
  box-shadow: 0 30px 60px -22px rgba(13, 27, 94, 0.22);
  transform: translateY(-3px);
}
.post-feature-img {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
.post-feature-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-feature-body .meta {
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}
.post-feature-body h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 18px;
  line-height: 1.15;
}
.post-feature-body p {
  color: var(--ink-2);
  margin-bottom: 26px;
}
.post-feature-body .arrow {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap 220ms ease, color 220ms ease;
  display: inline-flex;
  gap: 10px;
}
.post-feature:hover .arrow { gap: 16px; }
.post-card .arrow {
  display: inline-flex;
  margin-top: 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  gap: 10px;
  transition: gap 220ms ease;
}
.post-card:hover .arrow { gap: 14px; }
@media (max-width: 880px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature-img { min-height: 220px; aspect-ratio: 16/10; }
  .post-feature-body { padding: 36px 28px; }
}

/* ---------- Hero H1 — equal-width two-line ---------- */
.hero h1.h1-stack {
  display: inline-block !important;
  width: max-content !important;
  max-width: 100% !important;
  text-align: justify !important;
  text-align-last: justify !important;
}
.hero h1.h1-stack > br { display: block; }
.hero h1.h1-stack .hline {
  display: inline-block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}
