/* Immo24 v3 — design system (Apple-inspired) */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --line: rgba(0, 0, 0, .08);
  --navy: #0a2a4a;
  --navy-press: #082038;
  --orange: #f56300;
  --wa: #34c759;
  --r-lg: 18px;
  --r-md: 12px;
  --shadow-1: 0 2px 12px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .06);
  --shadow-2: 0 4px 20px rgba(0, 0, 0, .10), 0 20px 48px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --nav-h: 52px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 400 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
button { font: inherit; }

h1, h2, h3, .display {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: -.022em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.lede { font-size: 1.3rem; line-height: 1.45; color: var(--ink-2); font-weight: 400; }
.t2 { color: var(--ink-2); }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .lede { margin-top: 12px; }
.sr-only { position: absolute; left: -9999px; }

:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; border-radius: 4px; }

/* ---- glass nav ---- */
.nav-glass {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
@media (prefers-reduced-transparency: reduce) { .nav-glass { background: #fff; backdrop-filter: none; } }
.nav-in { display: flex; align-items: center; gap: 8px; height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.nav-brand img { width: 34px; height: auto; }
.nav-brand em { font-style: normal; color: var(--orange); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 7px 13px; border-radius: 980px; text-decoration: none;
  color: var(--ink-2); font-size: .88rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(0, 0, 0, .06); font-weight: 600; }

/* ---- buttons: press feedback on pointer-down ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 980px; padding: 13px 26px; min-height: 48px;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  transition: transform .12s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.965); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-press); }
.btn-wa { background: var(--wa); color: #062b12; }
.btn-wa:hover { background: #2db84e; }
.btn-quiet { background: rgba(10, 42, 74, .08); color: var(--navy); }
.btn-quiet:hover { background: rgba(10, 42, 74, .14); }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; min-height: 54px; }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .9rem; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }