/* ============================================================
   BoxDrop Rockford — shared styles
   Design system: navy + gold, "warehouse price-tag" motif
   Display: Bricolage Grotesque | Body: Inter | Prices: Space Mono
   ============================================================ */

:root {
  --ink:      #16233d;
  --ink-2:    #24344f;
  --paper:    #f6f4ee;
  --surface:  #ffffff;
  --gold:     #f4a41c;
  --gold-deep:#d98604;
  --save:     #1f8a5b;
  --red:      #c8492e;
  --muted:    #5c6675;
  --line:     #e6e1d6;
  --ink-line: rgba(255,255,255,.14);

  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(22,35,61,.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  border: 2px solid var(--bg);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(244,164,28,.7); }
.btn--ghost {
  --bg: transparent;
  --fg: #fff;
  border-color: var(--ink-line);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { box-shadow: 0 12px 24px -12px rgba(22,35,61,.6); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,35,61,.96);
  backdrop-filter: blur(8px);
  color: #fff;
  border-bottom: 1px solid var(--ink-line);
}
.nav {
  display: flex; align-items: center; gap: 26px;
  height: 68px;
}
.brand {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--display); font-weight: 800;
  font-size: 1.34rem; letter-spacing: -.03em;
  text-decoration: none; color: #fff; white-space: nowrap;
}
.brand b { color: var(--gold); font-weight: 800; }
.brand span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: #9fb0c9; margin-left: 8px; font-family: var(--body); font-weight: 700; align-self: center; }
.nav-links { display: flex; gap: 22px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  color: #d7ddea; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-color: var(--gold); }
.nav .btn { padding: 10px 18px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links, .nav .btn.nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink-2); padding: 8px 6vw 18px;
  }
  .nav-links.open li { border-bottom: 1px solid var(--ink-line); }
  .nav-links.open a { display: block; padding: 14px 0; }
}

/* ---------- Placeholder media ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #e9e3d6, #f3eee2),
    var(--paper);
  border: 1px dashed #c9bfa8;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: #9a8f77; text-align: center;
  min-height: 220px; overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--body); font-weight: 600; font-size: .84rem;
  letter-spacing: .04em; padding: 10px 14px; max-width: 80%;
}
.ph--dark {
  background: linear-gradient(135deg, #1c2c49, #24344f);
  border-color: var(--ink-line); color: #8ea0bd;
}
.ph--sq { aspect-ratio: 1/1; min-height: 0; }
.ph--wide { aspect-ratio: 16/9; min-height: 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 76px 0 84px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { font-size: 1.2rem; color: #c6cfdd; max-width: 46ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap;
  font-size: .92rem; color: #aebbcd;
}
.hero-trust b { color: #fff; font-family: var(--display); font-size: 1.5rem; display: block; letter-spacing: -.02em; }
.hero-media { position: relative; }
.hero-media .ph { min-height: 420px; }
.hero-badge {
  position: absolute; right: -14px; bottom: -14px;
}

/* ---------- Reasons strip ---------- */
.reasons {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.reasons-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.reason .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(244,164,28,.16); color: var(--gold-deep);
  display: grid; place-items: center; margin-bottom: 14px;
}
.reason h3 { font-size: 1.15rem; }
.reason p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Comparison table ---------- */
.compare { background: var(--paper); }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font-size: 1rem;
}
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; }
.compare-table thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; }
.compare-table thead th.you { background: var(--gold); color: var(--ink); }
.compare-table tbody tr:nth-child(even) { background: #faf8f3; }
.compare-table td.feat { font-weight: 600; }
.compare-table td.you { font-weight: 700; color: var(--ink); }
.tick { color: var(--save); font-weight: 800; }
.cross { color: #b9c0cb; }

/* ---------- Financing ---------- */
.finance {
  background: var(--ink);
  color: #fff;
}
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.finance h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.finance p { color: #c6cfdd; font-size: 1.08rem; }
.finance ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.finance li { display: flex; gap: 12px; align-items: flex-start; color: #dfe6f0; }
.finance li .tick { color: var(--gold); }

/* ---------- Owner ---------- */
.owner-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.owner .ph { min-height: 380px; }
.owner blockquote {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2; margin: 0 0 22px; letter-spacing: -.02em;
}
.owner cite { font-style: normal; color: var(--muted); font-weight: 600; }
.owner cite b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.05rem; }

/* ---------- Room cards ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.room-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-card .ph { border: 0; border-radius: 0; }
.room-card .body { padding: 18px 20px 22px; display: flex; align-items: center; justify-content: space-between; }
.room-card h3 { margin: 0; font-size: 1.2rem; }
.room-card .arrow { color: var(--gold-deep); font-weight: 800; }

/* ---------- Reviews ---------- */
.reviews { background: var(--surface); border-block: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.review p { margin: 0 0 18px; font-size: 1rem; }
.review .who { margin-top: auto; font-weight: 700; }
.review .who span { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---------- Just arrived ---------- */
.arrived-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arrived .ph { min-height: 260px; }

/* ---------- Price tag (signature) ---------- */
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.special {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.special .ph { border: 0; border-radius: 0; min-height: 220px; }
.special .body { padding: 22px 22px 26px; }
.special h3 { font-size: 1.2rem; margin-bottom: 6px; }
.special .sub { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.tag {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 12px 20px 12px 30px;
  border-radius: 8px;
  font-family: var(--mono);
}
.tag::before { /* string hole */
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink);
}
.tag .was { color: #93a1b8; text-decoration: line-through; font-size: .9rem; }
.tag .now { color: var(--gold); font-size: 1.35rem; font-weight: 700; }
.save-pill {
  display: inline-block; margin-top: 14px;
  background: rgba(31,138,91,.12); color: var(--save);
  font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
}
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.final-cta p { font-size: 1.15rem; max-width: 52ch; margin: 0 auto 28px; }
.final-cta .btn--dark { --bg: var(--ink); }

/* ---------- Map + hours ---------- */
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.map-box .ph { min-height: 340px; height: 100%; }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.hours-card h3 { font-size: 1.4rem; }
.hours-list { list-style: none; padding: 0; margin: 16px 0 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 600; }
.contact-line { margin-top: 22px; display: grid; gap: 8px; color: var(--ink); }
.contact-line a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-line a:hover { color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6cfdd; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c6cfdd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ink-line);
  display: grid; place-items: center; color: #fff;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #8ea0bd;
}

/* ---------- Subpage hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 60px 0 66px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: #c6cfdd; font-size: 1.12rem; max-width: 54ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: #93a1b8; margin-bottom: 16px; }
.breadcrumb a { color: #93a1b8; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* product grid for subpages */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.product .ph { border: 0; border-radius: 0; min-height: 230px; }
.product .body { padding: 18px 20px 22px; }
.product h3 { font-size: 1.1rem; margin-bottom: 4px; }
.product .price { font-family: var(--mono); color: var(--gold-deep); font-weight: 700; }

.note-banner {
  background: rgba(244,164,28,.14); border: 1px solid rgba(244,164,28,.4);
  color: var(--ink-2); border-radius: 12px; padding: 14px 18px; font-size: .95rem;
  margin-bottom: 28px;
}
.note-banner b { color: var(--gold-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .finance-grid, .owner-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-media .ph { min-height: 280px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .arrived-grid, .specials-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: .9rem; }
  .compare-table th, .compare-table td { padding: 13px 14px; }
}
@media (max-width: 560px) {
  .reasons-grid, .rooms-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}

/* focus visibility */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Real photo helpers ---------- */
.hero-img {
  width: 100%; height: 100%; min-height: 420px; max-height: 540px;
  object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.arrived img, .arrived .ph { width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); }
.banner-img { width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; display: block; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.gallery img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
@media (max-width: 900px) { .hero-img { min-height: 260px; } .gallery img { height: 220px; } }

/* ---------- Financing badge (no image needed) ---------- */
.fin-badge {
  background: rgba(255,255,255,.06); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 40px 34px; text-align: center; color: #fff;
}
.fin-badge .big { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 3.8rem); color: var(--gold); line-height: 1; letter-spacing: -.02em; }
.fin-badge .sub { margin: 10px 0 0; color: #c6cfdd; font-size: 1.15rem; }
.fin-badge .row { display: flex; justify-content: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 22px; font-weight: 600; color: #dfe6f0; font-size: .95rem; }

/* ---------- Family panel (swap for a real photo later) ---------- */
.family-panel {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  min-height: 380px; display: grid; place-content: center; text-align: center;
  gap: 4px; padding: 40px; box-shadow: var(--shadow);
}
.family-panel .fp-badge { display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 700; padding: 8px 18px; border-radius: 999px; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.family-panel .fp-est { font-family: var(--display); font-size: 2.8rem; color: var(--gold); margin: 0; letter-spacing: -.02em; }
.family-panel .fp-loc { color: #c6cfdd; margin: 2px 0 0; font-size: 1.1rem; }

/* ---------- Logo mark ---------- */
.logo-mark { color: var(--gold); align-self: center; margin-right: 8px; flex: none; }
.site-footer .logo-mark { color: var(--gold); }

/* ---------- Full-bleed hero (upgrade) ---------- */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,18,32,.95) 0%, rgba(13,22,40,.82) 42%, rgba(13,22,40,.45) 100%);
}
.hero-inner { max-width: 660px; padding: 92px 0 100px; }
@media (max-width: 720px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(11,18,32,.86), rgba(11,18,32,.94)); }
  .hero-inner { padding: 64px 0 68px; }
}

/* ---------- Brands strip ---------- */
.brands { background: var(--surface); border-bottom: 1px solid var(--line); }
.brands-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 34px; padding: 22px 0;
}
.brands-row .lbl {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.brands-row b {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink-2);
  letter-spacing: -.01em; opacity: .85;
}


/* ---------- Real logo + light header ---------- */
.site-header { background: rgba(255,255,255,.97); color: var(--ink); border-bottom: 1px solid var(--line); }
.brand { align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand { gap: 9px; }
.brand-city {
  font-family: "Poppins", var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  letter-spacing: -.015em; color: var(--ink); align-self: center;
}
.site-header .nav-links a { color: var(--ink-2); }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.site-header .nav-toggle { color: var(--ink); }
.site-footer .brand-logo { height: 38px; }
.site-footer .brand-city { color: #fff; }
@media (max-width: 900px) {
  .site-header .nav-links.open { background: #fff; border-top: 1px solid var(--line); }
  .site-header .nav-links.open li { border-bottom: 1px solid var(--line); }
}


/* ---------- Hero tagline ---------- */
.hero-tagline {
  font-family: var(--display); font-weight: 800; color: var(--gold);
  font-size: clamp(1.3rem, 3.2vw, 2rem); text-transform: uppercase; letter-spacing: .04em;
  margin: 2px 0 20px;
}
