/* ============================================================
   Olivia Glass Real Estate — style.css
   ============================================================ */


/* ------------------------------------------------------------
   1. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-cream: #f0ebe3;
  --color-primary: #1a2235;
  --color-accent-blue: #6b9fc5;
  --color-accent-blue-dark: #5a8eb4;
  --color-accent-gold: #c9a96e;
  --color-accent-gold-dark: #b8965c;
  --color-accent-tan: #e8d5b7;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;
  --color-border: #e0d8ce;
  --color-divider: #b8860b;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Lato', sans-serif;

  --max-width: 1200px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-padding: clamp(1.25rem, 5vw, 3rem);
  --nav-height: 76px;
}


/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.8;
}


/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.section-label .dash {
  color: var(--color-divider);
  margin: 0 0.5em;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  line-height: 1.1;
}

.script-accent {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-primary);
  line-height: 1.1;
  display: block;
}

.heading-block {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}


/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.25rem;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent-blue);
  color: #fff;
  border: 1px solid var(--color-accent-blue);
}

.btn-primary:hover {
  background: var(--color-accent-blue-dark);
  border-color: var(--color-accent-blue-dark);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
}

.btn-outline-gold:hover {
  background: var(--color-accent-gold);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
}

.btn-orange {
  /* kept for any other uses — unused in nav */
  background: #d4762b;
  color: #fff;
  border: 1px solid #d4762b;
}

/* Book a Call nav button — built from scratch, no .btn inheritance */
.nav-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.72rem 2rem;
  color: #d4762b;
  border: 1.5px solid #d4762b;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-book-btn:hover {
  background: #d4762b;
  color: #fff;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}


/* ------------------------------------------------------------
   6. SCROLL REVEAL
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  background: var(--color-surface);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  clip-path: inset(0 8px 0 0);
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: stretch;
}

.hero-col-img {
  position: relative;
  overflow: hidden;
}

.hero-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-col-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2.5rem;
  background: var(--color-bg);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.1;
  display: block;
  margin-bottom: 0.2rem;
}

.hero-subheading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.scroll-indicator {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}


/* ------------------------------------------------------------
   9. LISTINGS / PROPERTY CARDS
   ------------------------------------------------------------ */
.listings-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--color-surface);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 36px rgba(0,0,0,0.12);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.5rem 1.5rem 0;
  flex: 1;
}

.card-price {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.card-address {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.card-city {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pill {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-accent-tan);
  color: var(--color-text);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.listings-cta {
  text-align: center;
}

/* ---- Property Modal ---- */
.property-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-modal.open {
  display: flex;
}

.property-modal.visible {
  opacity: 1;
}

.property-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.property-modal-box {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.93) translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
}

.property-modal.visible .property-modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.property-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.property-modal-close:hover {
  background: var(--color-accent-blue);
}

.property-modal-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.property-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal-body {
  padding: 1.75rem 2rem 2rem;
}

.property-modal-body .card-price {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.property-modal-body .card-address {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.property-modal-body .card-city {
  margin-bottom: 0.85rem;
}

.property-modal-body .card-pills {
  margin-bottom: 1.25rem;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.25rem 0;
}

.modal-description {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.75rem;
}

.modal-detail-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text);
}

.modal-detail-item strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.1rem;
}


/* ------------------------------------------------------------
   10. SPLIT SECTION (Stress Free)
   ------------------------------------------------------------ */
.split-section {
  display: flex;
  min-height: 600px;
}

.split-section.cream-left .split-text {
  background: var(--color-cream);
}

.split-text {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--section-padding) var(--container-padding);
}

.split-text-inner {
  max-width: 540px;
  margin: 0 auto;
}

.split-text-inner .section-heading {
  margin-bottom: 0.2rem;
}

.split-text-inner .script-accent {
  margin-bottom: 1.5rem;
}

.split-text-inner p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 460px;
}

.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* ------------------------------------------------------------
   11. RESOURCES SECTION
   ------------------------------------------------------------ */
.resources-section {
  padding: var(--section-padding) 0;
  background: var(--color-surface);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.resource-card {
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.resource-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.icon-circle {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-tan);
}

.icon-arrow {
  font-size: 0.85rem;
  color: var(--color-accent-gold);
  line-height: 1;
}

.icon-house {
  font-size: 1.5rem;
  color: #8b6f47;
  line-height: 1;
}

.resource-card .script-accent {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0;
}

.resource-card .section-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.resource-card p {
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  flex: 1;
}


/* ------------------------------------------------------------
   12. CTA BANNER
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem var(--container-padding);
}

.cta-banner-content .section-heading {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  margin-bottom: 0.25rem;
}

.cta-banner-content .script-accent {
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  margin-bottom: 2rem;
}


/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-accent-gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}


/* ------------------------------------------------------------
   14. PAGE HERO (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  text-align: center;
  background: var(--color-cream);
}

.page-hero .script-accent {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 0;
}

.page-hero .section-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
}


/* ------------------------------------------------------------
   15. ABOUT PAGE
   ------------------------------------------------------------ */
.about-bio {
  padding: var(--section-padding) 0;
}

.about-bio .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-bio-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about-bio-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-bio-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.about-bio-text p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.about-bio-text .btn {
  margin-top: 0.75rem;
}

.stats-section {
  background: var(--color-cream);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-accent-blue);
  display: block;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.about-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}


/* ------------------------------------------------------------
   16. GUIDE / RESOURCES PAGE
   ------------------------------------------------------------ */
.guide-resources {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.guide-resource-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  border: 1px solid var(--color-border);
  padding: 3rem;
  margin-bottom: 2rem;
  background: var(--color-surface);
  border-radius: 3px;
}

.guide-resource-text .script-accent {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.guide-resource-text .section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.25rem;
}

.guide-resource-text p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.guide-resource-text .btn {
  margin-top: 1rem;
}

.guide-resource-detail {
  padding-top: 0.5rem;
}

.guide-resource-detail ul {
  list-style: none;
  padding: 0;
}

.guide-resource-detail li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.guide-resource-detail li::before {
  content: '—';
  color: var(--color-accent-gold);
  font-weight: 400;
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--color-cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--color-accent-blue);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-accent-gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: 0.9rem;
  padding-bottom: 1.5rem;
  color: var(--color-text);
}


/* ------------------------------------------------------------
   17. CONTACT PAGE
   ------------------------------------------------------------ */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent-blue);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-aside {
  padding-top: 0.5rem;
}

.contact-aside h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-aside p {
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.contact-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}


/* ------------------------------------------------------------
   18. LISTINGS PAGE HERO
   ------------------------------------------------------------ */
.listings-page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background: var(--color-cream);
}


/* ------------------------------------------------------------
   19. RESPONSIVE — TABLET (768px–1023px)
   ------------------------------------------------------------ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    grid-template-columns: 0 1fr 0;
  }

  .hero-col-img {
    display: none;
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-bio .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-bio-image img {
    aspect-ratio: 16 / 9;
  }

  .guide-resource-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ------------------------------------------------------------
   20. RESPONSIVE — MOBILE (≤767px)
   ------------------------------------------------------------ */
@media (max-width: 767px) {

  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 1rem var(--container-padding);
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin: 1rem var(--container-padding);
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--nav-height);
  }

  .hero-col-img.hero-left {
    display: none;
  }

  .hero-col-img.hero-right {
    display: block;
    min-height: 300px;
    order: -1;
  }

  .hero-col-text {
    padding: 2.5rem 1.5rem 3rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  /* Listings */
  .listings-grid {
    grid-template-columns: 1fr;
  }

  /* Split */
  .split-section {
    flex-direction: column-reverse;
  }

  .split-image {
    min-height: 320px;
  }

  .split-text {
    padding: 3rem var(--container-padding);
  }

  /* Resources */
  .resources-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* About bio */
  .about-bio .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-bio-image img {
    aspect-ratio: 4 / 3;
  }

  /* Guide resource items */
  .guide-resource-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* CTA banner */
  .cta-banner {
    min-height: 380px;
  }
}


/* ============================================================
   EXTRA ANIMATIONS & INTERACTIVE ENHANCEMENTS
   ============================================================ */

/* Page entrance fade */
body {
  animation: pageIn 0.5s ease both;
}

@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-gold));
  z-index: 1100;
  transition: width 0.05s linear;
}

/* Staggered grid card reveals */
.listings-grid .reveal:nth-child(2),
.resources-grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.listings-grid .reveal:nth-child(3) {
  transition-delay: 0.24s;
}

/* Button press micro-interaction */
.btn:active {
  transform: scale(0.97);
}

/* Enhanced card hover — lift shadow further */
.card {
  will-change: transform;
}

/* Hero image parallax — managed via JS transform */
.hero-col-img img {
  will-change: transform;
  transition: none; /* disable any conflicting transitions */
}

/* Nav link active state */
.nav-links a.active::after {
  width: 100%;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent-blue);
}

/* Stat number pulse on count finish */
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.stat-number.counted {
  animation: statPop 0.4s ease;
}

/* CTA banner text stagger */
.cta-banner-content .section-heading { transition-delay: 0.05s; }
.cta-banner-content .script-accent   { transition-delay: 0.15s; }
.cta-banner-content .btn             { transition-delay: 0.25s; transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s; }

/* Section label line-draw animation */
.section-label {
  overflow: hidden;
}

/* Smooth underline on footer nav links */
.footer-nav a {
  position: relative;
  padding-bottom: 2px;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.25s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* Image hover overlay shimmer */
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.card:hover .card-image::after {
  transform: translateX(100%);
}

.card-image {
  position: relative;
}

/* Split image subtle zoom on scroll-in */
.split-image img {
  transition: transform 6s ease;
}

.split-section.visible-in .split-image img {
  transform: scale(1.04);
}
