/* Jarvid Cortes — Your Favorite Bilingual Realtor
   Luxury refresh v3: coastal New England luxury.
   Warm Charcoal #2A2521, Champagne Gold #C6A15B, Ivory #F8F5EF,
   Warm Sand #E7DCC8, Driftwood #7A6F5F, Charcoal #232323,
   Sea-Glass Teal #2E8B84 (vibrant accent, at most once per viewport).
   Playfair Display headlines, Montserrat body. Mobile-first. */

:root {
  --navy: #2A2521;
  --navy-deep: #1B1815;
  --navy-ink: #3A342D;
  --gold: #C6A15B;
  --gold-soft: #DCC48F;
  --gold-deep: #A8863F;
  --ivory: #F8F5EF;
  --sand: #E7DCC8;
  --sand-dark: #DCCFAF;
  --driftwood: #7A6F5F;
  --charcoal: #232323;
  --muted: #6E6459;
  --teal: #2E8B84;
  --teal-dark: #226E68;
  --teal-glow: rgba(46, 139, 132, 0.35);
  --white: #FFFFFF;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(42, 37, 33, 0.12);
  --shadow-lg: 0 22px 55px rgba(42, 37, 33, 0.20);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

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

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

.lead { font-size: 1.15rem; color: var(--muted); max-width: 740px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #EDE6D3;
  font-size: 0.85rem;
  position: relative;
  z-index: 103;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: var(--gold-soft); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--white); }
.topbar .lang-toggle {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 5px 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px var(--teal-glow);
  transition: background 0.2s ease, transform 0.2s ease;
}
.topbar .lang-toggle:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.top-social {
  display: flex; justify-content: flex-end; gap: 2px;
  padding: 6px 24px 0;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.top-social a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  padding: 2px 8px; border-right: 1px solid rgba(255,255,255,0.15);
}
.top-social a:last-child { border-right: none; }
.top-social a:hover { color: var(--gold); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; flex: 0 0 52px;
  background: var(--navy-deep); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  border: 2px solid var(--gold); border-radius: 50%;
}
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--white); font-weight: 700; line-height: 1.1; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a {
  text-decoration: none; color: #EDE6D3; font-weight: 600; font-size: 0.9rem;
  padding: 10px 11px; border-radius: 6px; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold-soft); }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav a.cta-nav {
  background: var(--gold); color: var(--navy-deep); margin-left: 8px;
  border-bottom: none; border-radius: 999px; padding: 10px 22px;
  box-shadow: 0 6px 18px rgba(198, 161, 91, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.main-nav a.cta-nav:hover { background: var(--gold-soft); color: var(--navy-deep); transform: translateY(-2px); }
.main-nav a.cta-book {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy-deep); margin-left: 8px; font-weight: 700;
  border-bottom: none; border-radius: 999px; padding: 10px 22px;
  box-shadow: 0 6px 20px rgba(198, 161, 91, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: bookPulse 2.4s ease-in-out infinite;
}
.main-nav a.cta-book:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 26px rgba(198, 161, 91, 0.65); }
@keyframes bookPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(198, 161, 91, 0.5); }
  50% { box-shadow: 0 6px 30px rgba(198, 161, 91, 0.85); }
}

.has-dropdown { position: relative; }
.has-dropdown > ul {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--sand-dark); border-radius: 10px;
  box-shadow: var(--shadow); min-width: 230px; padding: 8px; flex-direction: column; align-items: stretch;
}
.has-dropdown:hover > ul, .has-dropdown:focus-within > ul { display: flex; }
.has-dropdown > ul a { display: block; padding: 10px 14px; color: var(--charcoal); border-bottom: none; }
.has-dropdown > ul a:hover { color: var(--gold-deep); background: var(--ivory); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: 8px; padding: 10px 12px; cursor: pointer; color: var(--gold);
  font-size: 1.1rem; font-weight: 700;
}

/* Transparent floating nav over the homepage hero */
body.has-hero .site-header {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
body.has-hero .site-header .header-inner { padding-top: 58px; }
body.has-hero.scrolled .site-header {
  position: fixed; background: rgba(42, 37, 33, 0.97);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(198, 161, 91, 0.3);
}
body.has-hero.scrolled .site-header .header-inner { padding-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: var(--white);
  padding: 84px 0 72px;
}
.hero h1 { color: var(--white); margin: 0.5rem 0 1rem; max-width: 800px; }
.hero p.sub { color: #D9D2BE; font-size: 1.15rem; max-width: 680px; margin-bottom: 2rem; }
.hero .es-line { color: var(--gold-soft); font-style: italic; margin-bottom: 2rem; }

/* Full-bleed cinematic hero (homepage) */
.hero-full {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 170px 0 110px;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
@media (min-width: 981px) {
  .hero-bg { animation: kenburns 26s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(42, 37, 33, 0.74) 0%,
    rgba(42, 37, 33, 0.58) 45%,
    rgba(42, 37, 33, 0.86) 100%);
}
.hero-full .container { position: relative; z-index: 2; max-width: 860px; }
.hero-full .eyebrow { color: var(--gold-soft); }
.hero-full h1 { color: var(--white); text-shadow: 0 2px 6px rgba(0,0,0,0.75), 0 4px 28px rgba(0,0,0,0.55); margin-bottom: 1.1rem; }
.hero-full p.sub { color: #F5F0E2; font-size: 1.2rem; text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 2px 16px rgba(0,0,0,0.6); }
.hero-full .btn-row { margin-top: 0.5rem; }
.hero-portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid #C9A96A; box-shadow: 0 6px 24px rgba(0,0,0,0.45); margin-bottom: 1.1rem; }
@media (max-width: 768px) { .hero-portrait { width: 104px; height: 104px; } }
.hero-scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: var(--gold-soft); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 32px; border-radius: 999px; font-size: 1rem; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); border: 2px solid var(--teal-dark);
  box-shadow: 0 10px 26px var(--teal-glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover {
  color: var(--white); transform: translateY(-3px);
  box-shadow: 0 16px 34px var(--teal-glow);
  background: linear-gradient(135deg, #35A199 0%, var(--teal-dark) 100%);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75); box-shadow: none;
  backdrop-filter: blur(3px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18); color: var(--white);
  border-color: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  border-color: var(--gold-deep); color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(198, 161, 91, 0.4);
}
.btn-gold:hover { color: var(--navy-deep); background: linear-gradient(135deg, #EAD9A8 0%, var(--gold-soft) 100%); box-shadow: 0 16px 34px rgba(198, 161, 91, 0.5); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(42, 37, 33, 0.35); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
/* On light backgrounds, outline buttons read navy */
.section .btn-outline, .section-alt .btn-outline {
  color: var(--navy); border-color: var(--navy);
}
.section .btn-outline:hover, .section-alt .btn-outline:hover {
  color: var(--navy-deep); border-color: var(--navy-deep); background: rgba(42, 37, 33, 0.06);
}

/* ---------- Trust bar / stats strip ---------- */
.trustbar {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white); padding: 52px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.trustbar .container.five { grid-template-columns: repeat(5, 1fr); }
.trust-stat .num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-stat .lbl { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #D9D2BE; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--white); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lead { color: #D9D2BE; }

.gold-rule { width: 72px; height: 3px; background: var(--gold); margin: 0 0 1.25rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

.check-list { list-style: none; margin: 1rem 0; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- Photography ---------- */
.photo-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}
.photo-figure img { display: block; width: 100%; height: auto; }
.photo-figure.tall { max-width: 460px; }
.photo-figure.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.photo-figure figcaption {
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--driftwood);
  background: var(--white);
  border-top: 1px solid var(--sand-dark);
}

/* Photo tiles (neighborhoods, areas) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2rem; }
.tile {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  min-height: 280px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 37, 33, 0) 40%, rgba(42, 37, 33, 0.82) 100%);
}
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 44px 22px 20px; }
.tile-cap h3 { color: var(--white); margin-bottom: 0.25rem; font-size: 1.45rem; }
.tile-cap p { color: #EDE6D3; font-size: 0.92rem; margin-bottom: 0; }
.tile-cap .tile-cta { color: var(--gold-soft); font-weight: 700; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1.1rem; margin-bottom: 0.75rem; }
.sample-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy); background: var(--sand);
  border-radius: 4px; padding: 3px 10px; margin-bottom: 0.75rem;
}
.quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--navy); }
.attr { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(198, 161, 91, 0.20), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white); text-align: center; padding: 76px 0;
  border-top: 3px solid var(--gold);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D9D2BE; max-width: 640px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #CFC8B4; padding: 64px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.site-footer h4 { color: var(--gold); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #EDE6D3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand-name { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(198, 161, 91, 0.25);
  padding: 20px 0; font-size: 0.82rem; color: #9A937E;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Forms ---------- */
.contact-form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand-dark); border-radius: 8px;
  font-family: var(--sans); font-size: 1rem; background: var(--ivory); color: var(--charcoal);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--teal); border-color: var(--teal); background: var(--white);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Blog / market updates ---------- */
.post-card { display: flex; flex-direction: column; }
.post-date { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 0.5rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white); border: 1px solid var(--sand-dark); border-radius: 8px;
  margin-bottom: 12px; padding: 18px 22px;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.05rem; }
.faq summary::marker { color: var(--gold); }
.faq details p { margin: 0.75rem 0 0; }

/* ---------- Stats grid ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px; margin-top: 2rem;
}
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold); text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-card .num { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); font-weight: 700; }
.stat-card .lbl { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Link cards ---------- */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 1.5rem; }
.link-card {
  display: block; background: var(--white); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); text-decoration: none;
  border-left: 4px solid var(--gold);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.link-card h3 { font-size: 1.15rem; }
.link-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- Education list ---------- */
.edu-list { list-style: none; }
.edu-list li { padding: 14px 0; border-bottom: 1px solid var(--sand-dark); }
.edu-list li:last-child { border-bottom: none; }

/* ---------- Misc ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--navy); }
.two-col-list { columns: 2; column-gap: 32px; }
.two-col-list li { margin-bottom: 0.5rem; break-inside: avoid; }
.note-box {
  background: var(--sand); border-left: 4px solid var(--gold);
  padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 1.5rem 0; font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid rgba(198, 161, 91, 0.3);
    box-shadow: var(--shadow); padding: 12px 24px 20px;
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; }
  .main-nav.open a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(198, 161, 91, 0.15); }
  .has-dropdown > ul { position: static; display: flex; box-shadow: none; border: none; padding: 0 0 0 16px; background: transparent; }
  .has-dropdown > ul a { color: #EDE6D3; }
  .nav-toggle { display: block; }
  body.has-hero .site-header .header-inner { padding-top: 84px; }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); }
  .trustbar .container.five { grid-template-columns: repeat(2, 1fr); }
  .trustbar .container.five .trust-stat:last-child { grid-column: span 2; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
  .hero-full { min-height: 86vh; padding: 190px 0 90px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .section { padding: 56px 0; }
  .tiles { grid-template-columns: 1fr; }
  .hero-full { padding: 210px 0 80px; }
  .btn { width: 100%; text-align: center; }
  .btn-row .btn { width: 100%; }
  .trust-stat .num { font-size: 2rem; }
  /* Mobile: social links row wraps neatly with tappable targets */
  .top-social { flex-wrap: wrap; justify-content: center; gap: 2px; padding: 10px 12px 4px; }
  .top-social a { padding: 10px 12px; font-size: 12px; border-right: none; }
  /* Mobile: 5-stat trustbar balances as 2+2+1 full-width last row */
  .trust-stat:last-child { grid-column: span 2; }
}

/* Guard against accidental horizontal scrolling on small screens */
body { overflow-x: clip; }

/* ---------- Market band (homepage top) ---------- */
.market-band { background: var(--navy-deep); padding: 72px 0; }
.market-band .eyebrow { color: var(--gold-soft); }
.market-band h2 { color: var(--white); }
.market-band .lead { color: #D9D2BE; }
.market-band .grid-2 { align-items: stretch; }
.market-card p.area-links { font-size: 0.92rem; }
.market-card p.area-links a { color: var(--gold-deep); font-weight: 600; }
/* Cities served strip under the areas tiles */
.cities-served { margin-top: 28px; font-size: 0.95rem; color: #5a5347; text-align: center; }
.cities-served a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.cities-served a:hover { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Sticky mobile contact bar */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #1B1815; border-top: 2px solid #C9A96A; }
  .sticky-cta a { flex: 1; text-align: center; padding: 14px 4px; color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
  .sticky-cta a + a { border-left: 1px solid rgba(255,255,255,0.18); }
  .sticky-cta .sticky-cta-book { background: #C9A96A; color: #1B1815; }
  body { padding-bottom: 52px; }
}

/* Hero search panel (2026-10-18 homepage reorientation) */
.hero-search { background: rgba(255,255,255,0.96); border-radius: 14px; padding: 20px 22px 14px; margin: 0 0 1.6rem; box-shadow: 0 18px 44px rgba(0,0,0,0.35); max-width: 680px; }
.hero-search .hs-label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: #6B5B3E; margin-bottom: 10px; }
.hero-search .hs-row { display: flex; gap: 10px; }
.hero-search select { flex: 1; min-width: 0; padding: 13px 14px; font-size: 1rem; border: 1px solid #C9BFA8; border-radius: 8px; background: #fff; color: #2A2521; }
.hero-search .hs-chips { margin: 10px 0 2px; font-size: 0.9rem; color: #5A5148; }
.hero-search .hs-chips a { color: #8A6D3B; font-weight: 600; }
@media (max-width: 640px) { .hero-search .hs-row { flex-direction: column; } }
