/* ==========================================================================
   Weidenbenner Real Estate Services — site styles
   Brand teal sampled from logo: #115065
   ========================================================================== */

:root {
  --teal-900: #08303e;
  --teal-800: #0c4053;
  --teal-700: #115065;
  --teal-600: #17647d;
  --teal-500: #2a8099;
  --teal-050: #eef4f6;
  --teal-100: #dbe8ec;

  --sand-600: #b08033;
  --sand-500: #c9974a;
  --sand-100: #f6eddd;

  --ink: #16232a;
  --body: #40535c;
  --muted: #6b7f89;
  --line: #dfe6ea;
  --bg: #ffffff;
  --bg-alt: #f7fafb;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 48, 62, .06), 0 4px 12px rgba(8, 48, 62, .06);
  --shadow-md: 0 2px 4px rgba(8, 48, 62, .06), 0 12px 32px rgba(8, 48, 62, .10);
  --shadow-lg: 0 4px 8px rgba(8, 48, 62, .08), 0 24px 56px rgba(8, 48, 62, .14);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--sand-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--sand-500); }
.lead { font-size: 1.12rem; color: var(--body); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal-700); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: .96rem; font-weight: 600; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; text-align: center;
}
.btn--primary { background: var(--sand-500); border-color: var(--sand-500); color: #21170a; }
.btn--primary:hover { background: var(--sand-600); border-color: var(--sand-600); color: #fff; transform: translateY(-1px); }
.btn--solid { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.btn--solid:hover { background: var(--teal-800); border-color: var(--teal-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn--outline:hover { background: var(--teal-700); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 36px; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink);
  padding: 10px 13px; border-radius: 6px; transition: all .15s ease; white-space: nowrap;
}
.nav a:hover { background: var(--teal-050); color: var(--teal-700); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { font-weight: 700; color: var(--teal-700); font-size: 1rem; white-space: nowrap; }
.header-phone:hover { color: var(--teal-800); }

/* dropdown */
.has-drop { position: relative; }
.has-drop > button {
  font-family: var(--sans); font-size: .93rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; padding: 10px 13px; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.has-drop > button:hover { background: var(--teal-050); color: var(--teal-700); }
.has-drop > button svg { transition: transform .2s ease; }
.has-drop[data-open="true"] > button svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 262px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transition: all .18s ease;
}
.has-drop[data-open="true"] .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: block; padding: 10px 14px; font-size: .92rem; border-radius: 6px; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 9px 11px; cursor: pointer; color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(42,128,153,.42), transparent 62%),
    linear-gradient(160deg, var(--teal-800) 0%, var(--teal-900) 58%, #061f29 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .085; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; padding: 104px 0 88px; max-width: 830px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--sand-500); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.88); max-width: 640px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badges {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  padding: 26px 0 32px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero-badges span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero-badges svg { color: var(--sand-500); flex-shrink: 0; }

/* page banner (inner pages) */
.banner {
  background: linear-gradient(160deg, var(--teal-800), var(--teal-900));
  color: #fff; padding: 68px 0 60px;
}
.banner h1 { color: #fff; margin-bottom: .3em; }
.banner p { color: rgba(255,255,255,.85); max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumb { font-size: .85rem; color: rgba(255,255,255,.62); margin-bottom: 18px; }
.crumb a { color: rgba(255,255,255,.82); }
.crumb a:hover { color: #fff; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-stat {
  position: absolute; right: -22px; bottom: -26px;
  background: var(--teal-700); color: #fff; padding: 20px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); text-align: center; min-width: 150px;
}
.about-stat b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; margin-bottom: 5px; }
.about-stat span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); color: var(--body); }
.card-icon {
  width: 50px; height: 50px; border-radius: 10px; background: var(--teal-050);
  display: flex; align-items: center; justify-content: center; color: var(--teal-700); margin-bottom: 20px;
}
a.card:hover .card-icon { background: var(--teal-700); color: #fff; }
.card h3 { margin-bottom: .5em; font-size: 1.22rem; }
.card p { font-size: .97rem; margin-bottom: 1.2em; }
.card-more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--teal-600); }

/* ---------- service matrix ---------- */
.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.matrix-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.matrix-col h3 {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal-700); padding-bottom: 13px;
  border-bottom: 2px solid var(--teal-050); margin-bottom: 15px;
}
.matrix-col ul { list-style: none; padding: 0; margin: 0; }
.matrix-col li { font-size: .93rem; padding: 5px 0 5px 20px; position: relative; color: var(--body); }
.matrix-col li::before {
  content: ""; position: absolute; left: 3px; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sand-500);
}

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--sand-500);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--sand-500); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 20px; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.review-by { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--teal-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.review-by b { display: block; font-size: .95rem; color: var(--ink); }
.review-by span { font-size: .82rem; color: var(--muted); }

/* ---------- areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.area-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.area-col h3 {
  font-family: var(--sans); font-size: .84rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 6px;
}
.area-col .county-note { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.area-col ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 18px; }
.area-col li { font-size: .89rem; padding: 3px 0; break-inside: avoid; }

/* ---------- quote / contact ---------- */
.quote { background: linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #fff; }
.quote h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.quote-copy p { color: rgba(255,255,255,.86); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list svg { color: var(--sand-500); flex-shrink: 0; margin-top: 3px; }
.contact-list b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 3px; font-weight: 600; }
.contact-list a, .contact-list span { color: #fff; font-size: 1rem; }
.contact-list a:hover { color: var(--sand-500); }

.form-card { background: #fff; border-radius: 12px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: .35em; }
.form-card > p { font-size: .95rem; margin-bottom: 1.6em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .97rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(42,128,153,.15);
}
.field textarea { resize: vertical; min-height: 108px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--teal-050); border-top: 1px solid var(--teal-100); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-strip h2 { margin: 0 0 .25em; font-size: 1.7rem; }
.cta-strip p { margin: 0; font-size: 1rem; }

/* ---------- prose (service pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose li { margin-bottom: .5em; }
.callout {
  background: var(--teal-050); border-left: 3px solid var(--teal-600);
  border-radius: 0 8px 8px 0; padding: 22px 26px; margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--teal-800); }

.split { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 108px; }
.sidebar-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: .7em; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-bottom: 1px solid var(--line); }
.sidebar-card li:last-child { border-bottom: 0; }
.sidebar-card li a { display: block; padding: 11px 0; font-size: .94rem; color: var(--ink); }
.sidebar-card li a:hover { color: var(--teal-700); padding-left: 5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.72); font-size: .93rem; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer-brand img { height: 78px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--sand-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom nav { display: flex; gap: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { max-width: 400px; }
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 12px 16px 20px; max-height: 78vh; overflow-y: auto;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a, .has-drop > button { padding: 13px 12px; width: 100%; text-align: left; justify-content: space-between; }
  .has-drop { width: 100%; }
  .drop {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; box-shadow: none; border: 0; border-left: 2px solid var(--teal-100);
    border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 8px; min-width: 0;
  }
  .has-drop[data-open="true"] .drop { display: block; }
  .header-cta .btn { display: none; }
  .site-header { position: relative; }
  html { scroll-padding-top: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 68px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .brand img { height: 44px; }
  .header-phone { font-size: .92rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 22px; }
  .about-stat { right: 12px; bottom: -20px; padding: 15px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .area-col ul { columns: 1; }
  .cta-strip .wrap { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .quote, .cta-strip, .site-footer { display: none; }
}
