/* ==========================================================
   Grand Entry Door Refinishing — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Header  5. Hero + door
   6. Values  7. Problem  8. Process demo  9. Changes
   10. Journey  11. About  12. Reviews  13. FAQ  14. Quote
   15. Footer  16. Animations  17. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (logo: white harp + pale gold, mahogany doors) ---------- */
:root {
  /* Official site colors */
  --forest: #25442C;         /* site dark green (header/blocks) */
  --forest-deep: #1B3321;
  --green: #2A533C;          /* site heading green */
  --green-bright: #097434;   /* site button green */
  --gold: #E7E089;           /* logo gold */
  --gold-soft: #F5F0C1;      /* logo light gold */
  --cream: #F4F3EF;          /* site background */
  --sand: #EDEBE6;           /* site section tint */
  --stone: #E3E0D9;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --ink: #1F2124;
  --text: #333333;           /* site body text */
  --muted: #6F6F6A;
  --line: rgba(31, 33, 36, .12);
  --line-light: rgba(255, 255, 255, .14);

  /* aliases used through the stylesheet */
  --espresso: var(--forest-deep);
  --walnut: var(--forest);
  --walnut-2: var(--green);
  --mahogany: var(--green-bright);

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;   /* client's font */

  --container: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -32px rgba(27, 51, 33, .5);
  --wood: repeating-linear-gradient(92deg, #7E3318 0 3px, #8E3D1D 3px 9px, #9A4622 9px 12px, #83361A 12px 19px, #95421F 19px 24px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 16.5px; line-height: 1.8; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--green-bright); }
strong, b { font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mahogany); }
.kicker .rule { width: 34px; height: 1px; background: currentColor; }
.kicker-light { color: var(--gold); }
.section-title { font-size: clamp(32px, 4.2vw, 54px); }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { margin-top: 20px; font-size: 18.5px; color: var(--ink); font-weight: 400; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: color .4s var(--ease), border-color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold::before { background: var(--gold-soft); }
.btn-line { color: var(--cream); border-color: rgba(244, 243, 239, .35); }
.btn-line::before { background: var(--cream); }
.btn-line:hover { color: var(--espresso); }
.btn-dark { background: var(--walnut); color: var(--cream); }
.btn-outline { color: var(--forest); border-color: rgba(37, 68, 44, .35); }
.btn-outline::before { background: var(--forest); }
.btn-outline:hover { color: var(--cream); }
.btn-green { background: var(--green-bright); color: var(--white); }
.btn-green::before { background: var(--forest); }
.btn-dark::before { background: var(--mahogany); }
.btn-lg { padding: 17px 30px; }
.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 4. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--espresso); border-bottom: 1px solid var(--line-light); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 72px; }
/* The logo file is a square canvas; the frame shows just the horizontal lock-up */
.logo { display: block; width: 230px; height: 54px; overflow: hidden; flex-shrink: 0; }
.logo img { width: 230px; height: 230px; max-width: none; margin-top: -90px; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a:not(.btn) { position: relative; font-size: 14px; font-weight: 400; letter-spacing: .08em; color: rgba(244, 243, 239, .78); padding: 6px 0; transition: color .3s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--gold); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.h-phone { display: flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 400; font-size: 15px; }
.h-phone .icon { color: var(--gold); }
.h-phone:hover { color: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-light); background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: var(--sand); }
.hero::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(37, 68, 44, .12); box-shadow: 0 0 0 40px rgba(37, 68, 44, .03), 0 0 0 80px rgba(37, 68, 44, .02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-title { font-family: var(--display); color: var(--forest); font-size: clamp(46px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-family: var(--serif); color: var(--green); }
.hero-text { max-width: 540px; font-size: 18px; margin-bottom: 34px; color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.hero-note .icon { color: var(--green); }

.hero-visual { position: relative; width: min(100%, 460px); justify-self: center; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 6px 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(29, 53, 35, .6); }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .22); pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-visual::before { content: ""; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--gold); border-radius: 250px 250px 6px 6px; z-index: -1; }
.seal { position: absolute; right: -34px; top: 40px; width: 118px; height: 118px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow); }
.seal svg:first-child { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.seal text { font-family: var(--sans); font-size: 9.6px; font-weight: 500; letter-spacing: 1.4px; fill: var(--gold-soft); }
.seal > .icon { width: 30px; height: 30px; }
.h-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); }
.h-card small { display: block; font-size: 12.5px; color: var(--muted); }
.h-card b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; line-height: 1.3; }
.h-google { left: -54px; top: 48%; animation: bob 6s ease-in-out infinite; }
.h-google .g { width: 30px; height: 30px; }
.h-google .g-row b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.h-days { right: -26px; bottom: 34px; animation: bob 7s ease-in-out 1s infinite; }
.hd-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); }
.stars { color: #E2A72E; letter-spacing: 2px; font-size: 15px; line-height: 1; }

/* ---------- 6. Values strip ---------- */
.values { background: var(--gold); color: var(--espresso); }
.values-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding-top: 18px; padding-bottom: 18px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.values i { width: 6px; height: 6px; background: var(--espresso); transform: rotate(45deg); }

/* ---------- 7. Problem: coated vs refinished ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.cmp { padding: 34px 32px; border-radius: 4px; }
.cmp h3 { display: flex; align-items: center; gap: 14px; font-size: 26px; margin-bottom: 22px; }
.cmp li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); }
.cmp li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; }
.cmp-bad { background: var(--sand); color: #7C7268; }
.cmp-bad h3 { color: #6E655C; }
.cmp-bad li { text-decoration: line-through; text-decoration-color: rgba(124, 114, 104, .35); }
.cmp-bad li::before { background: #B4A99C; }
.cmp-good { background: var(--paper); box-shadow: var(--shadow); border-top: 4px solid var(--mahogany); }
.cmp-good li { color: var(--ink); font-weight: 400; }
.cmp-good li::before { background: var(--mahogany); }
.badge-x, .badge-check { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.badge-x { background: var(--stone); color: #7C7268; }
.badge-check { background: var(--green-bright); color: var(--white); }
.cmp-vs { align-self: center; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--espresso); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 22px; }

/* ---------- 8. Process + interactive refinish demo ---------- */
.process { background: var(--walnut); color: rgba(244, 243, 239, .72); }
.process .section-title { color: var(--cream); margin-bottom: 16px; }
.process .section-title em { color: var(--gold); }
.process-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.steps { margin-top: 34px; display: grid; gap: 4px; }
.step { display: flex; gap: 18px; padding: 16px 18px; border-left: 2px solid var(--line-light); cursor: pointer; transition: background .4s, border-color .4s; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(231, 224, 137, .45); transition: color .4s; }
.step h3 { color: var(--cream); font-size: 20px; margin-bottom: 4px; }
.step p { font-size: 15px; line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.step.is-on { background: rgba(255, 255, 255, .05); border-left-color: var(--gold); }
.step.is-on .n { color: var(--gold); }
.step.is-on p { max-height: 120px; opacity: 1; }

.workbench { padding: 30px; background: var(--espresso); border: 1px solid var(--line-light); border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.wb-label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.wb-label span { font-family: var(--serif); font-size: 28px; color: var(--cream); }
.wb-label small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.panel-demo { --p: 0; position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: 2px; background: #ddd; }
.pd-door { position: absolute; inset: 0; background: var(--wood); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10%; padding: 10%;
  filter: grayscale(calc(1 - var(--p))) brightness(calc(1.45 - var(--p) * .5)) contrast(calc(.7 + var(--p) * .45)) saturate(calc(.6 + var(--p) * .6)); }
.pd-door::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 30% at 30% 25%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(35% 25% at 70% 65%, rgba(255, 255, 255, .45), transparent 70%), radial-gradient(25% 20% at 25% 80%, rgba(80, 70, 60, .35), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 7px);
  opacity: calc(1 - var(--p) * 2.2); }
.pd-panel { background: var(--wood); box-shadow: inset 4px 4px 0 rgba(0, 0, 0, .28), inset -3px -3px 0 rgba(255, 210, 160, .16); }
.pd-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .28) 42%, transparent 58%); opacity: calc((var(--p) - .78) * 4.5); transform: translateX(calc((1 - var(--p)) * 60%)); pointer-events: none; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 24px 0 10px; border-radius: 6px; background: linear-gradient(90deg, #9C948A, #C7A27A, var(--mahogany), var(--gold)); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 4px solid var(--espresso); box-shadow: 0 0 0 2px var(--gold); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--espresso); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(231, 224, 137, .5); }
.wb-scale { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 243, 239, .5); }
.wb-note { margin-top: 12px; font-size: 12px; color: rgba(244, 243, 239, .35); text-align: right; font-style: italic; }

/* ---------- 9. What changes ---------- */
.changes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.changes-media { position: relative; }
.changes-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 4px 4px; box-shadow: var(--shadow); }
.pull { position: absolute; right: -30px; bottom: 40px; max-width: 270px; margin: 0; padding: 22px 24px; background: var(--espresso); color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; box-shadow: var(--shadow); }
.changes-copy .section-title { margin-bottom: 30px; }
.change-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.change-list li:last-child { border-bottom: 1px solid var(--line); }
.change-list b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); line-height: 1.3; }

/* ---------- 10. Journey timeline ---------- */
.journey { background: var(--paper); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 1px; background: linear-gradient(90deg, var(--mahogany), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.timeline:has(li.is-visible)::before, .timeline.is-drawn::before { transform: scaleX(1); }
html:not(.js-reveal) .timeline::before { transform: scaleX(1); }
.timeline li { position: relative; text-align: center; }
.t-ico { position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--mahogany); color: var(--mahogany); transition: background .4s, color .4s, transform .5s var(--ease); }
.timeline li:hover .t-ico { background: var(--mahogany); color: var(--paper); transform: translateY(-6px); }
.timeline h3 { font-size: 22px; margin-bottom: 6px; }
.timeline p { font-size: 14.5px; line-height: 1.65; }

/* ---------- 11. About our work ---------- */
.about { background: var(--espresso); color: rgba(244, 243, 239, .7); position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; right: -10%; top: -20%; width: 45%; height: 140%; background: var(--wood); opacity: .12; transform: rotate(8deg); }
.about-inner { position: relative; max-width: 980px; }
.about-big { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.4; color: var(--cream); margin-bottom: 36px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.link-gold { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); border-bottom: 1px solid currentColor; padding-bottom: 4px; letter-spacing: .04em; }
.link-gold .icon { transition: transform .3s var(--ease); }
.link-gold:hover .icon { transform: translateX(4px); }

/* ---------- 12. Reviews ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.reviews-head .section-title { max-width: 680px; }
.g-badge { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transition: transform .3s var(--ease), box-shadow .3s; }
.g-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.g-logo { width: 36px; height: 36px; }
.g-row { display: flex; align-items: center; gap: 8px; }
.g-row b { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--ink); line-height: 1; }
.g-badge small { font-size: 13px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; align-items: stretch; }
.review { display: flex; flex-direction: column; padding: 30px 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transition: transform .5s var(--ease), box-shadow .5s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review blockquote { margin: 16px 0 24px; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink); }
.review-lg { background: var(--walnut); border-color: var(--walnut); }
.review-lg blockquote { color: var(--cream); font-size: 19px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-lg footer { border-top-color: var(--line-light); }
.r-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mahogany); color: var(--cream); font-family: var(--serif); font-size: 18px; flex-shrink: 0; }
.review-lg .r-av { background: var(--gold); color: var(--espresso); }
.review footer b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.review-lg footer b { color: var(--cream); }
.review footer small { font-size: 13px; color: var(--muted); }
.r-g { width: 22px; height: 22px; margin-left: auto; }

/* ---------- 13. FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-grid .section-title { margin-bottom: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--serif); font-size: 20px; color: var(--ink); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--mahogany); }
.plus { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
.qa[open] .plus { transform: rotate(45deg); background: var(--mahogany); color: var(--paper); border-color: var(--mahogany); }
.qa p { padding: 0 50px 24px 0; animation: fadeUp .5s var(--ease); }

/* ---------- 14. Quote ---------- */
.quote { position: relative; overflow: hidden; background: var(--espresso); color: rgba(244, 243, 239, .72); padding: var(--section) 0; }
.quote::before { content: ""; position: absolute; left: -6%; bottom: -30%; width: 40%; height: 120%; background: var(--wood); opacity: .1; transform: rotate(-8deg); }
.quote-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quote h2 { color: var(--cream); font-family: var(--display); font-size: clamp(38px, 4.8vw, 62px); margin-bottom: 18px; }
.quote h2 em { font-family: var(--serif); color: var(--gold); }
.big-phone { display: block; margin: 28px 0 12px; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); color: var(--gold); transition: color .3s; }
.big-phone:hover { color: var(--gold-soft); }
.q-mail, .q-area { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 15px; word-break: break-word; }
.q-mail .icon, .q-area .icon { color: var(--gold); }
.q-mail:hover { color: var(--cream); }
.quote-form { background: var(--paper); color: var(--text); padding: clamp(26px, 4vw, 40px); border-radius: 4px; display: grid; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border-top: 4px solid var(--gold); }
.quote-form h3 { font-size: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 22px 0 8px; outline: none; resize: vertical; border-radius: 0; transition: border-color .3s; }
.field span { position: absolute; left: 0; top: 22px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--mahogany); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mahogany); }
.upload { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed rgba(9, 116, 52, .45); border-radius: 4px; cursor: pointer; transition: background .3s, border-color .3s; }
.upload:hover { background: #EEF4EF; border-color: var(--mahogany); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #E2EEE5; color: var(--mahogany); }
.upload b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.upload small { font-size: 13px; color: var(--muted); }

/* ---------- 15. Footer ---------- */
.site-footer { background: #14261A; color: rgba(244, 243, 239, .6); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-light); }
.logo-lg { width: 260px; height: 62px; margin-bottom: 18px; }
.logo-lg img { width: 260px; height: 260px; margin-top: -102px; }
.footer-brand p { max-width: 380px; }
.site-footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { word-break: break-word; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; color: rgba(244, 243, 239, .4); }

.mobile-call { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--gold); color: var(--espresso); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); transform: translateY(150%); transition: transform .45s var(--ease); }
.show-call .mobile-call { transform: none; }

/* ---------- 16. Animations ---------- */
@keyframes rise     { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes mediaIn  { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes archIn   { from { clip-path: inset(100% 0 0 0 round 240px 240px 6px 6px); } to { clip-path: inset(0 0 0 0 round 240px 240px 6px 6px); } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes bob      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.is-loaded .hero-title .line > span { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .anim-media { animation: mediaIn 1s var(--ease) var(--d, 0s) both; }
/* Arch photo reveals upward, like a door being unveiled */
.is-loaded .arch { animation: archIn 1.5s cubic-bezier(.7, 0, .2, 1) .4s both; }

.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 24px; }
  .h-phone span { display: none; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review-lg { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .h-phone span { display: inline; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--espresso);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 30px; letter-spacing: 0; }
  .nav-cta { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }

  .hero-grid, .process-grid, .changes-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(82%, 420px); margin-top: 30px; }
  .hero::before { display: none; }
  .compare { grid-template-columns: 1fr; }
  .cmp-vs { justify-self: center; }
  .workbench { max-width: 520px; }
  .changes-media { max-width: 480px; }
  .about-cols { grid-template-columns: 1fr; gap: 16px; }
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner, .is-scrolled .header-inner { height: 70px; }
  .logo { width: 180px; height: 42px; }
  .logo img { width: 180px; height: 180px; margin-top: -70px; }
  .h-phone span { display: none; }
  .hero-title { font-size: clamp(42px, 12.4vw, 56px); }
  .hero-text { font-size: 16.5px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-visual { width: 80%; }
  .h-google { left: -22px; top: auto; bottom: 110px; }
  .h-days { right: -14px; bottom: 16px; padding: 10px 14px; }
  .seal { width: 92px; height: 92px; right: -14px; top: 14px; }
  .seal text { font-size: 9px; }
  .values-inner { font-size: 15px; gap: 8px 16px; }
  .cmp { padding: 26px 22px; }
  .cmp h3 { font-size: 22px; }
  .workbench { padding: 20px; }
  .wb-scale { font-size: 10px; letter-spacing: .04em; }
  .pull { right: 8px; left: 24px; bottom: -30px; max-width: none; font-size: 17px; }
  .changes-media { margin-bottom: 40px; }
  .change-list li { grid-template-columns: 1fr; gap: 6px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .g-badge { width: 100%; }
  .qa summary { font-size: 18px; }
  .qa p { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .logo-lg { width: 220px; height: 52px; }
  .logo-lg img { width: 220px; height: 220px; margin-top: -86px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
