/* Palette taken from The Schweers Group logo */
:root {
  --navy: #154470;
  --navy-dark: #0d2e4d;
  --navy-deep: #0a2440;
  --teal: #3c98b1;
  --teal-text: #22728a;   /* darker teal, readable as text on white */
  --yellow: #f8b64d;
  --orange: #f27b3f;
  --ink: #16263a;
  --ink-soft: #546478;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --line: #dfe6ed;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy-dark); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin-top: 1.25rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 500; font-size: .95rem;
  border: 1px solid var(--navy); cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-small { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); font-weight: 600; }
.btn-yellow:hover { background: #f9c46e; }
.link-arrow { display: inline-flex; gap: .4rem; margin-top: 1.5rem; font-weight: 500; color: var(--teal-text); }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 6px 24px -12px rgba(10, 36, 64, .6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .95rem; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.88); }
.nav-links a:not(.btn):hover { color: var(--yellow); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; position: relative; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 2px; background: #fff; transition: transform .2s; }
.nav-toggle span:first-child { top: 11px; }
.nav-toggle span:last-child { top: 19px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Photos */
.hero-image, .about-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-image img, .about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-image { aspect-ratio: 4 / 5; }
.hero-image::after {
  /* small brand accent stripe, echoing the logo's garage door */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--teal) 0 33%, var(--yellow) 33% 66%, var(--orange) 66%);
}

/* Stats */
.stats { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-inner div { padding: 2rem 1rem; text-align: center; }
.stats-inner div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--navy); }
.stats span { font-size: .85rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 3rem; max-width: 40rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 2rem; }
.section-head-row .link-arrow { margin: 0 0 1.4rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split p { color: var(--ink-soft); }
.about-image { aspect-ratio: 1 / 1; }
.about-image img { object-position: center 30%; }
.designations { font-size: .85rem; font-weight: 600; letter-spacing: .08em; color: var(--navy) !important; margin-bottom: 1.25rem; }

.pillars { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.pillars li {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500;
  color: var(--navy-dark); background: var(--bg-alt); border-radius: 999px; padding: .45rem .95rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-teal { background: var(--teal); }
.dot-yellow { background: var(--yellow); }
.dot-orange { background: var(--orange); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(13,46,77,.4); }
.card p { color: var(--ink-soft); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(60,152,177,.12); display: grid; place-items: center; margin-bottom: 1.25rem; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+2) .icon { background: rgba(248,182,77,.18); }
.card:nth-child(3n+2) .icon svg { stroke: #b57812; }
.card:nth-child(3n) .icon { background: rgba(242,123,63,.13); }
.card:nth-child(3n) .icon svg { stroke: #c4541c; }

/* Listings */
.listing { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.listing:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(13,46,77,.4); }
.listing-photo {
  position: relative; aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(248,182,77,.35), transparent 60%),
    linear-gradient(160deg, var(--teal) 0%, var(--navy) 100%);
  background-size: cover; background-position: center;
}
.placeholder-label {
  position: absolute; left: 14px; bottom: 12px; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.listing-tag {
  position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--navy-deep);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.listing-body { padding: 1.25rem 1.4rem 1.5rem; }
.listing-price { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-dark); }
.listing-addr { color: var(--ink-soft); font-size: .95rem; }
.listing-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.listing-link { display: inline-block; margin-top: .9rem; font-size: .88rem; font-weight: 500; color: var(--teal-text); }

/* Areas */
.areas { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); column-gap: 1.5rem; }
.areas li {
  font-family: var(--serif); font-size: 1.3rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--line); color: var(--navy-dark);
}
.areas li.top { position: relative; padding-left: 1.1rem; }
.areas li.top::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px;
  border-radius: 50%; background: var(--orange);
}

/* Testimonial */
.testimonial { text-align: center; }
.testimonial .narrow { margin-inline: auto; }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--yellow); margin-bottom: 1rem; }
blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--navy-dark); }
.cite { margin-top: 1.5rem; color: var(--ink-soft); font-size: .9rem; letter-spacing: .04em; }

/* Contact */
.section-dark { background: var(--navy); color: #eef3f8; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark p { color: rgba(238,243,248,.78); }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list span { flex: 0 0 70px; color: var(--yellow); font-size: .85rem; padding-top: .1rem; }
.contact-list a:hover { text-decoration: underline; }
.social { display: flex; gap: .75rem; margin-top: 2rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25); transition: background .2s, border-color .2s;
}
.social a:hover { background: var(--teal); border-color: var(--teal); }
.social svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: #fff; stroke: none; }
.contact-form { display: grid; gap: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .85rem; color: rgba(238,243,248,.85); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: #fff; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .75rem .9rem;
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.contact-form .invalid { border-color: var(--orange); }
.contact-form .btn { justify-self: start; margin-top: .5rem; }
.form-status { font-size: .9rem; min-height: 1.4em; }
.form-status a { text-decoration: underline; color: #fff; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(238,243,248,.78); padding: 3.5rem 0 2rem; font-size: .9rem; }
.footer strong { color: #fff; font-weight: 600; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.footer-logo { height: 70px; width: auto; }
.footer-brand p + p { margin-top: .3rem; }
.broker-name { color: #fff; font-size: 1rem; font-weight: 500; }
.broker-logo { height: 84px; width: auto; filter: invert(1); opacity: .92; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.footer-links a:hover { color: var(--yellow); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { aspect-ratio: 4 / 4.2; }
  .grid-3 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner div:nth-child(3) { border-left: 0; }
  .stats-inner div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 4.5rem 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 0; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 1.25rem; padding: 1.5rem 20px 2rem; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .areas li { font-size: 1.1rem; }
  .nav-logo { height: 48px; }
}
