/* ================================================================
   PATTERSON GRAVEL PIT — Shared Stylesheet
   Fonts: Cormorant Garamond (display) + Jost (body)
   ================================================================ */

:root {
  --cream:       #F3F3F1;
  --cream-alt:   #E8E8E6;
  --white:       #FFFFFF;
  --earth:       #1D1208;
  --earth-mid:   #4A3220;
  --gold:        #E8790A;
  --gold-lt:     #F08B20;
  --gold-pale:   #FEF0E0;
  --stone:       #6F6C6A;
  --stone-lt:    #A8A5A3;
  --border:      #D6D4D2;
  --sh-sm:       rgba(29,18,8,.06);
  --sh:          rgba(29,18,8,.10);
  --sh-md:       rgba(29,18,8,.16);
  --font-d:      'Cormorant Garamond', Georgia, serif;
  --font-b:      'Jost', sans-serif;
  --max-w:       1240px;
  --px:          clamp(1.25rem, 5vw, 4rem);
  --sy:          clamp(5rem, 9vw, 8rem);
  --r:           10px;
  --r-sm:        5px;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-b);font-size:1rem;line-height:1.65;color:var(--earth);background:var(--cream);overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:var(--font-b);background:none;border:none}
ul,ol{list-style:none}

/* ── Typography ── */
.label {
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .9rem;
}
.label--light { color: rgba(255,255,255,.45); }

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--earth);
}
.sec-title em { font-style: italic; font-weight: 300; color: var(--earth-mid); }
.sec-title--light { color: #fff; }
.sec-title--light em { color: var(--gold); }

.sec-body {
  font-size: clamp(.95rem, 1.3vw, 1.07rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.82;
  margin-top: 1.2rem;
}
.sec-body--light { color: rgba(255,255,255,.58); }

.divider { width: 44px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-b);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary   { background: var(--gold);  color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(176,126,42,.3); }
.btn--outline   { background: transparent; color: var(--earth); border-color: var(--border); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--outline-lt{ background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-lt:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--dark      { background: var(--earth); color: #fff; border-color: var(--earth); }
.btn--dark:hover{ background: var(--earth-mid); transform: translateY(-2px); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(248,244,238,.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px);
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-d); font-size: 1.55rem; font-weight: 600;
  letter-spacing: .03em; color: #fff; transition: color .3s;
}
.nav.scrolled .logo-main { color: var(--earth); }
.logo-sub {
  font-family: var(--font-b); font-size: .6rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.5); transition: color .3s;
}
.nav.scrolled .logo-sub { color: var(--stone); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-family: var(--font-b); font-size: .77rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.78); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 100%;
  height: 1px; background: var(--gold); transition: right .3s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--stone); }
.nav.scrolled .nav-links a:hover { color: var(--earth); }
.nav-links a[aria-current="page"] { color: var(--gold) !important; }
.nav-links a[aria-current="page"]::after { right: 0 !important; }
.nav-cta {
  font-family: var(--font-b); font-size: .77rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--earth); background: var(--gold); padding: .62rem 1.4rem;
  border-radius: var(--r-sm); white-space: nowrap; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 34px; height: 34px; padding: 0; border: none; background: none; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: all .3s ease; }
.nav.scrolled .hamburger span { background: var(--earth); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mob-nav {
  position: fixed; inset: 0; z-index: 199; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.mob-nav.open { transform: translateX(0); pointer-events: all; }
.mob-nav a {
  display: block; font-family: var(--font-d);
  font-size: clamp(2.2rem, 8vw, 3.2rem); font-weight: 400;
  color: var(--earth); padding: .45rem 0; text-align: center; transition: color .2s;
}
.mob-nav a:hover { color: var(--gold); }
.mob-nav .mob-call {
  margin-top: 2.5rem; font-family: var(--font-b); font-size: .8rem;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold);
}

/* ── Hero (homepage) ── */
.hero {
  position: relative; height: 100svh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(108deg, rgba(29,18,8,.82) 0%, rgba(29,18,8,.52) 55%, rgba(29,18,8,.2) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-w); width: 100%;
  margin: 0 auto; padding: 76px var(--px) 0;
}
.hero-content > * + * { margin-top: 1.5rem; }
.hero-label { font-family: var(--font-b); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: aup .6s ease forwards .2s; }
.hero-title { font-family: var(--font-d); font-size: clamp(4rem, 12vw, 10.5rem); font-weight: 300; line-height: .88; color: #fff; opacity: 0; animation: aup .8s ease forwards .5s; }
.hero-title em { font-style: italic; }
.hero-sub { font-size: clamp(.95rem, 1.5vw, 1.1rem); font-weight: 300; color: rgba(255,255,255,.72); line-height: 1.78; max-width: 460px; opacity: 0; animation: aup .7s ease forwards .8s; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: aup .7s ease forwards 1.1s; }
.hero-scroll { display: none; }
.hero-scroll span { font-size: .63rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent); animation: scroll-pulse 1.8s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100%{opacity:.4} 50%{opacity:.8} }

/* Ken Burns */
.kb-1 { animation: kb1 20s ease-in-out infinite alternate; }
.kb-2 { animation: kb2 22s ease-in-out infinite alternate; }
.kb-3 { animation: kb3 18s ease-in-out infinite alternate; }
.kb-4 { animation: kb4 24s ease-in-out infinite alternate; }
.kb-5 { animation: kb5 20s ease-in-out infinite alternate; }
.kb-6 { animation: kb6 19s ease-in-out infinite alternate; }
@keyframes kb1 { 0%{transform:scale(1.12) translateX(2%)} 100%{transform:scale(1) translateX(-2%)} }
@keyframes kb2 { 0%{transform:scale(1) translateX(-2%)} 100%{transform:scale(1.1) translateX(2%)} }
@keyframes kb3 { 0%{transform:scale(1.08) translateY(-1%)} 100%{transform:scale(1) translateY(1%)} }
@keyframes kb4 { 0%{transform:scale(1) translateX(-1%)} 100%{transform:scale(1.1) translateX(1%)} }
@keyframes kb5 { 0%{transform:scale(1.06) translateX(3%)} 100%{transform:scale(1) translateX(-3%)} }
@keyframes kb6 { 0%{transform:scale(1.1)} 100%{transform:scale(1) translateX(-2%)} }

/* ── Trust Strip ── */
.trust-strip { background: var(--earth); border-top: 2px solid var(--gold); }
.trust-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px);
  display: grid; grid-template-columns: repeat(3,1fr);
}
.trust-item { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: var(--font-d); font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 300; color: var(--gold); line-height: 1; display: block; }
.trust-label { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: .4rem; display: block; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative; height: clamp(360px, 50vh, 560px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-content {
  position: relative; z-index: 2; max-width: var(--max-w); width: 100%;
  margin: 0 auto; padding: 0 var(--px) clamp(2.5rem, 5vw, 4rem);
}
.page-hero-content .label { color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.page-hero-content h1 {
  font-family: var(--font-d); font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300; color: #fff; line-height: .9;
}
.page-hero-content h1 em { font-style: italic; }

/* ── Split Section ── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem); align-items: center;
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--sy) var(--px);
}
.split__img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.split__img:hover img { transform: scale(1.04); }
.split .sec-body { max-width: 100%; }

/* ── Serve Cards ── */
.serve-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  max-width: var(--max-w); margin: 3.5rem auto 0;
}
.serve-card {
  background: var(--white); padding: clamp(2.5rem, 4.5vw, 4rem);
  border-top: 3px solid var(--border); transition: border-color .3s;
}
.serve-card:hover { border-top-color: var(--gold); }
.serve-card svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.75rem; }
.serve-card .sec-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.serve-card .sec-body { max-width: 100%; margin-bottom: 2rem; }

/* ── Product Cards (homepage grid) ── */
.products-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem;
  max-width: var(--max-w); margin: 3.5rem auto 0;
}
.pcard {
  background: var(--white); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 2px 14px var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px var(--sh); }
.pcard__img { position: relative; height: 210px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__badge {
  position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff;
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 2px;
}
.pcard__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.pcard__name { font-family: var(--font-d); font-size: 1.85rem; font-weight: 400; color: var(--earth); line-height: 1.1; margin-bottom: .6rem; }
.pcard__desc { font-size: .88rem; color: var(--stone); line-height: 1.65; flex: 1; margin-bottom: 1.5rem; }
.pcard__body .btn { align-self: flex-start; }

/* ── Product Detail (products.html) ── */
.pd {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--sy) var(--px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem); align-items: center;
  border-bottom: 1px solid var(--border);
}
.pd:last-of-type { border-bottom: none; }
.pd--rev .pd__img { order: 2; }
.pd--rev .pd__txt { order: 1; }
.pd__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__title { font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; color: var(--earth); line-height: 1.0; margin-bottom: 1.1rem; }
.pd__title em { font-style: italic; font-weight: 300; }
.pd__desc { font-size: .98rem; color: var(--stone); line-height: 1.78; margin-bottom: 1.25rem; }
.pd__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold-pale); color: var(--gold);
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: .32rem .8rem; border-radius: 2px; margin-bottom: 1rem;
}
.pd__uses { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.75rem; }
.pd__use { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--earth-mid); font-weight: 500; }
.pd__use::before { content: ''; width: 20px; height: 1.5px; background: var(--gold); flex-shrink: 0; }
.pd__sizes { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .75rem; }
.size-chip { font-size: .78rem; font-weight: 500; color: var(--earth-mid); background: var(--cream-alt); border: 1px solid var(--border); padding: .28rem .75rem; border-radius: 100px; }

/* ── Cascade Section ── */
.cascade {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; min-height: 500px; padding: clamp(5rem,9vw,8rem) var(--px);
}
.cascade-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cascade-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(29,18,8,.88) 0%, rgba(29,18,8,.72) 50%, rgba(29,18,8,.88) 100%); }
#cascade-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cascade-content { position: relative; z-index: 2; max-width: 680px; }
.cascade-content .sec-body { margin: 1rem auto 2.5rem; }

/* ── Gallery ── */
.gallery-wrap { background: var(--earth); padding: var(--sy) var(--px); }
.gallery-hdr { max-width: var(--max-w); margin: 0 auto 2.5rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 4px;
  max-width: var(--max-w); margin: 0 auto;
}
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .4s ease; filter: brightness(.85); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1); }

/* ── Delivery Times ── */
.dtimes { display: flex; flex-direction: column; gap: 1px; margin: 2rem 0; }
.dtime {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; background: var(--cream-alt);
  border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: background .2s;
}
.dtime:hover { background: var(--border); }
.dtime__loc { font-weight: 500; color: var(--earth); font-size: .95rem; }
.dtime__mins { font-family: var(--font-d); font-size: 2.1rem; font-weight: 300; color: var(--gold); line-height: 1; }
.dtime__mins span { font-family: var(--font-b); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-left: .25rem; }

/* ── Commercial Blocks ── */
.cblocks {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  max-width: var(--max-w); margin: 3.5rem auto 0;
}
.cblock {
  background: var(--white); padding: 2.5rem 1.8rem;
  border-top: 2px solid var(--border); transition: border-top-color .3s, background .25s;
}
.cblock:hover { border-top-color: var(--gold); background: var(--cream); }
.cblock svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 1.25rem; }
.cblock h4 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; color: var(--earth); margin-bottom: .7rem; line-height: 1.1; }
.cblock p { font-size: .88rem; color: var(--stone); line-height: 1.65; }

/* ── Blueprint Grid ── */
.blueprint { position: relative; }
.blueprint::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(176,126,42,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(176,126,42,.055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.blueprint > * { position: relative; z-index: 1; }

/* ── Stats Row ── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; max-width: var(--max-w); margin: 3rem auto 0; }
.stat { background: var(--cream-alt); padding: 2rem 1.5rem; text-align: center; }
.stat:first-child { border-radius: var(--r) 0 0 var(--r); }
.stat:last-child  { border-radius: 0 var(--r) var(--r) 0; }
.stat__num { font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 300; color: var(--gold); line-height: 1; display: block; }
.stat__lbl { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--stone); margin-top: .4rem; display: block; }

/* ── FAQ ── */
.faq-wrap { max-width: 740px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.55rem 0; text-align: left; background: none; border: none; cursor: pointer; }
.faq-q { font-family: var(--font-d); font-size: 1.35rem; font-weight: 400; color: var(--earth); line-height: 1.2; transition: color .2s; }
.faq-btn:hover .faq-q { color: var(--gold); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; transition: transform .35s ease, border-color .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--gold); }
.faq-ans { overflow: hidden; max-height: 0; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.faq-ans-inner { padding-bottom: 1.75rem; font-size: .95rem; color: var(--stone); line-height: 1.8; }

/* ── CTA Full ── */
.cta-full { background: var(--earth); padding: clamp(4rem,7vw,6.5rem) var(--px); text-align: center; position: relative; overflow: hidden; }
.cta-full::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(176,126,42,.12), transparent); pointer-events: none; }
.cta-full .sec-title { position: relative; }
.cta-full .sec-body { margin: 1rem auto 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Forms ── */
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-b); font-size: .95rem; color: var(--earth);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: .85rem 1rem; outline: none;
  transition: border-color .2s, box-shadow .2s; width: 100%; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,126,42,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  font-family: var(--font-b); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: var(--gold); padding: 1.1rem; border: 1.5px solid var(--gold);
  border-radius: var(--r-sm); cursor: pointer; width: 100%;
  transition: background .2s, transform .2s; margin-top: .3rem;
}
.form-submit:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* ── Map ── */
.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 24px var(--sh); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: none; }
.map-info { background: var(--white); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.map-row { display: flex; gap: .8rem; align-items: flex-start; }
.map-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; padding-top: 2px; }
.map-text { font-size: .9rem; line-height: 1.55; color: var(--stone); }
.map-text strong { color: var(--earth); font-weight: 500; display: block; margin-bottom: .15rem; }

/* ── Topo SVG BG ── */
.has-topo { position: relative; }
.has-topo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cg fill='none' stroke='%23E8790A' stroke-width='.6' opacity='.07'%3E%3Cellipse cx='400' cy='300' rx='380' ry='200'/%3E%3Cellipse cx='400' cy='300' rx='310' ry='162'/%3E%3Cellipse cx='400' cy='300' rx='240' ry='124'/%3E%3Cellipse cx='400' cy='300' rx='170' ry='88'/%3E%3Cellipse cx='400' cy='300' rx='100' ry='54'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 800px 600px; background-position: center;
}
.has-topo > * { position: relative; z-index: 1; }

/* ── Contact Big Phone ── */
.contact-top { text-align: center; margin-bottom: 4rem; }
.contact-phone-big { font-family: var(--font-d); font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 300; color: var(--gold); line-height: 1; display: block; transition: color .2s; }
.contact-phone-big:hover { color: var(--gold-lt); }
.contact-email { font-size: 1rem; color: var(--stone); margin-top: .75rem; display: block; transition: color .2s; }
.contact-email:hover { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }

/* ── Footer ── */
footer { background: var(--earth); border-top: 1px solid rgba(255,255,255,.05); }
.footer-main {
  max-width: var(--max-w); margin: 0 auto; padding: clamp(4rem,7vw,6rem) var(--px) clamp(3rem,5vw,4rem);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .logo-main { color: #fff; font-size: 1.6rem; display: block; font-family: var(--font-d); font-weight: 600; letter-spacing: .03em; margin-bottom: .2rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,.3); font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; display: block; font-family: var(--font-b); margin-bottom: 1.5rem; }
.footer-tagline { font-size: .87rem; color: rgba(255,255,255,.36); line-height: 1.72; max-width: 300px; margin-bottom: 1.75rem; }
.footer-ph { font-family: var(--font-d); font-size: 1.85rem; font-weight: 300; color: var(--gold); display: block; transition: color .2s; }
.footer-ph:hover { color: var(--gold-lt); }
.footer-col h5 { font-family: var(--font-b); font-size: .67rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.4rem; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { font-size: .87rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.fc-item { margin-bottom: .95rem; }
.fc-item span:first-child { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .22rem; }
.fc-item span:last-child, .fc-item a { font-size: .87rem; color: rgba(255,255,255,.45); transition: color .2s; }
.fc-item a:hover { color: #fff; }
.footer-btm { border-top: 1px solid rgba(255,255,255,.06); max-width: var(--max-w); margin: 0 auto; padding: 1.5rem var(--px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-btm p, .footer-btm a { font-size: .77rem; color: rgba(255,255,255,.22); }
.footer-btm a:hover { color: rgba(255,255,255,.5); }

/* ── Scroll Reveal ── */
[data-r] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
[data-r="left"]  { transform: translateX(-30px); }
[data-r="right"] { transform: translateX(30px); }
[data-r].vis { opacity: 1; transform: none; }
[data-d="1"]{transition-delay:.1s}[data-d="2"]{transition-delay:.2s}
[data-d="3"]{transition-delay:.3s}[data-d="4"]{transition-delay:.4s}
[data-d="5"]{transition-delay:.5s}[data-d="6"]{transition-delay:.6s}

/* ── Animations ── */
@keyframes aup { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }

/* ── Section Wrappers ── */
.sec-white  { background: var(--white); }
.sec-cream  { background: var(--cream); }
.sec-calt   { background: var(--cream-alt); }
.sec-dark   { background: var(--earth); }

/* ── Responsive ── */
@media(max-width:1100px){
  .footer-main { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .cblocks { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:900px){
  .products-grid { grid-template-columns:repeat(2,1fr); }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(1){border-radius:var(--r) 0 0 0}
  .stat:nth-child(2){border-radius:0 var(--r) 0 0}
  .stat:nth-child(3){border-radius:0 0 0 var(--r)}
  .stat:nth-child(4){border-radius:0 0 var(--r) 0}
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:768px){
  .nav-links,.nav-cta { display:none; }
  .hamburger { display:flex; }
  .split { grid-template-columns:1fr; padding:clamp(3rem,6vw,5rem) var(--px); gap:2.5rem; }
  .serve-grid { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:1fr 1fr; gap:1rem; }
  .pd { grid-template-columns:1fr; gap:2.5rem; }
  .pd--rev .pd__img,.pd--rev .pd__txt { order:unset; }
  .cblocks { grid-template-columns:1fr; }
  .trust-inner { grid-template-columns:1fr; }
  .trust-item { border-right:none; border-bottom:1px solid rgba(255,255,255,.07); }
  .trust-item:last-child { border-bottom:none; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .btn { white-space: normal; letter-spacing: .08em; }
  .btn { white-space: normal; letter-spacing: .08em; }
  .form-row { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; padding:0 var(--px); }
  .footer-main { grid-template-columns:1fr; gap:2rem; }
  .footer-btm { flex-direction:column; text-align:center; }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .cta-btns { flex-direction:column; align-items:center; }
  .cta-btns .btn { width:100%; max-width:320px; justify-content:center; }
}
@media(max-width:480px){
  .products-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .hero-actions .btn { max-width:100%; }
}

/* ================================================================
   MOBILE FIX — Full responsive pass
   ================================================================ */

/* ── Global overflow prevention ── */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img  { max-width: 100%; height: auto; }
* { min-width: 0; }

/* ── Attribute selector override for inline grid styles ──
   These target elements that have inline style= with grid-template-columns
   since media queries can't reach inline styles otherwise             */
@media (max-width: 768px) {

  /* 3-col inline grids → single column */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* 2-col inline grids → single column */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 4-col inline grids → 2 col */
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Inline display:flex rows that need to wrap */
  [style*="display:flex"][style*="gap:2rem"],
  [style*="display:flex"][style*="gap:1rem"] {
    flex-wrap: wrap !important;
  }

  /* Kill horizontal scroll from inline padding */
  [style*="padding:clamp"] { padding-left: var(--px) !important; padding-right: var(--px) !important; }

  /* Hero title: tame the font size on mobile */
  .hero-title { font-size: clamp(2.8rem, 13vw, 4rem) !important; line-height: .9 !important; }

  /* Page hero headline */
  .page-hero-content h1 { font-size: clamp(2.2rem, 10vw, 3.2rem) !important; }

  /* Section title scale-down */
  .sec-title { font-size: clamp(1.9rem, 6.5vw, 2.6rem) !important; }

  /* Trust strip nums */
  .trust-num { font-size: clamp(2.2rem, 8vw, 3rem) !important; }

  /* Max-width on container inline */
  [style*="max-width:var(--max-w)"] { width: 100% !important; }

  /* Buttons full width on mobile in certain contexts */
  .serve-card .btn, .pd__txt .btn, .split .btn { width: 100%; text-align: center; justify-content: center; }

  /* Fix nav inner on very small screens */
  .nav-inner { padding: 0 1.25rem; }

  /* Hero scroll indicator — hide on mobile */
  .hero-scroll { display: none; }

  /* Products grid — 2 col on tablet */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Gallery — 2 col on mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Cascade section inner text padding */
  .cascade-content { padding: 0 1.5rem; }

  /* Page hero height */
  .page-hero { height: clamp(280px, 40vh, 420px) !important; }

  /* Stats row — always 2 col */
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; }

  /* FAQ max-width */
  .faq-wrap { max-width: 100%; }

  /* Footer phone size */
  .footer-ph { font-size: 1.5rem; }

  /* Forms full-width fields */
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; }

  /* Remove the grid gap that causes tiny bleed */
  .serve-grid, .cblocks { gap: 0 !important; }

  /* Map iframe height */
  .map-wrap iframe { height: 260px !important; }

  /* CTA full buttons */
  .cta-btns { flex-direction: column !important; align-items: stretch !important; }
  .cta-btns .btn { max-width: 100% !important; width: 100% !important; justify-content: center !important; }

  /* hero actions spacing */
  .hero-actions { gap: .75rem; }

  /* Page hero overlay — darker on mobile for legibility */
  .page-hero .hero-overlay { background: rgba(29,18,8,.72) !important; }
}

/* ── 480px and below — phone only ── */
@media (max-width: 480px) {

  /* Single column product cards */
  .products-grid { grid-template-columns: 1fr !important; }

  /* Very small hero title */
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.2rem) !important; }
  .page-hero-content h1 { font-size: clamp(2rem, 9vw, 2.8rem) !important; }

  /* Serve card padding */
  .serve-card { padding: 2rem 1.25rem !important; }

  /* 3-col gallery: keep 2-col even on small phones */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 2px !important; }

  /* Stats 2 col */
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; }

  /* Cascade section */
  .cascade { padding: 4rem 1.25rem !important; }

  /* Nav logo smaller */
  .logo-main { font-size: 1.3rem !important; }

  /* Footer cleanup */
  .footer-main { gap: 1.5rem !important; }
  .footer-ph { font-size: 1.4rem !important; }

  /* CTA full section */
  .cta-full { padding: 3.5rem 1.25rem !important; }

  /* General side padding tightening */
  :root { --px: 1.1rem; }
}

/* ================================================================
   TRUST STRIP — Stagger fade-up (replaces count-up)
   ================================================================ */
.trust-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.2,.8,.3,1);
}
.trust-item.popped {
  opacity: 1;
  transform: none;
}

/* ================================================================
   FOOTER CANVAS — Particle trickle
   ================================================================ */
footer {
  position: relative;
  overflow: hidden;
}
.footer-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 0;
}
.footer-main,
.footer-btm {
  position: relative;
  z-index: 1;
}

/* ── Logo image ── */
.nav-logo img {
  transition: filter .3s ease, opacity .3s ease;
}
/* On dark hero (not scrolled): logo looks great on dark bg */
/* On scrolled (cream bg): slightly darken */
.nav.scrolled .nav-logo img {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

/* ================================================================
   THANK YOU MODAL
   ================================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(29,18,8,.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--r);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(29,18,8,.28);
  transform: translateY(18px);
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
  position: relative;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-icon {
  width: 58px; height: 58px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.modal-icon svg { width: 26px; height: 26px; color: var(--gold); }
.modal-title {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--earth);
  line-height: 1.1;
  margin-bottom: .75rem;
}
.modal-title em { font-style: italic; font-weight: 300; color: var(--earth-mid); }
.modal-body {
  font-size: .93rem;
  color: var(--stone);
  line-height: 1.72;
  margin-bottom: 1.75rem;
}
.modal-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.modal-urgent {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: .6rem;
}
.modal-phone {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  transition: color .2s;
}
.modal-phone:hover { color: var(--gold-lt); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone);
  font-size: 1.1rem;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--border); color: var(--earth); }

/* ================================================================
   STICKY MOBILE CALL BAR
   ================================================================ */
.sticky-call-bar {
  display: none;
}
@media (max-width: 768px) {
  .sticky-call-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: var(--earth);
    border-top: 2px solid var(--gold);
    padding: .85rem 1.25rem;
    gap: 1rem;
  }
  .sticky-call-bar__text {
    font-family: var(--font-b);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    line-height: 1.3;
  }
  .sticky-call-bar__text strong {
    display: block;
    color: #fff;
    font-size: .75rem;
  }
  .sticky-call-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-b);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .65rem 1.2rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s;
  }
  .sticky-call-bar__btn:hover { background: var(--gold-lt); }
  /* Push page content up so bar doesn't cover footer */
  body { padding-bottom: 64px; }
}

/* ── From the Pit cards ── */
.pit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--sh);
}
.pit-card:hover img {
  transform: scale(1.06);
}
