/* =========================================================
   Pink Seal Realty — site styles
   Brand colors live here. Change them once, they change everywhere.
   ========================================================= */
:root {
  --blush: #D8A2AF;        /* main brand pink */
  --blush-light: #F6E8EB;  /* soft pink backgrounds */
  --charcoal: #111111;
  --ivory: #F7F4F0;
  --taupe: #A89B91;
  --taupe-dark: #6B5F57;   /* taupe dark enough to read as text */
  --pink-bright: #E0106F;  /* a touch deeper than #FF1B84 so white text stays readable */
  --pink-bright-hover: #C40D60;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(17, 17, 17, .07);
  --heading: "Lora", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--charcoal); text-decoration-color: var(--blush); text-underline-offset: 3px; }
a:hover { color: var(--pink-bright); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.lead { font-size: 1.3rem; line-height: 1.5; }

/* Small spaced-out label above headings, echoing "REALTY" in the logo */
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--taupe-dark); margin: 0 0 .7em;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: var(--blush);
  vertical-align: middle; margin-right: 10px;
}
.eyebrow.center::before { display: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  font-family: var(--body);
}
.btn-pink { background: var(--pink-bright); color: var(--white); }
.btn-pink:hover { background: var(--pink-bright-hover); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #333; color: var(--white); }
.btn-outline { background: var(--white); color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.btn-row.center { justify-content: center; }
:focus-visible { outline: 3px solid var(--pink-bright); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 120px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 1rem;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blush); border-radius: 0; }
.site-nav .nav-phone { background: var(--blush-light); border-radius: 999px; padding: 8px 14px; margin-left: 6px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .brand img { width: 100px; }
  .nav-toggle {
    display: flex; align-items: center; gap: 8px;
    background: none; border: 2px solid var(--charcoal); border-radius: 999px;
    padding: 8px 16px; font: 700 1rem var(--body); cursor: pointer; color: var(--charcoal);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid #eee; padding: 8px 20px 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid #f1f1f1; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--pink-bright); }
  .site-nav .nav-phone { margin: 10px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Photo slots ----------
   Shows a labeled placeholder until the real photo file exists. */
.photo-slot {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #EDE6DF, #E3D9D0);
}
.photo-slot::before {
  content: attr(data-label);
  position: absolute; inset: 0; padding: 20px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--taupe-dark); font-size: .9rem; font-weight: 600;
  border: 2px dashed var(--taupe); border-radius: inherit;
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.tall { aspect-ratio: 4 / 5; }

/* ---------- Scenery (hero + contact) ----------
   Your photos are faded, softened, and blended into the ivory so the headline stays the star. */
.scene { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.scene-img {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 75%; max-width: none; object-fit: cover; object-position: center 60%;
  opacity: .38;
  filter: saturate(.55) sepia(.12) contrast(.92);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
/* Optional second photo melts in softly over the first — no hard left/right split */
.scene-b {
  opacity: .32;
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at 72% 100%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse 50% 80% at 72% 100%, #000 20%, transparent 70%);
}
/* Keeps an ivory "clearing" behind the headline so text is always easy to read */
.scene::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 65% at 28% 42%, rgba(247,244,240,.92), rgba(247,244,240,0) 75%);
}
.scene-label {
  position: absolute; left: 20px; bottom: 14px; z-index: 1;
  font-size: .78rem; font-weight: 600; color: var(--taupe-dark);
  border: 1px dashed var(--taupe); border-radius: 999px; padding: 4px 12px; background: rgba(255,255,255,.6);
}
.scene:has(img) .scene-label { display: none; }
.scene-faint .scene-img { opacity: .2; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  /* Soft warm fallback that hints at land and sky until your photo is added */
  background:
    radial-gradient(ellipse 70% 45% at 15% 105%, rgba(160, 170, 140, .28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 110%, rgba(168, 155, 145, .30), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(216, 162, 175, .20), transparent 70%),
    var(--ivory);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-sub { color: #4A413B; font-size: 1.15rem; }

.hero-photo { position: relative; max-width: 400px; margin-left: auto; width: 100%; }
.portrait { position: relative; }
/* Thin blush arch that echoes the portrait shape */
.portrait::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(18px, -18px);
  border: 2px solid var(--blush); border-bottom: 0;
  border-radius: 220px 220px 0 0;
}
.portrait img {
  position: relative; width: 100%;
  border-radius: 220px 220px 0 0;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  /* Bottom of the photo melts into the background instead of ending in a hard edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.portrait-tag {
  position: absolute; left: -24px; bottom: 14%;
  background: var(--white); border-radius: 12px; padding: 10px 18px; margin: 0;
  box-shadow: 0 6px 22px rgba(17,17,17,.12); border-left: 4px solid var(--blush);
  line-height: 1.25;
}
.portrait-tag strong { display: block; font-family: var(--heading); font-size: 1.1rem; }
.portrait-tag span { font-size: .9rem; color: var(--taupe-dark); }

@media (max-width: 760px) {
  .hero { padding: 28px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-photo { order: -1; max-width: 220px; margin: 0 auto; }
  .portrait::before { transform: translate(10px, -10px); }
  .portrait-tag { left: 50%; transform: translateX(-50%); bottom: -6px; white-space: nowrap; padding: 6px 14px; }
  .portrait-tag strong { display: inline; font-size: 1rem; margin-right: 6px; }
  .hero-text { text-align: center; }
  .hero-text .btn-row { justify-content: center; }
  .scene::after { background: radial-gradient(ellipse 90% 60% at 50% 55%, rgba(247,244,240,.9), rgba(247,244,240,0) 80%); }
}

/* ---------- Problem ---------- */
.problem { padding: 56px 0 8px; text-align: center; }
.problem .lead { margin: 0; font-family: var(--heading); font-style: italic; font-weight: 500; font-size: 1.4rem; }
.problem .container::after {
  content: ""; display: block; width: 60px; height: 3px; background: var(--blush); margin: 32px auto 0;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-ivory { background: var(--ivory); }
.section-blush { background: var(--blush-light); }
.section-dark { background: var(--charcoal); color: #eee; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow, .section-dark .section-intro { color: #c9bfb7; }
.section-intro { color: var(--taupe-dark); margin-top: -.3em; margin-bottom: 2em; }
@media (max-width: 760px) { .section { padding: 52px 0; } }

/* ---------- How I help ---------- */
.help-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 2em; align-items: start; }
.help-feature { background: var(--ivory); border-radius: var(--radius); overflow: hidden; }
.help-feature .photo-slot { border-radius: 0; aspect-ratio: 4 / 3; }
.help-feature .photo-slot img { object-position: center 45%; }
.help-feature .photo-slot::before { border-radius: 0; }
.help-feature-text { padding: 28px 32px 32px; }
.help-feature h3 { font-size: 1.7rem; }
.help-feature li { margin-bottom: .4em; }
.tag {
  display: inline-block; background: var(--blush); color: var(--charcoal);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.help-item { padding: 24px 0; border-top: 1px solid #e6ded7; }
.help-item:first-child { border-top: 0; padding-top: 0; }
.help-item h3 { font-size: 1.4rem; margin-bottom: .35em; }
.help-item p { margin-bottom: .6em; }
.card-link { font-weight: 700; }
.tip { background: var(--blush-light); border-left: 3px solid var(--blush); padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: 1rem; }
.fine-print { font-size: .85rem; color: var(--taupe-dark); }
@media (max-width: 860px) { .help-layout { grid-template-columns: 1fr; gap: 32px; } .help-feature-text { padding: 22px; } }

/* ---------- Pink Seal brand moment ---------- */
.brand-band { background: var(--blush); padding: 72px 0; }
.brand-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.brand-band .eyebrow { color: var(--charcoal); }
.brand-band .eyebrow::before { background: var(--charcoal); }
.brand-band-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.brand-band-list { list-style: none; padding: 0; margin: 0; }
.brand-band-list li {
  font-family: var(--heading); font-size: 1.3rem; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(17,17,17,.2);
}
.brand-band-list li:first-child { border-top: 1px solid rgba(17,17,17,.2); }
@media (max-width: 860px) { .brand-band { padding: 52px 0; } .brand-band-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- New construction ---------- */
.newbuild-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.newbuild .photo-slot { background: linear-gradient(160deg, #F1E1E5, #E8D3D8); box-shadow: 0 10px 34px rgba(17,17,17,.12); }
.newbuild .photo-slot img { object-position: center 55%; }
.newbuild-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.newbuild-list li {
  font-family: var(--heading); font-size: 1.2rem; font-weight: 500;
  padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid rgba(17,17,17,.1);
}
.newbuild-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--pink-bright); font-family: var(--body); font-weight: 700; }
.newbuild .tip { background: var(--white); }
@media (max-width: 860px) {
  .newbuild-inner { grid-template-columns: 1fr; gap: 28px; }
  .newbuild .photo-slot { aspect-ratio: 16 / 10; }
}

/* ---------- Placeholders ---------- */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 3; padding: 12px;
  background: repeating-linear-gradient(45deg, #efe9e3, #efe9e3 10px, #f5f0eb 10px, #f5f0eb 20px);
  color: var(--taupe-dark); font-weight: 600; font-size: .95rem;
  border: 2px dashed var(--taupe); border-radius: var(--radius);
}
.placeholder-note {
  background: #FFF8DB; border: 1px dashed #C9A800; color: #5A4A00;
  padding: 10px 14px; border-radius: 8px; margin: 0 auto 1.5em; max-width: 760px; text-align: center;
}

/* ---------- IDX (MLS listings) boxes ----------
   The MLS box can't size itself, so we set heights by screen size. */
.idx-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid #eee; margin-bottom: 1.5em; background: var(--ivory);
}
.idx-frame iframe { display: block; width: 100%; border: 0; }
.idx-featured iframe { height: 680px; }
@media (max-width: 1000px) { .idx-featured iframe { height: 1150px; } }
@media (max-width: 600px)  { .idx-featured iframe { height: 1650px; } }

/* ---------- Listings ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 1.5em; }
.listing-photo { border-radius: var(--radius); }
.listing-body { padding: 14px 2px 6px; }
.listing-body p { margin: 0 0 .3em; }
.listing-price { font-family: var(--heading); font-size: 1.35rem; font-weight: 600; }
.listing-meta { color: var(--taupe-dark); }
@media (max-width: 860px) { .listing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Steps ---------- */
.steps-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.steps-intro .photo-slot { margin-top: 1.5em; max-width: 380px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 22px 0 22px 68px; border-bottom: 1px solid #e6ded7;
}
.steps li:first-child { padding-top: 0; }
.steps li:first-child::before { top: -4px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blush); color: var(--charcoal);
  font: 600 1.3rem var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; }
@media (max-width: 860px) {
  .steps-layout { grid-template-columns: 1fr; gap: 28px; }
  .steps-intro .photo-slot { aspect-ratio: 16 / 10; max-width: none; }
}

/* ---------- Reviews ---------- */
.google-source { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--taupe-dark); margin: -.3em 0 2em; }
.g-logo { width: 20px; height: 20px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.stars { color: #E8A317; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.review figcaption span { font-weight: 400; font-size: .85rem; color: var(--taupe-dark); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Towns ---------- */
.town-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.town {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--white);
}
.town .photo-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0;
  background: linear-gradient(165deg, #8E8279, #4E4640); }
.town:nth-child(2) .photo-slot, .town:nth-child(5) .photo-slot { background: linear-gradient(165deg, #9A8E86, #5A504A); }
.town:nth-child(3) .photo-slot, .town:nth-child(4) .photo-slot { background: linear-gradient(165deg, #858A76, #4C4F42); }
.town .photo-slot::before { align-items: flex-start; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.3); border-radius: 0; font-size: .8rem; }
.town .photo-slot img { transition: transform .4s ease; }
.town:hover .photo-slot img { transform: scale(1.04); }
.town::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.78) 0%, rgba(17,17,17,.15) 45%, transparent 70%);
}
.town-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.town-text h3 { font-size: 1.6rem; margin: 0 0 .15em; color: var(--white); }
.town-text p { margin: 0; font-size: 1rem; color: #eee; }
.town-text h3::after {
  content: ""; display: block; width: 32px; height: 2px; background: var(--blush); margin-top: 8px;
  transition: width .25s ease;
}
.town:hover .town-text h3::after { width: 64px; }
@media (max-width: 860px) { .town-grid { grid-template-columns: repeat(2, 1fr); } .town { aspect-ratio: 3 / 4; } }
@media (max-width: 480px) { .town-grid { grid-template-columns: 1fr; } .town { aspect-ratio: 4 / 3; } }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); }
.creds { list-style: none; padding: 0; margin: 1.8em 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e6ded7; border-bottom: 1px solid #e6ded7; }
.creds li { padding: 16px 14px; border-left: 1px solid #e6ded7; }
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds strong { display: block; font-family: var(--heading); font-size: 1.25rem; color: var(--charcoal); }
.creds span { font-size: .95rem; color: var(--taupe-dark); }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 4px 24px; }
.about-text .checks { grid-template-columns: 1fr 1fr; }
.checks li { padding-left: 28px; position: relative; margin-bottom: .5em; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--pink-bright); font-weight: 700; }
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 320px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .creds { grid-template-columns: 1fr; }
  .creds li { border-left: 0; padding: 12px 0; border-top: 1px solid #e6ded7; }
  .creds li:first-child { border-top: 0; }
  .checks { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-section { position: relative; overflow: hidden; background: var(--ivory); }
.contact-section .scene::after { background: none; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-info h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.big-phone {
  display: inline-block; font-family: var(--heading); font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--pink-bright); text-decoration: none;
  margin: .1em 0 .5em; border-bottom: 3px solid var(--blush);
}
.big-phone:hover { color: var(--pink-bright-hover); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: .5em; }
.license-line { color: #4A413B; font-size: .95rem; }
.contact-form {
  background: var(--white); padding: 32px; border-radius: var(--radius);
  border-top: 5px solid var(--blush); box-shadow: 0 10px 40px rgba(17,17,17,.08);
  display: flex; flex-direction: column;
}
.contact-form h2, .contact-form h3 { font-size: 1.5rem; margin-bottom: .2em; }
.contact-form label { font-weight: 600; margin: 12px 0 4px; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--taupe); border-radius: 10px; background: var(--white); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--blush); border-color: var(--charcoal); }
.contact-form button { margin-top: 20px; align-self: flex-start; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px; }
  .contact-form button { align-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #ddd; padding: 56px 0 110px; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(216,162,175,.6); }
.site-footer a:hover { color: var(--blush); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-col h2 {
  font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blush); margin: 0 0 1em;
}
.footer-logo { width: 150px; background: var(--white); border-radius: 10px; padding: 6px; margin-bottom: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { text-decoration: none; }
.social { display: flex; gap: 16px; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 24px; color: #aaa; }
.footer-bottom p { margin-bottom: .8em; }
.footer-bottom .placeholder-note { margin: 0 0 1em; text-align: left; max-width: none; }
.idx-credit { display: flex; gap: 14px; align-items: center; }
.idx-logo { height: 40px; width: auto; flex: none; background: var(--white); border-radius: 6px; padding: 4px 6px; }
.eho { display: flex; gap: 14px; align-items: center; margin-bottom: 1em; }
.eho p { margin: 0; }
.eho-logo { width: 44px; flex: none; color: var(--white); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-inner > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Sticky "Let's talk" button ---------- */
.sticky-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--pink-bright); color: var(--white);
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.sticky-cta:hover { background: var(--pink-bright-hover); color: var(--white); }
@media (max-width: 560px) {
  .sticky-cta { left: 16px; right: 16px; bottom: 12px; text-align: center; }
}

/* =========================================================
   Inner pages (Listings, Buyers, Sellers, etc.)
   ========================================================= */

/* Page header: same warm ivory as the homepage hero, smaller */
.page-hero {
  position: relative; overflow: hidden; padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 70% 45% at 15% 105%, rgba(160, 170, 140, .22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(216, 162, 175, .20), transparent 70%),
    var(--ivory);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 720px; color: #4A413B; }
.page-hero .scene-img { opacity: .22; height: 85%; }
.page-hero .scene::after { background: radial-gradient(ellipse 70% 70% at 30% 45%, rgba(247,244,240,.92), rgba(247,244,240,0) 80%); }
@media (max-width: 760px) { .page-hero { padding: 40px 0 36px; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Local tips (Buyers / Sellers pages) */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; margin-top: 2em; }
.tip-block { border-top: 3px solid var(--blush); padding-top: 18px; }
.tip-block h3 { font-size: 1.35rem; margin-bottom: .4em; }
.tip-block ul { margin: 0; padding-left: 1.1em; }
.tip-block li { margin-bottom: .35em; }
@media (max-width: 760px) { .tips-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Two columns: text + photo or text + list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* "Let's talk" band at the bottom of inner pages */
.cta-band { background: var(--blush); padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { max-width: 620px; margin: 0 auto 1.2em; }
.cta-band .btn-row { justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { background: transparent; }
.cta-band .btn-outline:hover { background: var(--charcoal); }

/* Our Area: one block per town */
.town-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid #e6ded7; }
.town-block:first-child { border-top: 0; padding-top: 0; }
.town-block:nth-child(even) .photo-slot { order: 2; }
.town-block h2 { margin-bottom: .2em; }
.town-block .county { color: var(--taupe-dark); font-weight: 600; margin-bottom: 1em; }
@media (max-width: 860px) {
  .town-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .town-block:nth-child(even) .photo-slot { order: 0; }
}

/* Full MLS search on the Listings page */
.idx-search iframe { height: 820px; }
@media (max-width: 760px) { .idx-search iframe { height: 720px; } }
.search-tip { font-size: 1rem; color: #4A413B; }

/* Forms: two fields side by side (date + time) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row > div { display: flex; flex-direction: column; }
.contact-form select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--taupe); border-radius: 10px; background: var(--white); width: 100%;
}
.contact-form select:focus { outline: 3px solid var(--blush); border-color: var(--charcoal); }
.optional-label { font-weight: 400; color: var(--taupe-dark); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* Office map on the Contact page */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.5em; }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

/* 404 page */
.notfound { text-align: center; padding: 96px 0; }
.notfound .btn-row { justify-content: center; }

/* ---------- Live website tidy-up ----------
   On the real site, empty photo spots drop their "Your photo..." reminder text. */
.is-live .photo-slot::before { content: none; }
.is-live .scene-label { display: none; }
.is-live .photo-slot.optional:not(:has(img)) { display: none; }
.is-live .town-block:has(.photo-slot:not(:has(img))) { grid-template-columns: 1fr; max-width: 760px; }
.is-live .steps-layout:has(.photo-slot:not(:has(img))) .steps-intro { align-self: start; }
