/* Granny Flats Brisbane - warm modern-home design system
   Palette: warm neutrals + deep green + timber tones. Premium residential feel. */

:root {
  --bg: #f7f3ec;
  --bg-alt: #efe8dc;
  --card: #fffdf9;
  --ink: #26302b;
  --muted: #64705f;
  --green: #1f3d2b;
  --green-deep: #16301f;
  --green-soft: #e3ebe2;
  --timber: #b4885a;
  --timber-deep: #96683c;
  --timber-soft: #f0e2d2;
  --line: #e2d9c9;
  --radius: 14px;
  --shadow: 0 2px 24px rgba(38, 48, 43, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; color: var(--green-deep); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p + p { margin-top: 0.9em; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--timber-deep); margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-word { font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; color: var(--green-deep); line-height: 1.1; }
.logo-word small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--timber-deep); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.94rem; }
.nav a:hover { color: var(--timber-deep); }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff !important; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  transition: background 0.15s;
}
.btn-call:hover { background: var(--green-deep); }
.btn-call svg { width: 15px; height: 15px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--card); flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: 8px;
    padding: 8px 10px; cursor: pointer; color: var(--green-deep); font-size: 1.05rem; }
  .btn-call span { display: none; }
  .btn-call { padding: 11px 13px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; padding-top: 68px; padding-bottom: 68px; }
.hero p.lead { font-size: 1.14rem; color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.hero-art figcaption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.trust-row svg { width: 16px; height: 16px; color: var(--timber-deep); flex: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 46px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 14px 28px; font-size: 1rem; transition: all 0.15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-outline { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green-soft); }
.btn-timber { background: var(--timber); color: #fff; }
.btn-timber:hover { background: var(--timber-deep); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-green { background: var(--green-deep); color: #e9efe7; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green p { color: #cdd8cb; }
.section-head { max-width: 660px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 a { text-decoration: none; color: inherit; }
.card .icon { width: 44px; height: 44px; border-radius: 11px; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; color: var(--green); }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Design / floor-plan cards */
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.plan-card .plan-art { background: #fbf8f1; border-bottom: 1px solid var(--line); padding: 22px; }
.plan-card .plan-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-tag { align-self: flex-start; background: var(--timber-soft); color: var(--timber-deep); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 5px 13px; }
.plan-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 4px 0 6px; }
.plan-specs li { font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.plan-specs svg { width: 15px; height: 15px; color: var(--timber-deep); flex: none; }
.plan-card .btn { margin-top: auto; align-self: flex-start; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 20px 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--green); color: #fff; font-weight: 600; font-family: var(--font-body); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; color: var(--green-deep); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.checklist.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .checklist.cols { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; margin: 26px 0; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* Callout */
.callout { border-left: 4px solid var(--timber); background: var(--timber-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; font-size: 0.96rem; }
.callout.green { border-left-color: var(--green); background: var(--green-soft); }
.callout strong { color: var(--green-deep); }

/* Prose (long-form pages) */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; color: var(--green); }
.prose ul, .prose ol { margin: 0.9em 0 0.9em 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--timber-deep); }

/* FAQ */
.faq-list { display: grid; gap: 14px; margin-top: 30px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; font-weight: 600; padding: 19px 24px; color: var(--green-deep); list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-list summary::after { content: "+"; font-family: var(--font-head); font-size: 1.4rem; color: var(--timber-deep); line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 0.96rem; }

/* Suburb grid */
.suburb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.suburb-grid a {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; font-weight: 600; color: var(--green-deep);
  transition: all 0.15s; font-size: 0.95rem;
}
.suburb-grid a small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.suburb-grid a:hover { border-color: var(--timber); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .suburb-grid { grid-template-columns: 1fr 1fr; } }

/* Breadcrumb */
.breadcrumb { font-size: 0.83rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--timber-deep); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); padding: 34px 0 52px; }
.page-hero p.lead { font-size: 1.1rem; color: var(--muted); margin-top: 16px; max-width: 40em; }

/* ---------- Enquiry form ---------- */
.enquiry { background: var(--green-deep); }
.enquiry .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; padding-top: 72px; padding-bottom: 72px; align-items: start; }
.enquiry h2 { color: #fff; }
.enquiry .enq-copy p { color: #cdd8cb; margin-top: 14px; }
.enquiry .enq-phone { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; }
.enquiry .enq-phone svg { width: 22px; height: 22px; color: var(--timber); }
.enquiry .enq-note { font-size: 0.82rem; color: #9fb09c !important; margin-top: 18px; }
.form-card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); }
.form-card h3 { margin-bottom: 4px; }
.form-card .form-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--green-deep); margin-bottom: 5px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--timber); }
.form-card button { width: 100%; margin-top: 18px; border: none; cursor: pointer; font-family: var(--font-body); }
.form-card .privacy { font-size: 0.76rem; color: var(--muted); margin-top: 12px; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.1em; font-size: 0.85rem; font-weight: 700; text-align: center; margin: 10px 0 0; }
.form-status.ok { color: #1a7f4b; }
.form-status.fail { color: #c23838; }
@media (max-width: 900px) { .enquiry .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Footer ---------- */
.site-footer { background: #10231a; color: #b9c6b6; font-size: 0.9rem; }
.site-footer .wrap { padding: 58px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #b9c6b6; text-decoration: none; }
.site-footer a:hover { color: var(--timber); }
.footer-brand .logo-word { color: #fff; }
.footer-brand .logo-word small { color: var(--timber); }
.footer-brand p { margin-top: 14px; font-size: 0.85rem; color: #8fa08b; max-width: 30em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 22px; font-size: 0.78rem; color: #7c8d78; }
.footer-legal p + p { margin-top: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--timber); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band .btn { background: var(--green-deep); color: #fff; }
.cta-band .btn:hover { background: #0d1f14; }

/* Floor plan figure on design pages */
.plan-figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin: 26px 0; }
.plan-figure figcaption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
