/* ============================================================
   3DCON LLC — Best Remodelers in Brandon
   Professional, conversion-focused stylesheet
   ============================================================ */

:root {
  --navy: #0f2440;
  --navy-800: #16324f;
  --navy-700: #1e4166;
  /* Brand gradient pulled from the logo: gold → coral */
  --gold: #ecbb7c;
  --coral: #ef8a6a;
  --amber: #eda45f;        /* mid-tone solid accent */
  --amber-dark: #bf7526;   /* darker warm tone for text on light bg */
  --grad-brand: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  --ink: #17222e;
  --slate: #55636f;
  --muted: #7a8794;
  --line: #e6ebf0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef3f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 36, 56, 0.06);
  --shadow: 0 10px 30px rgba(15, 36, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 36, 56, 0.18);
  --maxw: 1160px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 800; }

a { color: inherit; text-decoration: none; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--amber); }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.2rem; }

.lead { font-size: 1.08rem; color: var(--slate); }
.lead.emphasis { color: var(--navy); font-weight: 600; margin-top: 18px; }

.section-head { margin-bottom: 48px; }
.section-head .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: var(--navy); box-shadow: 0 8px 20px rgba(239, 138, 106, 0.38); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(239, 138, 106, 0.5); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 36, 64, 0.16);
}
.brand-fallback {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.brand-llc { color: var(--amber); font-size: 0.7em; }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 0.96rem; color: var(--slate); transition: color 0.15s; }
.main-nav a:hover { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.phone-link svg { color: var(--amber-dark); }
.phone-link:hover { color: var(--amber-dark); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.25s; }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 12px 0; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border: none; margin-top: 10px; }
.mobile-menu .mobile-phone { color: var(--amber-dark); }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(245,166,35,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 18px 0 20px; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 540px; }

.trust-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
}
.trust-pill .stars { color: var(--amber); letter-spacing: 2px; }

.hero-actions { display: flex; gap: 14px; margin: 30px 0 24px; flex-wrap: wrap; }

.hero-badges { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges li { font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.92); }

/* Hero form card */
.hero-card { position: relative; }
.quote-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s, background 0.15s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: none; border-color: var(--amber); background: var(--white); }
.quote-form textarea { resize: vertical; }
.form-fineprint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-800); color: var(--white); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.trust-stat { text-align: center; }
.trust-stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--amber); }
.trust-stat span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ---------- Problem ---------- */
.problem { background: var(--bg); }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.pain-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

/* ---------- Agitate ---------- */
.agitate { background: var(--bg-tint); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(245,166,35,0.5); }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: 0.98rem; }
.service-card a { color: var(--amber-dark); font-weight: 600; }

/* ---------- Portfolio / Gallery ---------- */
.portfolio { background: var(--bg); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--slate);
  border: 1.5px solid var(--line); transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--amber); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-sm); aspect-ratio: 4 / 3;
  cursor: pointer; box-shadow: var(--shadow-sm); background: var(--bg-tint);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item::after {
  content: "🔍"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(15, 36, 64, 0.45); opacity: 0; transition: opacity 0.2s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hide { display: none; }
.gallery-cta { margin-top: 36px; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.gallery-cta a { color: var(--amber-dark); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9, 20, 36, 0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff;
  border: none; cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.15s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--amber); color: var(--navy); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.why-icon { font-size: 1.8rem; margin-bottom: 12px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--slate); font-size: 0.96rem; }

/* ---------- Realtors ---------- */
.realtors {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: var(--white);
}
.realtors-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.realtors h2 { color: var(--white); }
.realtors .lead { color: rgba(255,255,255,0.82); }
.check-list { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 500; color: rgba(255,255,255,0.95); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--grad-brand); color: var(--navy);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800;
}
.realtors-highlight { display: grid; gap: 16px; }
.highlight-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.highlight-stat strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--amber); margin-bottom: 4px; }
.highlight-stat span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 20px; position: relative; }
.step-num {
  width: 58px; height: 58px; margin: 0 auto 18px;
  background: var(--grad-brand); color: var(--navy);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 8px 18px rgba(239,138,106,0.4);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--slate); }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { color: var(--ink); font-size: 1rem; margin-bottom: 16px; font-style: italic; }
.review-card footer { font-weight: 700; color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }

/* ---------- Quote / Contact ---------- */
.quote-section { background: linear-gradient(160deg, var(--navy-800), var(--navy)); color: var(--white); }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-copy h2 { color: var(--white); }
.quote-copy .lead { color: rgba(255,255,255,0.82); }
.contact-lines { display: grid; gap: 18px; margin-top: 30px; }
.contact-line { display: flex; align-items: center; gap: 16px; color: var(--white); }
.contact-icon { font-size: 1.5rem; width: 30px; text-align: center; }
.contact-line strong { font-family: var(--font-head); font-size: 1.1rem; }
.contact-line span { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.4; }
.contact-line strong { color: var(--white); }
a.contact-line:hover strong { color: var(--amber); }
.quote-form.large { padding: 34px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--grad-brand); color: var(--navy); padding: 64px 0; text-align: center; }
.final-cta h2 { color: var(--navy); }
.final-cta p { font-size: 1.15rem; margin: 8px 0 26px; font-weight: 500; }
.final-cta .btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(15,36,56,0.3); }
.final-cta .btn-primary:hover { background: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-logo-img { height: 72px; width: auto; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.94rem; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; padding: 5px 0; color: rgba(255,255,255,0.7); font-size: 0.94rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }

/* ---------- Sticky mobile call ---------- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--amber);
  color: var(--navy);
  text-align: center;
  padding: 15px;
  font-family: var(--font-head);
  font-weight: 800;
  z-index: 60;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.site-header .header-inner { transition: height 0.25s ease; }
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(15, 36, 64, 0.09); }
.site-header.scrolled .header-inner { height: 60px; }
.site-header.scrolled .brand-logo { height: 44px; }

/* Nav underline slide on hover */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  height: 2px; width: 0; background: var(--grad-brand);
  border-radius: 2px; transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

/* Hero drifting glow */
.hero-inner { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -15%; right: -5%; width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(239, 138, 106, 0.16), transparent 62%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal — single elements */
  [data-reveal] {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.6s cubic-bezier(0.22,0.61,0.36,1),
                transform 0.6s cubic-bezier(0.22,0.61,0.36,1);
  }
  [data-reveal].revealed { opacity: 1; transform: none; }

  /* Scroll reveal — staggered groups */
  [data-reveal-group] > * {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.55s cubic-bezier(0.22,0.61,0.36,1),
                transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
  }
  [data-reveal-group].revealed > * { opacity: 1; transform: none; }
  [data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0s; }
  [data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.08s; }
  [data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.16s; }
  [data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.24s; }
  [data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.32s; }
  [data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.40s; }
  [data-reveal-group].revealed > *:nth-child(7) { transition-delay: 0.48s; }
  [data-reveal-group].revealed > *:nth-child(8) { transition-delay: 0.56s; }

  /* Hero entrance on load */
  .hero-copy > * { animation: heroIn 0.7s cubic-bezier(0.22,0.61,0.36,1) both; }
  .hero-copy .trust-pill { animation-delay: 0.05s; }
  .hero-copy h1 { animation-delay: 0.18s; }
  .hero-copy .hero-sub { animation-delay: 0.30s; }
  .hero-copy .hero-actions { animation-delay: 0.42s; }
  .hero-copy .hero-badges { animation-delay: 0.54s; }
  .hero-card { animation: heroCardIn 0.8s cubic-bezier(0.22,0.61,0.36,1) 0.5s both; }
  .hero::before { animation: heroGlow 9s ease-in-out infinite alternate; }
}

@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroCardIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes heroGlow { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }

/* Hover micro-interactions */
.service-icon { transition: transform 0.25s ease; }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-6deg); }
.why-icon { transition: transform 0.25s ease; }
.why-item:hover .why-icon { transform: scale(1.14); }
.pain-item { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pain-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Quote form focus glow */
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 138, 106, 0.18);
}

/* Gallery filter pop + lightbox zoom */
.gallery-item.pop { animation: galleryPop 0.4s ease both; }
@keyframes galleryPop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
.lightbox.open .lightbox-img { animation: lbZoom 0.32s cubic-bezier(0.22,0.61,0.36,1); }
@keyframes lbZoom { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* Agitate underline sweep */
.agitate .lead.emphasis {
  display: inline-block;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 0% 2px;
  padding-bottom: 5px;
}
.agitate [data-reveal-group].revealed .lead.emphasis { background-size: 100% 2px; }

/* Reviews star shimmer */
.review-card .stars {
  background: linear-gradient(90deg, var(--amber) 0%, #ffe6b0 50%, var(--amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Process connecting line + number pop */
.process .steps { position: relative; }
.step { position: relative; z-index: 1; }
@media (min-width: 721px) {
  .process .steps::before {
    content: ""; position: absolute; top: 28px; left: 17%; right: 17%; height: 3px;
    background: var(--line); transform: scaleX(0); transform-origin: left; z-index: 0;
  }
  .process .steps.revealed::before { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .agitate .lead.emphasis { transition: background-size 0.7s ease 0.4s; }
  @media (min-width: 721px) {
    .process .steps::before { transition: transform 0.8s ease 0.25s; }
    .process .steps.revealed .step-num { animation: pop 0.6s ease both; }
  }
  .reviews-grid.revealed .review-card .stars { animation: shimmer 2.2s linear 0.3s 2; }
  .final-cta .btn-primary { animation: ctaPulse 2.4s ease-in-out infinite; }
}
@keyframes pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: 200% center; } to { background-position: -200% center; } }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(15,36,56,0.28); }
  50% { box-shadow: 0 12px 34px rgba(15,36,56,0.5); }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .realtors-inner, .quote-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .why-grid, .reviews-grid, .steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .services-grid, .why-grid, .reviews-grid, .steps, .pain-grid,
  .trust-bar-inner, .field-row, .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-bar-inner { gap: 22px; }
  .hero { padding: 48px 0 60px; }
  .hero-actions .btn { width: 100%; }
  .sticky-call { display: block; }
  body { padding-bottom: 56px; }
  .footer-bottom .container { flex-direction: column; }
}

/* ============================================================
   SUBPAGES (service + area + content pages)
   ============================================================ */
.subpage-hero {
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 120px 0 64px;
}
.subpage-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.subpage-hero p { color: #d8e2ec; font-size: 1.12rem; max-width: 640px; }
.subpage-hero .btn { margin-top: 26px; }

.breadcrumbs { font-size: 0.85rem; color: #9fb2c4; margin-bottom: 20px; }
.breadcrumbs a { color: #cdd9e5; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 6px; opacity: 0.6; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 8px; }
.prose h3 { font-size: 1.3rem; margin: 34px 0 10px; color: var(--navy-800); }
.prose p { margin-bottom: 16px; color: var(--slate); }
.prose ul { margin: 0 0 18px 20px; color: var(--slate); }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.info-card p { color: var(--slate); font-size: 0.96rem; margin: 0; }

.related { background: var(--bg-soft); border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.related-grid a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-weight: 600; color: var(--navy); font-family: var(--font-head);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.related-grid a:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--amber); }
.related-grid a span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.faq-block { max-width: 780px; margin-top: 10px; }
.faq-block details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq-block summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block details p { color: var(--slate); padding-bottom: 18px; margin: 0; }

.cta-band { background: var(--grad-brand); text-align: center; padding: 60px 0; }
.cta-band h2 { color: var(--navy); }
.cta-band p { color: var(--navy-800); margin-bottom: 22px; }

.subpage-map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }

/* Photo slots (drop real client/area photos in later) */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 24px 0; }
.photo-slot { aspect-ratio: 4/3; border: 2px dashed #cdd8e3; border-radius: var(--radius); background: var(--bg-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 0.82rem; padding: 12px; font-family: var(--font-head); gap: 6px; }
.photo-slot .cam { font-size: 1.5rem; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 2px); }

/* Real project photos in area/service pages */
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.photo-cap { text-align: center; color: var(--muted); font-family: var(--font-head); font-weight: 600; margin: 0 0 12px; font-size: 0.95rem; }

/* Get-a-Quote / Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-info h3 { font-size: 1.12rem; margin: 0 0 4px; }
.contact-info p { color: var(--slate); margin: 0 0 18px; }
.contact-info a { color: var(--amber-dark); font-weight: 600; }
.contact-info .big { font-size: 1.35rem; font-family: var(--font-head); font-weight: 800; color: var(--navy); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Hero H2 — prominent services line */
.hero-services { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.45rem); color: var(--amber-dark); margin: 8px 0 16px; line-height: 1.3; }
