/* ==========================================================================
   editorial-premium-v1
   Premium renovation landing page. Editorial / immersive design system:
   serif display face, cream paper background, gold accent, full-viewport
   hero, generous vertical rhythm.

   Deliberately NOT the standard Simple Leads trade look (Bebas Neue +
   heavy blocks). This template is for high-ticket renovation buyers who
   read "loud tradie" as cheap.
   ========================================================================== */

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

:root {
  /* Editorial palette. Override via branding slots. */
  --cream: {{bg_color}};        /* page background        default #f6f1e7 */
  --paper: {{surface_color}};   /* cards / light buttons  default #fdfbf6 */
  --ink: {{dark_color}};        /* headlines, body        default #1c1712 */
  --muted: {{muted_color}};     /* secondary text         default #6b6152 */
  --line: {{border_color}};     /* hairline rules         default #e2dacb */
  --gold: {{primary_color}};    /* accent, italics        default #a8792f */
  --gold-lt: {{primary_light}}; /* accent on dark         default #e6c79a */
  --dark: {{deep_color}};       /* dark sections          default #16120d */
  --white: #ffffff;
  --green-soft: #3f7d55;        /* submit confirmation only */

  --serif: '{{display_font_family}}', Georgia, serif;
  --body: '{{body_font_family}}', -apple-system, sans-serif;

  --container: 1200px;

  /* Standard Simple Leads aliases, mapped onto the editorial palette. */
  --primary: var(--gold);
  --bg: var(--cream);
  --bg-alt: var(--paper);
  --text: var(--ink);
  --border: var(--line);
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.eyebrow { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #8a5f1e; margin-bottom: 20px; }
h2.title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.5px; color: var(--ink); }
h2.title em { font-style: italic; color: var(--gold); }
.lead { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 620px; margin-top: 20px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 15px; padding: 16px 30px; cursor: pointer; border: none; background: var(--ink); color: var(--cream); transition: background 0.2s; }
.btn:hover { background: #000; }
.btn-lt { background: var(--paper); color: var(--ink); }
.btn-lt:hover { background: var(--white); }
.calllink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 500; font-size: 15px; border-bottom: 1.5px solid var(--gold); padding-bottom: 4px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 40px; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { font-family: var(--body); font-weight: 800; font-size: 30px; letter-spacing: 1px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #ffffff; }
.brand-sub { font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; line-height: 1.12; color: #ffffff; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-tag { font-family: var(--body); font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--white); border: 1px solid rgba(255,255,255,0.55); padding: 9px 16px; transition: all 0.25s; }
.nav-phone:hover { background: var(--white); color: var(--ink); }
.nav.scrolled { background: rgba(246,241,231,0.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .brand-mark { -webkit-text-stroke-color: var(--ink); }
.nav.scrolled .brand-sub { color: var(--ink); }
.nav.scrolled .nav-tag { color: var(--muted); }
.nav.scrolled .nav-phone { color: var(--ink); border-color: var(--ink); }
.nav.scrolled .nav-phone:hover { background: var(--ink); color: var(--cream); }

/* HERO */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--dark); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,6,3,0.95) 0%, rgba(9,6,3,0.62) 44%, rgba(9,6,3,0.25) 100%); }
.hero-content { position: relative; z-index: 5; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px 8vh; }
.hero .eyebrow { display: inline-block; background: rgba(9,6,3,0.55); padding: 7px 14px; color: #f4ecdd; font-weight: 600; letter-spacing: 2px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.0; letter-spacing: -1px; color: var(--white); max-width: 15ch; margin-bottom: 22px; text-shadow: 0 2px 22px rgba(0,0,0,0.45); }
.hero h1 em { font-style: italic; color: #eccf95; }
.hero-sub { font-size: clamp(16.5px, 1.5vw, 19px); color: rgba(255,255,255,0.94); max-width: 540px; line-height: 1.6; margin-bottom: 34px; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }
.hero-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero .calllink { color: var(--white); border-color: var(--gold-lt); }

/* STATEMENT */
.statement { padding: 120px 0; text-align: center; border-bottom: 1px solid var(--line); }
.statement .big { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 3.6vw, 44px); line-height: 1.22; letter-spacing: -0.4px; max-width: 900px; margin: 0 auto; }
.statement .big em { font-style: italic; color: var(--gold); }
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 44px; }
.creds span { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.creds .sep { color: var(--gold); }

/* FORM SECTION */
.plan { padding: 110px 0; background: var(--dark); color: var(--cream); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.plan .eyebrow { color: #f0e2c4; }
.plan h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.5px; color: var(--white); }
.plan .lead { color: rgba(255,255,255,0.72); }
.plan-list { list-style: none; margin-top: 28px; }
.plan-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 15px; color: rgba(255,255,255,0.9); }
.plan-list li::before { content: "\2713"; color: var(--gold-lt); font-weight: 700; }

.form-card { background: var(--paper); color: var(--ink); padding: 34px 30px; }
.form-card h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; }
.form-card .fc-sub { font-size: 13.5px; color: var(--muted); margin: 5px 0 20px; }
.form-step[hidden] { display: none; }
.form-step-label { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.fg { margin-bottom: 13px; }
.fg label { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); font-family: var(--body); font-size: 15px; color: var(--ink); border-radius: 2px; transition: border-color 0.18s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--gold); }
.fg textarea { resize: vertical; min-height: 66px; }
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c1712' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.submit-btn { width: 100%; padding: 15px; background: var(--ink); color: var(--cream); border: none; border-radius: 2px; font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.18s; margin-top: 4px; }
.submit-btn:hover { background: #000; }
.submit-btn.submitted { background: var(--green-soft); cursor: default; }
.form-qual { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-qual strong { color: var(--ink); }
.form-back { display: block; width: 100%; margin-top: 10px; padding: 6px; background: none; border: none; color: var(--muted); font-family: var(--body); font-size: 13px; cursor: pointer; }

/* EDITORIAL SECTIONS */
.sec { padding: 118px 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.media { overflow: hidden; border-radius: 2px; aspect-ratio: 4/5; }
.media img { width: 100%; height: 100%; object-fit: cover; }

.xlist, .clist { list-style: none; margin-top: 26px; }
.xlist li, .clist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.xlist li:last-child, .clist li:last-child { border-bottom: 1px solid var(--line); }
.xlist li::before { content: "\2715"; color: #b5502f; font-weight: 600; flex-shrink: 0; }
.clist li::before { content: "\2713"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.owner { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.owner-info { font-size: 13px; color: var(--muted); line-height: 1.5; }
.owner-info strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* PROCESS */
.proc-head { max-width: 640px; margin-bottom: 20px; }
.proc-list { border-top: 1px solid var(--line); }
.proc-row { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.proc-num { font-family: var(--serif); font-weight: 500; font-size: 40px; color: var(--gold); line-height: 1; }
.proc-row h4 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin-bottom: 6px; }
.proc-row p { font-size: 15px; color: var(--muted); max-width: 640px; }

/* GALLERY */
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal-item { overflow: hidden; border-radius: 2px; position: relative; aspect-ratio: 4/5; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 26px 18px 16px; background: linear-gradient(to top, rgba(12,9,6,0.78), transparent); color: var(--cream); font-family: var(--serif); font-size: 19px; font-style: italic; }

/* QUALITY */
.q-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-photos .qp { overflow: hidden; border-radius: 2px; position: relative; aspect-ratio: 1; }
.q-photos .qp1 { grid-column: 1 / -1; aspect-ratio: 16/10; }
.q-photos .qp img { width: 100%; height: 100%; object-fit: cover; }
.qp-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(18,14,9,0.82); color: var(--gold-lt); font-family: var(--body); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; padding: 6px 11px; }

/* TRUST CARDS */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.rev-card { border-top: 2px solid var(--gold); padding: 26px 4px 0; }
.rev-text { font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.42; color: var(--ink); margin-bottom: 18px; }
.rev-auth { font-family: var(--body); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* FINAL CTA */
.cta { position: relative; overflow: hidden; background: var(--dark); }
.cta-inner { position: relative; z-index: 5; padding: 128px 0; text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -0.6px; color: var(--white); max-width: 800px; margin: 0 auto; }
.cta h2 em { font-style: italic; color: var(--gold-lt); }
.cta p { color: rgba(255,255,255,0.78); font-size: 17px; margin: 20px auto 0; max-width: 540px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }
.cta .calllink { color: var(--white); border-color: var(--gold-lt); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); margin-top: 44px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 0; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq-icon { font-family: var(--body); font-size: 24px; color: var(--gold); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 0 26px; font-size: 15.5px; color: var(--muted); line-height: 1.68; max-width: 780px; }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 54px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.footer-meta { font-size: 12.5px; letter-spacing: 0.3px; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--cream); border: 1px solid rgba(255,255,255,0.28); padding: 11px 18px; }
.footer-phone:hover { border-color: var(--gold-lt); }

/* MOBILE STICKY CTA */
.mcta { display: none; }

@media (max-width: 940px) {
  .plan-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .media { max-height: 440px; }
  .split .media { order: -1; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 0 24px; height: 64px; }
  .nav-tag { display: none; }

  /* Flat overlay on mobile. A transparent gradient washes out over a
     photo on a phone screen and the headline stops being readable. */
  .hero-bg::after { background: rgba(9,6,3,0.62); }
  .hero-content { padding: 0 24px 12vh; }
  .hero h1 { font-size: 32px; line-height: 1.06; letter-spacing: -0.4px; max-width: none; }
  .hero-sub { font-size: 16px; }

  .statement, .plan, .sec { padding: 72px 0; }
  h2.title, .plan h2 { font-size: 30px; }
  .statement .big { font-size: 24px; }
  .cta h2 { font-size: 30px; }

  .gal-grid { grid-template-columns: 1fr; }
  .q-photos { grid-template-columns: 1fr; }
  .q-photos .qp1 { aspect-ratio: 16/10; }
  .proc-row { grid-template-columns: 56px 1fr; gap: 18px; }
  .proc-num { font-size: 30px; }
  .faq-q { font-size: 19px; }
  .form-card { padding: 28px 22px; }
  .cta-inner { padding: 84px 0; }

  .mcta { display: flex; align-items: center; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 15px; background: var(--gold); color: var(--white); font-family: var(--body); font-weight: 600; font-size: 15px; }
  body { padding-bottom: 58px; }
}
