/* =============================================================
   Diego Gonçalves · House of Wellness Brickell
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f5f1e8;
  --bg-2:      #ebe4d5;
  --paper:     #fffdf7;
  --ink:       #22201b;
  --ink-soft:  #3c392f;
  --ink-mute:  #7a7465;
  --sage:      #5f7561;
  --sage-deep: #34453a;
  --sage-dark: #26332b;
  --gold:      #b3925c;
  --line:      rgba(34, 32, 27, 0.13);
  --cream-on-dark: #f2edde;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1200px;
  --radius: 20px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
ol { padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.01em; font-weight: 500; }
::selection { background: var(--sage); color: var(--cream-on-dark); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* =============================================================
   3. Typography helpers
   ============================================================= */
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.kicker-light { color: var(--gold); }

h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--ink); }
h2 em, h1 em { font-style: italic; color: var(--sage-deep); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { margin-top: 1rem; color: var(--ink-mute); font-size: 1.05rem; }
.lede { font-size: 1.18rem; line-height: 1.6; color: var(--ink-soft); }

/* =============================================================
   4. Reveal (scroll) — defensive rules per skill gotchas
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), color 0.35s var(--ease-out);
  will-change: transform;
}
.btn-primary { background: var(--sage-deep); color: var(--cream-on-dark); box-shadow: 0 10px 26px -12px rgba(38, 51, 43, 0.55); }
.btn-primary:hover { transform: translateY(-2px); background: var(--sage-dark); box-shadow: 0 16px 34px -12px rgba(38, 51, 43, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-2px); }
.btn-cream { background: var(--cream-on-dark); color: var(--sage-dark); }
.btn-cream:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), backdrop-filter 0.4s;
}
.nav.is-solid {
  background: rgba(245, 241, 232, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  flex-wrap: nowrap;
}
.nav-brand { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.nav-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav-tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); white-space: nowrap; }
.nav-links { display: none; gap: clamp(1rem, 2vw, 1.8rem); flex-wrap: nowrap; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding-block: 0.3rem;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--sage);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: 0.7rem 1.4rem; font-size: 0.87rem; white-space: nowrap; flex-shrink: 0; }

.lang-switch {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.6);
  flex-shrink: 0;
}
.lang-switch button {
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--sage-deep); color: var(--cream-on-dark); }
.nav-mobile .lang-switch { display: inline-flex; align-self: flex-start; }

/* Language welcome modal */
.lang-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(34, 32, 27, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.lang-modal[hidden] { display: none !important; }
.lang-modal.is-open { opacity: 1; pointer-events: auto; }
.lang-modal-card {
  width: min(100%, 460px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.8rem, 5vw, 2.8rem);
  text-align: center;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.6);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.45s var(--ease-out);
}
.lang-modal.is-open .lang-modal-card { transform: none; }
.lang-modal-card .kicker { margin-bottom: 0.8rem; }
.lang-modal-card h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.6rem); }
.lang-modal-sub { margin-top: 0.7rem; color: var(--ink-mute); font-size: 0.98rem; }
.lang-modal-options { display: grid; gap: 0.7rem; margin-top: 1.8rem; }
.lang-modal-options button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  padding: 0.9rem 1.3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lang-modal-options button:hover {
  border-color: var(--sage);
  background: var(--paper);
  transform: translateY(-2px);
}
.lang-modal-options button strong { font-size: 1.02rem; color: var(--ink); }
.lang-modal-options button span { font-size: 0.78rem; color: var(--ink-mute); }

.nav-burger { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column; gap: 1.4rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background: rgba(245, 241, 232, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { font-size: 1.05rem; font-weight: 600; }
.nav-mobile .btn { align-self: flex-start; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-inner > .lang-switch { display: inline-flex; }
  .nav-burger, .nav-mobile { display: none !important; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(60% 45% at 85% 10%, rgba(95, 117, 97, 0.14), transparent 70%),
    radial-gradient(50% 40% at 5% 90%, rgba(179, 146, 92, 0.12), transparent 70%),
    var(--bg);
}
.hero-inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid; gap: 3rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 14ch;
}
.hero-sub { margin-top: 1.4rem; max-width: 46ch; font-size: 1.08rem; color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.8rem; padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color: var(--sage-deep); line-height: 1; }
.hero-stats span { font-size: 0.8rem; color: var(--ink-mute); margin-top: 0.35rem; letter-spacing: 0.04em; }

.hero-figure { position: relative; justify-self: center; }
.hero-arch {
  width: min(78vw, 420px);
  aspect-ratio: 4 / 5.1;
  border-radius: 400px 400px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(38, 51, 43, 0.45);
  position: relative;
}
.hero-arch::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-figure::before {
  content: ""; position: absolute; inset: -8% -12% auto auto;
  width: 70%; height: 70%;
  background: radial-gradient(closest-side, rgba(95, 117, 97, 0.28), transparent);
  filter: blur(50px);
  z-index: -1;
}
.hero-card {
  position: absolute; left: 50%; bottom: -1.4rem;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1.3rem;
  box-shadow: 0 18px 40px -18px rgba(34, 32, 27, 0.3);
  white-space: nowrap;
}
.hero-card-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); animation: pulseDot 2.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(95, 117, 97, 0.45); } 55% { box-shadow: 0 0 0 8px rgba(95, 117, 97, 0); } }
.hero-card div { display: flex; flex-direction: column; line-height: 1.3; }
.hero-card strong { font-size: 0.92rem; }
.hero-card span { font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.05em; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero-figure { justify-self: end; }
}

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 1.05rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* =============================================================
   9. Project
   ============================================================= */
.project-grid { display: grid; gap: 3rem; align-items: start; }
.project-figure {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(34, 32, 27, 0.5);
}
.project-figure img { width: 100%; object-fit: cover; }
.project-figure figcaption { font-size: 0.7rem; color: var(--ink-mute); padding: 0.6rem 1rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper); }
.project-copy p + p { margin-top: 1.2rem; }
.project-facts { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.project-facts li {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink-soft);
}
.project-facts strong { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); align-self: center; }

@media (min-width: 960px) {
  .project-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; }
}

.method { margin-top: clamp(4rem, 8vw, 6.5rem); }
.method-head { max-width: 620px; margin-bottom: 2.6rem; }
.method-head h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.method-head h3 em { color: var(--sage-deep); }
.method-sub { margin-top: 1rem; color: var(--ink-mute); }
.method-grid {
  display: grid; gap: 1rem; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.method-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}
.method-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(52, 69, 58, 0.35); border-color: rgba(95, 117, 97, 0.4); }
.method-card span { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold); }
.method-card h4 { margin-top: 0.7rem; font-size: 1.02rem; font-weight: 700; font-family: var(--sans); }
.method-card p { margin-top: 0.6rem; font-size: 0.88rem; color: var(--ink-mute); line-height: 1.55; }

/* =============================================================
   10. Video band
   ============================================================= */
.video-band { padding-block: clamp(2rem, 5vw, 4rem); background: var(--bg); }
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(34, 32, 27, 0.55);
  aspect-ratio: 16 / 8;
  background: var(--sage-dark);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  background: linear-gradient(180deg, rgba(38, 51, 43, 0.15), rgba(38, 51, 43, 0.55));
  color: var(--cream-on-dark);
  transition: opacity 0.4s var(--ease-out);
}
.video-play svg {
  width: 74px; height: 74px; padding: 22px;
  border-radius: 50%;
  background: rgba(242, 237, 222, 0.16);
  border: 1px solid rgba(242, 237, 222, 0.5);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.video-play:hover svg { transform: scale(1.08); background: rgba(242, 237, 222, 0.28); }
.video-play span { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }
.video-note { margin-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); text-align: center; }

/* =============================================================
   11. Amenities
   ============================================================= */
.amenities { background: var(--paper); }
.amenity-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.amenity-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  transform-style: preserve-3d;
}
.amenity-card:hover { box-shadow: 0 34px 70px -30px rgba(52, 69, 58, 0.45); }
.amenity-card figure { overflow: hidden; aspect-ratio: 16 / 10; }
.amenity-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.amenity-card:hover img { transform: scale(1.07); filter: saturate(1.12) brightness(1.04); }
.amenity-body { padding: 1.4rem 1.5rem 1.7rem; }
.amenity-body h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.amenity-body p { margin-top: 0.55rem; font-size: 0.92rem; color: var(--ink-mute); line-height: 1.6; }

.amenity-lists {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.amenity-list h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; }
.amenity-list li {
  font-size: 0.9rem; color: var(--ink-soft);
  padding: 0.45rem 0 0.45rem 1.1rem;
  position: relative;
}
.amenity-list li::before { content: "◦"; position: absolute; left: 0; color: var(--gold); }

/* =============================================================
   12. Residences
   ============================================================= */
.residences-grid { display: grid; gap: 3rem; align-items: center; }
.residences-copy > p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 50ch; }
.spec-list { margin-top: 1.8rem; }
.spec-list li {
  padding: 0.75rem 0 0.75rem 1.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink-soft);
  position: relative;
}
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--sage);
}
.fine-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-mute); }
.residences-copy .btn { margin-top: 1.8rem; }
.residences-figures { display: grid; gap: 1.4rem; }
.residences-figures figure { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(34, 32, 27, 0.45); }
.residences-figures img { width: 100%; object-fit: cover; }

@media (min-width: 960px) {
  .residences-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
}

/* =============================================================
   13. Team
   ============================================================= */
.team { padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--line); background: var(--bg-2); }
.team-row {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.team-row div { display: flex; flex-direction: column; gap: 0.25rem; }
.team-row strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.team-row span { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.03em; }

/* =============================================================
   14. Realtors (dark)
   ============================================================= */
.realtors { background: var(--sage-dark); color: var(--cream-on-dark); position: relative; }
.realtors::before {
  content: ""; position: absolute; inset: -20% 40% 40% -10%;
  background: radial-gradient(closest-side, rgba(179, 146, 92, 0.16), transparent 75%);
  filter: blur(80px);
  pointer-events: none;
}
.realtors h2 { color: var(--cream-on-dark); }
.realtors h2 em { color: var(--gold); }
.realtors-grid { display: grid; gap: 3rem; align-items: center; position: relative; }
.realtors-copy > p { margin-top: 1.2rem; color: rgba(242, 237, 222, 0.78); max-width: 52ch; }
.realtors-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.realtors-list li {
  padding: 1.05rem 1.2rem;
  background: rgba(242, 237, 222, 0.07);
  border: 1px solid rgba(242, 237, 222, 0.14);
  border-radius: 14px;
  font-size: 0.93rem; line-height: 1.55;
  color: rgba(242, 237, 222, 0.82);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.realtors-list li:hover { background: rgba(242, 237, 222, 0.12); transform: translateX(4px); }
.realtors-list strong { color: var(--cream-on-dark); }
.realtors-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.doc-links { display: flex; flex-direction: column; gap: 0.4rem; }
.doc-links a {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s; width: fit-content;
}
.doc-links a:hover { border-color: var(--gold); }
.realtors-figure { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -35px rgba(0, 0, 0, 0.65); }
.realtors-figure img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 960px) {
  .realtors-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4.5rem; }
}

/* =============================================================
   15. Contact
   ============================================================= */
.contact { background: var(--bg); }
.contact-grid { display: grid; gap: 3.5rem; align-items: start; }
.contact-portrait {
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--paper);
  box-shadow: 0 18px 40px -18px rgba(34, 32, 27, 0.4);
  margin-bottom: 1.6rem;
}
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.contact-intro > p:not(.kicker) { margin-top: 1.2rem; color: var(--ink-soft); max-width: 44ch; }
.contact-details { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-details li { display: flex; flex-direction: column; font-size: 0.98rem; }
.contact-details span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.15rem; }
.contact-details a { font-weight: 600; width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-details a:hover { border-color: var(--sage); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 40px 90px -50px rgba(34, 32, 27, 0.4);
}
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 540px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235f7561' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-field select:invalid { color: var(--ink-mute); }
.form-field select option { color: var(--ink); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(95, 117, 97, 0.18);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-consent {
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-size: 0.78rem; line-height: 1.55; color: var(--ink-mute);
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 1.4rem;
}
.form-consent input {
  margin-top: 0.2rem;
  width: 17px; height: 17px;
  accent-color: var(--sage-deep);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent strong { color: var(--ink-soft); }

.btn-submit { width: 100%; padding-block: 1.05rem; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; transform: none !important; }
.form-status { margin-top: 0.9rem; font-size: 0.9rem; text-align: center; min-height: 1.4em; }
.form-status.is-ok { color: var(--sage-deep); font-weight: 600; }
.form-status.is-error { color: #a03c2e; font-weight: 600; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; }
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(242, 237, 222, 0.75); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid strong { color: var(--cream-on-dark); display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-brand { font-family: var(--serif); font-size: 1.25rem !important; }
.footer-grid p { font-size: 0.85rem; line-height: 1.6; }
.footer-grid a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.footer-grid a:hover { border-color: var(--gold); color: var(--cream-on-dark); }
.footer-legal { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(242, 237, 222, 0.14); }
.footer-legal p { font-size: 0.72rem; line-height: 1.7; color: rgba(242, 237, 222, 0.5); }
.footer-legal p + p { margin-top: 0.8rem; }

/* =============================================================
   17. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
  .hero-card-dot { animation: none; }
}
