/* ====== BRAND KIT — Alexis Gomez ====== */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --cream: #FAF7F2;
  --charcoal: #2A2A2A;
  --gold: #B8956A;
  --terracotta: #C97B5C;
  --sage: #8A9A7B;
  --serif-display: 'Cormorant Garamond', 'The Seasons', serif;
  --serif-title: 'Belleza', serif;
  --sans-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  font-family: var(--sans-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3 { font-family: var(--serif-display); font-weight: 500; line-height: 1.15; letter-spacing: 0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.eyebrow {
  font-family: var(--serif-title);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ====== SIGNATURE BLACK TITLE BAR ====== */
.title-bar {
  display: inline-flex;
  align-items: stretch;
  background: var(--black);
  color: var(--white);
  margin-bottom: 2rem;
  font-family: var(--serif-title);
}
.title-bar-left, .title-bar-right {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.title-bar-left { background: var(--black); color: var(--white); }
.title-bar-right { background: var(--white); color: var(--black); border: 1px solid var(--black); border-left: none; }

/* ====== NAV ====== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #2D3E2D url('forest-texture.png') center center / cover no-repeat;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 0;
  transition: padding 0.3s ease;
}
nav.scrolled { padding: 0; }
nav .logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
nav .logo .main-logo { display: block; margin: -15px 0 -30px; }
nav .logo .cb-logo { display: block; height: 24px; margin-bottom: 10px; opacity: 0.95; }
nav .nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
}
nav .logo span { color: var(--white); font-style: italic; }
nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}
nav ul a {
  font-family: var(--sans-body);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
nav ul a:hover, nav ul a.active { color: var(--cream); opacity: 0.85; }
nav .cta-btn {
  background: var(--black);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s;
  white-space: nowrap;
}
nav .cta-btn:hover { background: var(--charcoal); opacity: 1; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--sans-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-coffee {
  background: var(--sage);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-coffee:hover { background: var(--black); transform: translateY(-2px); }
.btn-coffee svg { width: 18px; height: 18px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--sage); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--sage); color: var(--white); border-color: var(--sage); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--black); border: 1.5px solid var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  background: var(--white);
}
.hero-content {
  padding: 4rem 4rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content .eyebrow { margin-bottom: 1.5rem; color: var(--sage); }
.hero-content h1 {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--black);
}
.hero-content .subhead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  background-size: cover;
  background-position: center;
  min-height: 600px;
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 60%, rgba(10,10,10,0.4) 100%);
}

/* Page hero (smaller than home hero) */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13rem 2rem 4rem;
  background: var(--cream);
  position: relative;
}
.page-hero h1 { font-style: italic; color: var(--black); margin-bottom: 1rem; }
.page-hero .subhead { font-size: 1.2rem; max-width: 700px; margin: 0 auto; color: var(--charcoal); }
.page-hero .eyebrow { color: var(--sage); margin-bottom: 1.5rem; display: block; }

/* ====== STATS BAR ====== */
.stats { background: var(--cream); padding: 4rem 2rem; }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.stat-item h3 {
  font-family: var(--serif-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.stat-item p { font-size: 0.95rem; letter-spacing: 0.05em; color: var(--charcoal); }

/* ====== SECTION BASE ====== */
section { padding: 7rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .eyebrow { display: block; margin-bottom: 1rem; color: var(--sage); }
.section-header h2 { color: var(--black); font-style: italic; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-cream { background: var(--cream); }
.section-terracotta { background: var(--sage); color: var(--white); }
.section-terracotta h2 { color: var(--white); }
.section-sage { background: var(--sage); color: var(--white); }
.section-sage h2 { color: var(--white); }

/* ====== TWO-COLUMN ====== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 5rem;
  align-items: center;
}
.two-col.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.two-col > * { min-width: 0; }
.two-col img, .col-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  aspect-ratio: 3/4;
  min-height: 500px;
}
.col-text h2 { margin-bottom: 2rem; color: var(--black); }
.col-text p { font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.8; }

/* ====== CARD GRIDS ====== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-top: 3px solid var(--sage);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card.dark { background: var(--charcoal); color: rgba(255,255,255,0.9); border-top-color: var(--gold); }
.service-card.dark h3 { color: var(--white); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.service-card .icon {
  font-size: 1.75rem;
  margin: 0 0.6rem 0 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  margin: 0;
  color: var(--black);
  font-style: italic;
  display: inline-block;
  vertical-align: middle;
}
.service-card p { font-size: 0.95rem; line-height: 1.7; margin-top: 1rem; }

/* ====== STEPS / HOW IT WORKS ====== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.step.in-view {
  opacity: 1;
  transform: translateX(0);
}
.steps .step:nth-child(1).in-view { transition-delay: 0s; }
.steps .step:nth-child(2).in-view { transition-delay: 0.15s; }
.steps .step:nth-child(3).in-view { transition-delay: 0.3s; }
.steps .step:nth-child(4).in-view { transition-delay: 0.45s; }
.steps .step:nth-child(5).in-view { transition-delay: 0.6s; }
.steps .step:nth-child(6).in-view { transition-delay: 0.75s; }
.steps .step:nth-child(7).in-view { transition-delay: 0.9s; }
.steps .step:nth-child(8).in-view { transition-delay: 1.05s; }
.step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--serif-display);
  font-size: 3.5rem;
  font-style: italic;
  color: var(--sage);
  line-height: 1;
}
.step-content h3 { margin-bottom: 0.75rem; color: var(--black); }
.step-content p { font-size: 1.05rem; line-height: 1.7; }

/* ====== BUYER VS SELLER PATHS ====== */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 70vh;
}
.path-card {
  position: relative;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  transition: all 0.5s ease;
}
.path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 1s ease;
}
.path-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.75) 100%);
  z-index: 1;
}
.path-card:hover::before { transform: scale(1.05); }
.path-card > * { position: relative; z-index: 2; }
.path-card h2 { font-size: 3rem; font-style: italic; margin-bottom: 1rem; }
.path-card p { font-size: 1.05rem; margin-bottom: 2rem; max-width: 400px; }
.path-card .btn-outline { color: var(--white); border-color: var(--white); }
.path-card .btn-outline:hover { background: var(--white); color: var(--black); }

/* ====== TESTIMONIALS ====== */
.testimonial-quote {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-family: var(--serif-display);
  font-size: 1.75rem;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
}
.testimonial-name {
  font-family: var(--sans-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--cream);
  padding: 2.5rem;
  border-left: 3px solid var(--sage);
}
.testimonial-card .quote {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.testimonial-card .author {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ====== ILLUSTRATED MAP (Miami Valley service area) ====== */
.areas-map { width: 100%; }
.areas-map svg { width: 100%; height: auto; display: block; max-width: 700px; margin: 0 auto; }
.map-pin-group { cursor: default; }
.map-pin-drop { fill: var(--sage); }
.map-pin-dot { fill: var(--cream); }
.map-pin-label {
  font-family: var(--sans-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--charcoal);
  font-weight: 400;
}
.map-road { stroke: #D9D0BD; stroke-width: 3; fill: none; opacity: 0.7; }

/* ====== AREAS / NEIGHBORHOODS LIST ====== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  margin: 3rem 0;
}
.areas-list a {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  color: var(--charcoal);
  text-decoration: none;
  font-style: italic;
  transition: color 0.2s;
}
.areas-list a:hover { color: var(--sage); }

/* ====== FORM SUCCESS STATE ====== */
.form-success {
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(139, 158, 122, 0.12);
  border: 1px solid rgba(139, 158, 122, 0.35);
  border-radius: 4px;
  animation: fadeInUp 0.5s ease-out;
}
.form-success h3 {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.form-success p { color: var(--charcoal); font-size: 1rem; line-height: 1.6; }
.form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(201, 123, 92, 0.1);
  border: 1px solid rgba(201, 123, 92, 0.4);
  color: var(--terracotta);
  font-size: 0.9rem;
  text-align: center;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ====== LEAD MAGNET / FORM ====== */
.lead-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lead-form input, .lead-form textarea, .lead-form select {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.5rem;
  border: none;
  font-family: var(--sans-body);
  font-size: 1rem;
}
.lead-form .btn { background: var(--black); color: var(--white); }
.lead-form .btn:hover { background: var(--cream); color: var(--black); }
form.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(10,10,10,0.2);
  font-family: var(--sans-body);
  font-size: 1rem;
  background: var(--white);
}
form.contact-form textarea { min-height: 150px; resize: vertical; }
form.contact-form .btn { justify-self: start; }

/* ====== PORTFOLIO GRID ====== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  display: block;
  text-decoration: none;
  color: inherit;
}
.portfolio-item .ph-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .ph-img { transform: scale(1.05); }
.portfolio-item .ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.portfolio-item .ph-overlay h4 {
  font-family: var(--serif-display);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.25rem;
}
.portfolio-item .ph-overlay p { font-size: 0.85rem; opacity: 0.85; }

/* ====== BLOG GRID ====== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(10,10,10,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.blog-card .blog-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}
.blog-card .blog-body { padding: 2rem; }
.blog-card .blog-date {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-family: var(--serif-display);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--black);
}
.blog-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.blog-card .read-more {
  font-family: var(--sans-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}

/* ====== FOOTER ====== */
footer {
  background: #0a0a0a url('black-texture.png') center center / cover no-repeat;
  color: var(--white);
  padding: 4.5rem 2rem 2rem;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
footer > * { position: relative; z-index: 1; }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 1rem;
  align-items: start;
}
.footer-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.footer-brand-stack .footer-main-logo {
  width: 170px;
  height: auto;
  display: block;
  margin: -8px 0 -8px -10px;
}
.footer-brand-stack .footer-cb-logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.95;
}
.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  max-width: 260px;
}
.footer-spanish {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(199, 169, 119, 0.4);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.footer-social-row {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0;
  border-top: none;
}
.footer-social-block {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: all 0.25s ease;
}
.footer-social-block:hover {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-social-block svg {
  width: 26px;
  height: 26px;
}
footer h4 {
  font-family: var(--serif-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-weight: 400;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 0.7rem; }
footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
footer a:hover { color: var(--gold); }
.footer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ====== UTILITY ====== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.spanish-badge {
  display: inline-block;
  font-family: var(--sans-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

/* ====== TABLET BREAKPOINT (prevents awkward narrow two-col layouts) ====== */
@media (max-width: 1100px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 3rem; }
  .col-img { aspect-ratio: 16/10; min-height: 320px; max-height: 500px; }
}

/* ====== MOBILE ====== */
@media (max-width: 900px) {
  .mobile-toggle { display: block; font-size: 1.75rem; color: var(--white); }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  nav ul.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-image { min-height: 400px; }
  .stats-inner { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 4rem 1.5rem; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .col-img { min-height: 350px; aspect-ratio: 1; }
  .cards-grid, .cards-grid.cols-4, .cards-grid.cols-5 { grid-template-columns: 1fr; }
  .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .path-card { padding: 3rem 1.5rem; min-height: 50vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid, .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step-number { font-size: 2.5rem; }
}

/* ====== MOBILE POLISH PASS ====== */
@media (max-width: 900px) {
  /* Nav logo — was 180px which is way too big on phones */
  nav .main-logo { height: 95px !important; }
  nav .cb-logo { height: 38px !important; }
  .nav-inner { padding: 1rem 1.5rem; }
  #mainNav { padding: 0; }
  
  /* Typography scaling on phones */
  h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  h3 { font-size: clamp(1.2rem, 4.5vw, 1.5rem); }
  
  /* Hero tightening */
  .page-hero { min-height: auto; padding: 8rem 1.5rem 4rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .page-hero .subhead { font-size: 1rem; }
  
  /* Service cards — make sure icon+title stack nicely if needed */
  .service-card { padding: 2rem 1.5rem; }
  .service-card .icon { font-size: 1.5rem; margin-right: 0.5rem; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card p { font-size: 0.95rem; }
  
  /* Forms — bigger tap targets, single column */
  .lead-form-row { grid-template-columns: 1fr !important; gap: 0.75rem; }
  .lead-form input, .contact-form input, .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 1rem;
  }
  .lead-form button, .contact-form button, .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* FAQ — bigger tap area and breathing room */
  .faq-item { padding: 20px 0 !important; }
  .faq-item summary {
    font-size: 1.05rem !important;
    padding-right: 1rem;
  }
  .faq-item p {
    font-size: 0.95rem !important;
    margin-top: 12px !important;
  }
  
  /* Stats bar — already 1col, but tighten */
  .stats { padding: 3rem 1.5rem; }
  .stat-item h3 { font-size: 1.75rem; }
  
  /* Lead magnet section */
  .lead-magnet { padding: 4rem 1.5rem; }
  .lead-magnet h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  
  /* Footer */
  .footer-grid { padding: 3rem 1.5rem 2rem; }
  .footer-brand-stack { text-align: center; }
  .footer-main-logo { max-height: 90px; }
  .footer-cb-logo { max-height: 40px; }
  
  /* Article body (blog post) tightening */
  .article-hero { padding: 8rem 1.5rem 3rem !important; }
  .article-body { padding: 3rem 1.5rem !important; }
  .article-body h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .article-meta { flex-direction: column; gap: 0.5rem; }
  .author-box { grid-template-columns: 1fr !important; padding: 2rem !important; text-align: center; }
  .author-box img { width: 140px !important; height: 140px !important; margin: 0 auto; }
  
  /* Blog cards — featured post 2-col → stacks, no horizontal overflow */
  .blog-card,
  .blog-card[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .blog-card .blog-img {
    min-height: 240px !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/10 !important;
  }
  .blog-card .blog-body,
  .blog-card [style*="padding: 3rem"] {
    padding: 1.75rem !important;
  }
  .blog-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  .blog-card h3,
  .blog-card [style*="font-size: 1.75rem"] {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    word-wrap: break-word !important;
  }
  
  /* Testimonial section eyebrow + heading on green texture */
  .testimonial-section { padding: 4rem 1.5rem !important; }
  
  /* CTA buttons in heroes */
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ====== EXTRA SMALL PHONES (< 480px) ====== */
@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  .container { padding: 0; }
  nav .main-logo { height: 78px !important; }
  nav .cb-logo { height: 32px !important; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .article-body { padding: 2rem 1rem !important; }
}

/* ====== MOBILE HERO — image as background with overlaid text ====== */
@media (max-width: 900px) {
  .hero {
    position: relative;
    min-height: 100vh;
    display: block;
    padding: 0;
    overflow: hidden;
  }
  .hero-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh !important;
    z-index: 1;
  }
  .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.75) 100%);
    z-index: 2;
  }
  .hero-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    padding: 9rem 1.5rem 4rem !important;
    color: var(--white) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .hero-content h1 { color: var(--white) !important; }
  .hero-content .subhead { color: rgba(255,255,255,0.9) !important; max-width: none; }
  .hero-content .eyebrow { color: var(--cream) !important; }

  /* CTA buttons styled for DARK hero background (homepage .hero only) */
  .hero .hero-ctas .btn-outline,
  .hero .hero-ctas .btn-light {
    background: transparent;
    color: var(--white) !important;
    border: 1.5px solid var(--white) !important;
  }
  .hero .hero-ctas .btn-outline:hover,
  .hero .hero-ctas .btn-light:hover {
    background: var(--white);
    color: var(--charcoal) !important;
  }
  .hero .hero-ctas .btn-primary {
    background: var(--white);
    color: var(--charcoal) !important;
    border: 1.5px solid var(--white);
  }
  .hero .hero-ctas .btn-primary:hover {
    background: transparent;
    color: var(--white) !important;
  }

  /* CTA buttons styled for CREAM page-hero (sellers, buyers, etc.) */
  .page-hero .hero-ctas .btn-primary {
    background: var(--black) !important;
    color: var(--white) !important;
    border: 1.5px solid var(--black) !important;
  }
  .page-hero .hero-ctas .btn-primary:hover {
    background: var(--sage) !important;
    border-color: var(--sage) !important;
  }
  .page-hero .hero-ctas .btn-outline,
  .page-hero .hero-ctas .btn-light {
    background: transparent !important;
    color: var(--black) !important;
    border: 1.5px solid var(--black) !important;
  }
  .page-hero .hero-ctas .btn-outline:hover,
  .page-hero .hero-ctas .btn-light:hover {
    background: var(--sage) !important;
    color: var(--white) !important;
    border-color: var(--sage) !important;
  }
}

/* ====== MOBILE: text before image in two-col sections ====== */
@media (max-width: 900px) {
  .two-col .col-img { order: 2; }
  .two-col .col-text { order: 1; }
  .two-col.reverse .col-img { order: 2; }
  .two-col.reverse .col-text { order: 1; }
}

/* ====== MOBILE: Testimonials as horizontal swipe slider ====== */
@media (max-width: 900px) {
  .testimonials-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 1rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.5rem 2rem;
    margin: 0 -1.5rem;
    scrollbar-width: none; /* hide scrollbar Firefox */
    scroll-padding: 0 1.5rem;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none; /* hide scrollbar Safari/Chrome */
  }
  .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: 0;
    transition-delay: 0s !important; /* override staggered desktop animations */
  }
  /* Optional: subtle swipe hint after the cards */
  .testimonial-section .container::after {
    content: "← swipe →";
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--charcoal);
    opacity: 0.5;
    font-family: var(--serif-title);
  }
}

/* ====== MOBILE: Areas/map section — text above map ====== */
@media (max-width: 900px) {
  .areas-map { order: 2; }
  .areas-content { order: 1; }
}

/* ====== MOBILE: Dropdown nav link color (was white-on-white) ====== */
@media (max-width: 900px) {
  nav ul.open a {
    color: var(--sage) !important;
    font-size: 1.1rem;
    font-weight: 500;
  }
  nav ul.open a:hover,
  nav ul.open a.active {
    color: var(--charcoal) !important;
  }
  /* CTA button keeps white-on-black */
  nav ul.open .cta-btn {
    color: var(--white) !important;
    background: var(--charcoal);
    padding: 0.75rem 1.5rem;
    display: inline-block;
  }
}

/* ====== CONTACT PAGE — info cards + mobile coffee button fix ====== */
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(138, 154, 123, 0.4);
  padding: 2rem 1.75rem;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.contact-info-card h2,
.contact-info-card h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(138, 154, 123, 0.15);
}
.contact-info-list li:last-child {
  border-bottom: none;
}
.contact-info-list .contact-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  width: 1.5rem;
}
.contact-info-list a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  transition: color 0.2s;
}
.contact-info-list a:hover {
  color: var(--sage);
}

/* Coffee button on mobile — keep on one line */
@media (max-width: 600px) {
  .btn-coffee {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 1rem 1.25rem;
    white-space: nowrap;
  }
  .btn-coffee svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 900px) {
  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ====== FOOTER LOGO — mobile fix ====== */
@media (max-width: 900px) {
  .footer-grid {
    text-align: center;
  }
  .footer-brand-stack {
    align-items: center !important;
    text-align: center !important;
  }
  .footer-brand-stack .footer-main-logo,
  .footer-main-logo {
    height: auto !important;
    width: auto !important;
    max-height: 120px !important;
    max-width: 230px !important;
    margin: 0 !important;
  }
  .footer-brand-stack .footer-cb-logo,
  .footer-cb-logo {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    margin-top: 0.5rem !important;
  }
  .footer-tagline {
    text-align: center;
    margin: 0.75rem auto 0 !important;
    max-width: 280px;
  }
}

/* ====== BLOG PAGE — aggressive overflow fix on mobile ====== */
@media (max-width: 900px) {
  .blog-card,
  .blog-card[style],
  article.blog-card {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .blog-card .blog-img,
  .blog-card div.blog-img {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 240px !important;
    aspect-ratio: 16/10 !important;
  }
  .blog-card .blog-body,
  .blog-card div.blog-body {
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .blog-card h3,
  .blog-card .blog-body h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .blog-grid,
  .blog-grid[style] {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    overflow: hidden !important;
  }
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
}

/* ====== CTA BUTTON VISIBILITY — sellers/buyers/investors pages ====== */
/* Make sure all .hero-ctas buttons are clearly readable as buttons    */
/* on every page, both inside .page-hero and in bottom CTA sections.   */

/* Base styling: always visible on desktop AND mobile */
.page-hero .hero-ctas .btn-primary,
section .hero-ctas .btn-primary {
  background: var(--black) !important;
  color: var(--white) !important;
  border: 1.5px solid var(--black) !important;
  box-shadow: 0 2px 8px rgba(10,10,10,0.12);
}
.page-hero .hero-ctas .btn-primary:hover,
section .hero-ctas .btn-primary:hover {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
  color: var(--white) !important;
}

.page-hero .hero-ctas .btn-outline,
.page-hero .hero-ctas .btn-light,
section .hero-ctas .btn-outline,
section .hero-ctas .btn-light {
  background: var(--white) !important;
  color: var(--black) !important;
  border: 1.5px solid var(--black) !important;
  box-shadow: 0 2px 8px rgba(10,10,10,0.08);
}
.page-hero .hero-ctas .btn-outline:hover,
.page-hero .hero-ctas .btn-light:hover,
section .hero-ctas .btn-outline:hover,
section .hero-ctas .btn-light:hover {
  background: var(--sage) !important;
  color: var(--white) !important;
  border-color: var(--sage) !important;
}

/* Don't override the dark homepage .hero buttons — those have their own treatment */
.hero .hero-ctas .btn-primary {
  background: var(--white) !important;
  color: var(--charcoal) !important;
  border: 1.5px solid var(--white) !important;
  box-shadow: 0 2px 8px rgba(10,10,10,0.18);
}
.hero .hero-ctas .btn-outline,
.hero .hero-ctas .btn-light {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid var(--white) !important;
  box-shadow: none;
}

/* ====== GLOBAL HORIZONTAL OVERFLOW LOCKDOWN ====== */
/* Prevent any rogue swipe-to-the-right white space on every page    */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
header, footer, section {
  max-width: 100vw;
  overflow-x: hidden;
}
/* Testimonials slider needs its own scroll, so let it scroll inside */
.testimonials-grid {
  overflow-x: auto;
}
