/* ===================================================================
   Crest Roofing Services, Inc. — king-intelligence.com/crest
   Brand system: Crest red + heritage navy + warm white.
   Real logo, real BBB seal, real Google mark. Built 5/14/26.
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* navy — the heritage dark, primary dark surface */
  --navy:        #15294a;
  --navy-2:      #1f3a63;   /* elevated cards on navy */
  --navy-deep:   #0e1d36;   /* footer / deepest */
  --navy-line:   #2e486f;
  --navy-line-2: #3a periwinkle;
  --navy-line-2: #3c5680;

  /* crest red — the accent */
  --red:        #c00006;
  --red-deep:   #9a0207;
  --red-bright: #e2161d;    /* on navy */

  /* warm paper — the light surface */
  --paper:      #f7f4ed;
  --paper-2:    #ede6d8;
  --paper-3:    #e2dac8;
  --white:      #ffffff;

  /* text */
  --text:       #1a2436;
  --text-mid:   #54607a;
  --text-soft:  #8a8f9c;
  --text-inv:   #f2f1ec;
  --text-inv-mid:  #b3bccd;
  --text-inv-soft: #7e8da6;

  /* lines */
  --line:    #e3dccc;
  --line-2:  #d2c9b4;
  --gold:    #f4b740;

  /* type */
  --display: "Fraunces", "Georgia", "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* shadow — layered, tinted */
  --shadow-sm: 0 1px 2px rgba(14,29,54,.06), 0 3px 9px rgba(14,29,54,.08);
  --shadow-md: 0 5px 14px rgba(14,29,54,.10), 0 16px 36px rgba(14,29,54,.12);
  --shadow-lg: 0 12px 30px rgba(14,29,54,.14), 0 32px 70px rgba(14,29,54,.20);
  --shadow-red: 0 7px 20px rgba(192,0,6,.30), 0 16px 42px rgba(192,0,6,.22);

  /* geometry */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --wrap: 1216px;
  --wrap-tight: 980px;
  --nav-h: 76px;
  --nav-h-scrolled: 64px;

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.018em;
  font-optical-sizing: auto;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.62rem); }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { color: var(--text-mid); }
strong { color: var(--text); font-weight: 700; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--red); display: inline-block; flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--inv { color: var(--red-bright); }
.eyebrow--inv::before { background: var(--red-bright); }
.eyebrow--on-navy { color: #fff; }
.eyebrow--on-navy::before { background: var(--red-bright); }

.lede {
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.6;
  color: var(--text-mid);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--tight { max-width: var(--wrap-tight); }
.section { padding: clamp(68px, 8.5vw, 124px) 0; position: relative; }
.section--paper-2 { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--text-inv); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: var(--text-inv-mid); }
.section--navy strong { color: #fff; }
.section--navy-deep { background: var(--navy-deep); color: var(--text-inv); }
.section--navy-deep h2, .section--navy-deep h3 { color: #fff; }
.section--navy-deep p { color: var(--text-inv-mid); }
.section-head { max-width: 660px; margin-bottom: 54px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 18px 0 16px; }
.section-head p { font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--body); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.045em; text-transform: uppercase;
  padding: 16px 30px; border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background-color .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out);
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-3px); box-shadow: var(--shadow-red); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-on-navy { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-on-navy:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 19px 38px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red); padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease-out);
}
.textlink svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.textlink:hover { border-color: var(--red); }
.textlink:hover svg { transform: translateX(4px); }
.textlink--inv { color: var(--red-bright); }
.textlink--inv:hover { border-color: var(--red-bright); }

/* ---------- Nav (navy — the real logo reads here) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--navy-line);
  transition: box-shadow .35s var(--ease-out), background-color .35s var(--ease-out);
}
.nav.is-solid {
  box-shadow: 0 8px 28px rgba(8,16,30,.45);
  background: #0a1424;
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: height .35s var(--ease-out);
}
.nav.is-solid .nav-inner { height: var(--nav-h-scrolled); }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; transition: height .35s var(--ease-out); }
.nav.is-solid .brand img { height: 42px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links > a:not(.nav-cta):not(.nav-phone) {
  font-weight: 600; font-size: 0.95rem; color: #e8ebf1;
  position: relative; padding: 4px 0;
}
.nav-links > a:not(.nav-cta):not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links > a:not(.nav-cta):not(.nav-phone):hover::after,
.nav-links > a.is-current::after { transform: scaleX(1); }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem; color: #fff;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--red-bright); }
.nav-cta {
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.045em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--r-sm);
  transition: background-color .25s var(--ease-out), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-red); }

.nav-mobile { display: none; align-items: center; gap: 14px; }
.nav-mobile-call {
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.92rem; color: #fff;
}
.nav-mobile-call svg { width: 16px; height: 16px; color: var(--red-bright); }
.nav-toggle {
  width: 44px; height: 44px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  margin-right: -8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease-out);
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-panel {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 36px 44px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  visibility: hidden;
}
body.menu-open .nav-panel { transform: translateX(0); visibility: visible; }
.nav-panel a.nav-panel-link {
  font-family: var(--display); font-size: 1.95rem; font-weight: 600;
  color: #fff; padding: 15px 0;
  border-bottom: 1px solid var(--navy-line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateX(22px);
}
body.menu-open .nav-panel a.nav-panel-link { animation: panelIn .5s var(--ease) forwards; }
body.menu-open .nav-panel a.nav-panel-link:nth-child(1) { animation-delay: .1s; }
body.menu-open .nav-panel a.nav-panel-link:nth-child(2) { animation-delay: .16s; }
body.menu-open .nav-panel a.nav-panel-link:nth-child(3) { animation-delay: .22s; }
body.menu-open .nav-panel a.nav-panel-link:nth-child(4) { animation-delay: .28s; }
@keyframes panelIn { to { opacity: 1; transform: translateX(0); } }
.nav-panel a.nav-panel-link span { color: var(--red-bright); font-size: 0.95rem; font-family: var(--body); }
.nav-panel-foot { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.nav-panel-foot .btn { width: 100%; }
.nav-panel-phone {
  font-family: var(--display); font-size: 1.5rem; font-weight: 600;
  color: #fff; display: flex; align-items: center; gap: 10px; justify-content: center;
}
.nav-panel-phone svg { width: 22px; height: 22px; color: var(--red-bright); }

/* ---------- Hero (full-bleed photo + navy scrim) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg-fallback { position: absolute; inset: 0; z-index: 0; }
.hero-bg-video { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(105deg,
      rgba(13, 24, 42, 0.82) 0%,
      rgba(13, 24, 42, 0.62) 38%,
      rgba(13, 24, 42, 0.28) 72%,
      rgba(192, 0, 6, 0.22) 100%),
    radial-gradient(ellipse 90% 70% at 95% 95%,
      rgba(192, 0, 6, 0.28) 0%,
      transparent 55%);
}
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 780px; }
.hero-loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff;
  background: rgba(192,0,6,.92);
  padding: 7px 14px; border-radius: 100px;
  margin-bottom: 26px;
}
.hero-loc svg { width: 13px; height: 13px; }
.hero h1 { color: #fff; margin-bottom: 22px; font-size: clamp(2.4rem, 4.5vw, 3.7rem); }
.hero h1 em { font-style: italic; font-weight: 500; color: #ff5862; }
.hero-br { display: inline; }
.hero-desc {
  font-size: 1.14rem; line-height: 1.62;
  color: #dfe5ee; max-width: 510px; margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-cred {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-cred-google {
  display: flex; align-items: center; gap: 11px;
}
.hero-cred-google img { height: 22px; width: auto; }
.hero-cred-google .rate { display: flex; flex-direction: column; line-height: 1.15; }
.hero-cred-google .rate b {
  color: #fff; font-family: var(--display); font-size: 1.12rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.hero-cred-google .rate .stars { color: var(--gold); font-size: 0.84rem; letter-spacing: 1px; }
.hero-cred-google .rate span { color: var(--text-inv-soft); font-size: 0.76rem; }
.hero-cred-div { width: 1px; height: 40px; background: rgba(255,255,255,.18); }
.hero-cred-bbb {
  background: #fff; border-radius: var(--r-sm); padding: 7px 10px;
  display: flex; align-items: center;
}
.hero-cred-bbb img { height: 30px; width: auto; }
.hero-cred-est { display: flex; flex-direction: column; line-height: 1.15; }
.hero-cred-est b { color: #fff; font-family: var(--display); font-size: 1.34rem; font-weight: 600; }
.hero-cred-est span { color: var(--text-inv-soft); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* ---------- Trust band ---------- */
.trust { background: var(--navy-deep); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  padding: 34px 26px;
  display: flex; align-items: center; gap: 15px;
  border-right: 1px solid var(--navy-line);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 30px; height: 30px; color: var(--red-bright); flex: none; }
.trust-item--seal { justify-content: center; }
.trust-item--seal .bbb-seal {
  height: 52px; width: auto; background: #fff;
  padding: 8px 12px; border-radius: var(--r-sm);
}
.trust-item strong {
  display: block; font-family: var(--display);
  font-size: 1.5rem; color: #fff; line-height: 1; font-weight: 600;
}
.trust-item span { font-size: 0.8rem; color: var(--text-inv-soft); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--display); font-size: 0.84rem; font-weight: 600; color: #fff;
  background: var(--red); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.service-card-body { padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { font-size: 0.97rem; margin-bottom: 18px; flex: 1; }
.service-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.service-card-tags span {
  font-size: 0.73rem; font-weight: 600; color: var(--text-soft);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 100px;
}

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--wide-media { grid-template-columns: 0.86fr 1.14fr; }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4; object-fit: cover;
}
.split-media--landscape img { aspect-ratio: 4 / 3; }
.split-media-tag {
  position: absolute; right: -20px; bottom: -20px;
  background: var(--red); color: #fff;
  padding: 18px 22px; border-radius: var(--r-md);
  box-shadow: var(--shadow-red); max-width: 230px;
}
.split-media-tag strong { font-family: var(--display); color: #fff; font-size: 1.7rem; display: block; line-height: 1; }
.split-media-tag span { font-size: 0.81rem; color: rgba(255,255,255,.88); }
.split-body .eyebrow { margin-bottom: 18px; }
.split-body h2 { margin-bottom: 18px; }
.split-list { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.split-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 0.99rem; color: var(--text-mid);
}
.split-list li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--red); }
.section--navy .split-list li svg, .section--navy-deep .split-list li svg { color: var(--red-bright); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 16px; }
.gallery-item {
  overflow: hidden; border-radius: var(--r-md);
  position: relative; box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,29,54,.42), transparent 52%);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }
/* homepage preview: 12-col mosaic */
.gallery-grid--preview { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 196px; }
.gallery-grid--preview .gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-grid--preview .gallery-item:nth-child(2) { grid-column: span 7; }
.gallery-grid--preview .gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-grid--preview .gallery-item:nth-child(4) { grid-column: span 4; }
/* full gallery: clean uniform 3-up */
.gallery-grid--full { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--full .gallery-item { aspect-ratio: 4 / 3; }

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 46px; flex-wrap: wrap;
}
.google-chip {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  padding: 16px 22px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.google-chip img.glogo { height: 26px; width: auto; flex: none; }
.google-chip-info { display: flex; flex-direction: column; line-height: 1.3; border-left: 1px solid var(--line); padding-left: 16px; }
.google-chip-info strong {
  font-family: var(--display); font-size: 1.4rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.google-chip-stars { color: var(--gold); letter-spacing: 1px; font-size: 0.92rem; }
.google-chip-info span { font-size: 0.79rem; color: var(--text-soft); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s var(--ease-out);
}
.review-card:hover { transform: translateY(-5px); border-color: var(--navy-line-2); }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 15px; }
.review-text {
  font-family: var(--display); font-size: 1.1rem; line-height: 1.5;
  color: #fff; font-weight: 400; margin-bottom: 22px; flex: 1;
}
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; flex: none;
}
.review-meta-txt strong { display: block; font-size: 0.95rem; color: #fff; }
.review-meta-txt span {
  font-size: 0.76rem; color: var(--text-inv-soft);
  display: flex; align-items: center; gap: 5px;
}
.review-meta-txt span img { height: 13px; width: auto; }

/* ---------- Materials ribbon ---------- */
.materials {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.materials-inner {
  display: flex; align-items: center; gap: 38px;
  padding: 28px 0; flex-wrap: wrap; justify-content: center;
}
.materials-label {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-soft);
}
.materials-list { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.materials-list span {
  font-family: var(--display); font-weight: 600;
  font-size: 1.16rem; color: var(--navy);
  transition: color .3s var(--ease-out);
}
.materials-list span:hover { color: var(--red); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final-cta::before, .final-cta::after {
  content: ""; position: absolute;
  background: rgba(255,255,255,.06);
  width: 320px; height: 372px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.final-cta::before { top: -120px; left: -88px; transform: rotate(8deg); }
.final-cta::after { bottom: -150px; right: -78px; transform: rotate(-12deg); }
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 540px; margin: 0 auto 30px; }
.final-cta .btn-primary { background: #fff; color: var(--red); }
.final-cta .btn-primary:hover { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--text-inv-mid); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 46px; padding-bottom: 52px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 50px; width: auto; }
.footer-col p { font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 {
  color: #fff; font-family: var(--body);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.92rem; padding: 5px 0; transition: color .25s var(--ease-out); }
.footer-col a:hover { color: var(--red-bright); }
.footer-contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 12px; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--red-bright); flex: none; margin-top: 4px; }
.footer-badges { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-badges img { height: 34px; width: auto; background: #fff; padding: 5px 7px; border-radius: var(--r-sm); }
.footer-bar {
  border-top: 1px solid var(--navy-line);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.81rem; color: var(--text-inv-soft);
}
.footer-bar a { color: var(--text-inv-soft); transition: color .25s; }
.footer-bar a:hover { color: var(--text-inv-mid); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--red);
  display: none;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -6px 24px rgba(14,29,54,.28);
}
.callbar.is-shown { transform: translateY(0); }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; color: #fff; font-weight: 700; font-size: 1rem;
  letter-spacing: 0.02em;
}
.callbar svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior pages) ---------- */
.pagehero {
  background: var(--navy); color: var(--text-inv);
  padding: calc(var(--nav-h) + 70px) 0 78px;
  position: relative; overflow: hidden;
}
.pagehero::before {
  content: ""; position: absolute; top: -25%; right: -8%;
  width: 55%; height: 110%;
  background: radial-gradient(ellipse at center, rgba(192,0,6,.18), transparent 68%);
}
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero h1 { color: #fff; margin: 16px 0 18px; max-width: 22ch; }
.pagehero p { font-size: 1.1rem; color: var(--text-inv-mid); max-width: 560px; }
.crumb { font-size: 0.79rem; letter-spacing: 0.04em; color: var(--text-inv-soft); display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--text-inv-soft); transition: color .2s; }
.crumb a:hover { color: var(--red-bright); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  border: none; border-bottom: 1.5px solid var(--line-2);
  background: transparent; padding: 10px 2px;
  font-size: 1rem; color: var(--text);
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--red); border-bottom-width: 2px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); opacity: .65; }
.form-note { font-size: 0.84rem; color: var(--text-soft); margin-top: 4px; }

.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 54px; }
.contact-card {
  background: var(--navy); color: var(--text-inv);
  border-radius: var(--r-md); padding: 38px 34px; align-self: start;
}
.contact-card h3 { color: #fff; margin-bottom: 8px; }
.contact-card > p { color: var(--text-inv-mid); font-size: 0.95rem; margin-bottom: 24px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--navy-line); }
.contact-line svg { width: 19px; height: 19px; color: var(--red-bright); flex: none; margin-top: 3px; }
.contact-line-txt strong { display: block; color: #fff; font-size: 0.97rem; margin-bottom: 2px; }
.contact-line-txt span, .contact-line-txt a { font-size: 0.92rem; color: var(--text-inv-mid); }
.contact-line-txt a:hover { color: var(--red-bright); }
.contact-card-badges { display: flex; gap: 10px; margin-top: 22px; }
.contact-card-badges img { height: 36px; background: #fff; padding: 5px 8px; border-radius: var(--r-sm); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.stack-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.stack-ctas--center { justify-content: center; }
.rule-diamond { display: flex; align-items: center; gap: 14px; color: var(--line-2); }
.rule-diamond::before, .rule-diamond::after { content: ""; height: 1px; background: currentColor; flex: 1; }
.rule-diamond img { width: 26px; height: auto; flex: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .hero-content { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid .review-card:nth-child(3) { display: none; }
  .split--wide-media { grid-template-columns: 1fr 1fr; }
}

/* tablet + mobile — collapse to mobile nav */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .hero { min-height: 0; padding: calc(var(--nav-h) + 48px) 0 64px; }
  .hero-bg img { object-position: center 45%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(13, 24, 42, 0.82) 0%,
        rgba(13, 24, 42, 0.58) 55%,
        rgba(13, 24, 42, 0.40) 100%),
      radial-gradient(ellipse 100% 60% at 50% 100%,
        rgba(192, 0, 6, 0.26) 0%,
        transparent 65%);
  }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--navy-line); }
  .trust-item:nth-child(even) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--navy-line); }
  .services-grid { grid-template-columns: 1fr; }
  .split, .split--wide-media { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split-media { order: -1; }
  .split-media img, .split-media--landscape img { aspect-ratio: 16 / 11; }
  .split-media-tag { right: 16px; bottom: -16px; padding: 14px 18px; }
  .gallery-grid--full { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  /* sticky call bar lives on mobile — keep content clear of it */
  .callbar { display: block; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 60px; }
}

/* phones */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .brand img { height: 38px; }
  .nav.is-solid .brand img { height: 34px; }
  .section { padding: 60px 0; }

  .hero { padding: calc(var(--nav-h) + 36px) 0 52px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); margin-bottom: 18px; }
  .hero-br { display: none; }
  .hero-desc { font-size: 1.04rem; margin-bottom: 26px; }
  .hero-loc { font-size: 0.7rem; margin-bottom: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 30px; }
  .hero-ctas .btn { width: 100%; }
  .hero-cred { gap: 16px 18px; padding-top: 22px; }
  .hero-cred-div { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    border-right: none !important;
    border-bottom: 1px solid var(--navy-line);
    padding: 22px 4px;
  }
  .trust-item:last-child { border-bottom: none; }

  .section-head { margin-bottom: 38px; }
  .services-grid { gap: 20px; }
  .service-card-body { padding: 24px 22px 26px; }

  .split { gap: 36px; }
  .split-media-tag {
    position: static; margin-top: 14px; max-width: 100%;
    display: flex; align-items: baseline; gap: 10px;
  }
  .split-media-tag strong { font-size: 1.4rem; }

  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .review-card:nth-child(3) { display: flex; }
  .reviews-head { margin-bottom: 32px; gap: 22px; }
  .google-chip { width: 100%; }

  .gallery-grid--preview { grid-auto-rows: 150px; gap: 12px; }
  .gallery-grid--preview .gallery-item:nth-child(1) { grid-column: span 12; grid-row: span 2; }
  .gallery-grid--preview .gallery-item:nth-child(2),
  .gallery-grid--preview .gallery-item:nth-child(3),
  .gallery-grid--preview .gallery-item:nth-child(4) { grid-column: span 12; grid-row: span 1; }
  .gallery-grid--full { grid-template-columns: 1fr; }

  .materials-inner { gap: 18px; padding: 26px 0; }
  .materials-list { gap: 18px 24px; }

  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 30px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bar { flex-direction: column; gap: 8px; }

  .pagehero { padding: calc(var(--nav-h) + 44px) 0 52px; }
  .stack-ctas .btn { width: 100%; }
  .btn-lg { padding: 17px 30px; }
}

/* very small phones */
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .nav-mobile { gap: 10px; }
  .nav-mobile-call span { display: none; }
  .hero h1 { font-size: 2rem; }
}
