/*
Theme Name: Ancestral Home & Design
Theme URI: https://ancestralhomeanddesign.com/
Author: Ancestral Home & Design
Description: Card-based editorial theme for Ancestral Home & Design — holistic real estate and home design in Cheshire County, NH.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ancestral-home-design
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

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

:root {
  /* ── OLIVE / CREAM / RUST PALETTE ── */
  --olive: #5c5e35;
  --olive-deep: #3a3c20;
  --olive-soft: #e8e6d4;
  --cream: #faf6ec;
  --paper: #fffdf6;
  --rust: #b5562f;
  --rust-soft: #f0d8c8;
  --sand: #ddd3b8;
  --ink: #232017;
  --muted: #6b6856;
  --line: rgba(35,32,23,0.12);
  --white: #ffffff;
}

html { scroll-behavior: smooth; }


body {
  font-family: 'Work Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  padding-top: 112px;
}


a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; }

/* ── TOP BAR ── */
.top-contact-bar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 150;
  background: var(--ink); color: rgba(255,255,255,0.88);
  display: flex; align-items: center; justify-content: center;
  gap: 30px; padding: 8px 24px; font-size: 0.82rem; font-weight: 500;
  flex-wrap: wrap;
}

/* ── NAV (asymmetric, card-pill style) ── */
nav {
  position: fixed; top: 36px; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { width: 50px; height: 50px; object-fit: contain; }
.nav-brand-text {
  font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 9px 16px; border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--olive); color: var(--white); }
.nav-cta {
  background: var(--rust); color: var(--white);
  padding: 11px 24px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.nav-cta:hover { background: #943f1f; transform: translateY(-1px); }

/* ── PAGE HERO (inner pages) — asymmetric split with image card ── */
.page-hero {
  background: var(--olive-deep);
  padding: 70px 48px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-items: end; gap: 40px;
  padding-bottom: 0;
}
.page-hero-text { padding-bottom: 60px; }
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; letter-spacing: 0.03em; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--rust-soft); }
.page-hero-title {
  font-family: 'Fraunces', serif; font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 600; color: var(--white); line-height: 1.08; margin-bottom: 18px;
}
.page-hero-title em { font-style: italic; color: var(--sand); }
.page-hero-sub { font-size: 1.02rem; color: rgba(255,255,255,0.68); max-width: 480px; line-height: 1.75; }
.page-hero-image {
  height: 280px; border-radius: 18px 18px 0 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── HOMEPAGE HERO — asymmetric card overlap ── */
.hero { background: var(--olive-deep); padding: 64px 48px 100px; position: relative; }
.hero-shell {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: center;
}
.hero-content { padding-right: 50px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 16px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 26px;
}
.hero-headline {
  font-family: 'Fraunces', serif; font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  font-weight: 600; line-height: 1.05; color: var(--white); margin-bottom: 24px;
}
.hero-headline em { font-style: italic; color: var(--rust-soft); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  background: var(--rust); color: var(--white); border: none;
  padding: 15px 30px; border-radius: 100px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #943f1f; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 15px 30px; border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats { display: flex; gap: 36px; }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 600; color: var(--white); }
.stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

.hero-visual { position: relative; height: 480px; }
.hero-img-main {
  position: absolute; top: 0; right: 0; width: 88%; height: 86%;
  border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute; bottom: -10px; left: -10px;
  background: var(--paper); border-radius: 16px;
  padding: 22px 24px; width: 230px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.hero-float-card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.hero-float-card-title { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.hero-float-card-sub { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── SECTION COMMON ── */
section { padding: 88px 48px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--olive-soft); color: var(--olive-deep);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-title {
  font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600; line-height: 1.15; color: var(--ink);
}
.section-title em { font-style: italic; color: var(--rust); }
.section-lead { font-size: 1rem; color: var(--muted); max-width: 480px; line-height: 1.8; }

/* ── BENTO / CARD GRID FOR SERVICES ── */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bento-card {
  background: var(--paper); border-radius: 18px; padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(35,32,23,0.10); }
.bento-card.featured { background: var(--olive); color: var(--white); grid-row: span 1; }
.bento-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px; background: var(--olive-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem;
}
.bento-card.featured .bento-icon-wrap { background: rgba(255,255,255,0.15); }
.bento-card h3 { font-size: 1.18rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.bento-card.featured h3 { color: var(--white); }
.bento-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.bento-card.featured p { color: rgba(255,255,255,0.78); }
.bento-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 0.82rem; color: var(--rust); font-weight: 700; text-decoration: none;
}
.bento-card.featured .bento-link { color: var(--rust-soft); }

/* ── SPLIT SECTION (image + text, alternating) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1fr; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-image { order: 1; }
.split-image {
  border-radius: 20px; overflow: hidden; height: 420px;
  box-shadow: 0 20px 50px rgba(35,32,23,0.12);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.pillars { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-num {
  width: 30px; height: 30px; border-radius: 8px; background: var(--rust); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.pillar h4 { font-size: 0.96rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pillar p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── LISTING CARDS (rounded, photo-led) ── */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card { background: var(--paper); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.listing-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(35,32,23,0.12); }
.listing-photo { height: 200px; position: relative; overflow: hidden; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-pill { position: absolute; top: 14px; left: 14px; background: var(--white); padding: 5px 13px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--olive); }
.listing-pill.sold { color: var(--rust); }
.listing-leaf { position: absolute; bottom: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--olive); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.listing-info { padding: 20px; }
.listing-price { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.listing-addr { font-size: 0.82rem; color: var(--muted); margin: 4px 0 14px; }
.listing-specs { display: flex; gap: 16px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ── PROCESS — horizontal numbered cards ── */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { background: var(--paper); border-radius: 16px; padding: 28px 22px; border: 1px solid var(--line); position: relative; }
.process-card .big-num {
  font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 600;
  color: var(--olive-soft); position: absolute; top: 14px; right: 18px; line-height: 1;
}
.process-card h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; position: relative; }
.process-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; position: relative; }

/* ── TOWNS — pill tag cloud ── */
.towns-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.town-pill {
  background: var(--paper); border: 1.5px solid var(--olive); color: var(--olive-deep);
  padding: 12px 24px; border-radius: 100px; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.town-pill:hover { background: var(--olive); color: var(--white); }

/* ── TESTIMONIALS — masonry-ish offset cards ── */
.testi-section { background: var(--olive-deep); color: var(--white); }
.testi-section .section-label { background: rgba(255,255,255,0.12); color: var(--sand); }
.testi-section .section-title { color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 28px 24px; }
.testi-card:nth-child(2) { transform: translateY(20px); }
.testi-stars { color: var(--rust-soft); font-size: 0.85rem; margin-bottom: 14px; }
.testi-text { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.82); margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rust); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600; font-size: 0.9rem; }
.testi-name { font-size: 0.88rem; font-weight: 700; }
.testi-sub { font-size: 0.74rem; color: rgba(255,255,255,0.5); margin-top: 1px; }

/* ── STAT STRIP ── */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px 16px; text-align: center; }
.stat-card .icon { font-size: 1.6rem; margin-bottom: 10px; }
.stat-card .label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ── CHECK LIST ── */
.check-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.check-list li::before { content: '✓'; color: var(--rust); font-weight: 700; flex-shrink: 0; }
.body-text { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }

/* ── CTA BANNER ── */
.cta-band { background: var(--rust); padding: 70px 48px; text-align: center; color: var(--white); border-radius: 0; }
.cta-band-inner { max-width: 600px; margin: 0 auto; }
.cta-band h2 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; line-height: 1.7; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: #000; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-card { background: var(--paper); border-radius: 20px; padding: 40px; border: 1px solid var(--line); }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-row .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--olive-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row h5 { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.contact-row p { font-size: 0.86rem; color: var(--muted); }
.form-card { background: var(--paper); border-radius: 20px; padding: 40px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--cream); border: 1.5px solid var(--line); padding: 12px 16px;
  border-radius: 10px; font-family: 'Work Sans', sans-serif; font-size: 0.94rem; color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--olive); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-block { width: 100%; padding: 15px; border-radius: 10px; text-align: center; border: none; cursor: pointer; }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 56px 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 42px; }
.footer-brand { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--white); margin-bottom: 14px; font-weight: 600; }
.footer-brand span { color: var(--rust-soft); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; max-width: 250px; }
.footer-col h5 { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { text-decoration: none; color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-col ul a:hover { color: var(--rust-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,0.55); font-size: 0.78rem; }
.social-link:hover { border-color: var(--rust-soft); color: var(--rust-soft); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  body { padding-top: 130px; }
  nav { padding: 12px 28px; top: 34px; }
  section { padding: 64px 28px; }
  .hero { padding: 56px 28px 80px; }
  .hero-shell { grid-template-columns: 1fr; gap: 50px; }
  .hero-content { padding-right: 0; }
  .hero-visual { height: 340px; }
  .page-hero { padding: 56px 28px 0; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-image { display: none; }
  .bento-grid, .listing-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text, .split.reverse .split-image { order: unset; }
  .process-row, .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testi-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  body { padding-top: 158px; }
  .top-contact-bar { flex-direction: column; gap: 6px; font-size: 0.76rem; }
  nav { top: 78px; padding: 10px 18px; }
  .nav-links { display: none; }
  section { padding: 50px 18px; }
  .hero { padding: 44px 18px 60px; }
  .page-hero { padding: 44px 18px 0; }
  .bento-grid, .listing-grid, .testi-grid, .process-row, .stat-strip, .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  footer { padding: 40px 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ... (Your existing CSS up to the :root and base styles) ... */

/* ── ADD ANIMATIONS ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.delay-1 { animation-delay: 0.1s; }
.animate-on-scroll.delay-2 { animation-delay: 0.2s; }
.animate-on-scroll.delay-3 { animation-delay: 0.3s; }
.animate-on-scroll.delay-4 { animation-delay: 0.4s; }

/* ── HERO ENHANCEMENTS ── */
.hero {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    opacity: 0.1;
    pointer-events: none;
}
.hero-headline {
    /* ... existing styles ... */
    animation: fadeInUp 0.8s ease forwards;
}
.hero-desc {
    /* ... existing styles ... */
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}
.hero-actions {
    /* ... existing styles ... */
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}
.hero-stats {
    /* ... existing styles ... */
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* ── CARD HOVER ENHANCEMENTS ── */
.bento-card,
.listing-card,
.process-card,
.testi-card {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
}
.bento-card:hover,
.listing-card:hover,
.process-card:hover,
.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(35, 32, 23, 0.12);
}
.bento-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(92, 94, 53, 0.25);
}

/* ── BUTTON ENHANCEMENTS ── */
.btn-primary {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:active::after {
    width: 300px;
    height: 300px;
}
.btn-outline {
    /* ... existing styles ... */
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--white);
}

/* ── TESTIMONIALS ── */
.testi-card {
    backdrop-filter: blur(4px);
}
.testi-card:nth-child(2) {
    transform: translateY(20px);
}
.testi-card:nth-child(2):hover {
    transform: translateY(12px);
}
@media (max-width: 1024px) {
    .testi-card:nth-child(2) {
        transform: none;
    }
    .testi-card:nth-child(2):hover {
        transform: translateY(-8px);
    }
}

/* ── SPLIT IMAGE ZOOM ── */
.split-image {
    overflow: hidden;
}
.split-image img {
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}
.split-image:hover img {
    transform: scale(1.05);
}

/* ── TOWN PILLS ── */
.town-pill {
    transition: all 0.3s ease;
}
.town-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92, 94, 53, 0.2);
}

/* ── PAGE HERO ── */
.page-hero {
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--cream), transparent);
    opacity: 0.15;
    pointer-events: none;
}
.page-hero-title {
    animation: fadeInUp 0.7s ease forwards;
}
.page-hero-sub {
    animation: fadeInUp 0.7s ease 0.2s forwards;
    opacity: 0;
}
.page-hero-image {
    animation: scaleIn 0.8s ease forwards;
    opacity: 0;
}

/* ── FOOTER ── */
.footer-social .social-link {
    transition: all 0.3s ease;
}
.footer-social .social-link:hover {
    transform: translateY(-3px);
    background: var(--rust);
    border-color: var(--rust);
    color: var(--white);
}

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.delay-1 { animation-delay: 0.1s; }
.animate-on-scroll.delay-2 { animation-delay: 0.2s; }
.animate-on-scroll.delay-3 { animation-delay: 0.3s; }
.animate-on-scroll.delay-4 { animation-delay: 0.4s; }
/* ── FOOTER REVIEW BUTTON ── */
.footer-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--rust);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.footer-review-btn:hover {
  background: #943f1f;
  transform: translateY(-1px);
}