/* ============================================================
   AblePods - Modular Granny Flats
   Design system: architectural minimalism × Australian coastal/bush
   ============================================================ */

:root {
  /* Palette */
  --eucalyptus:      #6f8169;   /* soft eucalyptus green */
  --eucalyptus-deep: #4d5e48;
  --eucalyptus-tint: #e7ebe2;
  --sand:            #d9cab3;   /* warm sandy neutral */
  --sand-light:      #ece4d7;
  --slate:           #2b2d29;   /* charcoal slate */
  --slate-soft:      #4a4d46;
  --offwhite:        #f8f5ef;   /* crisp off-white */
  --white:           #ffffff;
  --line:            rgba(43, 45, 41, 0.12);
  --shadow:          0 18px 50px -22px rgba(43, 45, 41, 0.35);
  --shadow-sm:       0 8px 24px -14px rgba(43, 45, 41, 0.4);

  /* Type */
  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--eucalyptus);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 16px; }
.section-head p { font-size: 1.08rem; color: var(--slate-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 15px 28px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--slate); color: var(--offwhite); }
.btn-primary:hover { background: var(--eucalyptus-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate); background: var(--white); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.95); color: var(--slate); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-eucalyptus { background: var(--eucalyptus); color: #fff; }
.btn-eucalyptus:hover { background: var(--eucalyptus-deep); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px; transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(248,245,239,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 36px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; transition: color .3s; }
.nav.scrolled .brand { color: var(--slate); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; flex-wrap: nowrap; white-space: nowrap; }
.nav-links a { color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 500; transition: color .25s; }
.nav.scrolled .nav-links a { color: var(--slate-soft); }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: var(--eucalyptus-deep); }
.nav-cta { padding: 11px 22px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(120deg, #44503f 0%, #5d6b54 45%, #8a9b7d 100%);
  background-size: cover; background-position: center;
}
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,26,18,.78) 0%, rgba(28,34,24,.55) 40%, rgba(28,34,24,.15) 100%);
}
.hero .wrap { width: 100%; }
.hero-content { max-width: 700px; padding-top: 70px; }
.hero-content .eyebrow { color: #cdd8c2; }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 20px 0 22px; font-weight: 600;
}
.hero h1 em { font-style: normal; color: var(--sand); }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: #fff; }
.hero-stats .stat .lbl { font-size: .82rem; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0%{opacity:0; transform:scaleY(.3) translateY(-10px);} 50%{opacity:1;} 100%{opacity:0; transform:scaleY(1) translateY(10px);} }

/* ============================================================
   VALUE PROP GRID
   ============================================================ */
.values { background: var(--white); border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value-card { padding: 38px 30px; border-right: 1px solid var(--line); }
.value-card:last-child { border-right: 0; }
.value-card .ico { width: 46px; height: 46px; color: var(--eucalyptus); margin-bottom: 20px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value-card p { font-size: .92rem; color: var(--slate-soft); }

/* ============================================================
   PURPOSE FILTER
   ============================================================ */
.purpose { background: var(--eucalyptus-tint); }
.purpose-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.purpose-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; transition: transform .3s ease, box-shadow .3s ease;
}
.purpose-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.purpose-card.active { border-color: var(--slate); box-shadow: var(--shadow); }
.purpose-card .pc-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.purpose-card .pc-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,36,26,.1) 0%, rgba(25,30,21,.82) 100%); }
.purpose-card .pc-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--sand); margin-bottom: 10px; font-family: var(--font-head); font-weight: 600; }
.purpose-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.purpose-card p { font-size: .92rem; color: rgba(255,255,255,.85); }
.purpose-card .pc-check {
  position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--slate); color: #fff; display: none; align-items: center; justify-content: center;
}
.purpose-card.active .pc-check { display: flex; }

/* ============================================================
   MODELS
   ============================================================ */
.models { background: var(--offwhite); }
.models-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  font-family: var(--font-head); font-size: .85rem; font-weight: 500;
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--white); cursor: pointer; transition: all .2s ease; color: var(--slate-soft);
}
.pill:hover { border-color: var(--slate); }
.pill.active { background: var(--slate); color: #fff; border-color: var(--slate); }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.model-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model-media { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.model-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(248,245,239,.95);
  font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 100px; color: var(--eucalyptus-deep);
}
.model-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.model-body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.model-purpose-tag { font-size: .78rem; color: var(--eucalyptus); font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.model-specs { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.model-specs .spec { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--slate-soft); }
.model-specs .spec svg { width: 18px; height: 18px; color: var(--eucalyptus); flex: none; }
.model-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.model-price .from { font-size: .72rem; color: var(--slate-soft); text-transform: uppercase; letter-spacing: .1em; }
.model-price .amt { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; }
.model-link { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--eucalyptus-deep); display: inline-flex; align-items: center; gap: 6px; }
.model-link:hover { gap: 10px; }
.model-card.hidden { display: none; }

/* ============================================================
   JOURNEY TIMELINE
   ============================================================ */
.journey { background: var(--slate); color: var(--offwhite); }
.journey .section-head h2 { color: #fff; }
.journey .section-head p { color: rgba(255,255,255,.7); }
.journey .eyebrow { color: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 30px; }
.steps::before {
  content: ""; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px);
}
.step { padding: 0 24px; position: relative; }
.step-num {
  width: 66px; height: 66px; border-radius: 50%; background: var(--eucalyptus);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 26px; position: relative; z-index: 2;
  border: 4px solid var(--slate);
}
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.72); font-size: .95rem; }
.step .step-meta { margin-top: 14px; font-family: var(--font-head); font-size: .8rem; color: var(--sand); letter-spacing: .04em; }

/* ============================================================
   TRUST / SOCIAL PROOF
   ============================================================ */
.trust { background: var(--white); }
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.testi-feature {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.testi-feature .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .25s ease;
}
.testi-feature .play:hover { transform: scale(1.08); }
.testi-feature .play svg { width: 30px; height: 30px; color: var(--slate); margin-left: 4px; }
.testi-feature .cap { position: absolute; left: 24px; bottom: 22px; right: 24px; color: #fff; }
.testi-feature .cap .ov { position: absolute; inset: -24px -24px -22px -24px; z-index: -1; background: linear-gradient(transparent, rgba(20,24,17,.8)); }
.testi-feature .cap strong { font-family: var(--font-head); display: block; font-size: 1.02rem; }
.testi-feature .cap span { font-size: .85rem; opacity: .85; }

.testi-quote blockquote { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 22px; }
.testi-quote blockquote::before { content: "“"; color: var(--eucalyptus); }
.testi-quote .who { display: flex; align-items: center; gap: 14px; }
.testi-quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); object-fit: cover; }
.testi-quote .who strong { display: block; font-family: var(--font-head); }
.testi-quote .who span { font-size: .85rem; color: var(--slate-soft); }
.testi-stars { color: #d9a13b; letter-spacing: 3px; margin-bottom: 14px; }

.badges { margin-top: 70px; padding-top: 44px; border-top: 1px solid var(--line); text-align: center; }
.badges p { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--slate-soft); margin-bottom: 26px; }
.badge-row { display: flex; justify-content: center; align-items: center; gap: 46px; flex-wrap: wrap; opacity: .85; }
.badge-row .badge { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--slate-soft); font-size: .8rem; text-align: center; }
.badge-row .badge svg { width: 42px; height: 42px; color: var(--eucalyptus); }

/* ============================================================
   LEAD MAGNET
   ============================================================ */
.lead { background: linear-gradient(120deg, #4d5e48 0%, #6f8169 100%); color: #fff; }
.lead-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead .eyebrow { color: var(--sand); }
.lead h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 14px 0 18px; }
.lead p.sub { color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 26px; max-width: 460px; }
.lead-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lead-points li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.lead-points li svg { width: 20px; height: 20px; color: var(--sand); flex: none; }

.lead-form { background: var(--offwhite); color: var(--slate); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.form-steps .fs { flex: 1; height: 5px; border-radius: 100px; background: var(--line); transition: background .3s; }
.form-steps .fs.on { background: var(--eucalyptus); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 7px; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--slate); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--eucalyptus); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--slate-soft); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success svg { width: 60px; height: 60px; color: var(--eucalyptus); margin: 0 auto 16px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: .9rem; max-width: 300px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: .92rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ============================================================
   STICKY CONVERSION BAR
   ============================================================ */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(43,45,41,.97); backdrop-filter: blur(10px); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 14px 24px; transform: translateY(120%); transition: transform .4s ease;
  border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap;
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar p { font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.sticky-bar p strong { color: var(--sand); }
.sticky-bar .btn { padding: 11px 22px; font-size: .9rem; }

/* ============================================================
   REVEAL ANIM
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: 0; }
  .value-card { border-bottom: 1px solid var(--line); }
  .purpose-cards { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .lead-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; color: #fff; }
  .nav.scrolled .nav-toggle { color: var(--slate); }
}
@media (max-width: 620px) {
  .section { padding: 76px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .sticky-bar p { display: none; }
  .sticky-bar .btn { width: 100%; }
}
