/* =========================================================
   BattleCreek Storage — global styles
   Mirrors the current battlecreekstorage.net look:
   navy + gold, Archivo Black headings, Open Sans body.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-var-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #031e51;
  --navy-2: #1e3262;
  --navy-3: #0b2a66;
  --gold: #ebb220;
  --gold-dark: #d29c12;
  --sky: #00b3eb;
  --white: #ffffff;
  --paper: #fcfcfc;
  --ink: #031e51;
  --radius: 5px;
  --font-head: "Archivo Black", "Arial Black", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-ui: Helvetica, Arial, sans-serif;
  --pad-x: clamp(20px, 7.4vw, 110px);
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 92px;
}

/* ---------- Reset ---------- */
[hidden] {
  display: none !important;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2 * 20px, var(--container));
  margin-inline: auto;
}

.dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
}

.inline-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.inline-link:hover {
  color: var(--white);
  text-decoration-color: var(--gold);
}

/* ---------- Buttons (square, small radius) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn--solid {
  background: var(--gold);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--text {
  border-color: transparent;
  background: transparent;
  color: var(--gold);
  padding-inline: 20px;
}

.btn--text:hover {
  color: var(--white);
  box-shadow: none;
}

.btn--sm {
  padding: 11px 22px;
  font-size: 17px;
  border-width: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-solid {
  background: var(--navy);
  border-bottom-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--pad-x);
  transition: height 0.35s var(--ease);
}

.site-header.is-solid .header-inner {
  height: 76px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  height: auto;
  transition: width 0.35s var(--ease);
}

.site-header.is-solid .brand img {
  width: 220px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 10px 11px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.header-phone:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile menu (full screen, staggered) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 24px 32px;
  background: var(--navy);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s var(--ease), visibility 0s;
}

.mobile-menu ol {
  counter-reset: menu;
}

.mobile-menu li {
  counter-increment: menu;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu.is-open li {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open li:nth-child(2) {
  transition-delay: 0.04s;
}

.mobile-menu.is-open li:nth-child(3) {
  transition-delay: 0.08s;
}

.mobile-menu.is-open li:nth-child(4) {
  transition-delay: 0.12s;
}

.mobile-menu.is-open li:nth-child(5) {
  transition-delay: 0.16s;
}

.mobile-menu.is-open li:nth-child(6) {
  transition-delay: 0.2s;
}

.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-family: var(--font-head);
  font-size: 24px;
  text-decoration: none;
}

.mobile-menu li a::before {
  content: counter(menu, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.mobile-menu-cta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mobile-menu-cta .btn {
  width: 100%;
}

.mobile-menu-info {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 60px;
  background-color: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 32vw);
  align-items: center;
  gap: 16px;
  padding-left: clamp(20px, 26vw - 75px, 300px);
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(36px, 4.45vw, 64px);
  line-height: 1.28;
  margin-bottom: 26px;
  width: max-content;
  max-width: min(700px, 100%);
}

.hero-lead {
  max-width: 420px;
}

.hero-lead p {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-note {
  max-width: 420px;
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.2;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
}

.hero-media {
  justify-self: end;
  width: 100%;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 722 / 842;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

/* hero entrance */
.hero-copy > *,
.hero-media {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-media {
  animation-name: slide-in;
  animation-duration: 1.1s;
  animation-delay: 0.1s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Values strip ---------- */
.values {
  position: relative;
  padding: 150px 0 90px;
  background-color: var(--navy-2);
}

.values::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 96px;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 0, 17% 100%, 0 42%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.value-icon {
  width: auto;
  height: 126px;
  margin: 0 auto 14px;
  transition: transform 0.5s var(--ease);
}

.value:hover .value-icon {
  transform: translateY(-6px) scale(1.04);
}

.value h3 {
  font-size: 28px;
  line-height: 1.3;
}

.value p {
  font-size: 18px;
}

/* ---------- Why section ---------- */
.why {
  position: relative;
  padding: 80px 0 90px;
  background-color: var(--navy);
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-2);
  clip-path: polygon(0 0, 100% 0, 100% 12%, 0 92%);
}

.why::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 22%;
  width: 70%;
  height: 120%;
  border-radius: 50% 0 0 0;
  background: var(--navy);
  opacity: 0.55;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
}

.why-emblem {
  width: min(100%, 420px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
}

.why h2 {
  font-size: clamp(30px, 2.6vw, 38px);
  margin-bottom: 20px;
}

.why p {
  font-size: 21px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.why .btn {
  margin-top: 12px;
}

/* ---------- Storage options ---------- */
.options {
  padding: 60px 0 110px;
}

.options-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.options-intro {
  position: sticky;
  top: 110px;
}

.options-intro h2 {
  font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1.28;
}

.options-intro p {
  margin-top: 16px;
  font-size: 19px;
}

.options-intro .btn {
  margin-top: 40px;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
  padding-top: 30px;
}

.option-card {
  position: relative;
  padding: 44px 22px 26px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}

.option-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky);
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.option-icon {
  position: absolute;
  top: -30px;
  left: 18px;
  height: 60px;
  width: auto;
  padding: 0 6px;
  background: var(--navy);
}

.option-card h3 {
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.option-card p {
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 100px 0;
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 60px;
  text-align: center;
}

.reviews-head h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.btn--review {
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 400;
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--review:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn--review svg {
  width: 18px;
  height: 18px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 48px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 36px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.review-card blockquote p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
}

.review-card figcaption {
  font-family: var(--font-head);
  font-size: 23px;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

/* ---------- FAQ + contact ---------- */
.faq {
  position: relative;
  padding: 100px 0;
  background-color: var(--navy-2);
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 83% 100%, 0 0);
}

.faq-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}

.faq h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 14px;
}

.faq-lead {
  font-size: 19px;
  margin-bottom: 30px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: border-color 0.3s, background-color 0.3s;
}

.faq-item.is-open {
  border-color: var(--sky);
  background-color: rgba(3, 30, 81, 0.45);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
}

.faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.35s var(--ease);
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 20px 20px;
  font-size: 17px;
}

.no-js .faq-a {
  grid-template-rows: 1fr;
}

.contact-card {
  position: sticky;
  top: 110px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  background: var(--navy);
  overflow: hidden;
}

.contact-card-body {
  padding: 28px 26px;
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.contact-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.contact-card dt {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
}

.contact-card dd {
  margin: 0;
  font-size: 17px;
}

.contact-card dd a {
  text-decoration: none;
}

.contact-card dd a:hover {
  color: var(--gold);
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 50px 0 30px;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-ui);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 36px;
  padding-inline: clamp(20px, 2.6vw, 40px);
}

.footer-brand {
  padding-right: 22px;
  border-right: 1px solid var(--white);
}

.footer-brand img {
  width: 310px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-bottom: 8px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--gold);
}

.footer-contact {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.footer-side {
  display: grid;
  justify-items: end;
  gap: 10px;
  font-size: 15px;
  text-align: right;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transition: transform 0.25s var(--ease), color 0.2s;
}

.socials a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 34px;
  padding: 18px clamp(20px, 2.6vw, 40px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---------- Edge tabs (reviews right, accessibility left) ---------- */
.edge-tab {
  position: fixed;
  top: 50%;
  z-index: 80;
  transform: translateY(-50%);
}

.edge-tab--right {
  right: 0;
}

.edge-tab--left {
  left: 0;
}

.edge-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 9px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.edge-tab--right .edge-btn {
  border-radius: var(--radius) 0 0 var(--radius);
  border-left: 3px solid var(--gold);
}

.edge-tab--left .edge-btn {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-right: 3px solid var(--gold);
  background: var(--sky);
  color: var(--navy);
}

.edge-btn svg {
  width: 26px;
  height: 26px;
}

.edge-rating {
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1;
}

.edge-stars svg {
  width: 14px;
  height: 14px;
  color: #f4b400;
}

.edge-label {
  position: absolute;
  top: 50%;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.edge-tab--right .edge-label {
  right: calc(100% + 8px);
  transform: translate(8px, -50%);
}

.edge-tab--left .edge-label {
  left: calc(100% + 8px);
  transform: translate(-8px, -50%);
}

.edge-btn:hover,
.edge-btn:focus-visible {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.edge-tab--right .edge-btn:hover {
  transform: translateX(-3px);
}

.edge-tab--left .edge-btn:hover {
  transform: translateX(3px);
}

.edge-btn:hover .edge-label,
.edge-btn:focus-visible .edge-label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ---------- Side panels ---------- */
.panel-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(1, 12, 34, 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.panel-scrim.is-open {
  opacity: 1;
}

.side-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 160;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease);
}

.side-panel--right {
  right: 0;
  border-left: 3px solid var(--gold);
  transform: translateX(100%);
}

.side-panel--left {
  left: 0;
  border-right: 3px solid var(--gold);
  transform: translateX(-100%);
  padding-bottom: 20px;
  overflow-y: auto;
}

.side-panel.is-open {
  transform: none;
}

.side-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.side-panel-head h2 {
  font-size: 22px;
}

.panel-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  flex: 0 0 auto;
}

.panel-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.panel-close svg {
  width: 18px;
  height: 18px;
}

.gr-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gr-summary > svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.gr-summary p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.gr-score {
  font-family: var(--font-head);
  font-size: 20px;
}

.gr-stars {
  display: inline-flex;
  color: #f4b400;
}

.gr-stars svg {
  width: 16px;
  height: 16px;
}

.side-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px;
}

.gr-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 4px 22px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gr-card {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.gr-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gr-card-head b {
  display: block;
  font-size: 15px;
}

.gr-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-2);
  color: var(--white);
  font-weight: 700;
}

.gr-date {
  display: block;
  font-size: 13px;
  color: #3a4a6b;
}

.gr-card p {
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Accessibility panel ---------- */
.a11y-intro {
  padding: 14px 22px 0;
  font-size: 15px;
}

.a11y-group {
  padding: 16px 22px 0;
}

.a11y-label {
  margin-bottom: 8px;
  font-weight: 700;
}

.a11y-size {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.a11y-size button {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  font-weight: 700;
}

.a11y-size button[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.a11y-toggles {
  display: grid;
  gap: 8px;
  padding: 16px 22px 0;
}

.a11y-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: left;
}

.a11y-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s;
}

.a11y-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s var(--ease);
}

.a11y-toggle[aria-pressed="true"] {
  border-color: var(--gold);
}

.a11y-toggle[aria-pressed="true"] .a11y-switch {
  background: var(--gold);
}

.a11y-toggle[aria-pressed="true"] .a11y-switch::after {
  transform: translateX(18px);
}

.a11y-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 0;
}

/* Accessibility modes (classes on <html>) */
html.a11y-size-1 main,
html.a11y-size-1 .site-footer {
  zoom: 1.12;
}

html.a11y-size-2 main,
html.a11y-size-2 .site-footer {
  zoom: 1.25;
}

html.a11y-contrast {
  --navy: #000000;
  --navy-2: #0a0a0a;
  --sky: #5fd7ff;
  --gold: #ffd54a;
}

html.a11y-contrast body,
html.a11y-contrast .dots {
  background-image: none;
}

html.a11y-contrast .option-card,
html.a11y-contrast .faq-item,
html.a11y-contrast .size-row,
html.a11y-contrast .link-card {
  border-color: #ffffff;
}

html.a11y-links a:not(.btn) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
  background-color: rgba(255, 213, 74, 0.18);
}

html.a11y-readable body,
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3,
html.a11y-readable .btn,
html.a11y-readable .main-nav a {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
}

html.a11y-spacing body {
  letter-spacing: 0.05em;
  word-spacing: 0.12em;
}

html.a11y-spacing p,
html.a11y-spacing li {
  line-height: 1.9 !important;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-motion .reveal,
html.a11y-motion .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 140;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid var(--white);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 15px;
  animation: rise 0.5s var(--ease) both;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.link-btn {
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
}

.link-btn:hover {
  color: var(--gold);
}

body.panel-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .edge-btn {
    padding: 9px 6px;
  }

  .edge-btn svg {
    width: 22px;
    height: 22px;
  }

  .edge-label {
    display: none;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}

.js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.js .reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.08s, 0.08s, 0s, 0s, 0s;
}

.js .reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.16s, 0.16s, 0s, 0s, 0s;
}

.js .reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.24s, 0.24s, 0s, 0s, 0s;
}

.js .reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.32s, 0.32s, 0s, 0s, 0s;
}

.js .reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.4s, 0.4s, 0s, 0s, 0s;
}

.js .reveal-stagger.is-visible > .option-card:hover,
.js .reveal-stagger.is-visible > .review-card:hover {
  transform: translateY(-6px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .main-nav a {
    padding-inline: 8px;
    font-size: 15px;
  }

  .main-nav a::after {
    left: 8px;
    right: 8px;
  }

  .brand img {
    width: 210px;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 1280px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-phone {
    display: inline;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38vw);
    padding-left: 40px;
  }

  .hero h1 {
    width: auto;
  }

  .values-grid {
    gap: 20px;
  }

  .why-grid,
  .options-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-emblem {
    width: 300px;
  }

  .options-intro,
  .contact-card {
    position: static;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-side {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 17px;
  }

  .brand img,
  .site-header.is-solid .brand img {
    width: 170px;
  }

  .site-header.is-solid .header-inner {
    height: var(--header-h);
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
    gap: 22px;
  }

  .hero-media {
    order: -1;
    width: 100%;
  }

  .hero-media img {
    width: min(100%, 420px);
    margin-left: auto;
  }

  .hero-copy {
    padding-inline: 28px;
  }

  .hero h1 {
    font-size: 27px;
    line-height: 1.35;
  }

  .hero-lead p {
    font-size: 19px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .values {
    padding: 120px 0 60px;
  }

  .values::before {
    height: 70px;
  }

  .values-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .value-icon {
    height: 100px;
  }

  .why {
    padding: 50px 0 60px;
  }

  .why p {
    font-size: 18px;
  }

  .why-emblem {
    width: 230px;
  }

  .options {
    padding: 40px 0 80px;
  }

  .option-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
  }

  .reviews {
    padding: 70px 0;
  }

  .review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-card {
    padding: 28px 26px;
  }

  .faq {
    padding: 90px 0 70px;
  }

  .faq::before {
    height: 50px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--white);
  }

  .footer-brand img {
    width: 240px;
  }

  .footer-legal {
    flex-direction: column;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
