/* === Hearth & Home — Warm Family Template === */
:root {
    --bg: #fffcf7;
    --bg-warm: #fdf6ed;
    --text: #2d2419;
    --text-muted: #7a6b5a;
    --accent: #4a7c59;
    --accent-light: #e8f2eb;
    --border: #ede6db;
    --radius: 14px;
    --font-display: 'Caveat', cursive;
    --font-body: 'Nunito', 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(--text); line-height: 1.8; overflow-x: hidden; font-weight: 400; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 14px 0; background: transparent; transition: all .3s; }
.header.scrolled { background: rgba(255,252,247,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(45,36,25,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }

.nav { display: flex; gap: 26px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: .88rem; font-weight: 600; transition: color .3s; }
.nav a:hover { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 26px; height: 18px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: .3s; border-radius: 2px; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

.btn { display: inline-block; padding: 14px 28px; background: var(--accent); color: white; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: .9rem; border: none; cursor: pointer; transition: all .3s; font-family: var(--font-body); }
.btn:hover { background: #3d6849; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,124,89,.2); }
.btn-soft { background: var(--accent-light); color: var(--accent); }
.btn-soft:hover { background: #d6eadb; box-shadow: none; }

/* Hero */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; }
.hero-text h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.handwritten { font-family: var(--font-display); font-size: 1.3em; color: var(--accent); }
.hero-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: var(--radius); }
.hero-badge { position: absolute; bottom: -20px; left: -20px; background: var(--accent); color: white; padding: 16px 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 10px; }
.badge-num { font-size: 2rem; font-weight: 700; }
.badge-text { font-size: .72rem; line-height: 1.3; opacity: .9; }

/* Sections */
.section { padding: 90px 0; }
.section-warm { background: var(--bg-warm); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.section-header h2 { font-size: 1.9rem; font-weight: 700; }
.section-sub { color: var(--text-muted); margin-top: 8px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Homes */
.homes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.home-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(45,36,25,.08); }
.home-img { position: relative; overflow: hidden; }
.home-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.home-card:hover .home-img img { transform: scale(1.04); }
.home-tags { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 6px; }
.home-tags span { background: white; color: var(--text); padding: 4px 10px; border-radius: 20px; font-size: .7rem; font-weight: 700; }
.home-body { padding: 20px; }
.home-price { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.home-body h3 { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.home-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.home-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }

/* Why Us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-img img { width: 100%; border-radius: var(--radius); }
.why-text .section-tag { text-align: left; }
.why-text h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 14px; }
.why-text > p { color: var(--text-muted); margin-bottom: 28px; }
.why-points { display: flex; flex-direction: column; gap: 18px; }
.why-point { display: flex; gap: 14px; align-items: flex-start; }
.point-icon { font-size: 1.4rem; margin-top: 2px; }
.why-point strong { font-size: .92rem; display: block; margin-bottom: 2px; }
.why-point p { font-size: .84rem; color: var(--text-muted); }

/* Suburbs */
.suburb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.suburb-card { background: white; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); transition: all .3s; }
.suburb-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.suburb-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.suburb-card p { font-size: .84rem; color: var(--text-muted); }

/* Testimonials */
.testimonial-slider { position: relative; max-width: 640px; margin: 0 auto; min-height: 180px; }
.testimonial { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .5s; text-align: center; }
.testimonial.active { opacity: 1; transform: translateX(0); position: relative; }
.testimonial blockquote { font-size: 1.1rem; font-style: italic; line-height: 1.7; margin-bottom: 16px; color: var(--text); }
.testimonial cite { font-size: .88rem; color: var(--text-muted); font-style: normal; font-weight: 600; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .3s; }
.slider-dot.active { background: var(--accent); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-text .section-tag { text-align: left; }
.contact-text h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 12px; }
.contact-text > p { color: var(--text-muted); margin-bottom: 24px; }
.contact-info p { font-size: .9rem; margin-bottom: 6px; }
.contact-info strong { color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea { padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .92rem; font-family: var(--font-body); background: white; transition: border-color .3s; resize: none; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }

/* Footer */
.footer { padding: 50px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; margin-top: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .85rem; font-weight: 600; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .78rem; color: var(--text-muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .why-grid, .contact-wrap { grid-template-columns: 1fr; }
    .homes-grid, .suburb-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
    .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.06); gap: 14px; }
    .hero { padding: 120px 0 60px; }
    .hero-badge { bottom: -10px; left: 10px; }
}
