/* Franklin Street Self Storage — one stylesheet, no build step. */

:root {
  color-scheme: light;
  --brick: #b5402b;
  --brick-ink: #8c2d1c;
  --brick-tint: #f7e5df;
  --stucco: #efe7da;
  --stucco-deep: #e2d6c3;
  --paper: #fbf8f3;
  --card: #ffffff;
  --ink: #1d2024;
  --ink-2: #3a4047;
  --muted: #646a72;
  --line: #e4dbcd;
  --steel: #262d34;
  --steel-2: #343d46;
  --ok: #2b7a4b;
  --ok-tint: #e3f2e8;
  --warn: #a35f00;
  --warn-tint: #fbefd9;
  --bad: #b3261e;
  --bad-tint: #fbe4e2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 32, 36, .06), 0 6px 24px -8px rgba(29, 32, 36, .14);
  --shadow-lg: 0 2px 4px rgba(29, 32, 36, .06), 0 20px 48px -16px rgba(29, 32, 36, .28);
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brick-ink); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 750; font-stretch: 108%; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- demo bar + header ---------- */

.demo-bar { background: var(--steel); color: #e9e4dc; font-size: .82rem; padding: 7px 0; }
.demo-bar a { color: #ffd2c4; font-weight: 600; margin-left: .4em; }
.demo-bar strong { color: #fff; }

.site-header { background: rgba(251, 248, 243, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 1.12rem; letter-spacing: -.01em; }
.logo-sub { font-family: var(--display); font-weight: 600; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brick); margin-top: 4px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 11px; border-radius: 8px; }
.main-nav a:hover, .main-nav a.active { background: var(--stucco); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; margin-right: 6px; }
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); background: var(--card); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; }
.mobile-panel a { padding: 12px 14px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.mobile-panel a:hover { background: var(--stucco); }

@media (max-width: 1300px) {
  .header-phone span { display: none; }
}
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 8px; font-size: .9rem; }
}
@media (max-width: 920px) {
  .main-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .header-row { height: 64px; }
}

/* ---------- buttons, badges, flash ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .97rem/1 var(--body); padding: 13px 20px; border-radius: 10px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-ink); color: #fff; }
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--stucco); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stucco); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brick-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .01em; background: var(--stucco); color: var(--ink-2); }
.badge-ok { background: var(--ok-tint); color: var(--ok); }
.badge-warn { background: var(--warn-tint); color: var(--warn); }
.badge-bad { background: var(--bad-tint); color: var(--bad); }
.badge-brick { background: var(--brick-tint); color: var(--brick-ink); }
.badge-dark { background: var(--steel); color: #fff; }

.flash { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid; }
.flash-ok { background: var(--ok-tint); color: #1d5a36; border-color: #bfe0ca; }
.flash-bad { background: var(--bad-tint); color: #8a1d16; border-color: #f2c3be; }
.flash-info { background: #e8f0f8; color: #1f4466; border-color: #c5d8ea; }

/* ---------- hero ---------- */

.hero { position: relative; color: #fff; overflow: hidden; background: var(--steel); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 26, .88) 0%, rgba(20, 22, 26, .66) 45%, rgba(20, 22, 26, .15) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 92px 20px 100px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.1rem); max-width: 14ch; font-stretch: 118%; line-height: 1.02; }
.hero h1 em { font-style: normal; color: #ffb8a3; }
.hero .lede { color: #e8e4de; max-width: 33rem; font-size: 1.2rem; margin: 18px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; font-size: .92rem; color: #ddd8d0; }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ico { color: #ffb8a3; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-stucco { background: var(--stucco); }
.section-dark { background: var(--steel); color: #e6e1d9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 38rem; }
.eyebrow { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brick); margin-bottom: 10px; display: block; }

.page-head { background: var(--stucco); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: var(--muted); display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }

/* ---------- size category cards (home) ---------- */

.size-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.size-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.size-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--stucco-deep); color: var(--ink); }
.size-card .door { height: 86px; margin-bottom: 12px; display: flex; align-items: end; }
.size-card h3 { margin: 0; }
.size-card .range { color: var(--muted); font-size: .92rem; }
.size-card .from { margin-top: auto; padding-top: 14px; font-size: .9rem; color: var(--muted); }
.size-card .from strong { font-family: var(--display); font-size: 1.6rem; color: var(--ink); font-stretch: 105%; }
.size-card .go { color: var(--brick); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.feature { display: flex; gap: 16px; }
.feature-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brick-tint); color: var(--brick); display: grid; place-items: center; flex: none; }
.feature-ico .ico { width: 24px; height: 24px; }
.feature h3 { margin: 2px 0 4px; font-size: 1.07rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- photo mosaic ---------- */

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; }
.mosaic a { overflow: hidden; border-radius: var(--radius); position: relative; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic figcaption, .gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(20, 22, 26, .72); color: #fff; font-size: .78rem; padding: 4px 9px; border-radius: 6px; }

/* ---------- account pitch ---------- */

.pitch { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.pitch-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.pitch-list li { display: flex; gap: 12px; align-items: flex-start; }
.pitch-list .ico { color: #ffb8a3; margin-top: 3px; width: 20px; height: 20px; }
.pitch-list strong { color: #fff; }
.mock { background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); padding: 22px; transform: rotate(-1.2deg); }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-bal { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-bal .amt { font-family: var(--display); font-size: 2rem; font-weight: 800; font-stretch: 108%; }
.mock-rows { margin-top: 12px; display: grid; gap: 8px; }
.mock-row { display: flex; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: .9rem; }

/* ---------- reviews ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.stars { color: #e0a100; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 10px 0 14px; font-size: 1rem; color: var(--ink-2); }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

/* ---------- visit strip ---------- */

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.visit-info { padding: 40px; }
.visit-photo { min-height: 340px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 18px; margin: 0 0 14px; font-size: .95rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; }

/* ---------- units page ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; align-items: center; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }

.unit-list { display: grid; gap: 14px; }
.unit-row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: grid; grid-template-columns: 110px 1.3fr 1fr auto; gap: 24px; align-items: center; transition: box-shadow .2s, border-color .2s; }
.unit-row:hover { box-shadow: var(--shadow); border-color: var(--stucco-deep); }
.unit-row.soldout { opacity: .78; }
.unit-plan { width: 110px; height: 90px; display: grid; place-items: center; }
.unit-size { font-family: var(--display); font-weight: 800; font-size: 1.55rem; font-stretch: 110%; margin: 0; line-height: 1.1; }
.unit-sub { color: var(--muted); font-size: .9rem; margin: 2px 0 10px; }
.unit-feats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--ink-2); padding: 0; margin: 0; list-style: none; }
.unit-feats li { display: inline-flex; gap: 5px; align-items: center; }
.unit-feats .ico { color: var(--brick); width: 16px; height: 16px; }
.unit-price { text-align: right; }
.unit-price .street { color: var(--muted); font-size: .85rem; text-decoration: line-through; }
.unit-price .web { font-family: var(--display); font-weight: 800; font-size: 2rem; font-stretch: 105%; line-height: 1; }
.unit-price .web small { font-size: .9rem; font-weight: 500; color: var(--muted); font-family: var(--body); }
.unit-price .tag { font-size: .78rem; color: var(--ok); font-weight: 700; }
.unit-actions { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.unit-avail { font-size: .8rem; text-align: center; }

/* ---------- size guide ---------- */

.guide { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.guide-card svg { width: 100%; height: 170px; margin-bottom: 16px; }
.guide-card h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.guide-card .like { color: var(--brick-ink); font-weight: 600; font-size: .93rem; margin-bottom: 8px; }
.guide-card p { color: var(--ink-2); font-size: .95rem; }
.guide-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10, 12, 14, .88); }
dialog.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 10px; }
dialog.lightbox p { color: #ddd; text-align: center; margin: 10px 0 0; }

/* ---------- forms ---------- */

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form-narrow { max-width: 460px; margin: 48px auto 80px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .hint { font-size: .82rem; color: var(--muted); }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px var(--brick-tint); }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 14px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brick); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--brick); background: var(--brick-tint); }
.radio-card input { accent-color: var(--brick); width: 18px; height: 18px; flex: none; }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-price { font-weight: 700; white-space: nowrap; }
.form-foot { margin-top: 18px; text-align: center; font-size: .92rem; color: var(--muted); }
.error-list { background: var(--bad-tint); color: #8a1d16; border-radius: 10px; padding: 12px 16px 12px 34px; margin: 0 0 18px; font-size: .93rem; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
legend .step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; }

.demo-hint { background: #fff8e6; border: 1px dashed #e0b44a; border-radius: 10px; padding: 12px 14px; font-size: .86rem; margin-bottom: 20px; color: #5c4300; }
.demo-hint code, .demo-hint strong { color: #3d2c00; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .9em; background: rgba(0, 0, 0, .05); padding: 1px 5px; border-radius: 4px; }

/* ---------- checkout / rent ---------- */

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; padding: 40px 20px 80px; }
.summary { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.summary-photo { height: 150px; object-fit: cover; width: 100%; }
.summary-body { padding: 22px; }
.summary-unit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lines td { padding: 7px 0; }
.lines td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.lines tr.total td { border-top: 1.5px solid var(--ink); padding-top: 12px; font-weight: 800; font-size: 1.1rem; }
.lines tr.sub td { color: var(--muted); font-size: .88rem; }

.paybox { max-width: 980px; margin: 40px auto 80px; display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.paybox-left { background: var(--steel); color: #e7e2da; padding: 40px; }
.paybox-left h2 { color: #fff; }
.paybox-left .amt { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: #fff; font-stretch: 105%; margin: 6px 0 24px; }
.paybox-right { padding: 40px; }
.card-input { border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.card-input input { border: 0; border-radius: 0; box-shadow: none !important; }
.card-input .ci-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--line); }
.card-input .ci-row input + input { border-left: 1.5px solid var(--line); }
.card-input:focus-within { border-color: var(--brick); box-shadow: 0 0 0 3px var(--brick-tint); }
.testmode { display: inline-block; background: #ffde8a; color: #5a3b00; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; }
.secure-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .82rem; margin-top: 14px; justify-content: center; }

/* ---------- account ---------- */

.acct { padding: 36px 20px 80px; display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; }
.acct-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.acct-nav a:hover { background: var(--stucco); color: var(--ink); }
.acct-nav a.on { background: var(--ink); color: #fff; }
.acct-nav form { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.acct-nav button { width: 100%; text-align: left; background: none; border: 0; font: inherit; color: var(--muted); padding: 10px 12px; cursor: pointer; border-radius: 9px; display: flex; gap: 10px; align-items: center; }
.acct-nav button:hover { background: var(--stucco); color: var(--ink); }
.acct h1 { font-size: 1.9rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.2rem; font-stretch: 100%; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.balance-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--steel); color: #e7e2da; border-radius: 16px; padding: 28px 30px; margin-bottom: 20px; position: relative; overflow: hidden; }
.balance-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 8px, transparent 8px 16px); border-radius: 30px; transform: rotate(12deg); }
.balance-hero .label { color: #bdb6ab; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.balance-hero .amt { font-family: var(--display); font-size: 2.9rem; font-weight: 800; color: #fff; line-height: 1.1; font-stretch: 105%; }
.balance-hero .meta { font-size: .93rem; margin-top: 6px; }
.balance-hero .btns { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.balance-hero.paid { background: #1f4d34; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat .k { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; gap: 7px; align-items: center; }
.stat .v { font-family: var(--display); font-size: 1.45rem; font-weight: 750; margin-top: 4px; font-stretch: 104%; }
.stat .v.code { letter-spacing: .14em; }
.rental { display: grid; grid-template-columns: 74px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.rental:first-of-type { border-top: 0; padding-top: 4px; }
.rental-door { width: 74px; height: 60px; border-radius: 8px; background: repeating-linear-gradient(180deg, var(--brick) 0 5px, var(--brick-ink) 5px 6.5px); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.rental h3 { margin: 0 0 2px; font-size: 1.05rem; }
.rental .meta { color: var(--muted); font-size: .9rem; }

table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .neg { color: var(--ok); }
.tbl-wrap { overflow-x: auto; }

.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.cardchip { display: inline-flex; gap: 8px; align-items: center; background: var(--stucco); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: .9rem; }

/* receipt */
.receipt { max-width: 640px; margin: 40px auto 80px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; box-shadow: var(--shadow); }
.receipt-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 18px; }

/* mailbox */
.mail { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.mail summary { padding: 14px 18px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.mail summary .to { color: var(--muted); font-size: .85rem; }
.mail pre { margin: 0; padding: 18px; border-top: 1px solid var(--line); white-space: pre-wrap; font: .93rem/1.55 var(--body); }
.mail pre a { word-break: break-all; }

/* ---------- admin ---------- */

.admin-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.floor { margin-bottom: 18px; }
.floor h3 { font-size: .95rem; margin-bottom: 8px; }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.u { border-radius: 6px; padding: 6px 4px; text-align: center; font-size: .74rem; font-weight: 700; line-height: 1.2; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.u small { display: block; font-weight: 500; opacity: .75; font-size: .68rem; }
.u-occupied { background: #dfe7ef; }
.u-late { background: var(--bad-tint); color: var(--bad); border-color: #efb8b2; }
.u-available { background: var(--ok-tint); color: var(--ok); border-color: #b8dcc5; }
.u-held { background: var(--warn-tint); color: var(--warn); }
.u-maintenance { background: #e9e9e9; color: #777; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.inline-form { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.inline-form .field { margin: 0; }
.inline-form input, .inline-form select { padding: 9px 11px; }

/* ---------- footer ---------- */

.site-footer { background: var(--steel); color: #c9c3ba; padding: 60px 0 0; font-size: .93rem; }
.site-footer h4 { color: #8f99a3; margin-bottom: 12px; }
.site-footer a { color: #e9e4dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.logo-footer { color: #fff; margin-bottom: 18px; }
.logo-footer .logo-sub { color: #ffb8a3; }
.footer-addr { line-height: 1.75; }
.site-footer .hours dt { color: #8f99a3; }
.site-footer .hours dd { color: #e9e4dc; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-fine { border-top: 1px solid var(--steel-2); padding: 18px 20px 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: #8f99a3; }

/* ---------- misc ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 1.03rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brick); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); }
.map { width: 100%; height: 100%; min-height: 320px; display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.cta-band { background: var(--brick); color: #fff; border-radius: 18px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe2d9; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.success-mark .ico { width: 32px; height: 32px; }
.gatecode { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: .2em; background: var(--stucco); border-radius: 12px; padding: 14px; text-align: center; margin: 10px 0 18px; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .size-cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pitch { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .reviews { grid-template-columns: 1fr; }
  .unit-row { grid-template-columns: 90px 1fr auto; }
  .unit-row .unit-actions { grid-column: 1 / -1; flex-direction: row; }
  .unit-row .unit-actions .btn { flex: 1; }
  .unit-plan { width: 90px; }
  .split { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .admin-kpis { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 64px 16px 70px; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 22, 26, .78), rgba(20, 22, 26, .86)); }
  .size-card .door { height: auto; }
  .size-cards, .features, .two-col, .visit, .paybox, .row2 { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: span 2; }
  .visit-info { padding: 26px; }
  .visit-photo { min-height: 220px; order: -1; }
  .unit-row { grid-template-columns: 1fr auto; padding: 18px; gap: 14px; }
  .unit-plan { display: none; }
  .unit-row .unit-price { text-align: right; }
  .acct { grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .acct-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .acct-nav a { white-space: nowrap; }
  .acct-nav form { margin: 0; padding: 0; border: 0; }
  .acct-nav button { white-space: nowrap; }
  .balance-hero { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: 1fr 1fr; }
  .paybox-left, .paybox-right, .form-card, .receipt { padding: 24px; }
  .paybox { margin: 20px 0 60px; border-radius: 0; border-left: 0; border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .rental { grid-template-columns: 60px 1fr; }
  .rental > :last-child { grid-column: 1 / -1; }
  .rental-door { width: 60px; height: 50px; }
  .cta-band { padding: 30px 24px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 > :first-child { grid-column: 1 / -1; }
}

@media print {
  .demo-bar, .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .receipt { box-shadow: none; border: 0; margin: 0; }
}
