/* =========================================================
   Luxury Living Toronto — East York PPC Landing Page
   Brand tokens lifted from the live astra-child theme:
   antique brass accent, near-black ink, ivory paper, Poppins
   ========================================================= */

:root {
  --paper: #f6f4f1;
  --paper-2: #efebe6;
  --white: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #7a756f;
  --line: rgba(26, 26, 26, 0.12);

  --navy: #0c0d0c;
  --navy-2: #1f201e;
  --accent-navy: #16305c;

  --gold: #8a6a2e;
  --gold-lt: #dfbe7e;
  --gold-solid: #b58e43;
  --gold-grad: linear-gradient(180deg, #e2c489 0%, #b58e43 55%, #7e5f27 100%);

  --ok: #2f7d4f;
  --bad: #b3261e;

  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 50px rgba(20, 26, 40, 0.1);
  --shadow-lg: 0 30px 70px rgba(20, 26, 40, 0.18);
  --radius: 4px;
  --container: 1240px;

  /* The two photographs, so a page can hand its own in from the editor
     without this file being touched. */
  --hero-photo: url("https://luxurylivingtoronto.ca/wp-content/uploads/2026/09/qtq80-3KyOrw-2000x1100.jpeg");
  --final-photo: url("https://luxurylivingtoronto.ca/wp-content/uploads/2026/09/Leslieville_2_e701d142-4f28-48b9-b4ea-d8464ace8da9.jpg");
}

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

/* A class selector like `.modal { display: grid }` outbids the browser's own
   `[hidden] { display: none }`, so el.hidden = true would set the attribute
   without hiding anything. This makes the attribute win everywhere. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
sup { font-size: 0.6em; vertical-align: super; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--c { text-align: center; }
.eyebrow--gold { color: var(--gold-lt); }

.h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h2--c { text-align: center; }
.h2--light { color: var(--white); }

.lede {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--gold {
  background: var(--gold-grad);
  color: #1a1206;
  box-shadow: 0 10px 24px rgba(181, 142, 67, 0.32);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(181, 142, 67, 0.42); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--gold-solid); color: var(--gold); }
.btn--sm { padding: 11px 20px; font-size: 11px; }
.btn--lg { padding: 18px 40px; font-size: 14px; }
.btn--full { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: 0.75; cursor: not-allowed; transform: none; }

.spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(26, 18, 6, 0.3);
  border-top-color: #1a1206;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 38px;
}
.topbar__tag { color: var(--gold-lt); font-weight: 500; }
.topbar__area { opacity: 0.8; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 244, 241, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 8px 24px rgba(12, 13, 12, 0.08); background: rgba(246, 244, 241, 0.98); }
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.hdr__logo img { width: 150px; height: auto; }
.hdr__right { display: flex; align-items: center; gap: 18px; }
.hdr__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}
.hdr__tel:hover { color: var(--gold); }
.hdr__tel svg { width: 17px; height: 17px; fill: var(--gold-solid); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 13, 12, 0.92) 0%, rgba(12, 13, 12, 0.86) 46%, rgba(12, 13, 12, 0.72) 100%),
    var(--hero-photo) center / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 15% 25%, rgba(181, 142, 67, 0.14), transparent 60%);
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.hero__copy { padding-top: 18px; color: rgba(255, 255, 255, 0.86); }
.hero__copy .eyebrow { color: var(--gold-lt); }
.hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero__sub {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

.ticks { display: grid; gap: 12px; margin: 0 0 30px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5.5px; top: 11px;
  width: 7px; height: 4px;
  border-left: 2px solid #1a1206;
  border-bottom: 2px solid #1a1206;
  transform: rotate(-45deg);
}
.ticks--light li { color: rgba(255, 255, 255, 0.82); }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 460px;
}
.hero__proof img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gold-solid);
  flex: 0 0 auto;
}
.hero__proof p { margin: 0; font-size: 13px; line-height: 1.6; font-weight: 300; }
.hero__proof strong { color: var(--white); font-weight: 600; }

/* ---------- Form card ---------- */
.formcard {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px;
  border-top: 3px solid transparent;
  border-image: var(--gold-grad) 1;
  scroll-margin-top: 100px;
}
.formcard__head { text-align: center; margin-bottom: 20px; }
.formcard__head h2 {
  margin: 12px 0 6px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.formcard__head p { margin: 0; font-size: 13.5px; color: var(--muted); font-weight: 300; }

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(181, 142, 67, 0.12);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* progress */
.steps { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.steps__bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.steps__bar i {
  display: block;
  height: 100%;
  width: 33.33%;
  border-radius: 999px;
  background: var(--gold-grad);
  transition: width 0.45s var(--ease);
}
.steps__txt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.steps__txt b { color: var(--gold); }

/* steps */
.step { display: none; border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.step.is-active { display: block; animation: stepIn 0.35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 18px; }
.label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.opt-tag { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 11px; }

.lead input[type="text"],
.lead input[type="email"],
.lead input[type="tel"],
.lead select {
  width: 100%;
  padding: 14px 15px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
}
.lead input::placeholder { color: #a9a49e; }
.lead input:focus, .lead select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold-solid);
  box-shadow: 0 0 0 3px rgba(181, 142, 67, 0.16);
}
.lead .is-invalid { border-color: var(--bad); background: rgba(179, 38, 30, 0.03); }
.lead .is-invalid:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14); }

.selwrap { position: relative; }
.selwrap::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--gold-solid);
  border-bottom: 2px solid var(--gold-solid);
  transform: rotate(45deg);
  pointer-events: none;
}

/* radio pills */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span {
  display: block;
  padding: 12px 13px;
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.opt span:hover { border-color: var(--gold-solid); background: var(--white); }
.opt input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  font-weight: 500;
}
.opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(181, 142, 67, 0.3); }
.opts.is-invalid .opt span { border-color: var(--bad); }

/* checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold-solid);
  cursor: pointer;
}
.check.is-invalid { color: var(--bad); }

.hint { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); font-weight: 300; }
.err { margin: 6px 0 0; font-size: 12px; color: var(--bad); font-weight: 400; min-height: 0; }
.err:empty { display: none; }

.formerr {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.25);
  color: var(--bad);
  font-size: 13px;
}

.btnrow { display: flex; gap: 10px; }
.btnrow .btn--ghost { flex: 0 0 auto; }
.btnrow .btn--gold { flex: 1; }

.micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 300;
}
.micro svg { width: 13px; height: 13px; fill: var(--gold-solid); flex: 0 0 auto; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* success */
.thanks { text-align: center; padding: 18px 4px 6px; animation: stepIn 0.4s var(--ease); }
.thanks__tick {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(181, 142, 67, 0.35);
}
.thanks__tick svg { width: 30px; height: 30px; fill: none; stroke: #1a1206; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks h2 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.thanks__line { margin: 0 0 18px; color: var(--ink-soft); font-weight: 300; font-size: 15px; }
.thanks__note { margin: 0 0 14px; font-size: 13px; color: var(--muted); font-weight: 300; }
.thanks--sm h2 { font-size: 20px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-2); padding: 22px 0; }
.trust__in {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.trust__txt {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 300;
}
.trust__sep { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.18); }

/* ---------- Stats ---------- */
.stats { background: var(--paper-2); padding: 46px 0; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.sec { padding: 88px 0; }
.sec--paper { background: var(--paper-2); }
.sec--dark { background: var(--navy); color: rgba(255, 255, 255, 0.78); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(181, 142, 67, 0.4); }
.card__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(181, 142, 67, 0.12);
}
.card__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); font-weight: 300; }

/* areas */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.chips li:hover { border-color: var(--gold-solid); color: var(--gold); }
.chips__note { margin: 26px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); font-weight: 300; }

/* how */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 46px; counter-reset: s; }
.how li { position: relative; padding-top: 8px; }
.how b {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-lt);
  font-size: 15px;
  font-weight: 600;
}
.how h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.how p { margin: 0; font-size: 14.5px; color: var(--ink-soft); font-weight: 300; }

.ctarow { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* about */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about__pic { position: relative; }
.about__pic img {
  width: 100%;
  border-radius: 6px;
  filter: grayscale(0.15);
}
.about__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: rgba(12, 13, 12, 0.88);
  backdrop-filter: blur(6px);
  color: var(--gold-lt);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about__copy p { font-weight: 300; font-size: 15.5px; margin: 0 0 16px; }
.about__copy .ticks { margin-top: 26px; margin-bottom: 30px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  margin: 0;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--gold-solid); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.quote blockquote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  flex: 1;
}
.quote figcaption { padding-top: 16px; border-top: 1px solid var(--line); }
.quote figcaption b { display: block; font-size: 14px; font-weight: 600; }
.quote figcaption span { font-size: 12px; color: var(--muted); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq__i {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq__i[open] { border-color: rgba(181, 142, 67, 0.45); }
.faq__i summary {
  position: relative;
  list-style: none;
  padding: 19px 56px 19px 22px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--gold-solid);
  border-bottom: 2px solid var(--gold-solid);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq__i[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 0 22px 20px; }
.faq__a p { margin: 0; font-size: 14.5px; color: var(--ink-soft); font-weight: 300; }

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  padding: 88px 0;
  background:
    linear-gradient(100deg, rgba(12, 13, 12, 0.95) 0%, rgba(12, 13, 12, 0.88) 60%, rgba(12, 13, 12, 0.8) 100%),
    var(--final-photo) center / cover no-repeat;
  color: rgba(255, 255, 255, 0.8);
}
.final__in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.final__copy p { font-weight: 300; font-size: 16px; }
.final__copy a { color: var(--gold-lt); border-bottom: 1px solid rgba(223, 190, 126, 0.4); }
.final__copy .ticks { margin-top: 24px; margin-bottom: 0; }

.quickcard {
  background: var(--white);
  border-radius: 6px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.quickcard h3 { margin: 0 0 4px; font-size: 21px; font-weight: 600; }
.quickcard__sub { margin: 0 0 22px; font-size: 13px; color: var(--muted); font-weight: 300; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy); color: rgba(255, 255, 255, 0.6); padding: 52px 0 40px; }
.ftr__in { text-align: center; }
.ftr__logo { height: 46px; width: auto; margin: 0 auto 22px; filter: brightness(0) invert(1); opacity: 0.9; }
.ftr__contact p { margin: 0 0 6px; font-size: 14px; font-weight: 300; }
.ftr__contact a { color: var(--gold-lt); }
.ftr__contact a:hover { text-decoration: underline; }
.ftr__legal {
  max-width: 820px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}
.ftr__legal a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; }

/* ---------- Mobile sticky bar ---------- */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 244, 241, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar__call {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 0 0 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
}
.mbar__call svg { width: 18px; height: 18px; fill: var(--gold-solid); }
.mbar__cta { flex: 1; padding: 15px 12px; font-size: 12px; }

/* ---------- Exit modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal__bg { position: absolute; inset: 0; background: rgba(12, 13, 12, 0.72); backdrop-filter: blur(3px); animation: fade 0.25s var(--ease); }
.modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: 6px;
  padding: 38px 34px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid transparent;
  border-image: var(--gold-grad) 1;
  animation: pop 0.3s var(--ease);
}
.modal__box h2 { margin: 0 0 10px; font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.modal__box > p { margin: 0 0 22px; font-size: 15px; color: var(--ink-soft); font-weight: 300; }
.modal__x {
  position: absolute;
  right: 12px; top: 8px;
  width: 34px; height: 34px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
}
.modal__x:hover { color: var(--ink); }
.modal__no {
  display: block;
  width: 100%;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: underline;
  font-weight: 300;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: 700px; }
  .formcard { max-width: 560px; }
  .final__in { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 38px; }
  .about__pic { max-width: 380px; }
}

@media (max-width: 900px) {
  .cards, .quotes, .how { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .trust__sep { display: none; }
  .trust__in { gap: 14px 22px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  .topbar__area { display: none; }
  .topbar__in { justify-content: center; }
  .hdr__tel span { display: none; }
  .hdr__tel { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }
  .hdr__in { min-height: 64px; }
  .hdr__logo img { width: 120px; }
  .hdr__right .btn--sm { padding: 10px 14px; font-size: 10px; }

  .sec { padding: 62px 0; }
  .hero { padding: 44px 0 60px; }
  .hero__proof { max-width: none; }
  .final { padding: 62px 0; }

  .formcard { padding: 24px 20px 22px; max-width: none; }
  .quickcard { padding: 24px 20px; }
  .opts { grid-template-columns: 1fr; }
  .btnrow { flex-direction: column-reverse; }
  .btnrow .btn { width: 100%; }

  .mbar { display: flex; }
  body { padding-bottom: 76px; }

  .lede { margin-bottom: 34px; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .modal__box { padding: 32px 22px 26px; }
}

/* ---------- Print / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- The server's own answer ----------
   Printed by the form handler when a submission comes back refused, and on
   the way to a thank-you the script removes it. Styled here because the page
   loads no other stylesheet. */
.jp-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 4px;
  border-left: 3px solid;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.jp-notice--good { background: rgba(47, 125, 79, 0.08); border-color: var(--ok); color: #1f5c39; }
.jp-notice--bad  { background: rgba(179, 38, 30, 0.07); border-color: var(--bad); color: var(--bad); }

/* ---------- The ordinary enquiry form ----------
   Two columns for the name and the number, one for everything else, and a
   message box that matches the inputs beside it. */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

.lead textarea {
  width: 100%;
  min-height: 108px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink);
  resize: vertical;
}
.lead textarea::placeholder { color: #a9a49e; }
.lead textarea:focus {
  outline: none;
  border-color: var(--gold-solid);
  box-shadow: 0 0 0 3px rgba(181, 142, 67, 0.14);
}
