/* ============================================================================
   Thomas Roofing — Bartlesville | Design System v2
   Premium, bold, local. Built for conversion + speed.
   ========================================================================== */

:root {
  /* Brand — deep slate + roofing charcoal, with a confident Oklahoma-clay accent */
  --ink:        #12161c;   /* near-black slate */
  --ink-2:      #1c2530;   /* panel dark */
  --ink-3:      #2a3542;
  --steel:      #48576b;
  --mist:       #6b7a8d;
  --line:       #e3e8ee;
  --paper:      #ffffff;
  --paper-2:    #f6f8fa;
  --paper-3:    #eef2f6;

  --brand:      #d80810;   /* clay/rust — trustworthy, warm, high-intent */
  --brand-2:    #ef2630;
  --brand-ink:  #a20811;
  --gold:       #f2b230;   /* review stars */
  --go:         #1f9d55;   /* success / verified green */

  --text:       #1a2029;
  --text-2:     #48566a;
  --text-inv:   #f4f7fb;
  --text-inv-2: #b6c2d1;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  26px;
  --shadow-sm:  0 1px 2px rgba(16,24,32,.06), 0 2px 6px rgba(16,24,32,.06);
  --shadow:     0 6px 20px rgba(16,24,32,.10), 0 2px 6px rgba(16,24,32,.06);
  --shadow-lg:  0 24px 60px rgba(16,24,32,.20);
  --ring:       0 0 0 4px rgba(216,8,16,.18);

  --wrap:       1180px;
  --gap:        clamp(1rem, 3vw, 2rem);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

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

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
/* Inline icons: sane default size unless a component overrides it */
svg { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: middle; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.01em; }
ul { padding-left: 1.1em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--alt { background: var(--paper-2); }
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.55rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 22px rgba(216,8,16,.32); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(216,8,16,.42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.section--dark .btn--ghost, .btn--ghost-inv { color: #fff; border-color: rgba(255,255,255,.28); }
.btn--white { background: #fff; color: var(--ink); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ============================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--ink); color: var(--text-inv-2);
  font-size: .82rem; font-weight: 600;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--text-inv); }
.topbar__areas { color: var(--text-inv-2); }
.topbar__contact { display: flex; gap: 1.4rem; align-items: center; }
.topbar__contact .tel { display: inline-flex; align-items: center; gap: .4rem; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s;
}
.header.is-stuck { box-shadow: var(--shadow); background: rgba(255,255,255,.97); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.nav__logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; text-decoration: none; }
.nav__logo:hover { text-decoration: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(140deg, var(--brand-2), var(--brand-ink)); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(216,8,16,.3); }
.nav__logo-mark svg { width: 22px; height: 22px; }
.nav__logo-badge { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px rgba(16,24,32,.22); }
.nav__logo-txt b { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; display: block; margin-bottom: .25rem; }
.nav__loc { display: inline-flex; align-items: center; gap: .25rem; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-weight: 800; font-family: var(--display); background: linear-gradient(135deg, var(--brand-2), var(--brand)); padding: .18rem .5rem .18rem .38rem; border-radius: 999px; box-shadow: 0 2px 6px rgba(216,8,16,.28); }
.nav__loc svg { width: 12px; height: 12px; }
.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.nav__links > li { position: relative; }
.nav__links a { color: var(--text); font-weight: 600; font-size: .95rem; padding: .6rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem; }
.nav__links a:hover { color: var(--brand-ink); background: var(--paper-3); text-decoration: none; }
.nav__dd { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); }
.nav__links > li:hover .nav__dd, .nav__links > li:focus-within .nav__dd { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dd a { display: block; padding: .6rem .8rem; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__tel { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.02rem; display: inline-flex; align-items: center; gap: .45rem; }
.nav__tel:hover { color: var(--brand-ink); text-decoration: none; }
.nav__burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; z-index: 60; transform: translateX(100%); transition: transform .32s var(--ease); box-shadow: var(--shadow-lg); overflow-y: auto; padding: 1.5rem; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__scrim { position: fixed; inset: 0; background: rgba(10,14,20,.5); z-index: 59; opacity: 0; visibility: hidden; transition: .3s; }
.mobile-nav__scrim.open { opacity: 1; visibility: visible; }
.mobile-nav h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mist); margin: 1.2rem 0 .3rem; }
.mobile-nav a { display: block; padding: .7rem .2rem; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--paper-3); }
.mobile-nav .btn { margin-top: 1rem; }
.mobile-nav__close { float: right; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10,14,20,.92) 0%, rgba(12,17,24,.78) 42%, rgba(12,17,24,.42) 100%); }
.hero__inner { padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); max-width: 42rem; }
.hero__inner .eyebrow { color: var(--brand-2); }
.hero__inner .eyebrow::before { background: var(--brand-2); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.3rem); margin: 1rem 0 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero h1 em { font-style: normal; color: var(--brand-2); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e6ebf1; max-width: 40ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero__trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.trust-badge { display: inline-flex; align-items: center; gap: .7rem; }
.trust-badge__g { width: 22px; height: 22px; flex-shrink: 0; }
.trust-badge b { color: #fff; font-family: var(--display); }
.trust-badge small { display: block; color: var(--text-inv-2); font-size: .82rem; }

/* Hero stat strip */
.hero__stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__stats div { }
.hero__stats b { font-family: var(--display); font-size: 1.5rem; color: #fff; display: block; }
.hero__stats small { color: var(--text-inv-2); font-size: .82rem; }

/* ============================================================================
   REVIEW MARQUEE
   ========================================================================== */
.marquee { background: var(--ink-2); color: #fff; padding: 1.1rem 0; overflow: hidden; position: relative; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__head { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: .9rem; font-size: .82rem; color: var(--text-inv-2); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.review-chip { flex: 0 0 auto; width: 340px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 1rem 1.15rem; }
.review-chip .stars { font-size: .9rem; }
.review-chip p { color: #e7ecf2; font-size: .92rem; margin: .4rem 0 .5rem; line-height: 1.5; }
.review-chip .who { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--text-inv-2); }
.review-chip .who b { color: #fff; font-family: var(--sans); }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

/* ============================================================================
   SERVICE CARDS
   ========================================================================== */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.svc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.svc-card::before { content:""; position:absolute; inset:0 0 auto 0; height:4px; background:linear-gradient(90deg,var(--brand),var(--brand-2)); transform: scaleX(0); transform-origin:left; transition: transform .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon { width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(140deg,#fde3e3,#f8caca); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 1rem; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: .4rem; }
.svc-card p { color: var(--text-2); font-size: .96rem; flex: 1; }
.svc-card__link { margin-top: 1rem; font-family: var(--display); font-weight: 700; color: var(--brand-ink); display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; }
.svc-card__link svg { transition: transform .2s; }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }
.svc-card--urgent { background: linear-gradient(160deg,#fff,#fff5f5); }

/* ============================================================================
   WHY / TRUST
   ========================================================================== */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.trust-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.trust-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1.25rem; }
.section--dark .trust-item { }
.trust-item__ic { color: var(--brand-2); width: 30px; height: 30px; margin-bottom: .6rem; }
.trust-item h4 { color: #fff; font-family: var(--display); font-size: 1.05rem; margin-bottom: .3rem; }
.trust-item p { color: var(--text-inv-2); font-size: .9rem; }

/* stat counters */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat b { font-family: var(--display); font-size: clamp(2rem,4vw,2.9rem); color: var(--brand-2); display: block; letter-spacing: -.03em; }
.stat span { font-size: .9rem; color: var(--text-inv-2); }
.section:not(.section--dark) .stat b { color: var(--brand); }
.section:not(.section--dark) .stat span { color: var(--text-2); }

/* ============================================================================
   GALLERY / PROJECTS
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; grid-auto-rows: 240px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--ink-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item.tall { grid-row: span 2; }
.gallery__item.wide { grid-column: span 2; }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem .9rem; background: linear-gradient(transparent, rgba(10,14,20,.85)); color: #fff; font-family: var(--display); font-weight: 700; font-size: .95rem; transform: translateY(6px); opacity: .92; transition: .3s; }
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }
.gallery__tag { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); font-weight: 800; }

/* Before / After slider */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; user-select: none; aspect-ratio: 16/10; box-shadow: var(--shadow); background:#0e1218; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__label { position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 800; font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; background: rgba(10,14,20,.7); color: #fff; backdrop-filter: blur(4px); }
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba__range { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos,50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba__handle::after { content: "⟺"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: #fff; color: var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow); }

/* ============================================================================
   REVIEWS SECTION
   ========================================================================== */
.rev-grid { columns: 3; column-gap: 1.3rem; }
.rev-card { break-inside: avoid; margin-bottom: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.rev-card .stars { margin-bottom: .6rem; }
.rev-card p { color: var(--text); font-size: 1rem; margin-bottom: 1rem; }
.rev-card__who { display: flex; align-items: center; gap: .7rem; }
.rev-card__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand-ink)); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.rev-card__who b { display: block; font-family: var(--sans); font-size: .95rem; }
.rev-card__who small { color: var(--mist); font-size: .8rem; display: inline-flex; align-items: center; gap: .3rem; }
.rev-card__g { width: 14px; height: 14px; }

/* ============================================================================
   TEAM
   ========================================================================== */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 1.5rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__photo { position: relative; aspect-ratio: 4/3; background: linear-gradient(140deg, var(--ink-2), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.team-card__avatar { font-family: var(--display); font-weight: 800; font-size: 3rem; color: #fff; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand-ink)); display: grid; place-items: center; box-shadow: var(--shadow); }
.team-card h3 { margin: 1.1rem 1rem .2rem; }
.team-card__role { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .7rem; }
.team-card p { color: var(--text-2); font-size: .94rem; padding: 0 1.5rem; }

/* ============================================================================
   PROCESS
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; counter-reset: step; }
.process__step { position: relative; padding-top: 1rem; }
.process__num { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; display: grid; place-items: center; margin-bottom: .9rem; font-size: 1.15rem; box-shadow: 0 6px 16px rgba(216,8,16,.3); }
.process__step h4 { font-family: var(--display); font-size: 1.02rem; margin-bottom: .3rem; }
.process__step p { font-size: .9rem; color: var(--text-2); }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 46px; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg,var(--line) 0 6px, transparent 6px 12px); }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.25rem 3rem 1.25rem 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); cursor: pointer; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--brand); transition: transform .25s; font-weight: 400; }
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq__a p { padding: 0 0 1.3rem; color: var(--text-2); }

/* ============================================================================
   CTA BANNER
   ========================================================================== */
.cta-band { background: linear-gradient(135deg, var(--brand-ink), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem,5vw,3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E"); opacity:.6; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #ffe0e0; max-width: 50ch; margin: 0 auto 1.6rem; }
.cta-band__btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   FORMS
   ========================================================================== */
.estimate { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; background: var(--paper-2); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: var(--ring); background: #fff; outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--mist); margin-top: .8rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--go); margin: 0 auto 1rem; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--text-inv-2); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer a { color: var(--text-inv-2); display: block; padding: .28rem 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer__brand img { height: 42px; margin-bottom: 1rem; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer__nap { margin-top: 1rem; font-size: .92rem; line-height: 1.8; }
.footer__nap a { display: inline; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer__social a:hover { background: var(--brand); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .82rem; flex-wrap: wrap; }

/* ============================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.mcta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
.mcta a { padding: 1rem; text-align: center; font-family: var(--display); font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: 1rem; }
.mcta a:hover { text-decoration: none; }
.mcta__call { background: var(--go); }
.mcta__quote { background: var(--brand); }

/* ============================================================================
   BREADCRUMB / PAGE HERO
   ========================================================================== */
.pagehero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,14,20,.93), rgba(12,17,24,.6)); }
.pagehero__inner { padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(2rem,4vw,3rem); max-width: 44rem; }
.pagehero h1 { color: #fff; font-size: clamp(2rem,5vw,3.3rem); margin: .5rem 0 .8rem; }
.pagehero p { color: #e6ebf1; font-size: 1.1rem; max-width: 46ch; }
.crumb { font-size: .85rem; color: var(--text-inv-2); }
.crumb a { color: var(--text-inv-2); }
.crumb a:hover { color: #fff; }

/* content blocks for service/interior pages */
.prose { max-width: 46rem; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1rem; color: var(--text-2); }
.prose ul { margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; color: var(--text-2); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 22px; height: 22px; border-radius: 50%; background: var(--go); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; }
.sidebar__card h4 { font-family: var(--display); margin-bottom: .8rem; }

.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.related a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; font-family: var(--display); font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; transition: .2s; }
.related a:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; transform: translateX(3px); }

.info-card { display:flex; gap: 1rem; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem; }
.info-card svg { width: 26px; height: 26px; color: var(--brand); flex-shrink:0; margin-top:.15rem; }
.info-card b { font-family: var(--display); display:block; }
.info-card span { color: var(--text-2); font-size:.95rem; }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); }

.note-flag { background: #fff7ed; border: 1px solid #fcd9a8; border-left: 4px solid var(--gold); border-radius: 10px; padding: 1rem 1.2rem; font-size: .9rem; color: #7a5a1a; }

/* ============================================================================
   SCROLL REVEAL
   ========================================================================== */
/* Content is visible by default; only the .js gate hides it for the reveal animation,
   so no-JS visitors and crawlers always see everything. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .rev-grid { columns: 2; }
  .process { grid-template-columns: repeat(2,1fr); }
  .process__step::after { display: none; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav__links, .nav__tel span { display: none; }
  .nav__burger { display: block; }
  .topbar__areas { display: none; }
  .why, .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .mcta { display: grid; }
  body { padding-bottom: 58px; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .rev-grid { columns: 1; }
  .field--row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .topbar__contact .topbar__hours { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
