/* ============================================================
   Real Estate Partners — repdenver.com
   Design tokens & styles per design handoff (July 2026)
   Zero border-radius is intentional (brand identity) —
   the only exception is the Contact interest buttons (3px, per design).
   ============================================================ */

:root {
  --red: #c8102e;
  --red-dark: #a50d26;
  --slate: #4b4f54;
  --page-bg: #f4f4f4;
  --surface: #ffffff;
  --surface-alt: #f9f9f9;
  --text: #1b1b1b;
  --text-2: #5a5a5a;
  --label: #63676b;
  --label-2: #5f6368;
  --on-slate-2: #e3e5e7;
  --on-slate-muted: #c6c9cc;
  --border: #e2e2e2;
  --border-input: #d5d7d9;
  --border-on-slate: rgba(255, 255, 255, 0.14);
  --seg-off-text: #54585c;
  --container: 1320px;
  --pad-x: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--page-bg);
  font-family: 'Archivo', sans-serif;
  color: var(--text);
}

a { text-decoration: none; color: inherit; }
button { font-family: 'Archivo', sans-serif; cursor: pointer; }
input, textarea { font-family: 'Archivo', sans-serif; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes dronePan {
  0%   { transform: scale(1.1) translate(0, 0); }
  50%  { transform: scale(1.22) translate(-2.5%, -1.5%); }
  100% { transform: scale(1.1) translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }

.grid { display: grid; gap: 20px; }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-270 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Type helpers ---------- */
.kicker { font-size: 10px; letter-spacing: 0.3em; color: var(--red); font-weight: 600; }
.micro  { font-size: 9px; letter-spacing: 0.2em; color: var(--label); }
.section-title { font-size: clamp(19px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-align: center;
  border: none;
}
.btn-red { background: var(--red); color: #fff; padding: 17px 30px; }
.btn-red:hover { background: var(--red-dark); }
.btn-red.btn-md { padding: 16px 28px; }
.btn-outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); padding: 16px 30px; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-dark { color: var(--text); border: 1px solid #b9bcbf; padding: 15px 28px; background: transparent; }
.btn-outline-dark:hover { border-color: var(--slate); }

.link-red {
  font-size: 11px; letter-spacing: 0.16em; color: var(--red); font-weight: 600;
  border-bottom: 2px solid var(--red); padding-bottom: 6px; width: fit-content;
}

/* ---------- Header / nav ---------- */
.nav {
  background: var(--slate);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: flex; gap: 3px; }
.brand-mark span {
  width: 15px; height: 34px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; color: #fff; }
.brand-sub  { font-size: 9px; letter-spacing: 0.3em; color: var(--on-slate-muted); }

.nav-desktop {
  display: flex; align-items: center; gap: 26px;
  font-size: 11px; letter-spacing: 0.12em; color: var(--on-slate-2);
}
.nav-link { padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link:hover { color: #fff; border-bottom-color: var(--red); }
.nav-link.active { color: #fff; border-bottom-color: var(--red); font-weight: 600; }
.nav-phone { color: #fff; font-weight: 500; white-space: nowrap; }
.btn-nav { background: var(--red); color: #fff; padding: 13px 22px; font-weight: 500; font-size: 11px; letter-spacing: 0.12em; white-space: nowrap; }
.btn-nav:hover { background: var(--red-dark); }

/* mid tier (761–1240px): phone + button on top row, links in second row */
.nav-compact-actions { display: none; align-items: center; gap: 18px; flex: none; }
.nav-compact-actions .nav-phone { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; }
.nav-compact-actions .btn-nav { padding: 12px 18px; font-size: 10px; }
.nav-midrow { display: none; border-top: 1px solid var(--border-on-slate); }
.nav-midrow-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; gap: 28px; font-size: 11px; letter-spacing: 0.12em;
  color: var(--on-slate-2); overflow-x: auto;
}
.nav-midrow-inner a { padding: 13px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-midrow-inner a:hover { color: #fff; }
.nav-midrow-inner a.active { color: #fff; border-bottom-color: var(--red); font-weight: 600; }

/* mobile tier (≤760px): phone + hamburger, expanding menu */
.nav-mobile-actions { display: none; align-items: center; gap: 14px; flex: none; }
.nav-mobile-actions .nav-phone { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; }
.hamburger {
  background: none; border: 1px solid rgba(255, 255, 255, 0.35);
  width: 44px; height: 44px;
  display: flex; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center; flex: none;
}
.hamburger span { width: 18px; height: 2px; background: #fff; }
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border-on-slate);
  padding: 8px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px; font-size: 12px; letter-spacing: 0.12em; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu a.active { font-weight: 600; }
.mobile-menu .mm-phone { font-weight: 600; }
.mobile-menu .mm-cta {
  margin-top: 12px; background: var(--red); color: #fff; padding: 15px 22px;
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500; text-align: center; border-bottom: none;
}

@media (max-width: 1240px) {
  .nav-desktop { display: none; }
  .nav-compact-actions { display: flex; }
  .nav-midrow { display: block; }
}
@media (max-width: 760px) {
  .nav-compact-actions { display: none; }
  .nav-midrow { display: none; }
  .nav-mobile-actions { display: flex; }
}

/* simplified nav (Privacy page) */
.nav-back { font-size: 11px; letter-spacing: 0.12em; color: var(--on-slate-2); }
.nav-back:hover { color: #fff; }

/* ---------- Image placeholders (replace with client photos) ---------- */
.img-slot {
  width: 100%;
  background:
    repeating-linear-gradient(45deg, #e9eaeb 0 14px, #f1f2f3 14px 28px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.img-slot span {
  font-size: 10px; letter-spacing: 0.2em; color: #9a9ea3;
  text-transform: uppercase; font-weight: 600;
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--slate); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-aerial.jpg') center 35% / cover no-repeat, var(--slate);
  animation: dronePan 24s ease-in-out infinite;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(52, 56, 61, 0.68) 0%, rgba(52, 56, 61, 0.40) 40%, rgba(50, 53, 58, 0.88) 100%);
}
.hero-note {
  position: absolute; top: 18px; right: 22px;
  display: flex; align-items: center; gap: 8px;
  font: 10px ui-monospace, Menlo, monospace;
  color: var(--on-slate-muted);
  background: rgba(62, 66, 71, 0.65);
  padding: 7px 12px;
  border: 1px solid var(--border-on-slate);
}
.hero-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) var(--pad-x) 44px;
  display: flex; flex-direction: column; gap: 40px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 860px;
}
.hero-word {
  display: inline-block;
  color: #fff;
  border-bottom: 5px solid var(--red);
  animation: wordIn 0.6s ease both;
}
.hero-sub { margin: 0; font-size: 15px; line-height: 1.65; color: var(--on-slate-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* ---------- Home search strip ---------- */
.strip {
  display: flex; flex-wrap: wrap; align-items: stretch;
  background: var(--surface); color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.strip-tabs { display: flex; flex: 1 1 100%; border-bottom: 1px solid var(--border); }
.strip-tabs button {
  border: none; flex: 1; padding: 14px 0;
  font-size: 10px; letter-spacing: 0.14em; font-weight: 600;
  background: var(--surface); color: var(--seg-off-text);
}
.strip-tabs button + button { border-left: 1px solid var(--border); }
.strip-tabs button.on { background: var(--slate); color: #fff; }
.strip-field { padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; justify-content: center; border-right: 1px solid var(--border); }
.strip-field input { border: none; outline: none; font-size: 13px; color: var(--text); background: transparent; padding: 0; }
.strip-field .value { font-size: 13px; }
.f-loc   { flex: 2 1 220px; }
.f-type  { flex: 1 1 160px; }
.f-price { flex: 1 1 140px; border-right: none; }
.strip-go {
  flex: 1 1 140px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  padding: 18px 0; font-size: 11px; letter-spacing: 0.16em; font-weight: 500;
}
.strip-go:hover { background: var(--red-dark); }

/* ---------- Home: stats / wings / teaser / signup ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(20px, 3vw, 30px) var(--pad-x);
  display: flex; justify-content: center; align-items: baseline;
  gap: 16px; flex-wrap: wrap; text-align: center;
}
.stats-title { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.stats-sub { font-size: 10px; letter-spacing: 0.2em; color: var(--label-2); }

.wing { background: var(--surface); border: 1px solid var(--border); padding: 52px 48px; display: flex; flex-direction: column; gap: 16px; }
.wing-title { font-size: clamp(22px, 2.8vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.wing-body { font-size: 13px; line-height: 1.7; color: var(--text-2); }
.dash-list { display: flex; flex-direction: column; gap: 10px; font-size: 12px; margin-top: 4px; }
.dash-list > div { display: flex; gap: 12px; align-items: baseline; }
.dash-list span { color: var(--red); }
.wing .link-red { margin-top: 8px; }

.teaser-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.teaser-link { font-size: 10px; letter-spacing: 0.18em; color: var(--red); font-weight: 600; white-space: nowrap; }
.teaser-card {
  border: 1px solid var(--border); background: var(--surface-alt);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.teaser-card:hover { border-color: var(--red); }
.teaser-card .value { font-size: 13px; }

.signup {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--pad-x);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.signup-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.signup-sub { font-size: 13px; color: var(--text-2); }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input {
  border: 1px solid var(--border-input); padding: 14px 16px;
  font-size: 13px; min-width: 240px; outline-color: var(--red);
}
.signup-form button {
  border: none; background: var(--red); color: #fff; padding: 14px 26px;
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500;
}
.signup-form button:hover { background: var(--red-dark); }

/* ---------- Page heroes (Residential / Commercial) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.page-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { margin: 0; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
.page-hero p  { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-2); max-width: 480px; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-26 { padding: 26px; }
.card-num { font-size: 10px; letter-spacing: 0.2em; color: var(--red); font-weight: 600; }
.card-title { font-size: 16px; font-weight: 600; }
.card-title-15 { font-size: 15px; font-weight: 600; }
.card-body { font-size: 13px; line-height: 1.65; color: var(--text-2); }
.card-body-sm { font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.card-alt { background: var(--surface-alt); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate); color: #fff; }
.cta-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--pad-x);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
}
.cta-title { font-size: clamp(21px, 2.6vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.cta-sub { font-size: 13px; color: var(--on-slate-muted); max-width: 520px; }
.cta-band .btn-red { flex: none; }

/* ---------- Segmented control ---------- */
.seg { display: flex; gap: 0; width: fit-content; border: 1px solid var(--border-input); }
.seg button {
  border: none; padding: 12px 26px;
  font-size: 11px; letter-spacing: 0.14em; font-weight: 600;
  background: var(--surface); color: var(--seg-off-text);
}
.seg button + button { border-left: 1px solid var(--border-input); }
.seg button.on { background: var(--slate); color: #fff; }

/* ---------- Search page ---------- */
.search-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.search-head-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) var(--pad-x) 0;
  display: flex; flex-direction: column; gap: 20px;
}
.search-head h1 { margin: 0; font-size: clamp(26px, 3.6vw, 34px); font-weight: 600; letter-spacing: -0.01em; }
.searchbar { display: flex; flex-wrap: wrap; align-items: stretch; border: 1px solid var(--border-input); margin-bottom: 32px; }
.searchbar .strip-field { padding: 14px 22px; }
.searchbar .strip-go { padding: 18px 0; }

.idx-wrap { max-width: var(--container); margin: 0 auto; padding: 40px var(--pad-x) 24px; }
.idx-box {
  border: 2px dashed #c8b7bb; background: #fff8f8;
  padding: clamp(28px, 5vw, 48px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.idx-box .title { font-size: 16px; font-weight: 600; max-width: 520px; }
.idx-box .body  { font-size: 13px; color: var(--text-2); max-width: 520px; line-height: 1.6; }

.results-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x) 64px; display: flex; flex-direction: column; gap: 18px; }
.results-count { font-size: 12px; color: var(--label-2); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.listing { background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.listing:hover { border-color: var(--red); }
.listing-media { position: relative; }
.listing-media .img-slot { height: 210px; border: none; border-bottom: 1px solid var(--border); }
.listing-tag {
  position: absolute; top: 0; left: 0;
  background: var(--slate); color: #fff;
  font-size: 9px; letter-spacing: 0.14em; font-weight: 600;
  padding: 5px 9px;
}
.listing-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; }
.listing-name { font-size: 15px; font-weight: 600; }
.listing-loc  { font-size: 12px; color: var(--text-2); }
.listing-meta { font-size: 12px; color: var(--label-2); }
.listing-price { font-size: 14px; font-weight: 600; color: var(--red); margin-top: 4px; }

/* ---------- Resources ---------- */
.res-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.res-head-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) var(--pad-x) 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.res-head h1 { margin: 0; font-size: clamp(26px, 3.6vw, 34px); font-weight: 600; letter-spacing: -0.01em; }
.res-head p  { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-2); max-width: 640px; }

.res-sections {
  max-width: var(--container); margin: 0 auto;
  padding: 48px var(--pad-x) 64px;
  display: flex; flex-direction: column; gap: 48px;
}
.res-section { display: flex; flex-direction: column; gap: 18px; }
.res-section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.res-section-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.res-card {
  border: 1px solid var(--border); background: var(--surface);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px;
}
.res-card:hover { border-color: var(--red); }
.res-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.res-tag { font-size: 9px; letter-spacing: 0.18em; color: var(--label); }
.res-badge { font-size: 9px; letter-spacing: 0.14em; color: #fff; padding: 4px 8px; font-weight: 600; white-space: nowrap; }
.res-name { font-size: 15px; font-weight: 600; }
.res-desc { font-size: 12.5px; line-height: 1.6; color: var(--text-2); }

.city-head-title { font-size: 15px; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--border-input); background: var(--surface);
  padding: 11px 18px; font-size: 12px; font-weight: 500;
}
.pill:hover { border-color: var(--red); color: var(--red); }

/* ---------- About ---------- */
.about-intro { background: var(--surface); border-bottom: 1px solid var(--border); }
.about-intro-inner {
  max-width: 820px; margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--pad-x);
  display: flex; flex-direction: column; gap: 18px;
}
.about-intro h1 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.about-intro p  { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-2); max-width: 640px; }
.licensing {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--pad-x) clamp(32px, 5vw, 56px);
}
.licensing div { font-size: 12px; color: var(--label-2); border-top: 1px solid var(--border); padding-top: 18px; }

/* ---------- Presentations ---------- */
.pres-hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.pres-hero-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--pad-x);
  display: flex; flex-direction: column; gap: 18px;
}
.pres-hero h1 { margin: 0; font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; max-width: 760px; }
.pres-hero p  { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-2); max-width: 560px; }
.steps { display: flex; flex-direction: column; gap: 14px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.steps > div { display: flex; gap: 14px; }
.steps b { font-weight: 600; color: var(--text); }

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 48px); align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 22px; }
.contact-left h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.contact-left p  { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-2); max-width: 420px; }
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; font-size: 13px;
}
.info-row { display: flex; flex-direction: column; gap: 2px; }
.info-row a { color: var(--red); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--border); padding: 40px 44px; display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field textarea {
  border: 1px solid var(--border-input); padding: 13px 14px;
  font-size: 13px; outline-color: var(--red);
}
.field textarea { line-height: 1.6; resize: vertical; }
.interest { display: flex; flex-wrap: wrap; gap: 8px; }
.interest button {
  flex: 1; border: 1px solid var(--border-input); border-radius: 3px; /* only rounded element, per design */
  padding: 13px 0; font-size: 10px; letter-spacing: 0.12em; font-weight: 600;
  background: var(--surface); color: var(--seg-off-text); min-width: 90px;
}
.interest button.on { background: var(--slate); color: #fff; border-color: var(--slate); }
.form-note { font-size: 11px; color: #7a7e83; }
.form-card .btn-red { width: fit-content; }

.confirm-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 56px 48px; display: none; flex-direction: column; gap: 14px; align-items: flex-start;
}
.confirm-card.show { display: flex; }
.confirm-check {
  width: 44px; height: 44px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.confirm-title { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; }
.confirm-body { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.confirm-body a { color: var(--red); font-weight: 600; }
.btn-again {
  margin-top: 8px; border: 1px solid #b9bcbf; background: var(--surface);
  padding: 13px 24px; font-size: 11px; letter-spacing: 0.14em;
}

.map-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x) 64px; }
.map-wrap iframe { width: 100%; height: 320px; border: 1px solid var(--border-input); display: block; }

/* ---------- Privacy ---------- */
.legal-wrap {
  max-width: 820px; margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--pad-x) 80px;
  display: flex; flex-direction: column; gap: 28px;
}
.legal-wrap h1 { margin: 0; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.legal-wrap h2 { margin: 0; font-size: 20px; font-weight: 600; }
.legal-wrap p  { margin: 0; font-size: 14px; line-height: 1.75; color: #3a3a3a; }
.legal-updated { font-size: 13px; color: var(--label-2); }
.legal-block { display: flex; flex-direction: column; gap: 12px; }
.legal-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; color: #3a3a3a; }
.legal-list > div { display: flex; gap: 10px; }
.legal-list span { color: var(--red); }
.legal-note {
  border: 1px solid var(--border); background: #fff8ec;
  padding: 18px 20px; font-size: 12.5px; line-height: 1.65; color: #6b5b3a;
}
.legal-wrap a { color: var(--red); }

/* ---------- Footers ---------- */
.footer-x { background: var(--slate); color: #fff; }
.footer-x-grid {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark span { width: 11px; height: 28px; font-size: 10px; }
.footer-brand .brand-name { font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.footer-col .head { font-size: 10px; letter-spacing: 0.2em; color: var(--on-slate-muted); margin-bottom: 4px; }
.footer-col a { color: var(--on-slate-2); }
.footer-col a:hover { color: #fff; }
.footer-addr { font-size: 12px; line-height: 1.7; color: var(--on-slate-muted); }
.footer-col .white { color: #fff; }
.footer-col .muted { color: var(--on-slate-muted); }

.footer-slim { background: var(--slate); color: #fff; }
.footer-slim.bordered { border-top: 1px solid var(--border-on-slate); }
.footer-slim-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between;
  font-size: 11px; color: var(--on-slate-muted);
}
.footer-slim-inner a { color: var(--on-slate-muted); }
.footer-slim-inner a.tel { color: #fff; }
.footer-slim-inner .right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
