/* E-Z Mini Storage — review build.
   Palette and layout taken from the approved proposal mockups
   (PROP-2026-E2B4C9). Mobile-first; the breakpoints are where the
   mockup's columns stop fitting, not round numbers. */

:root {
  --ink:        #1b2531;   /* header, hero, footer ground */
  --ink-soft:   #2a3646;   /* raised panels on the ground */
  --red:        #c0392b;   /* primary action */
  --red-dark:   #a93226;
  --page:       #f4f4f5;
  --card:       #ffffff;
  --line:       #e3e3e6;
  --text:       #1b2531;
  --muted:      #6b7280;
  --on-dark:    #ffffff;
  --on-dark-mu: #aab4c0;
  --warn-bg:    #fff8e1;
  --warn-line:  #e0b94a;
  --warn-text:  #6b5212;
  --radius:     6px;
  --shadow:     0 1px 2px rgba(27, 37, 49, .06), 0 1px 8px rgba(27, 37, 49, .04);
  --wrap:       1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1em; }
a  { color: var(--red); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

/* ---------- utility bar + header ---------- */

.topbar {
  background: var(--ink); color: var(--on-dark-mu);
  font-size: .78rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: var(--on-dark); text-decoration: none; font-weight: 600; }

.masthead { background: var(--ink); color: var(--on-dark); }
.masthead .wrap { display: flex; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 4px; flex: none;
  background: var(--red); position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 9px 7px; border-radius: 1px;
  background: repeating-linear-gradient(180deg, #fff 0 3px, transparent 3px 6px);
}
.brand b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.brand span { display: block; font-size: .72rem; color: var(--on-dark-mu); }

.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-size: .92rem; font-weight: 600;
  padding-block: 4px; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: rgba(255,255,255,.4); }
.nav a[aria-current="page"] { border-bottom-color: var(--on-dark); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; padding: 11px 18px; border-radius: 4px;
  font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a93226; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

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

.hero { background: var(--ink); color: var(--on-dark); padding-block: 40px 48px; }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-dark-mu); max-width: 46ch; }

.picker { background: var(--ink-soft); border-radius: var(--radius); padding: 16px; margin-top: 22px; }
.picker h2 { font-size: .95rem; color: #fff; margin-bottom: 12px; }
.picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.picker-grid a {
  background: #fff; border: 2px solid transparent; border-radius: 4px;
  padding: 10px 12px; text-decoration: none; color: var(--ink); display: block;
}
.picker-grid a:hover, .picker-grid a:focus-visible { border-color: var(--red); }
.picker-grid b { display: block; font-size: .95rem; }
.picker-grid span { display: block; font-size: .75rem; color: var(--muted); }
.picker-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.picker-actions .tel { color: #fff; font-weight: 700; text-decoration: none; }

.mapcard {
  background: var(--ink-soft); border-radius: var(--radius); min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
}

/* ---------- feature strip ---------- */

.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 0; }
.strip div { padding: 18px 16px; }
.strip b { display: block; font-size: .95rem; }
.strip span { font-size: .8rem; color: var(--muted); }

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

section { padding-block: 44px; }
section > .wrap > p.intro { color: var(--muted); max-width: 58ch; margin-top: -.3em; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.card.featured { border-color: var(--ink); border-width: 2px; }

/* size cards */
.size .draw {
  background:
    repeating-linear-gradient(0deg,  #eceef1 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, #eceef1 0 1px, transparent 1px 14px), #fafafa;
  border: 1px solid var(--line); border-radius: 3px; aspect-ratio: 4 / 3;
  display: grid; place-items: center; margin-bottom: 12px;
}
.size .draw i { display: block; background: #c9ced6; border: 1px solid #9aa3ae; border-radius: 1px; }
.size .flag {
  display: inline-block; background: var(--ink); color: #fff; font-size: .68rem;
  font-weight: 700; padding: 2px 7px; border-radius: 3px; margin-bottom: 6px;
}
.size b { font-size: 1.35rem; display: block; }
.size .sqft { font-size: .78rem; color: var(--muted); }
.size p { font-size: .85rem; color: var(--muted); margin: 8px 0 12px; }

/* steps */
.steps { display: grid; gap: 22px; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps .n { color: var(--red); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.steps p { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }

/* red band */
.band { background: var(--red); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 24px; }
.band h2 { color: #fff; margin: 0; }
.band p { margin: 4px 0 0; font-size: .9rem; color: rgba(255,255,255,.88); }
.band .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* location cards */
.loc .photo {
  aspect-ratio: 16 / 7; border-radius: 3px; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #e6e8eb 0 10px, #dcdfe3 10px 20px);
  color: #76808c; font-size: .76rem; font-weight: 600; margin-bottom: 12px;
}
.loc h3 { margin-bottom: 2px; }
.loc h3 .st { font-size: .72rem; color: var(--muted); font-weight: 600; }
.loc .addr { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.loc .links { display: flex; gap: 14px; font-size: .85rem; font-weight: 700; }
.tag-new {
  display: inline-block; background: #f3c969; color: #4a3a08; font-size: .66rem;
  font-weight: 800; padding: 2px 6px; border-radius: 3px; vertical-align: 2px;
}

/* reviews */
.reviews { background: #ececee; }
.stars { color: #e0a800; letter-spacing: 2px; font-size: .9rem; }
.review p { font-size: .88rem; margin: 8px 0; }
.review cite { font-size: .74rem; color: var(--muted); font-style: normal; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative;
  font-weight: 600; font-size: .95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--red); font-size: 1.2rem; }
.faq details[open] summary::after { content: "\2212"; }
/* Chrome 151 keeps a closed disclosure's children in layout. */
.faq details:not([open]) > *:not(summary) { display: none !important; }
.faq .answer { padding: 0 0 14px; font-size: .9rem; color: var(--muted); }

/* form */
.formcard { background: #ececee; border-radius: var(--radius); padding: 18px; }
.formcard .row { display: grid; gap: 12px; grid-template-columns: 1fr; }
.formcard label { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.formcard input, .formcard select, .formcard textarea {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 3px;
  font: inherit; font-size: .9rem; background: #fff; color: var(--text);
}
.formcard textarea { min-height: 84px; resize: vertical; }

/* ---------- the honest bit: deferred features ---------- */

.pending {
  background: var(--warn-bg); border: 1px dashed var(--warn-line); color: var(--warn-text);
  border-radius: 4px; padding: 10px 12px; font-size: .8rem; line-height: 1.45;
}
.pending b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
/* A fact nobody has confirmed, shown inline. Underlined rather than
   highlighted: it has to be legible in a screenshot sent to the client
   without shouting over the content around it. */
.unverified {
  border-bottom: 2px dotted var(--warn-line);
  cursor: help;
}
.unverified::after {
  content: "?";
  font-size: .6em; vertical-align: super; font-weight: 700;
  color: var(--warn-line); margin-left: 1px;
}

/* A control that does not work must not look like one that does. */
.pending-btn {
  display: inline-block; padding: 9px 16px; border-radius: 4px; font-weight: 700; font-size: .88rem;
  background: repeating-linear-gradient(135deg, #f0e3bc 0 8px, #e8d9ac 8px 16px);
  border: 1px dashed var(--warn-line); color: var(--warn-text); cursor: not-allowed;
}

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

footer { background: var(--ink); color: var(--on-dark-mu); padding-block: 36px 24px; font-size: .86rem; }
footer h4 { color: #fff; font-size: .82rem; margin: 0 0 10px; text-transform: none; }
footer a { color: var(--on-dark-mu); text-decoration: none; display: block; padding-block: 2px; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 14px; font-size: .78rem; }

/* ---------- sticky phone bar, phones only ---------- */

.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 20; display: flex; gap: 8px;
  padding: 8px; background: rgba(27,37,49,.97); border-top: 1px solid rgba(255,255,255,.12);
}
.callbar .btn { flex: 1; }
@media (min-width: 760px) { .callbar { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 66px; } }

/* ---------- breakpoints ---------- */

@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .formcard .row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .picker-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.five { grid-template-columns: repeat(5, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  section { padding-block: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px;
}
