﻿:root {
  --ink: #062b5f;
  --ink-soft: #174d8f;
  --concrete: #f3f8ff;
  --paper: #ffffff;
  --cement: #dce9f8;
  --steel: #557196;
  --forest: #0067b1;
  --amber: #004aad;
  --orange: #2c8be8;
  --red: #003a7d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 43, 95, 0.16);
  --shadow-soft: 0 14px 36px rgba(6, 43, 95, 0.1);
  --radius-sm: 8px;
  --radius-xs: 6px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(0, 74, 173, 0.24);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(0, 45, 104, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 40, 100, 0.18);
}

.brand-logo-origuela {
  height: 57px;
  object-fit: cover;
  object-position: center;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-line {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  min-height: 88svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #052858;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-media {
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-media.is-active {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 24, 58, 0.9), rgba(2, 35, 85, 0.62) 48%, rgba(2, 35, 85, 0.26)),
    linear-gradient(180deg, rgba(0, 74, 173, 0.18), rgba(1, 18, 45, 0.48));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 72px;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4.85rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: normal;
  text-align: center;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 74, 173, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.34);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.button[aria-disabled="true"],
.button.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  box-shadow: none;
}

.button-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-proof {
  position: absolute;
  right: 0;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(520px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.hero-proof span {
  flex: 1 1 110px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.section-pad {
  padding: 112px 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.about-copy p,
.contact-copy p {
  color: rgba(23, 23, 23, 0.72);
}

.store-finder {
  position: relative;
  z-index: 2;
  padding: 76px 0;
  background: linear-gradient(135deg, var(--paper), #e7f1ff);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.finder-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
  align-items: center;
}

.finder-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 132px;
  padding-block: 12px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.16);
  background: var(--white);
}

.finder-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: rgba(23, 23, 23, 0.7);
  font-weight: 700;
}

.featured-store {
  margin-top: 16px;
}

.featured-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.featured-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.featured-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.about {
  background: var(--concrete);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  font-size: 1.05rem;
}

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

.counter-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.counter-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.counter-card strong {
  color: var(--amber);
  font-size: 3.1rem;
  line-height: 1;
}

.counter-card .counter-address {
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.gallery {
  background: #eef4fc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.gallery-item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  cursor: zoom-in;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(1, 18, 45, 0.78));
}

.gallery-item span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  font-weight: 900;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.counter-card span {
  color: rgba(23, 23, 23, 0.72);
  font-weight: 900;
}

.products {
  background: #052858;
  color: var(--white);
}

.products .section-heading h2 {
  color: var(--white);
}

.products .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.product-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    #0a356e;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(44, 139, 232, 0.28), rgba(255, 255, 255, 0.08)),
    #0a356e;
}

.product-card h3 {
  margin: auto 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.product-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.product-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.product-icon::before,
.product-icon::after {
  content: "";
  position: absolute;
}

.product-cement {
  background: linear-gradient(135deg, #d8cbb8, #f1e6d8);
}

.product-cement::before {
  inset: 16px 12px 12px;
  background: #8f8678;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.product-hardware {
  background: linear-gradient(135deg, var(--steel), #a8b0b9);
}

.product-hardware::before {
  width: 34px;
  height: 8px;
  left: 11px;
  top: 24px;
  border-radius: 999px;
  background: #f3eee4;
  transform: rotate(-28deg);
}

.product-steel {
  background: linear-gradient(135deg, #3b4650, #8d9aaa);
}

.product-steel::before,
.product-steel::after {
  inset: 16px 12px auto;
  height: 5px;
  border-radius: 999px;
  background: #eef3f4;
  box-shadow: 0 9px 0 #eef3f4, 0 18px 0 #eef3f4;
}

.product-hydraulic {
  background: linear-gradient(135deg, var(--forest), #81a899);
}

.product-hydraulic::before {
  width: 34px;
  height: 22px;
  left: 11px;
  top: 18px;
  border: 6px solid #eff7f0;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 12px 0 0;
}

.product-electric {
  background: linear-gradient(135deg, #d6a125, #f4cf6a);
}

.product-electric::before {
  left: 21px;
  top: 10px;
  width: 17px;
  height: 36px;
  background: #ffffff;
  clip-path: polygon(48% 0, 100% 0, 66% 42%, 100% 42%, 30% 100%, 44% 56%, 0 56%);
}

.product-tools {
  background: linear-gradient(135deg, #953a34, #df6941);
}

.product-tools::before {
  width: 34px;
  height: 8px;
  left: 12px;
  top: 26px;
  border-radius: 999px;
  background: #fff3df;
  transform: rotate(42deg);
}

.product-floor {
  background: linear-gradient(135deg, #8e7a63, #d7c0a3);
}

.product-floor::before {
  inset: 12px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(23, 23, 23, 0.42) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(23, 23, 23, 0.42) 49% 51%, transparent 52%);
}

.product-paint {
  background: linear-gradient(135deg, #244f91, #52a0c4);
}

.product-paint::before {
  width: 28px;
  height: 30px;
  left: 14px;
  top: 13px;
  border-radius: 6px 6px 12px 12px;
  background: #f8f2e7;
}

.product-finish {
  background: linear-gradient(135deg, #705a42, #c99344);
}

.product-finish::before {
  inset: 13px;
  border: 5px solid #fff3df;
  border-radius: 50%;
}

.differentials {
  background: linear-gradient(135deg, #ffffff, #e7f1ff);
}

.differentials-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
}

.differential-list {
  display: grid;
  gap: 12px;
}

.differential-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: var(--shadow-soft);
}

.differential-item span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-xs);
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.differential-item h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.stores {
  background: var(--concrete);
}

.store-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.store-card {
  min-height: 216px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.store-card:hover,
.store-card.is-highlighted {
  transform: translateY(-4px);
  border-color: rgba(0, 74, 173, 0.42);
  box-shadow: var(--shadow);
}

.store-card.is-highlighted {
  outline: 3px solid rgba(0, 74, 173, 0.16);
}

.store-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.store-card p {
  margin: 8px 0 0;
  color: rgba(23, 23, 23, 0.68);
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.store-status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(47, 102, 88, 0.12);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.store-card button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.contact {
  background: #052858;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #cfe7ff;
  font-weight: 800;
}

.site-footer {
  padding: 40px 0;
  background: #031b3f;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: calc(var(--header-h) + 68px) 0 72px;
  background: #052858;
  color: var(--white);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 1;
}

.page-hero p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-details {
  padding: 30px;
  border-radius: var(--radius-sm);
  background: #eef4fc;
}

.contact-details h2,
.legal-copy h2 {
  margin-top: 0;
}

.contact-details dl {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-details dl div {
  display: grid;
  gap: 3px;
}

.contact-details dt {
  color: rgba(23, 23, 23, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-details dd a,
.legal-copy a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.map-frame {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

.legal-copy {
  max-width: 840px;
}

.legal-copy h2 {
  margin: 38px 0 12px;
  font-size: 1.5rem;
}

.legal-copy p {
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
}

.footer-grid p {
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: rgba(23, 23, 23, 0.08);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}

.modal-panel h2 {
  margin: 0 52px 20px 0;
  font-size: 2rem;
  line-height: 1.12;
}

.modal-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
}

.detail-row dt {
  color: rgba(23, 23, 23, 0.58);
  font-weight: 900;
}

.detail-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100svh - 48px);
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-panel img {
  display: block;
  width: 100%;
  max-height: calc(100svh - 118px);
  object-fit: contain;
}

.lightbox-panel p {
  margin: 12px 52px 0 4px;
  color: var(--ink);
  font-weight: 800;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 220;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3.7rem;
  }

  .finder-layout,
  .about-grid,
  .differentials-grid,
  .contact-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

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

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 14px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(23, 23, 23, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    justify-content: center;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-menu.nav-menu-static {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu.nav-menu-static a {
    padding: 8px;
    font-size: 0.78rem;
  }

  .hero,
  .hero-inner {
    min-height: 84svh;
  }

  .hero-inner {
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions,
  .modal-actions {
    flex-direction: column;
  }

  .button,
  .modal-actions .button {
    width: 100%;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 78px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.05rem;
  }

  .product-grid,
  .store-grid,
  .counter-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .store-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .store-card button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 380px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    max-width: 170px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

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

  .finder-panel,
  .contact-form,
  .modal-panel {
    padding: 18px;
  }
}
