/* ==========================================================================
   Sintons Projects — Renovation Funnel
   styles.css  |  Mobile-first (base = 390px), scaled up with min-width queries
   Palette + tone match sintonsprojects.co.uk: muted sage green, cream,
   taupe buttons, elegant serif type.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (sampled from sintonsprojects.co.uk) */
  --cream:      #f2efe6;   /* page background, light */
  --cream-2:    #e8e3d5;   /* alt light / cards */
  --sage:       #888b79;   /* signature mid sage */
  --sage-dark:  #6c6f5f;   /* dark sections / hero overlay base */
  --sage-darker:#4f5243;   /* footer */
  --taupe:      #6f6656;   /* CTA buttons */
  --taupe-dark: #5a5344;   /* CTA hover / links / labels */

  --text:       #3a3c31;   /* body text on cream */
  --heading:    #43463a;   /* headings on cream */
  --muted:      #63655a;   /* secondary text on cream */

  --stone:      #d8d1bd;   /* pale labels on dark */
  --gold:       #bda66a;   /* review stars only */
  --white:      #ffffff;

  --line:       rgba(58, 60, 49, 0.14);
  --line-light: rgba(255, 255, 255, 0.20);

  --font-head: Georgia, "Times New Roman", "Playfair Display", serif;
  --font-body: Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --readw: 640px;
  --radius: 4px;

  --pad-x: 24px;          /* min horizontal padding on mobile */
  --sec-y: 60px;          /* section padding, mobile */
}

/* ---------- Reset / base ---------- */
* { 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(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--heading);
}

p { margin: 0 0 1em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--sec-y) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 16px;
}

.section-head { max-width: var(--readw); }
.section-head h2 { font-size: 30px; }
.section-head .subline {
  color: var(--muted);
  font-size: 18px;
  font-style: italic;
  margin-bottom: 0;
}

.body-copy { max-width: var(--readw); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  background: var(--taupe);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  padding: 17px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  -webkit-appearance: none;
}
.btn:hover { background: var(--taupe-dark); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.btn-lg { padding: 19px 32px; font-size: 18px; }

.friction {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin: 14px 0 0;
}
.hero .friction { color: rgba(255, 255, 255, 0.85); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--sage-dark) center / cover no-repeat;
  background-image:
    linear-gradient(180deg, rgba(38,40,32,0.52) 0%, rgba(38,40,32,0.62) 55%, rgba(38,40,32,0.78) 100%),
    url("assets/sintons-kitchen-2.webp");
}
.hero__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px var(--pad-x);
  text-align: center;
}
.hero .eyebrow { color: var(--stone); }
.hero h1 {
  font-size: 38px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.hero__sub {
  font-size: 19px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto 28px;
}
.hero__cta { max-width: 420px; margin: 0 auto; }

.hero__trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.stars { color: var(--gold); letter-spacing: 1px; font-family: Arial, sans-serif; }

/* ---------- Social proof strip ---------- */
.proofstrip {
  background: var(--sage);
  color: #fff;
  padding: 40px 0;
}
.proofstrip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}
.proofstrip__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
}
.stat .num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.proofstrip__quote {
  border-left: 3px solid var(--cream-2);
  padding-left: 18px;
}
.proofstrip__quote p {
  font-size: 18px;
  font-style: italic;
  margin: 0 0 8px;
  color: #fff;
}
.proofstrip__quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 7px 11px;
}

/* ---------- Problem section (light) ---------- */
.problem { background: var(--cream-2); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pain {
  background: var(--cream);
  padding: 26px 24px;
}
.pain h3 { font-size: 19px; color: var(--heading); margin-bottom: 8px; }
.pain p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Mechanism (image-led) ---------- */
.mechanism { padding: 0; background: var(--cream); }
.mech-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--sage-dark) center / cover no-repeat;
  background-image:
    linear-gradient(180deg, rgba(38,40,32,0.12) 0%, rgba(38,40,32,0.52) 58%, rgba(38,40,32,0.86) 100%),
    url("assets/sintons-extensions-1.webp");
}
.mech-hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad-x);
}
.mech-hero .eyebrow { color: var(--stone); }
.mech-hero h2 { color: #fff; font-size: 30px; max-width: 620px; }
.mech-hero__sub {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  max-width: 560px;
  margin-bottom: 22px;
}
.mech-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
}
.mech-points li {
  padding-left: 26px;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
}
.mech-points li strong { color: #fff; }
.mech-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--cream-2);
  border-radius: 1px;
}

/* ---------- How it works (light) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--taupe);
  padding-top: 18px;
}
.step .n {
  counter-increment: step;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--taupe-dark);
  letter-spacing: 0.1em;
}
.step .n::before { content: "STEP " counter(step); }
.step h3 { font-size: 21px; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- What you get (dark sage) ---------- */
.get { background: var(--sage-dark); color: #fff; }
.get .eyebrow { color: var(--stone); }
.get h2 { color: #fff; font-size: 30px; }
.get-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.get-list li {
  position: relative;
  padding: 18px 20px 18px 54px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}
.get-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--cream-2);
  color: var(--taupe-dark);
  font-weight: 700;
  border-radius: 50%;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

/* ---------- Proof gallery ---------- */
.proof { background: var(--cream); }
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 34px;
}
.gallery figure {
  position: relative;
  margin: 0;
  min-height: 300px;
  overflow: hidden;
  background: var(--cream-2);
}
.gallery img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(30,31,25,0) 0%, rgba(30,31,25,0.78) 100%);
}
/* Testimonial overlaid on a project image (no grey card) */
.gallery figure.quote figcaption {
  padding: 28px 22px;
  background: rgba(44, 46, 38, 0.66);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}
.gallery figure.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream-2); }
.faq-list {
  margin-top: 30px;
  max-width: 780px;
  border-top: 1px solid var(--line);
}
.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-size: 19px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  position: relative;
  font-family: var(--font-head);
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  font-family: Arial, sans-serif;
  color: var(--taupe-dark);
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  max-width: var(--readw);
}
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Form section (dark sage) ---------- */
.formsec { background: var(--sage-dark); color: #fff; }
.formsec .eyebrow { color: var(--stone); }
.formsec h2 { color: #fff; font-size: 30px; }
.formsec .subline { color: rgba(255, 255, 255, 0.85); }
.formsec .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.form-wrap {
  margin: 28px auto 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  max-width: 720px;
}
.form-wrap iframe {
  width: 100%;
  /* Explicit pixel height — mobile Safari collapses iframes set to height:100%.
     GHL's form_embed.js resizes this to the real form height once loaded. */
  height: 900px;
  min-height: 820px;
  border: none;
  border-radius: 6px;
  display: block;
}
@media (min-width: 700px) {
  .form-wrap iframe { height: 820px; }
}
.form-embed-placeholder {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  border: 2px dashed var(--line);
  border-radius: 6px;
  padding: 40px;
}
.form-call {
  margin-top: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}
.form-call a { color: var(--stone); font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ---------- Final CTA ---------- */
.finalcta {
  position: relative;
  color: #fff;
  text-align: center;
  background: var(--sage-dark) center / cover no-repeat;
  background-image:
    linear-gradient(180deg, rgba(38,40,32,0.70) 0%, rgba(38,40,32,0.82) 100%),
    url("assets/sintons-bathroom-1.webp");
}
.finalcta .container { max-width: 640px; }
.finalcta .eyebrow { color: var(--stone); }
.finalcta h2 { color: #fff; font-size: 32px; }
.finalcta p { color: rgba(255, 255, 255, 0.9); font-style: italic; }
.finalcta .btn { max-width: 420px; margin: 10px auto 0; }
.finalcta .friction { color: rgba(255, 255, 255, 0.82); }

/* ---------- Footer ---------- */
.footer {
  background: var(--sage-darker);
  color: rgba(255, 255, 255, 0.78);
  padding: 44px 0 40px;
  font-size: 14px;
}
.footer__brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.footer__desc { margin: 8px 0 16px; max-width: 460px; }
.footer__links { display: flex; gap: 22px; margin-bottom: 16px; }
.footer__links a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__legal { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer__phone { color: var(--stone); text-decoration: none; font-weight: 700; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(44, 46, 38, 0.97);
  border-top: 1px solid var(--line-light);
  transform: translateY(120%);
  transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 14px; font-size: 16px; }
.sticky-cta .btn-call {
  flex: 0 0 54px;
  width: 54px;
  background: transparent;
  border: 1px solid var(--line-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.sticky-cta .btn-call:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Thank-you page ---------- */
.ty-hero {
  background: var(--sage-dark);
  color: #fff;
  text-align: center;
  padding: 80px 0 60px;
}
.ty-hero .check {
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--taupe-dark);
  font-size: 34px;
  line-height: 68px;
  font-family: Arial, sans-serif;
}
.ty-hero h1 { color: #fff; font-size: 32px; max-width: 720px; margin: 0 auto 14px; }
.ty-hero .subline { color: rgba(255,255,255,0.85); font-size: 18px; font-style: italic; max-width: 560px; margin: 0 auto; }

.ty-steps { background: var(--cream); }
.ty-step-list {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  counter-reset: tystep;
}
.ty-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--taupe);
  border-radius: var(--radius);
  padding: 22px 22px 22px 66px;
}
.ty-step::before {
  counter-increment: tystep;
  content: counter(tystep);
  position: absolute;
  left: 18px; top: 20px;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  background: var(--sage-dark);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-family: Arial, sans-serif;
}
.ty-step h3 { font-size: 19px; margin: 0 0 6px; }
.ty-step p { margin: 0; color: var(--muted); font-size: 16px; }

.ty-reinforce {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--heading);
}
.ty-help {
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.ty-help a { color: var(--taupe-dark); font-weight: 700; text-decoration: underline; }

/* ---------- Simple legal pages ---------- */
.legal { background: var(--cream); padding: 60px 0 80px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 21px; margin-top: 30px; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal a { color: var(--taupe-dark); }
.legal .back { display: inline-block; margin-top: 34px; font-weight: 700; color: var(--taupe-dark); text-decoration: none; }

/* ==========================================================================
   Tablet  ≥ 700px
   ========================================================================== */
@media (min-width: 700px) {
  .proofstrip__grid { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .mech-points { grid-template-columns: 1fr 1fr; gap: 16px 34px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ==========================================================================
   Desktop  ≥ 992px
   ========================================================================== */
@media (min-width: 992px) {
  :root { --sec-y: 100px; --pad-x: 40px; }

  body { font-size: 18px; }

  .hero { min-height: 92vh; }
  .hero h1 { font-size: 56px; }
  .hero__sub { font-size: 21px; }

  .section-head h2,
  .get h2, .formsec h2,
  .mech-hero h2, .proof .section-head h2, .faq .section-head h2 { font-size: 42px; }

  .finalcta h2 { font-size: 44px; }
  .ty-hero h1 { font-size: 42px; }

  .btn { width: auto; }
  .hero__cta .btn, .finalcta .btn, .formsec .btn { width: 100%; }

  .mech-hero { min-height: 560px; }
  .gallery figure, .gallery img { min-height: 360px; }

  .sticky-cta { display: none; }
}

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