:root {
  --navy: #07182f;
  --blue: #0b4f9c;
  --blue-light: #eaf3ff;
  --blue-soft: #d7e9ff;
  --orange: #0b62c4;
  --orange-dark: #084a96;
  --cream: #f7f4ee;
  --ink: #112033;
  --muted: #4a5d75;
  --line: #e8edf4;
  --shadow: 0 22px 70px rgba(7, 24, 47, 0.14);
  --shadow-hover: 0 30px 90px rgba(7, 24, 47, 0.2);
  --radius-lg: 32px;
  --radius-md: 24px;
  --tap-min: 48px;
  --header-mobile: 72px;
  --logo-height: 58px;
  --logo-max-width: 148px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(11,98,196,0.1), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 24, 47, 0.92);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 35px rgba(7,24,47,0.14);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.topbar.is-scrolled {
  background: rgba(7, 24, 47, 0.97);
  box-shadow: 0 8px 28px rgba(7, 24, 47, 0.22);
  --logo-height: 50px;
}

.nav {
  min-height: var(--header-height);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 2vw, 18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(200px, 32vw);
  gap: 0;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #d7e9ff);
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(11, 98, 196, 0.28);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: var(--logo-height);
  max-width: var(--logo-max-width);
  padding: 3px 7px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
  line-height: 0;
  transition: height 0.22s ease, box-shadow 0.22s ease;
}

.brand-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-logo + span {
  display: none;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(12px, 2vw, 22px);
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

.menu a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.menu a:hover {
  color: #fff;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: var(--tap-min);
  height: var(--tap-min);
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.mobile-menu {
  display: none;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 950;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  min-height: 46px;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.mobile-menu-close:focus-visible,
.mobile-menu-backdrop:focus-visible,
summary:focus-visible,
.wa-float:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 98, 196, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.btn-orange {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  box-shadow: 0 14px 35px rgba(11, 98, 196, 0.28);
}

.btn-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 18px 48px rgba(11, 98, 196, 0.34);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: #fff;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.23;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(255,255,255,0.2), transparent 20rem),
    radial-gradient(circle at 10% 0%, rgba(11,98,196,0.45), transparent 24rem),
    linear-gradient(135deg, rgba(7,24,47,0.98), rgba(7,24,47,0.9), rgba(13,47,95,0.68));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
}

.eyebrow {
  display: inline-flex;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 950;
}

.hero .eyebrow {
  color: #dbeafe;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.09);
  border-radius: 999px;
  padding: 10px 14px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.03;
  margin: 0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -0.055em;
  margin-top: 26px;
}

.hero p {
  max-width: 700px;
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  line-height: 1.65;
}

.hero-card {
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

img.hero-card {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-card img {
  border-radius: 24px;
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.benefits, .mini-grid {
  display: grid;
  gap: 12px;
}

.benefits {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.benefits span, .mini-grid span {
  border-radius: 18px;
  padding: 14px;
  font-weight: 900;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}

.benefits span {
  color: #ffffff;
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 18px;
}

.mini-grid span {
  color: var(--navy);
  background: #f3f6fa;
  text-align: center;
}

section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2, .split h2, .cta h2 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.035em;
  margin-top: 12px;
}

.muted {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
}

.value-grid, .card-grid, .storage-grid {
  display: grid;
  gap: 20px;
}

.value-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.storage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 30px);
}

.card, .value, .storage, .contact-card, .legal-card {
  background: #fff;
  border: 1px solid rgba(13,47,95,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.card, .value, .storage, .contact-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover, .value:hover, .storage:hover, .contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11,98,196,0.24);
  box-shadow: var(--shadow-hover);
}

.card {
  padding: 28px;
  background: #fff;
}

.card .icon, .value .icon, .contact-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--blue-light);
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3, .storage h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.value {
  padding: 24px;
  font-weight: 950;
}

.white-band {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.storage {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.storage img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.storage-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
  background: #dcfce7;
  color: #15803d;
}

.tag.wait {
  background: #fef3c7;
  color: #a16207;
}

.price {
  font-size: 26px;
  font-weight: 950;
  color: var(--navy);
  margin: 18px 0;
}

.storage ul, .legal-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.card li,
.storage li {
  margin: 8px 0;
}

.storage .btn {
  margin-top: auto;
  width: 100%;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.16), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(11,98,196,0.35), transparent 24rem),
    linear-gradient(135deg, var(--navy), #0a2348);
  color: #fff;
  padding: 42px;
  box-shadow: var(--shadow);
}

.calculator h2 {
  color: #fff;
}

.range {
  display: block;
  margin-top: 24px;
  font-weight: 900;
}

.range-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.result {
  border-radius: 26px;
  background: #fff;
  color: var(--navy);
  padding: 28px;
}

.result-size {
  font-size: 48px;
  font-weight: 950;
  margin: 18px 0;
}

details {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 14px;
}

summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--navy);
  font-size: 18px;
}

.cta {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 20%, rgba(255,255,255,0.18), transparent 18rem),
    linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  color: #fff;
}

.footer {
  background: var(--navy);
  color: #fff;
  padding: 54px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.footer-grid h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 12px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer h2, .footer h3 {
  color: #fff;
}

.footer a, .footer p, .footer li {
  color: rgba(255,255,255,0.9);
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 18px 45px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 58px rgba(37,211,102,0.45);
}

.cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 85;
  background: #ffffff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 50px rgba(7,24,47,0.12);
  padding: 18px;
}

.cookie.hidden {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-height: var(--tap-min);
  cursor: pointer;
  pointer-events: auto;
}

.hidden {
  display: none !important;
}

.breadcrumb {
  padding: 18px 0 6px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumb + .page-hero {
  margin-top: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #b8c4d6;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .geo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.geo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.geo-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.geo-card h4 {
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.geo-card p {
  margin: 0;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.internal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.internal-links a:hover {
  border-color: var(--blue-soft);
  background: var(--blue-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-card, .legal-card {
  padding: 28px;
}

.contact-card h3 {
  word-break: break-word;
  font-size: clamp(18px, 3.5vw, 22px);
  line-height: 1.3;
}

details[open] {
  background: #fff;
  border-color: var(--blue-soft);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field-full {
  display: block;
  margin-top: 18px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact-form .btn {
  width: 100%;
}

#form-notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--blue-light);
  border: 1px solid var(--blue-soft);
}

.cookie .muted a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

label span {
  display: block;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(11,98,196,0.14);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.page-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.18), transparent 22rem),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 78px 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 62px);
}

.legal-card {
  line-height: 1.8;
  color: var(--muted);
}

.legal-card h2 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 26px;
}

.section-head p {
  max-width: 820px;
}

.shell > .btn,
.section-head .btn,
.split .btn {
  margin-top: 10px;
}

/* Contrast fixes: keep dark sections readable and light sections crisp. */
.hero,
.page-hero,
.calculator,
.cta,
.footer {
  color: #ffffff;
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.calculator h1,
.calculator h2,
.calculator h3,
.cta h1,
.cta h2,
.cta h3,
.footer h1,
.footer h2,
.footer h3 {
  color: #ffffff;
}

.hero .muted,
.page-hero .muted,
.calculator .muted,
.cta .muted,
.footer .muted,
.hero p,
.page-hero p,
.calculator p,
.cta p,
.footer p,
.footer a,
.footer li {
  color: rgba(255, 255, 255, 0.9);
}

.hero .eyebrow,
.page-hero .eyebrow,
.calculator .eyebrow,
.cta .eyebrow,
.footer .eyebrow {
  color: #dbeafe;
}

.hero .btn-outline,
.page-hero .btn-outline,
.calculator .btn-outline,
.cta .btn-outline,
.footer .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-card,
.result,
.card,
.value,
.storage,
.contact-card,
.legal-card,
details,
.cookie {
  color: var(--ink);
}

.hero-card h1,
.hero-card h2,
.hero-card h3,
.result h1,
.result h2,
.result h3,
.card h1,
.card h2,
.card h3,
.value h1,
.value h2,
.value h3,
.storage h1,
.storage h2,
.storage h3,
.contact-card h1,
.contact-card h2,
.contact-card h3,
.legal-card h1,
.legal-card h2,
.legal-card h3,
details h1,
details h2,
details h3,
summary {
  color: var(--navy);
}

.hero-card .muted,
.result .muted,
.card .muted,
.value .muted,
.storage .muted,
.contact-card .muted,
.legal-card .muted,
details .muted,
.cookie .muted {
  color: var(--muted);
}

.result .eyebrow,
.card .eyebrow,
.value .eyebrow,
.storage .eyebrow,
.contact-card .eyebrow,
.legal-card .eyebrow,
.cookie .eyebrow {
  color: var(--blue);
}

.cookie b {
  color: var(--navy);
}

.cookie .btn-outline {
  background: #ffffff;
  color: var(--navy);
  border-color: #c5d3e4;
}

.cookie .btn-outline:hover {
  background: var(--blue-light);
  color: var(--navy);
}

.cookie .btn-orange {
  color: #ffffff;
}

.white-band .btn-outline,
.shell .btn-outline,
.split .btn-outline,
.section-head .btn-outline,
.card .btn-outline,
.storage-body .btn-outline,
.contact-card .btn-outline,
.geo-card .btn-outline,
#contact-form .btn-outline {
  color: var(--navy);
  background: #ffffff;
  border-color: #c5d3e4;
}

.white-band .btn-outline:hover,
.shell .btn-outline:hover,
#contact-form .btn-outline:hover {
  background: var(--blue-light);
  color: var(--navy);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.15);
}

.calculator .range,
.calculator .range-row,
.calculator .range-row b {
  color: #ffffff;
}

.contact-card .muted a,
.cookie .muted a,
.legal-card a,
.shell .muted a:not(.btn) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card a,
.legal-card a,
.card a,
.storage a:not(.btn),
.result a:not(.btn) {
  color: var(--blue);
  font-weight: 800;
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
}

.page-hero .btn-light,
.hero .btn-light,
.calculator .btn-light,
.cta .btn-light {
  color: #ffffff;
}

@media (max-width: 1100px) {
  :root {
    --logo-height: 52px;
    --logo-max-width: 132px;
    --header-height: 72px;
  }

  .menu {
    gap: 12px;
    font-size: 13px;
  }

  .nav {
    gap: 12px;
  }

  .actions .btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 32px, 760px);
  }

  .menu {
    display: none;
  }

  .topbar .actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 24px;
  }

  .cta .actions {
    width: 100%;
  }

  :root {
    --logo-height: 46px;
    --logo-max-width: 118px;
    --header-height: var(--header-mobile);
  }

  .nav {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 6px 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    order: 1;
  }

  .topbar.is-scrolled {
    --logo-height: 42px;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.32s step-end;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(7, 24, 47, 0);
    cursor: pointer;
    transition: background 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(92vw, 400px);
    height: 100%;
    padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
    background: #ffffff;
    box-shadow: -24px 0 64px rgba(7, 24, 47, 0.22);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overscroll-behavior: contain;
  }

  .mobile-menu-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    color: var(--navy);
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .mobile-menu-kicker {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-menu-head strong {
    font-size: 22px;
    letter-spacing: -0.03em;
  }

  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: var(--tap-min);
    height: var(--tap-min);
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
    color: var(--navy);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mobile-menu-scroll {
    display: grid;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }

  .mobile-menu-scroll a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--tap-min);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 16px;
    color: var(--navy);
    font-weight: 900;
    font-size: 15px;
    background: #f8fbff;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mobile-menu-scroll a:active {
    background: var(--blue-light);
    border-color: var(--blue-soft);
  }

  .mobile-menu-scroll a::after {
    content: "›";
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
  }

  .mobile-menu-cta-label {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-menu-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
  }

  .mobile-menu-actions .btn {
    width: 100%;
    min-height: var(--tap-min);
    font-size: 15px;
  }

  body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.mobile-menu-open .mobile-menu {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    background: rgba(7, 24, 47, 0.52);
  }

  body.mobile-menu-open .mobile-menu-inner {
    transform: translateX(0);
  }

  body.mobile-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  body.mobile-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.mobile-menu-open .wa-float,
  body.mobile-menu-open .cookie {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid, .split, .calculator, .contact-grid, .cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero-card {
    max-width: 680px;
  }

  .benefits, .storage-grid, .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .storage-grid {
    gap: 22px;
  }

  .cta {
    align-items: stretch;
  }

  .map,
  iframe {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .benefits,
  .mini-grid,
  .storage-grid,
  .card-grid,
  .geo-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 640px) {
  :root {
    --shadow: 0 14px 38px rgba(7, 24, 47, 0.12);
    --shadow-hover: 0 18px 48px rgba(7, 24, 47, 0.16);
    --radius-lg: 26px;
    --radius-md: 22px;
  }

  .shell {
    width: min(100% - 24px, 100%);
  }

  body {
    background: #f8fafc;
  }

  :root {
    --logo-height: 42px;
    --logo-max-width: 108px;
    --header-height: 64px;
  }

  .nav {
    gap: 8px;
    padding: 6px 0;
  }

  .brand {
    min-width: 0;
    font-size: 14px;
  }

  .brand-logo {
    padding: 2px 6px;
    border-radius: 8px;
  }

  .topbar.is-scrolled {
    --logo-height: 38px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex: 0 0 auto;
  }

  .brand small {
    display: none;
  }

  .actions {
    width: 100%;
    align-items: stretch;
  }

  .actions .btn-light {
    display: none;
  }

  input,
  select,
  textarea {
    min-height: var(--tap-min);
    font-size: 16px;
  }

  textarea {
    min-height: 120px;
  }

  input[type="range"] {
    height: 32px;
    min-height: 32px;
    cursor: pointer;
  }

  .hero-grid {
    padding-top: 44px;
    padding-bottom: 44px;
    gap: 30px;
  }

  .hero .eyebrow, .eyebrow {
    letter-spacing: 0.18em;
    font-size: 11px;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -0.045em;
    margin-top: 20px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero .actions, .cta .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero-card {
    padding: 10px;
    border-radius: 24px;
  }

  .hero-card img {
    height: min(68vw, 300px);
    border-radius: 18px;
  }

  section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2, .split h2, .cta h2 {
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: -0.035em;
  }

  .benefits, .mini-grid, .value-grid, .storage-grid, .card-grid, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefits {
    margin-top: 24px;
  }

  .benefits span, .mini-grid span {
    padding: 13px 14px;
  }

  .split {
    gap: 24px;
  }

  .card, .value, .contact-card, .legal-card {
    padding: 22px;
  }

  .storage img {
    height: 220px;
  }

  .storage-body {
    padding: 20px;
  }

  .price {
    font-size: 24px;
  }

  .calculator, .cta {
    padding: 24px;
  }

  .calculator {
    gap: 24px;
  }

  .result-size {
    font-size: 40px;
  }

  details {
    padding: 18px;
    border-radius: 20px;
  }

  .footer {
    padding-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero {
    padding: 48px 0;
  }

  .breadcrumb {
    padding: 14px 0 4px;
  }

  .storage .btn,
  .hero .actions .btn,
  .page-hero .actions .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: var(--tap-min);
    height: var(--tap-min);
    font-size: 24px;
  }

  body:has(.cookie:not(.hidden)) .wa-float {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .cookie {
    padding: 14px max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }

  .cookie-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .cookie-actions .btn {
    width: 100%;
    min-height: var(--tap-min);
    font-size: 14px;
  }

  .cookie-actions .btn:last-child {
    grid-column: 1 / -1;
  }

  .map {
    height: 340px;
    border-radius: 24px;
  }

  .page-hero {
    padding: 54px 0;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    letter-spacing: -0.04em;
  }
}

@media (max-width: 420px) {
  :root {
    --logo-height: 38px;
    --logo-max-width: 96px;
    --header-height: 60px;
  }

  .brand {
    font-size: 13px;
  }

  .topbar.is-scrolled {
    --logo-height: 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-card img, .storage img {
    height: 210px;
  }

  .card .icon, .value .icon, .contact-card .icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 20px;
  }

  .mobile-menu-inner {
    width: 100%;
    max-width: none;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-toggle span,
  .mobile-menu,
  .mobile-menu-backdrop,
  .mobile-menu-inner,
  .wa-float,
  .brand-logo,
  .topbar {
    transition: none !important;
  }
}
