:root {
  --ink: #0f1a14;
  --charcoal: #1c2b22;
  --slate: #2a3c32;
  --olive: #3d5a47;
  --sage: #6b8f71;
  --stone: #a3b5a6;
  --pearl: #e8ede9;
  --ivory: #f4f6f4;
  --warm-white: #fcfcfa;
  --text: #1a1e1b;
  --text-sub: #5a6b5e;
  --text-muted: #8a9a8d;
  --accent: #c4682b;
  --accent-hover: #a8551f;
  --border: rgba(42, 60, 50, 0.1);
  --border-strong: rgba(42, 60, 50, 0.18);
  --panel-shadow: 0 18px 42px rgba(15, 26, 20, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--warm-white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main section,
footer {
  scroll-margin-top: 110px;
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-overline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.section-desc {
  max-width: 620px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 6px;
  padding: 0.85rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease,
    color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 24px rgba(196, 104, 43, 0.24);
}

.btn-ghost {
  background: transparent;
  color: var(--stone);
  border: 1px solid rgba(163, 181, 166, 0.32);
}

.btn-ghost:hover {
  color: var(--pearl);
  border-color: var(--stone);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.scrolled,
.site-nav.menu-open {
  background: rgba(252, 252, 250, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 82px;
}

.nav-logo {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  transition: color 0.25s ease;
}

.site-nav.scrolled .nav-logo,
.site-nav.menu-open .nav-logo {
  color: var(--ink);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.site-nav.scrolled .nav-link,
.site-nav.menu-open .nav-link {
  color: var(--text-sub);
}

.site-nav.scrolled .nav-link:hover,
.site-nav.menu-open .nav-link:hover {
  color: var(--ink);
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-nav.scrolled .lang-switch,
.site-nav.menu-open .lang-switch {
  background: var(--ivory);
  border-color: var(--border-strong);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-link:hover {
  color: #fff;
}

.lang-link.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.site-nav.scrolled .lang-link,
.site-nav.menu-open .lang-link {
  color: var(--text-sub);
}

.site-nav.scrolled .lang-link:hover,
.site-nav.menu-open .lang-link:hover {
  color: var(--ink);
}

.site-nav.scrolled .lang-link.is-active,
.site-nav.menu-open .lang-link.is-active {
  background: var(--ink);
  color: #fff;
}

.nav-cta {
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--warm-white);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav.scrolled .nav-cta,
.site-nav.menu-open .nav-cta {
  border-color: var(--border-strong);
  color: var(--ink);
}

.site-nav.scrolled .nav-cta:hover,
.site-nav.menu-open .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--warm-white);
}

.site-nav.scrolled .nav-toggle,
.site-nav.menu-open .nav-toggle {
  border-color: var(--border-strong);
  background: var(--ivory);
  color: var(--ink);
}

.nav-toggle-lines {
  position: relative;
  width: 16px;
  height: 12px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines span {
  top: 5px;
}

.nav-toggle-lines::after {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 5px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7.5rem 1.5rem 4rem;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 48%, rgba(61, 90, 71, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 78% 28%, rgba(107, 143, 113, 0.14) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-overline,
.hero h1,
.hero-sub,
.hero-actions,
.hero-metrics {
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}

.hero-overline {
  animation-delay: 0.15s;
  margin-bottom: 1.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  animation-delay: 0.24s;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6.3vw, 4.85rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--pearl);
  margin-bottom: 1.45rem;
}

.hero h1 em {
  color: var(--sage);
  font-style: italic;
}

.hero-sub {
  animation-delay: 0.33s;
  max-width: 560px;
  margin: 0 auto 2.3rem;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--stone);
}

.hero-actions {
  animation-delay: 0.42s;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-metrics {
  animation-delay: 0.51s;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin-top: 3.8rem;
  padding-top: 2.8rem;
  border-top: 1px solid rgba(163, 181, 166, 0.14);
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--pearl);
  letter-spacing: -0.02em;
}

.metric-label {
  margin-top: 0.38rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.problems,
.calculator,
.storage,
.catalog,
.quotes,
.final-cta {
  padding: 6.75rem 0;
}

.problems {
  background: var(--warm-white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--border);
}

.problem-card {
  background: var(--warm-white);
  padding: 2rem;
}

.problem-card .num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--pearl);
}

.problem-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.problem-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-sub);
}

.problem-card blockquote {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-muted);
}

.problem-card cite {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-sub);
}

.calculator {
  background: var(--ivory);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  margin-top: 3rem;
}

.calc-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--warm-white);
}

.calc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1rem 1.4rem;
  background: var(--ink);
}

.calc-topbar h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--pearl);
}

.cur-switch {
  display: inline-flex;
  gap: 0.1rem;
  padding: 0.15rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.cur-switch button {
  border: none;
  border-radius: 5px;
  padding: 0.38rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.cur-switch button.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.calc-inner {
  padding: 1.5rem;
}

.calc-group + .calc-group {
  margin-top: 1.6rem;
}

.calc-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-strong);
}

.calc-group-head h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.calc-group-head .subtotal {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--olive);
  white-space: nowrap;
}

.calc-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.calc-line + .calc-line {
  border-top: 1px solid var(--border);
}

.calc-label {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-sub);
}

.calc-label small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
}

.calc-field {
  width: 112px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: right;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.calc-field:focus {
  border-color: var(--olive);
  background: #fff;
}

.calc-field-sm {
  width: 72px;
  text-align: center;
}

.calc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.total-card {
  position: sticky;
  top: 5.6rem;
  border-radius: 10px;
  background: var(--ink);
  padding: 2rem;
}

.total-card .overline {
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.total-card .amount {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.total-card .range {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.total-card .divider {
  height: 1px;
  margin: 1.45rem 0;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--stone);
}

.lead-form input[type="email"] {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lead-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.lead-form input[type="email"]:focus {
  border-color: var(--sage);
  background: rgba(255, 255, 255, 0.1);
}

.lead-form .btn {
  width: 100%;
  margin-top: 0.7rem;
}

.form-note,
.lead-feedback {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  line-height: 1.55;
}

.form-note {
  color: var(--text-muted);
}

.lead-feedback {
  min-height: 1.2em;
  color: var(--pearl);
}

.lead-feedback.is-error {
  color: #f2b995;
}

.total-card .trust-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--stone);
}

.storage {
  background: var(--warm-white);
}

.storage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.storage-intro {
  max-width: 640px;
}

.location-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--ivory);
  font-size: 0.76rem;
  color: var(--text-sub);
}

.storage-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.sf-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sf-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--ivory);
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 600;
}

.sf-item h3 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.sf-item p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-sub);
}

.pricing-card {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--warm-white);
}

.pricing-head {
  padding: 2rem;
  background: var(--ink);
  text-align: center;
}

.pricing-head .price {
  font-family: "Playfair Display", serif;
  font-size: 3.1rem;
  line-height: 1;
  color: #fff;
}

.pricing-head .price span {
  display: block;
  margin-top: 0.45rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--stone);
}

.pricing-head .tagline {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pricing-body {
  padding: 1.5rem 2rem 2rem;
}

.pricing-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-body li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  color: var(--text-sub);
}

.pricing-body li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage);
}

.pricing-body .btn {
  width: 100%;
}

.pricing-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.catalog {
  background: #eef2ee;
}

.catalog-shell {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 2rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}

.catalog-copy {
  max-width: 640px;
}

.stallion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.stallion-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(252, 252, 250, 0.9);
  padding: 0.95rem 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.catalog-signup {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--warm-white);
  padding: 1.5rem;
}

.catalog-signup h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.catalog-signup p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-sub);
}

.catalog-signup .lead-form {
  margin-top: 1.2rem;
}

.catalog-signup .lead-form label {
  color: var(--text-sub);
}

.catalog-signup .lead-form input[type="email"] {
  border-color: var(--border);
  background: var(--ivory);
  color: var(--ink);
}

.catalog-signup .lead-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.catalog-signup .form-note {
  color: var(--text-muted);
}

.catalog-signup .lead-feedback {
  color: var(--olive);
}

.catalog-signup .lead-feedback.is-error {
  color: var(--accent);
}

.quotes {
  background: var(--ivory);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.quote-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--warm-white);
  padding: 1.55rem;
}

.quote-card p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-sub);
}

.quote-card cite {
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(61, 90, 71, 0.22) 0%, transparent 60%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta .section-overline {
  color: var(--sage);
}

.final-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--pearl);
}

.final-cta p {
  max-width: 500px;
  margin: 1rem auto 2rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--stone);
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.footer-copy,
.footer-contact,
.footer-tagline {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-tagline {
  text-align: center;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--stone);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--pearl);
}

.toast {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  max-width: min(360px, calc(100% - 2rem));
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--pearl);
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(140%);
  transition: transform 0.28s ease;
}

.toast.show {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .storage-layout,
  .catalog-layout,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .total-card {
    position: static;
  }

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

@media (max-width: 920px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-main {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .nav-main.is-open {
    display: block;
  }

  .nav-panel {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: var(--warm-white);
    box-shadow: var(--panel-shadow);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-link {
    color: var(--text-sub);
  }

  .nav-link:hover {
    color: var(--ink);
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
  }

  .nav-mobile-cta:hover {
    background: var(--charcoal);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .problem-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact,
  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 1080px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .hero-sub,
  .section-desc,
  .final-cta p {
    font-size: 0.98rem;
  }

  .problems,
  .calculator,
  .storage,
  .catalog,
  .quotes,
  .final-cta {
    padding: 5.4rem 0;
  }

  .calc-inner,
  .catalog-shell,
  .pricing-body,
  .pricing-head,
  .problem-card,
  .quote-card,
  .catalog-signup,
  .total-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .calc-line {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-field,
  .calc-field-sm {
    width: 100%;
    text-align: left;
  }

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