/* ==========================================================================
   Kovacs Construction Ltd — Renovation Call Funnel
   styles.css — mobile-first, vanilla CSS
   Palette based on the Kovacs Construction brand:
   charcoal / near-black, warm bronze accent, soft off-white.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --charcoal:      #1b1b1b;   /* primary dark */
  --charcoal-2:    #272626;   /* secondary dark */
  --bronze:        #c29a5b;   /* warm accent */
  --bronze-dark:   #a9823f;   /* accent hover (~10% darker) */
  --offwhite:      #f5f1ea;   /* light section background */
  --white:         #ffffff;
  --ink:           #1a1a1a;   /* near-black body text */
  --muted:         #5c5750;   /* muted text */
  --line:          #e3ddd2;   /* hairline borders */
  --star:          #e7b53c;   /* review stars */

  --maxw:          1180px;
  --radius:        4px;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 60px 0; }              /* mobile */
.section--tight { padding: 48px 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--offwhite { background: var(--offwhite); }
.section__head { max-width: 640px; margin: 0 0 32px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bronze);
  margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--bronze); }
h2.section__title { font-size: 28px; }
.section__sub { font-size: 18px; color: var(--muted); max-width: 640px; }
.section--dark .section__sub { color: #cfc9bf; }
.lead { font-size: 18px; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--bronze);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 18px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover, .btn:focus { background: var(--bronze-dark); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.7);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.section--dark .btn-note { color: #cfc9bf; }
.hero .btn-note { color: #e8e2d6; }

/* Call link */
.calllink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.calllink svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  /* IMAGE PLACEHOLDER: replace the url() below with a real hero renovation
     photo from the client Dropbox. Keep the linear-gradient overlay for
     text contrast. */
  background:
    linear-gradient(rgba(20,19,18,.62), rgba(20,19,18,.72)),
    url("images/hero.jpg") center / cover no-repeat,
    var(--charcoal);
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 24px;
}
.hero .eyebrow { color: var(--bronze); }
.hero h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 18px;
}
.hero__sub {
  font-size: 18px;
  color: #ece7dd;
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero__cta { max-width: 420px; margin: 0 auto; }

/* Trust strip inside hero */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 34px auto 0;
  max-width: 640px;
  font-size: 14px;
  color: #ece7dd;
}
.trust-strip .ts-item { display: inline-flex; align-items: center; gap: 8px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.trust-strip strong { color: var(--white); }

/* ==========================================================================
   SOCIAL PROOF STRIP
   ========================================================================== */
.proofbar { background: var(--charcoal-2); color: var(--white); }
.proofbar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  padding: 40px 0;
  text-align: center;
}
.proofbar__stat .num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--bronze);
  display: block;
  line-height: 1.1;
}
.proofbar__stat .lbl { font-size: 14px; color: #d8d2c7; }
.proofbar__quote {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.proofbar__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--bronze);
  margin-top: 10px;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.pains {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pain {
  background: var(--white);
  padding: 26px 24px;
  border-bottom: 1px solid var(--line);
}
.pain:last-child { border-bottom: none; }
.pain h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.pain p { margin: 0; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   MECHANISM SECTION (image-led)
   ========================================================================== */
.mechanism { padding: 0; }
.mechanism__media {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  /* IMAGE PLACEHOLDER: replace with a wide project photo. */
  background:
    linear-gradient(rgba(20,19,18,.30), rgba(20,19,18,.82)),
    url("images/mechanism.jpg") center / cover no-repeat,
    var(--charcoal);
  color: var(--white);
}
.mechanism__content {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px;
}
.mechanism__content .eyebrow { color: var(--bronze); }
.mechanism__content h2 { color: var(--white); font-size: 28px; max-width: 620px; }
.mechanism__content > p { color: #e6e0d5; max-width: 620px; }
.diffs {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
}
.diffs li { padding-left: 30px; position: relative; color: #f0ebe1; font-size: 16px; }
.diffs li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
}
.diffs li strong { color: var(--white); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step__num {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--bronze);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-family: var(--font-body); font-size: 18px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   WHAT YOU GET
   ========================================================================== */
.getlist { list-style: none; padding: 0; margin: 0; max-width: 720px; }
.getlist li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 17px;
}
.getlist li:last-child { border-bottom: none; }
.getlist li::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--bronze);
  border-bottom: 2.5px solid var(--bronze);
  transform: rotate(-45deg);
}

/* ==========================================================================
   PROOF GALLERY
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.shot {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--charcoal-2);
  overflow: hidden;
}
/* IMAGE PLACEHOLDER blocks: each .shot expects a real project photo as a
   background-image. Replace the inline style / add classes with client photos
   from the Dropbox folder. Until then a labelled dark block is shown. */
.shot::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 12px, rgba(255,255,255,0) 12px 24px);
}
.shot.has-photo::before { content: none; }
.shot__cap {
  position: relative;
  width: 100%;
  padding: 20px 22px;
  background: linear-gradient(transparent, rgba(15,14,13,.9));
  font-size: 15px;
  font-weight: 600;
}
.shot__cap span { display: block; font-weight: 400; font-size: 13px; color: #d8d2c7; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.review {
  margin: 0;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.review__stars {
  color: var(--bronze);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 12px;
}
.review__text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: #f0ebe1;
  margin: 0 0 12px;
}
.review__who {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bronze);
  margin: 0;
}
.review__who span { color: #b7b1a6; font-weight: 400; }

@media (min-width: 800px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 44px 22px 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq__item.open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq__a-inner { padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   FORM SECTION
   ========================================================================== */
.formwrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.form-embed { width: 100%; }
.form-embed iframe {
  width: 100%;
  height: 874px;        /* concrete height so the form shows even before/without
                           GHL's auto-resize script runs */
  min-height: 720px;
  border: none;
  border-radius: var(--radius);
  display: block;
}
.form-placeholder {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--muted);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.finalcta { text-align: center; }
.finalcta h2 { color: var(--white); font-size: 30px; max-width: 640px; margin: 0 auto .4em; }
.finalcta p { color: #d8d2c7; max-width: 560px; margin: 0 auto 26px; }
.finalcta .btn { max-width: 420px; margin: 0 auto; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #141312; color: #b7b1a6; padding: 46px 0 32px; }
.footer__brand { font-family: var(--font-head); font-size: 22px; color: var(--white); margin: 0 0 6px; }
.footer__desc { font-size: 15px; max-width: 460px; margin: 0 0 20px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 18px; }
.footer__links a { color: #d8d2c7; text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--bronze); }
.footer__legal { font-size: 13px; color: #7c766c; }
.footer__phone { color: var(--bronze); text-decoration: none; font-weight: 600; }
.footer__social { margin: 0 0 18px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8d2c7;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.footer__social a:hover { color: var(--bronze); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20,19,18,.96);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(120%);
  transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 15px 16px; font-size: 16px; }
.sticky-cta .btn--call {
  flex: 0 0 54px;
  width: 54px;
  background: transparent;
  border: 1.5px solid var(--bronze);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-cta .btn--call svg { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   THANK-YOU PAGE
   ========================================================================== */
.ty-hero {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 80px 0 60px;
}
.ty-hero .check {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--bronze);
  display: flex; align-items: center; justify-content: center;
}
.ty-hero .check svg { width: 32px; height: 32px; fill: none; stroke: #1a1a1a; stroke-width: 3; }
.ty-hero h1 { color: var(--white); font-size: 32px; max-width: 720px; margin: 0 auto .3em; }
.ty-hero p { color: #d8d2c7; max-width: 560px; margin: 0 auto; font-size: 18px; }

.next-steps { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
.next-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.next-step__num {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--bronze);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.next-step h3 { font-family: var(--font-body); font-size: 17px; margin: 4px 0 6px; }
.next-step p { margin: 0; color: var(--muted); font-size: 16px; }

.ty-reinforce {
  background: var(--offwhite);
  text-align: center;
}
.ty-reinforce p { font-size: 20px; font-family: var(--font-head); max-width: 620px; margin: 0 auto 10px; }
.ty-help { font-size: 15px; color: var(--muted); }
.ty-help a { color: var(--bronze); font-weight: 600; text-decoration: none; }

/* ==========================================================================
   RESPONSIVE — tablet & desktop
   ========================================================================== */
@media (min-width: 700px) {
  .proofbar__grid { grid-template-columns: repeat(4, 1fr); }
  .proofbar__quote { grid-column: 1 / -1; }
  .pains { grid-template-columns: 1fr 1fr; gap: 0; }
  .pain { border-right: 1px solid var(--line); }
  .pain:nth-child(2n) { border-right: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn { width: auto; }
  .hero__cta .btn, .finalcta .btn, .formwrap + * .btn { width: 100%; }
}

@media (min-width: 992px) {
  body { font-size: 18px; }
  .section { padding: 100px 0; }
  .section--tight { padding: 80px 0; }
  h2.section__title { font-size: 40px; }
  .hero { min-height: 92vh; }
  .hero h1 { font-size: 56px; }
  .hero__sub { font-size: 20px; }
  .mechanism__content h2 { font-size: 40px; }
  .mechanism__media { min-height: 620px; }
  .mechanism__content { padding: 80px 24px; }
  .diffs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot { min-height: 440px; }
  .finalcta h2 { font-size: 40px; }
  .ty-hero h1 { font-size: 44px; }
  /* Sticky CTA is mobile-only */
  .sticky-cta { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
