/* Self Storage page (p-self-storage) */

/* hero: side-lit overlay so the depot signage stays readable on the right */
.ss-hero .page-hero-media img { object-position: 50% 70%; }
.ss-hero .page-hero-media::after { background:
  linear-gradient(180deg, rgba(11,37,50,.72) 0%, rgba(11,37,50,0) 28%),
  linear-gradient(90deg, rgba(11,37,50,.93) 0%, rgba(11,37,50,.8) 38%, rgba(11,37,50,.25) 70%, rgba(11,37,50,.1) 100%),
  linear-gradient(0deg, rgba(11,37,50,.55) 0%, rgba(11,37,50,0) 30%); }
.ss-hero h1 { max-width: 820px; }

/* storage options */
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.opt { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.opt:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(11,37,50,.55); }
.opt-media { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.opt-media img { width: 100%; height: 100%; object-fit: cover; }
.opt-num { position: absolute; right: 18px; bottom: -14px; font-family: var(--font-head); font-weight: 700; font-size: 96px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); text-shadow: 0 2px 20px rgba(4,7,7,.25); }
.opt-body { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; }
.opt-body h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; color: var(--navy); line-height: 1.05; }
.opt-body > p:last-child { color: var(--muted); font-size: 16px; }
.opt-flow { list-style: none; margin: 4px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.opt-flow li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); border-radius: 999px; padding: 5px 12px; }
.opt-flow li + li::before { content: ""; width: 0; height: 0; margin-left: -2px; margin-right: 2px; border-left: 6px solid var(--blue-deep); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
@media (max-width: 800px) { .opt-grid { grid-template-columns: 1fr; } }

/* booking widget */
.booker { max-width: 1080px; margin-inline: auto; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -40px rgba(11,37,50,.55); overflow: hidden; }
.booker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.booker [hidden] { display: none !important; }
.booker-panel { display: grid; grid-template-columns: 240px minmax(0, 1fr) 236px; }
.booker .booker-panel > * { padding: clamp(20px, 2.4vw, 28px); }
.booker .booker-panel > * + * { border-left: 1px solid var(--line); }
.booker-info { display: grid; gap: 12px; align-content: start; background: #fafbfc; }
.booker-mark { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--blue); display: grid; place-items: center; }
.booker-mark svg { width: 30px; height: 30px; }
.booker-org { font-size: 14px; color: var(--muted); font-weight: 500; }
.booker-info h3 { font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1; }
.booker-meta { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text); }
.booker-meta svg { width: 18px; height: 18px; flex: none; color: var(--blue-deep); }
.booker-dur legend { font-size: 14px; margin-bottom: 8px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.seg label { position: relative; display: grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 10px; border-radius: 7px; font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--navy); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 1px; }
.booker-h { font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); padding: 0; margin-bottom: 14px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -4px 0 8px; }
.cal-month { font-weight: 600; font-size: 17px; color: var(--navy); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); transition: background .2s, color .2s; }
.cal-nav button:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; }
.cal-grid td { padding: 0; text-align: center; }
.cal-grid button { width: 100%; max-width: 52px; aspect-ratio: 1; min-height: 44px; border: 0; border-radius: 10px; background: var(--blue-soft); color: var(--navy); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.cal-grid button:hover:not([aria-disabled]) { background: #cfe5f2; }
.cal-grid button[aria-disabled] { background: transparent; color: #8b979e; font-weight: 500; cursor: default; }
.cal-grid button.is-today { box-shadow: inset 0 -3px 0 var(--blue); }
.cal-grid button.is-on { background: var(--navy); color: var(--white); }
.cal-grid button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cal-hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.cal-err { color: var(--rust); font-weight: 600; font-size: 14px; }
.cal-err:empty { display: none; }

.booker-times { position: relative; }
.clock-toggle { display: inline-flex; margin: -4px 0 12px; padding: 3px; gap: 2px; background: var(--paper); border-radius: 8px; }
.clock-toggle button { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; font-weight: 600; font-size: 13px; color: var(--muted); }
.clock-toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(11,37,50,.18); }
.clock-toggle button:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.booker-times .booker-h { white-space: nowrap; }
.slots { display: grid; gap: 8px; }
.slots label { position: relative; display: grid; place-items: center; min-height: 46px; border: 1px solid #cfd6db; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.slots label:hover { border-color: var(--blue); }
.slots input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slots label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slots label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.booker-details { border-top: 1px solid var(--line); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 16px; background: #fafbfc; }
.booker-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booker-submit { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.booker-summary { margin-right: auto; font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: .03em; color: var(--blue-deep); }
@media (max-width: 1000px) {
  .booker-panel { grid-template-columns: 1fr 1fr; }
  .booker-info { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
  .booker-info > :not(.booker-mark) { grid-column: 2; }
  .booker-mark { grid-row: span 2; }
  .booker-cal { border-left: 0 !important; border-top: 1px solid var(--line); }
  .booker-times { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .booker-panel { grid-template-columns: 1fr; }
  .booker-info { grid-template-columns: 1fr; }
  .booker-info > :not(.booker-mark) { grid-column: auto; }
  .booker-mark { grid-row: auto; }
  .booker-times { border-left: 0 !important; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booker-fields { grid-template-columns: 1fr; }
  .booker-submit .btn { width: 100%; }
  .cal-grid { border-spacing: 3px; }
}

/* depot location card */
.loc-card { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 18px; overflow: hidden; background: var(--navy); color: var(--white); box-shadow: 0 40px 80px -50px rgba(11,37,50,.8); }
.loc-card > * { min-width: 0; }
.loc-media { position: relative; margin: 0; min-height: 420px; }
.loc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,50,0) 60%, rgba(11,37,50,.55) 100%); }
.loc-pin { position: absolute; z-index: 1; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--white); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 14px 30px -12px rgba(4,7,7,.6); }
.loc-pin svg { width: 22px; height: 22px; color: var(--rust); }
.loc-pin::before { content: ""; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: rgba(181,67,44,.35); animation: loc-ping 2.4s var(--ease) infinite; }
@keyframes loc-ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.loc-body { padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; align-content: center; }
.loc-body .eyebrow { color: var(--blue); }
.loc-body h3 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 600; line-height: 1; }
.loc-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.loc-facts li { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 500; }
.loc-facts svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.loc-facts a { min-height: 44px; display: inline-flex; align-items: center; }
.loc-facts a:hover { color: var(--blue); }
.loc-body > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) { .loc-card { grid-template-columns: 1fr; } .loc-media { min-height: 0; aspect-ratio: 4 / 3; } .loc-media::after { display: none; } }

/* what can you store */
.what-grid { grid-template-columns: 1.05fr .95fr; }
.what-grid h2 { margin-top: 0; font-size: clamp(34px, 3.6vw, 48px); }
.what-grid > div > p { color: var(--muted); }
.store-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.store-lists .uses { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.what-media img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; } .what-media img { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .store-lists { grid-template-columns: 1fr; gap: 0; } }

@media (prefers-reduced-motion: reduce) {
  .loc-pin::before { animation: none; display: none; }
  .opt, .cal-grid button { transition: none; }
}
@media (max-width: 520px) {
  .booker { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  .booker .booker-panel > .booker-cal { padding-inline: 8px; }
  .cal-grid { border-spacing: 2px; }
  .cal-grid button { min-width: 44px; }
}
