/*
 * Metalcof Revolution — 2026
 * Editorial commerce system inspired by the clarity of Samsung and the
 * cinematic restraint of Porsche. The 3D studio is intentionally untouched.
 */

:root {
  --rev-ink: #0b0c0b;
  --rev-paper: #f7f7f4;
  --rev-soft: #eceee9;
  --rev-line: rgba(11, 12, 11, 0.13);
  --rev-muted: #666b67;
  --rev-accent: #ff9f0a;
  --rev-accent-strong: #ff8a00;
  --rev-radius: 26px;
  --rev-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rev-max: 1600px;
}

body {
  background: var(--rev-paper);
  color: var(--rev-ink);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--rev-accent);
  color: #080808;
}

.page-progress {
  height: 2px;
  background: linear-gradient(90deg, #ffb52f, var(--rev-accent-strong));
  box-shadow: 0 0 18px rgba(255, 159, 10, 0.55);
}

/* Compact, high-confidence navigation */
.promo-bar {
  min-height: 32px;
  padding: 0 clamp(1rem, 3.5vw, 3.5rem);
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  gap: 1.2rem;
  background: #080908;
  border: 0;
}

.promo-copy strong,
.promo-copy small,
.promo-proof span,
.promo-action {
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}

.promo-copy strong {
  color: #fff;
  text-transform: none;
}

.promo-copy small,
.promo-proof span {
  color: rgba(255, 255, 255, 0.58);
}

.promo-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.promo-action::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 1px;
  background: var(--rev-accent);
  transform-origin: left;
  transition: transform 300ms var(--rev-ease);
}

.promo-action:hover::after { transform: scaleX(0.55); }

.top-socials { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
  padding: 0 clamp(1rem, 3.5vw, 3.5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 5rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 10, 0.96);
  color: #fff;
  backdrop-filter: blur(24px) saturate(140%);
  transition: min-height 420ms var(--rev-ease), background-color 420ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  background: rgba(10, 11, 10, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

.site-header-primary { display: contents; }
.header-promise,
.header-assistance,
.header-trust { display: none; }

.site-header .brand {
  grid-area: auto;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 158px;
  padding: 0;
}

.site-header .brand::after { display: none; }

.site-header .brand img {
  width: 158px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 3px 12px rgba(0, 0, 0, 0.18));
}

.site-header-nav {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-header-nav-inner {
  width: 100%;
  min-height: 0;
  padding: 0;
  justify-content: center;
}

.site-header-nav .main-nav {
  width: auto;
  margin: 0 auto;
  gap: clamp(1rem, 2.3vw, 2.5rem);
  overflow: visible;
}

.site-header-nav .main-nav a {
  position: relative;
  padding: 1.55rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.71rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 220ms ease;
}

.site-header-nav .main-nav a::after {
  inset: auto 0 1rem;
  height: 1px;
  background: var(--rev-accent);
}

.site-header-nav .main-nav a:hover,
.site-header-nav .main-nav a.is-active { color: #fff; }

.site-header .header-actions {
  grid-area: auto;
  grid-column: 3;
  grid-row: 1;
  gap: 0.45rem;
}

.site-header .cart-button,
.site-header .menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background-color 220ms ease, transform 300ms var(--rev-ease);
}

.site-header .cart-button:hover,
.site-header .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.045);
}

.site-header .nav-action {
  min-height: 42px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--rev-accent);
  color: #090a09;
  box-shadow: none;
  font-size: 0.72rem;
  transition: background-color 220ms ease, transform 300ms var(--rev-ease);
}

.site-header .nav-action:hover {
  background: #ffb331;
  transform: translateY(-1px);
}

/* Immersive home hero */
.hero-showroom {
  --spot-x: 70%;
  --spot-y: 32%;
  min-height: 680px;
  height: calc(100svh - 104px);
  max-height: 980px;
  isolation: isolate;
  background: #0a0b0a;
}

.hero-showroom::before {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 4, 3, 0.82) 0%, rgba(3, 4, 3, 0.52) 40%, rgba(3, 4, 3, 0.08) 72%),
    linear-gradient(0deg, rgba(2, 3, 2, 0.62) 0%, transparent 45%);
  box-shadow: none;
}

.hero-showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle 34rem at var(--spot-x) var(--spot-y), rgba(255, 170, 38, 0.1), transparent 70%);
  mix-blend-mode: screen;
}

.hero-showroom .hero-media-image {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 9s var(--rev-ease), filter 900ms ease;
}

.hero-showroom .hero-media-image.is-active {
  transform: scale(1.075);
  filter: saturate(1.02) contrast(1.04);
}

.hero-showroom .hero-content {
  z-index: 4;
  width: min(830px, 59vw);
  margin: auto 0 clamp(2.2rem, 6vh, 5.5rem) clamp(1.2rem, 5vw, 5.5rem);
  padding: 0;
}

.hero-kicker-row {
  max-width: 760px;
  justify-content: flex-start;
  gap: 1.2rem;
}

.hero-kicker-row .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.hero-kicker-row .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-accent);
  box-shadow: 0 0 0 5px rgba(255, 159, 10, 0.14);
}

.hero-kicker-row > span {
  padding-left: 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.58);
}

.hero-showroom h1 {
  max-width: 900px;
  margin: 1.25rem 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(4.7rem, 8.1vw, 8.7rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero-showroom h1 span { display: block; }

.hero-showroom h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.92);
}

.hero-showroom .hero-copy {
  max-width: 600px;
  min-height: 0;
  margin-top: 1.55rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.95rem, 1.25vw, 1.14rem);
  line-height: 1.65;
}

.hero-showroom .hero-actions {
  margin-top: 1.45rem;
  gap: 0.65rem;
}

.hero-showroom .hero-actions .button {
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.76rem;
  transition: transform 330ms var(--rev-ease), background-color 220ms ease;
}

.hero-showroom .hero-actions .button:hover { transform: translateY(-2px); }

.hero-showroom .button-primary {
  border-color: var(--rev-accent);
  background: var(--rev-accent);
  color: #090a09;
}

.hero-showroom .button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-showroom .hero-stats {
  max-width: 600px;
  margin-top: 1.7rem;
  gap: 0;
}

.hero-showroom .hero-stats div {
  min-width: 0;
  padding: 0 1.25rem;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-showroom .hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-showroom .hero-stats dt { color: #fff; font-size: 1.35rem; letter-spacing: -0.04em; }
.hero-showroom .hero-stats dd { color: rgba(255, 255, 255, 0.52); font-size: 0.64rem; }

.hero-showcase {
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 3rem);
  z-index: 5;
  width: min(650px, 47vw);
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(10, 12, 10, 0.64);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(26px) saturate(120%);
}

.hero-showcase-head {
  min-height: 36px;
  padding: 0 0.25rem 0.55rem;
  border: 0;
}

.hero-showcase-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-showcase-head span { color: rgba(255, 255, 255, 0.52); font-size: 0.55rem; }
.hero-showcase-head strong { color: #fff; font-size: 0.88rem; }

.hero-showcase-controls button {
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-model-selector {
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  background: transparent;
}

.hero-model-selector button {
  min-height: 62px;
  padding: 0.65rem;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  transition: background-color 240ms ease, border-color 240ms ease, transform 330ms var(--rev-ease);
}

.hero-model-selector button:hover,
.hero-model-selector button:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.hero-model-selector button.is-active {
  border-color: rgba(255, 159, 10, 0.7);
  background: var(--rev-accent);
}

.hero-model-selector strong { font-size: 0.67rem; }
.hero-model-selector small { font-size: 0.54rem; }
.hero-slide-progress { height: 2px; margin: 0.55rem 0.25rem 0; border-radius: 99px; }

/* Shared editorial language — excludes the 3D studio by design */
:is(.home-signature, .campaign-section, .catalog-section, .advantages-section, .options-section,
  .benefits-section, .accessories-section, .blog-section, .government-section, .trust-section,
  .pqrsf-section, .contact-section, .internal-detail) .eyebrow {
  color: #a75f00;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

:is(.catalog-section, .advantages-section, .options-section, .benefits-section, .accessories-section,
  .blog-section, .government-section, .trust-section, .pqrsf-section, .contact-section, .internal-detail) {
  width: 100%;
  padding: clamp(4.5rem, 8vw, 8rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - var(--rev-max)) / 2));
}

:is(.catalog-section, .advantages-section, .options-section, .benefits-section, .accessories-section,
  .blog-section, .government-section, .trust-section, .pqrsf-section, .contact-section, .internal-detail)
  :is(.section-heading h2, .catalog-discovery h2, .government-copy h2, .trust-copy h2, .detail-copy h1) {
  font-size: clamp(2.7rem, 5.2vw, 5.7rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-wrap: balance;
}

.home-signature {
  padding: clamp(5rem, 9vw, 9rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - var(--rev-max)) / 2)) 0;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 7vw, 8rem);
  background: var(--rev-paper);
}

.home-signature-copy { padding: 0; }

.home-signature-copy h2 {
  max-width: 650px;
  font-size: clamp(3rem, 4.8vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.home-signature-copy > p:last-of-type {
  max-width: 540px;
  color: var(--rev-muted);
  font-size: 1.02rem;
}

.signature-link,
.home-collection-foot a {
  gap: 0.65rem;
  padding: 0.82rem 1rem;
  border: 1px solid var(--rev-line);
  border-radius: 999px;
  background: #fff;
  transition: color 220ms ease, background-color 220ms ease, transform 320ms var(--rev-ease);
}

.signature-link:hover,
.home-collection-foot a:hover {
  background: var(--rev-ink);
  color: #fff;
  transform: translateY(-2px);
}

.home-use-selector {
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 0.8rem;
}

.home-use-selector button {
  aspect-ratio: 0.78;
  border-radius: var(--rev-radius);
  box-shadow: 0 26px 60px rgba(18, 23, 19, 0.1);
  transform: translateZ(0);
  transition: transform 600ms var(--rev-ease), box-shadow 600ms var(--rev-ease);
}

.home-use-selector button:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 80px rgba(18, 23, 19, 0.18);
}

.home-use-selector button::after {
  background: linear-gradient(0deg, rgba(3, 4, 3, 0.82), transparent 60%);
}

.home-use-selector button:hover::after { background: linear-gradient(0deg, rgba(3, 4, 3, 0.86), rgba(3, 4, 3, 0.08) 72%); }
.home-use-selector img { transition-duration: 1100ms; transition-timing-function: var(--rev-ease); }
.home-use-selector button:hover img { transform: scale(1.075); }

.home-use-selector button > span { left: 1.35rem; right: 1.35rem; bottom: 1.35rem; }
.home-use-selector button small { color: rgba(255, 255, 255, 0.62); }
.home-use-selector button strong { font-size: clamp(1.7rem, 2.7vw, 2.8rem); letter-spacing: -0.05em; }

.home-proof-rail {
  margin-top: clamp(4rem, 7vw, 7rem);
  padding-inline: 0;
  border-color: var(--rev-line);
  background: transparent;
}

.home-proof-rail div { padding: 2rem clamp(1rem, 3vw, 3rem); border-color: var(--rev-line); }
.home-proof-rail dt { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.055em; }
.home-proof-rail dd { color: var(--rev-muted); font-size: 0.63rem; letter-spacing: 0.06em; }

.premium-stories {
  padding: clamp(5rem, 8vw, 8rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - var(--rev-max)) / 2));
  background: #0a0b0a;
}

.home-collection-head h2 {
  font-size: clamp(3.2rem, 6.3vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.home-collection-head > p { color: rgba(255, 255, 255, 0.57); }

.story-grid { gap: 1rem; grid-template-rows: repeat(2, minmax(320px, 38vh)); }

.story-grid .feature-story {
  overflow: hidden;
  border: 0;
  border-radius: var(--rev-radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.story-grid .feature-story::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.04) 72%);
}

.story-grid .feature-story img { transition: transform 1.2s var(--rev-ease), filter 600ms ease; }
.story-grid .feature-story:hover img { transform: scale(1.045); filter: saturate(1.08); }

.story-grid .feature-story-copy { margin: 0 0 clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem); }
.story-grid .feature-story-copy h2 { letter-spacing: -0.055em; }

.story-grid .feature-story-copy a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #090a09;
}

.home-collection-foot a { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }

/* Samsung-like product discovery, adapted to Metalcof */
.catalog-section { background: #fff; }

.catalog-discovery {
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 0;
}

.catalog-discovery-title h2 { max-width: 940px; }
.catalog-discovery > p { max-width: 470px; color: var(--rev-muted); font-size: 1rem; line-height: 1.7; }

.catalog-section .quick-filter-card {
  position: sticky;
  top: 76px;
  z-index: 30;
  margin-bottom: 2.6rem;
  padding: 0.8rem;
  border: 1px solid rgba(15, 17, 15, 0.09);
  border-radius: 22px;
  background: rgba(244, 245, 242, 0.92);
  box-shadow: 0 20px 50px rgba(20, 24, 21, 0.09);
  backdrop-filter: blur(22px);
}

.catalog-section .shop-tools { gap: 0.55rem; }

.catalog-section :is(.search-box, .select-box) {
  min-height: 58px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 11, 10, 0.08);
}

.catalog-section :is(.search-box, .select-box):focus-within {
  box-shadow: inset 0 0 0 2px var(--rev-accent);
}

.catalog-results-head { margin-bottom: 1.5rem; padding-bottom: 1.4rem; border-color: var(--rev-line); }
.catalog-results-head h3 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -0.04em; }

.catalog-section .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.catalog-section .product-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--rev-radius);
  background: #f1f2ef;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 11, 0.055);
  transition: transform 500ms var(--rev-ease), box-shadow 500ms var(--rev-ease);
}

.catalog-section .product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(20, 23, 21, 0.15);
}

.catalog-section .product-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
  background: #e7e9e5;
}

.catalog-section .product-media img { transition: transform 900ms var(--rev-ease), opacity 350ms ease; }
.catalog-section .product-card:hover .product-primary { transform: scale(1.045); }

.catalog-section .product-body {
  padding: 1.35rem;
  background: transparent;
}

.catalog-section .product-body h3 {
  font-size: 1.35rem;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.catalog-section .product-body > p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rev-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-section .product-kicker span,
.catalog-section :is(.sale-badge, .discount-badge) { border-radius: 999px; }

.catalog-section .product-actions .button { border-radius: 999px; }
.catalog-section .product-actions .button-primary { background: var(--rev-ink); border-color: var(--rev-ink); }

/* Internal routes */
.advantages-section,
.benefits-section,
.accessories-section,
.blog-section,
.trust-section,
.contact-section,
.internal-detail { background: var(--rev-paper); }

.options-section,
.pqrsf-section { background: #fff; }

.advantages-grid article,
.benefit-grid article,
.option-grid article,
.accessory-grid article,
.blog-grid article,
.contact-channels article {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 11, 0.08);
  transition: transform 450ms var(--rev-ease), box-shadow 450ms var(--rev-ease);
}

:is(.advantages-grid, .benefit-grid, .option-grid, .accessory-grid, .blog-grid, .contact-channels) article:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 65px rgba(22, 25, 23, 0.12);
}

.accessory-grid article { overflow: hidden; }
.accessory-grid article img { background: var(--rev-soft); transition: transform 800ms var(--rev-ease); }
.accessory-grid article:hover img { transform: scale(1.045); }

.blog-grid { gap: 1rem; }
.blog-grid article { overflow: hidden; padding: 0 0 1.35rem; }
.blog-grid article > :not(img) { margin-inline: 1.35rem; }
.blog-grid article img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 900ms var(--rev-ease); }
.blog-grid article:hover img { transform: scale(1.04); }
.blog-grid article h3 { letter-spacing: -0.035em; }

.government-section {
  background: #0b0c0b;
  color: #fff;
}

.government-section .eyebrow { color: var(--rev-accent); }
.government-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.6); }

.government-cards article,
.government-proof article,
.government-news article,
.government-faq,
.government-video,
.government-gallery img {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
}

.government-section :is(.button, .government-reels a) { border-radius: 999px; }
.government-video { overflow: hidden; }
.government-gallery img { overflow: hidden; }

.company-media,
.trust-section .timeline-block,
.trust-section .company-proof,
.contact-map,
.lead-form,
.pqrsf-guide,
.pqrsf-form-panel,
.internal-detail .detail-media {
  overflow: hidden;
  border-radius: var(--rev-radius);
}

.trust-section .trust-copy h2 { max-width: 800px; }
.company-media img { transition: transform 1.1s var(--rev-ease); }
.company-media:hover img { transform: scale(1.035); }

.contact-map iframe { filter: saturate(0.7) contrast(1.05); }

.lead-form input,
.lead-form select,
.lead-form textarea,
.pqrsf-form input:not([type="radio"]):not([type="checkbox"]),
.pqrsf-form select,
.pqrsf-form textarea {
  border-radius: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form :is(input, select, textarea):focus,
.pqrsf-form :is(input, select, textarea):focus {
  border-color: var(--rev-accent);
  box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.13);
}

.internal-detail .detail-layout { gap: clamp(2rem, 6vw, 7rem); }
.internal-detail .detail-media { background: var(--rev-soft); }
.internal-detail .detail-copy .button { border-radius: 999px; }

.site-footer {
  padding-top: clamp(4rem, 7vw, 7rem);
  background: #070807;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-gallery-item { border-radius: 16px; }
.footer-socials a { border-radius: 999px; }

/* Motion system: short travel, strong easing, content remains usable without JS */
body.revolution-ready .hero-content > *,
body.revolution-ready .hero-showcase {
  opacity: 0;
  transform: translateY(24px);
}

body.revolution-loaded .hero-content > *,
body.revolution-loaded .hero-showcase {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 850ms ease, transform 950ms var(--rev-ease);
}

body.revolution-loaded .hero-content > :nth-child(2) { transition-delay: 80ms; }
body.revolution-loaded .hero-content > :nth-child(3) { transition-delay: 150ms; }
body.revolution-loaded .hero-content > :nth-child(4) { transition-delay: 210ms; }
body.revolution-loaded .hero-content > :nth-child(5) { transition-delay: 260ms; }
body.revolution-loaded .hero-showcase { transition-delay: 320ms; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms ease, transform 900ms var(--rev-ease);
}

[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--rev-accent);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .site-header-nav .main-nav { gap: 1.3rem; }
  .site-header-nav .main-nav a { font-size: 0.65rem; }
  .site-header .nav-action span { display: none; }
  .site-header .nav-action { width: 42px; padding: 0; }
  .hero-showroom .hero-content { width: min(740px, 62vw); }
  .hero-showroom h1 { font-size: clamp(4.5rem, 8vw, 7rem); }
  .hero-showcase { width: min(550px, 46vw); }
  .hero-model-selector small { display: none; }
}

@media (max-width: 960px) {
  .promo-proof { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header-nav { display: none; }
  .site-header .brand { grid-column: 1; }
  .site-header .header-actions { grid-area: auto; grid-column: 3; grid-row: 1; }

  .hero-showroom {
    min-height: 760px;
    height: calc(100svh - 104px);
    max-height: 900px;
  }

  .hero-showroom::before {
    background: linear-gradient(90deg, rgba(3, 4, 3, 0.76), rgba(3, 4, 3, 0.12)),
      linear-gradient(0deg, rgba(3, 4, 3, 0.76), transparent 65%);
  }

  .hero-showroom .hero-content {
    width: min(720px, calc(100% - 2rem));
    margin: clamp(2rem, 8vh, 5rem) 1rem 12.5rem;
  }

  .hero-showroom h1 { font-size: clamp(4rem, 11vw, 6.4rem); }
  .hero-showcase { left: 1rem; right: 1rem; bottom: 1rem; width: auto; }
  .home-signature { grid-template-columns: 1fr; }
  .home-signature-copy h2 { max-width: 830px; }
  .home-use-selector button { aspect-ratio: 4 / 3; }
  .story-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(440px, 58vh) minmax(320px, 42vh); }
  .story-grid .feature-story:first-child { grid-column: 1 / -1; grid-row: auto; }
  .catalog-section .quick-filter-card { top: 66px; }
}

@media (max-width: 720px) {
  .promo-bar {
    min-height: 30px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 0.8rem;
  }

  .promo-copy small { display: none; }
  .promo-bar .promo-action { padding: 0; font-size: 0; }
  .promo-action::before { content: "Asesoria"; font-size: 0.64rem; }

  .site-header { min-height: 64px; padding-inline: 0.8rem; }
  .site-header .brand,
  .site-header .brand img { width: 136px; height: 42px; }
  .site-header .cart-button,
  .site-header .menu-toggle,
  .site-header .nav-action { width: 38px; height: 38px; min-height: 38px; }
  .site-header .nav-action { display: none; }

  .hero-showroom {
    min-height: 720px;
    height: calc(100svh - 94px);
    max-height: 850px;
  }

  .hero-showroom::before {
    background: linear-gradient(0deg, rgba(3, 4, 3, 0.87) 0%, rgba(3, 4, 3, 0.14) 75%),
      linear-gradient(90deg, rgba(3, 4, 3, 0.46), transparent);
  }

  .hero-showroom .hero-media-image { object-position: 58% center; }
  .hero-showroom .hero-content { margin: 2rem 1rem 12rem; }
  .hero-kicker-row { gap: 0.7rem; }
  .hero-showroom h1 { margin-top: 1rem; font-size: clamp(3.2rem, 14vw, 4.6rem); line-height: 0.86; }
  .hero-showroom h1 span:last-child { -webkit-text-stroke-width: 1px; }
  .hero-showroom .hero-copy { max-width: 92%; margin-top: 1rem; font-size: 0.9rem; line-height: 1.55; }
  .hero-showroom .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-showroom .hero-actions .button { width: 100%; min-width: 0; min-height: 46px; padding-inline: 0.55rem; font-size: 0.64rem; white-space: nowrap; }
  .hero-showroom .hero-stats { display: none; }

  .hero-showcase { padding: 0.55rem; border-radius: 16px; }
  .hero-showcase-head { display: none; }
  .hero-model-selector { gap: 0.25rem; }
  .hero-model-selector button { min-height: 56px; padding: 0.45rem; grid-template-columns: 1fr; gap: 0.15rem; border-radius: 10px; }
  .hero-model-selector button > span:first-child { font-size: 0.48rem; }
  .hero-model-selector strong { font-size: 0.59rem; }

  .home-signature { padding: 4.5rem 1rem 0; gap: 2.5rem; }
  .home-signature-copy h2 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .home-use-selector {
    margin-inline: -1rem;
    padding: 0 1rem 0.8rem;
    grid-template-columns: none;
    grid-auto-columns: minmax(77vw, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-use-selector button { aspect-ratio: 4 / 4.7; scroll-snap-align: center; }
  .home-proof-rail { grid-template-columns: 1fr 1fr; }
  .home-proof-rail div { padding: 1.35rem 0.8rem; border-bottom: 1px solid var(--rev-line); }
  .home-proof-rail div:nth-child(2) { border-right: 0; }

  .premium-stories { padding: 4.5rem 1rem; }
  .home-collection-head h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .story-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .story-grid .feature-story,
  .story-grid .feature-story:first-child { grid-column: auto; min-height: 480px; }
  .story-grid .feature-story:not(:first-child) { min-height: 360px; }
  .home-collection-foot { align-items: flex-start; flex-direction: column; }

  :is(.catalog-section, .advantages-section, .options-section, .benefits-section, .accessories-section,
    .blog-section, .government-section, .trust-section, .pqrsf-section, .contact-section, .internal-detail) {
    padding: 4.5rem 1rem;
  }

  :is(.catalog-section, .advantages-section, .options-section, .benefits-section, .accessories-section,
    .blog-section, .government-section, .trust-section, .pqrsf-section, .contact-section, .internal-detail)
    :is(.section-heading h2, .catalog-discovery h2, .government-copy h2, .trust-copy h2, .detail-copy h1) {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .catalog-discovery { align-items: start; }
  .catalog-section .quick-filter-card { position: static; padding: 0.55rem; border-radius: 18px; }
  .catalog-section .shop-tools { grid-template-columns: 1fr; }
  .catalog-section .product-grid { grid-template-columns: 1fr; }
  .catalog-section .product-card { border-radius: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.revolution-ready .hero-content > *,
  body.revolution-ready .hero-showcase,
  [data-reveal] { opacity: 1; transform: none; }
}

/* Precision pass — navigation, commerce clarity and internal routes */
@media (min-width: 961px) {
  .site-header-nav .main-nav {
    gap: clamp(0.75rem, 1.55vw, 1.65rem);
  }

  .site-header-nav .main-nav a {
    font-size: clamp(0.58rem, 0.64vw, 0.68rem);
  }
}

/* Every product image responds, even when a second photograph is unavailable. */
.catalog-section .product-media {
  --media-shift-x: 0px;
  --media-shift-y: 0px;
  isolation: isolate;
}

.catalog-section .product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.2) 48%, transparent 68%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity 280ms ease, transform 800ms var(--rev-ease);
}

.catalog-section .product-card:hover .product-media::after {
  opacity: 1;
  transform: translateX(45%);
}

.catalog-section .product-media .product-primary,
.catalog-section .product-media .product-secondary {
  transform: translate3d(var(--media-shift-x), var(--media-shift-y), 0) scale(1.015);
  transition: opacity 420ms ease, transform 850ms var(--rev-ease), filter 420ms ease;
  will-change: transform, opacity;
}

.catalog-section .product-card:hover .product-media .product-primary {
  transform: translate3d(var(--media-shift-x), var(--media-shift-y), 0) scale(1.075);
}

.catalog-section .product-card:hover .product-media .product-primary.has-secondary {
  opacity: 0;
  transform: translate3d(var(--media-shift-x), var(--media-shift-y), 0) scale(1.045);
}

.catalog-section .product-card:hover .product-media .product-secondary {
  opacity: 1;
  transform: translate3d(var(--media-shift-x), var(--media-shift-y), 0) scale(1.075);
}

.catalog-section .media-float {
  z-index: 4;
  border-radius: 50%;
  transition: background-color 220ms ease, transform 360ms var(--rev-ease);
}

.catalog-section .media-float:hover {
  background: var(--rev-accent);
  color: #090a09;
  transform: rotate(8deg) scale(1.08);
}

/* Prices are given a dedicated high-contrast rail. */
.catalog-section .price-row {
  min-height: 58px;
  margin: 0.2rem -0.2rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 15px;
  background: #101210;
  color: #fff;
}

.catalog-section .price-row .price {
  color: #fff !important;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.catalog-section .price-row > span {
  color: #fff;
  font-size: 0.78rem;
  opacity: 0.76;
}

.catalog-section .product-actions .button-primary {
  background: #101210;
  border-color: #101210;
  color: #fff !important;
}

.catalog-section .product-actions .button-primary :is(svg, span) { color: #fff; }

.catalog-section .product-actions .button-primary:hover {
  background: var(--rev-accent);
  border-color: var(--rev-accent);
  color: #090a09 !important;
}

.catalog-section .product-actions .button-primary:hover svg { color: #090a09; }

.catalog-section .product-actions .button-secondary {
  border-color: #101210;
  background: #101210;
  color: #fff;
}

.catalog-section .product-actions .button-cart {
  border-color: rgba(11, 12, 11, 0.16);
  background: #fff;
  color: #101210;
}

/* Additional products remain a first-class store section. */
.accessories-section { color: var(--rev-ink); }
.accessories-section .section-heading h2,
.accessories-section .section-heading > p,
.accessories-section .section-heading-row > p { color: var(--rev-ink); }

.accessories-section .accessory-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}

.accessories-section .accessory-grid article {
  padding-bottom: 1.25rem;
  background: #fff;
}

.accessories-section .accessory-grid article > :not(img) { margin-inline: 1.2rem; }

.accessories-section .accessory-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.accessories-section .accessory-grid strong {
  display: block;
  margin-top: 0.75rem;
  color: #101210;
  font-size: 1.15rem;
}

.accessories-section .accessory-grid a,
.accessories-section .local-detail-link {
  display: inline-flex;
  width: calc(100% - 2.4rem);
  min-height: 42px;
  margin-top: 0.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #101210;
  color: #fff;
  font-weight: 800;
}

/* 3D scene presentation only: canvas and model logic remain untouched. */
.model-lab:not(.is-free-360) {
  min-height: max(920px, calc(100svh - 94px));
  padding: clamp(2.5rem, 4vw, 4rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - 1520px) / 2));
  grid-template-columns: minmax(420px, 0.9fr) minmax(380px, 0.72fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.model-lab:not(.is-free-360)::before {
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.93) 0 29%, rgba(10, 12, 10, 0.42) 45%, rgba(10, 12, 10, 0.12) 63%, rgba(10, 12, 10, 0.82) 100%),
    linear-gradient(0deg, rgba(8, 10, 8, 0.76), transparent 55%);
}

.model-lab:not(.is-free-360) .model-copy,
.model-lab:not(.is-free-360) .model-product {
  z-index: 6;
  width: 100%;
  max-width: 620px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(12, 14, 12, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(120%);
}

.model-lab:not(.is-free-360) .model-copy { align-self: start; }

.model-lab:not(.is-free-360) .model-product {
  align-self: start;
  justify-self: end;
  max-width: 500px;
}

.model-lab .model-copy h2 {
  margin: 0.55rem 0 0.9rem;
  color: #fff;
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.model-lab .model-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
  line-height: 1.6;
}

.model-lab .model-selector {
  margin-top: 1.25rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.model-lab .model-selector span { color: rgba(255, 255, 255, 0.62); }

.model-lab .model-selector select {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: #101210;
  font-weight: 800;
}

.model-lab:not(.is-free-360) .view-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: 17px;
  background: rgba(0, 0, 0, 0.28);
}

.model-lab:not(.is-free-360) .view-controls button,
.model-lab:not(.is-free-360) .color-controls button {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  transition: transform 300ms var(--rev-ease), background-color 220ms ease, color 220ms ease;
}

.model-lab:not(.is-free-360) .view-controls button:hover,
.model-lab:not(.is-free-360) .color-controls button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.model-lab:not(.is-free-360) .view-controls button:is(.is-active, .active),
.model-lab:not(.is-free-360) .color-controls button:is(.is-active, .active) {
  border-color: var(--rev-accent);
  background: var(--rev-accent);
  color: #090a09;
  box-shadow: 0 10px 28px rgba(255, 159, 10, 0.2);
}

.model-lab:not(.is-free-360) .model-actions {
  width: 100%;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.45rem;
}

.model-lab:not(.is-free-360) .model-actions .button {
  min-height: 48px;
  padding-inline: 0.75rem;
  border-radius: 13px;
  font-size: 0.7rem;
}

.model-lab:not(.is-free-360) .model-actions .button-primary {
  background: var(--rev-accent);
  border-color: var(--rev-accent);
  color: #090a09;
}

.model-lab:not(.is-free-360) .model-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.model-product-data {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.model-product-data .model-dimensions {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.model-product-data .model-dimensions > div { padding: 0.65rem 0.55rem; }
.model-product-data .model-dimensions dt { font-size: 0.54rem; }
.model-product-data .model-dimensions dd { font-size: 0.82rem; }

.model-product-data .model-specs { margin-top: 0.65rem; }
.model-product-data .model-specs li {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.65rem;
}

.model-lab:not(.is-free-360) .model-product > span {
  margin: 0 0 0.65rem;
  padding: 0;
  background: transparent;
  color: var(--rev-accent);
  letter-spacing: 0.06em;
}

.model-lab:not(.is-free-360) .model-product > img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  object-fit: cover;
  background: #eff0ed;
}

.model-lab:not(.is-free-360) .model-gallery { margin-top: 0.65rem; }
.model-lab:not(.is-free-360) .gallery-thumb { overflow: hidden; border-radius: 11px; }

.model-lab:not(.is-free-360) .model-product > strong {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  color: #101210;
  font-size: 1.2rem;
}

/* Explicit light/dark contrast fixes for routes that inherited old white text. */
.blog-section {
  background: var(--rev-paper);
  color: var(--rev-ink);
}

.blog-section .section-heading h2,
.blog-section .section-heading-row > p,
.blog-section .editorial-tools,
.blog-section .editorial-tools input {
  color: var(--rev-ink) !important;
}

.blog-section .section-heading-row > p { color: var(--rev-muted) !important; }

.blog-section .editorial-tools {
  min-height: 68px;
  padding: 0.65rem;
  border: 1px solid var(--rev-line);
  border-radius: 18px;
  background: #fff;
}

.blog-section .editorial-tools label {
  border-radius: 12px;
  background: var(--rev-soft);
}

.blog-section .editorial-tools input::placeholder { color: #777c78; }
.blog-section .editorial-tools > span { color: var(--rev-muted) !important; }
.blog-section .blog-grid {
  gap: 1rem;
  background: transparent;
}

.blog-section .blog-grid article {
  overflow: hidden;
  border: 1px solid var(--rev-line);
  border-radius: 24px;
  background: #fff;
  color: var(--rev-ink);
  box-shadow: 0 18px 55px rgba(18, 22, 18, 0.08);
}

.blog-section .blog-grid article::after { display: none; }

.blog-section .blog-grid article h3 {
  color: var(--rev-ink) !important;
  text-shadow: none;
}

.blog-section .blog-grid article p { color: var(--rev-muted) !important; }

.blog-section .blog-grid article > span {
  background: #fff1d8;
  color: #8c5100 !important;
}

.blog-section .blog-grid article > a {
  color: var(--rev-ink) !important;
  border-bottom-color: var(--rev-accent);
}

.trust-section {
  padding: 0;
  background: #0b0d0c;
  color: #fff;
}

.trust-section .company-story { background: #0b0d0c; }
.trust-section .trust-copy h2 { color: #fff !important; }
.trust-section .trust-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.7) !important; }
.trust-section .company-values span { color: rgba(255, 255, 255, 0.86); }
.trust-section .company-text-link { color: #fff; }

.trust-section .company-media {
  border-radius: 0;
  background: #151815;
}

.trust-section .company-media > img {
  object-position: 58% center;
  filter: saturate(0.94) contrast(1.04);
}

.trust-section .company-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(3, 4, 3, 0.56), transparent 48%);
}

.trust-section .company-media figcaption { z-index: 2; border-radius: 16px; }

/* A readable milestone gallery instead of seven cramped columns. */
.trust-section .timeline-block {
  margin: clamp(1rem, 3vw, 3rem);
  padding: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 159, 10, 0.15), transparent 24rem),
    #0a0c0a;
}

.trust-section .timeline-heading {
  max-width: 900px;
  margin-bottom: 3rem;
}

.trust-section .timeline-block h3 {
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.trust-section .timeline {
  counter-reset: milestone;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  border: 0;
}

.trust-section .timeline li {
  counter-increment: milestone;
  position: relative;
  min-height: 220px;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  transition: transform 420ms var(--rev-ease), border-color 280ms ease, background-color 280ms ease;
}

.trust-section .timeline li::before {
  content: "0" counter(milestone);
  position: static;
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 2.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.trust-section .timeline li::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 159, 10, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 159, 10, 0.035);
}

.trust-section .timeline li:hover {
  z-index: 2;
  border-color: rgba(255, 159, 10, 0.7);
  background: linear-gradient(145deg, rgba(255, 159, 10, 0.15), rgba(255, 255, 255, 0.04));
  transform: translateY(-7px);
}

.trust-section .timeline li:last-child {
  border-right: 1px solid rgba(255, 159, 10, 0.55);
  background: linear-gradient(145deg, rgba(255, 159, 10, 0.22), rgba(255, 255, 255, 0.04));
}

.trust-section .timeline time {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--rev-accent);
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.trust-section .timeline span {
  display: block;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .model-lab:not(.is-free-360) {
    min-height: 1450px;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-content: start;
  }

  .model-lab:not(.is-free-360) .model-copy,
  .model-lab:not(.is-free-360) .model-product {
    max-width: 680px;
    justify-self: start;
  }

  .trust-section .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .model-lab:not(.is-free-360) {
    min-height: 1580px;
    padding: 1rem;
  }

  .model-lab:not(.is-free-360) .model-copy,
  .model-lab:not(.is-free-360) .model-product {
    padding: 1rem;
    border-radius: 20px;
  }

  .model-lab:not(.is-free-360) .view-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-lab:not(.is-free-360) .model-actions { grid-template-columns: 1fr; }
  .model-product-data .model-dimensions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-product-data .model-dimensions > div:nth-child(even) { border-right: 0; }

  .trust-section .timeline-block {
    margin: 0.75rem;
    padding: 3rem 1rem;
    border-radius: 24px;
  }

  .trust-section .timeline {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 78vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .trust-section .timeline li { scroll-snap-align: center; }
}

/* Final retail polish: legible accessories, aligned editorial cards and tactile carousels. */
.accessories-section .accessory-grid strong {
  width: calc(100% - 2.4rem);
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  border-radius: 12px;
  background: #111411;
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.2;
}

.accessories-section .accessory-grid a,
.accessories-section .accessory-grid .local-detail-link {
  border: 1px solid var(--rev-accent);
  background: var(--rev-accent);
  color: #0a0c0a !important;
  box-shadow: 0 10px 24px rgba(255, 159, 10, 0.16);
  transition: transform 280ms var(--rev-ease), background-color 220ms ease, box-shadow 220ms ease;
}

.accessories-section .accessory-grid a:hover,
.accessories-section .accessory-grid .local-detail-link:hover {
  transform: translateY(-2px);
  background: #ffb32f;
  box-shadow: 0 14px 32px rgba(255, 159, 10, 0.25);
}

.ally-carousel {
  min-width: 0;
  overflow: hidden;
}

.ally-carousel-toolbar {
  margin: -0.25rem 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ally-carousel-status {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.ally-carousel-actions {
  display: flex;
  gap: 0.45rem;
}

.ally-carousel-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  transition: transform 250ms var(--rev-ease), background-color 220ms ease, color 220ms ease;
}

.ally-carousel-actions button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--rev-accent);
  color: #0a0c0a;
}

.ally-carousel-actions button:disabled { opacity: 0.3; cursor: default; }

.government-proof .ally-grid {
  counter-reset: ally-module;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, calc((100% - 1.4rem) / 3));
  gap: 0.7rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.government-proof .ally-grid::-webkit-scrollbar { display: none; }

.government-proof .ally-grid span {
  counter-increment: ally-module;
  position: relative;
  min-height: 150px;
  padding: 1rem;
  align-content: center;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  color: #fff;
  scroll-snap-align: start;
}

.government-proof .ally-grid span::after {
  content: "0" counter(ally-module);
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.government-proof .ally-grid svg {
  width: 26px;
  height: 26px;
  color: var(--rev-accent);
}

.government-video {
  position: relative;
  border-radius: 26px;
}

.government-video-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 0;
  background: #080a08;
  color: #fff;
  text-align: left;
  isolation: isolate;
}

.government-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 5, 0.84), rgba(5, 7, 5, 0.18) 58%, rgba(5, 7, 5, 0.38));
}

.government-video-poster > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04);
  transition: transform 900ms var(--rev-ease), filter 500ms ease;
}

.government-video-poster:hover > img {
  transform: scale(1.025);
  filter: saturate(1.1) contrast(1.06);
}

.government-video-copy {
  position: absolute;
  left: clamp(1.2rem, 4vw, 4rem);
  bottom: clamp(1.2rem, 4vw, 4rem);
  z-index: 2;
  width: min(680px, 68%);
  display: grid;
  gap: 0.5rem;
}

.government-video-copy small {
  color: var(--rev-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.government-video-copy strong {
  color: #fff;
  font-size: clamp(1.5rem, 3.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.government-video-play {
  position: absolute;
  right: clamp(1.2rem, 4vw, 4rem);
  bottom: clamp(1.2rem, 4vw, 4rem);
  z-index: 2;
  width: clamp(58px, 6vw, 88px);
  height: clamp(58px, 6vw, 88px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rev-accent);
  color: #0a0c0a;
  font-size: clamp(1rem, 2vw, 1.45rem);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  transition: transform 300ms var(--rev-ease);
}

.government-video-poster:hover .government-video-play { transform: scale(1.08); }

.blog-section .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  grid-auto-rows: auto;
  align-items: stretch;
  gap: 1rem;
}

.blog-section .blog-grid article,
.blog-section .blog-grid article:first-child {
  min-height: 100%;
  padding-bottom: 0;
  display: grid;
  grid-column: auto !important;
  grid-row: auto !important;
  grid-template-rows: auto auto minmax(5.4rem, auto) 1fr auto;
  align-content: stretch;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 159, 10, 0.16), transparent 13rem),
    linear-gradient(145deg, #1d211e, #0e100f);
  color: #fff;
  box-shadow: 0 22px 55px rgba(18, 22, 18, 0.13);
}

.blog-section .blog-grid article img,
.blog-section .blog-grid article:first-child img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-section .blog-grid article > span {
  margin-top: 1.1rem;
  background: rgba(255, 159, 10, 0.16);
  color: #ffb52e !important;
}

.blog-section .blog-grid article h3 {
  display: -webkit-box;
  overflow: hidden;
  color: #fff !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-section .blog-grid article p {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66) !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-section .blog-grid article > a {
  margin-top: 1rem;
  color: #fff !important;
  border-bottom-color: var(--rev-accent);
}

@media (max-width: 980px) {
  .blog-section .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 620px) {
  .government-proof .ally-grid { grid-auto-columns: minmax(220px, 82%); }
  .government-video-copy { width: 68%; }
  .government-video-copy strong { font-size: 1.25rem; }
  .blog-section .blog-grid { grid-template-columns: 1fr !important; }
  .blog-section .blog-grid article { grid-template-rows: auto auto auto 1fr auto; }
}

/* Pass 5: three clear choices, an open 360 stage and a continuous proof banner. */
.home-signature {
  display: block;
  padding: clamp(4.5rem, 7vw, 7rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - var(--rev-max)) / 2));
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 159, 10, 0.08), transparent 28rem),
    var(--rev-paper);
}

.home-signature .home-use-selector {
  width: 100%;
  max-width: var(--rev-max);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.4rem);
}

.home-signature .home-use-selector button {
  min-height: 560px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(13, 16, 13, 0.1);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(18, 23, 19, 0.14);
}

.home-signature .home-use-selector button::after {
  background: linear-gradient(0deg, rgba(3, 5, 3, 0.88), transparent 58%);
}

.home-signature .home-use-selector button > span {
  left: clamp(1.25rem, 2.4vw, 2.25rem);
  right: clamp(1.25rem, 2.4vw, 2.25rem);
  bottom: clamp(1.35rem, 2.4vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr) auto;
}

.home-signature .home-use-selector button strong {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 0.92;
}

.home-signature .home-use-selector button svg {
  width: 32px;
  height: 32px;
}

.accessories-section {
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 159, 10, 0.12), transparent 32rem),
    #ecefe9;
}

.accessories-section .section-heading {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.accessories-section .section-heading h2 { max-width: 920px; }

.accessories-section .accessory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.35rem);
  align-items: stretch;
}

.accessories-section .accessory-grid article {
  min-height: 100%;
  padding-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(14, 17, 14, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 55px rgba(18, 23, 19, 0.08);
}

.accessories-section .accessory-grid article:nth-child(8) {
  grid-column: span 2;
  background:
    radial-gradient(circle at 80% 5%, rgba(255, 159, 10, 0.15), transparent 18rem),
    #fff;
}

.accessories-section .accessory-grid img {
  aspect-ratio: 1 / 1;
  padding: 1rem;
  object-fit: contain;
  background: #f1f3ef;
}

.accessories-section .accessory-grid article:nth-child(8) img { aspect-ratio: 2.05 / 1; }

.accessories-section .accessory-grid article[data-si-extra] img {
  padding: 0;
  object-fit: cover;
}

.accessories-section .accessory-grid h3 {
  margin-top: 1.1rem;
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.18;
}

.accessories-section .accessory-grid strong { margin-top: auto; }

.ally-carousel {
  position: relative;
  margin-inline: -1.05rem;
  padding-inline: 1.05rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.government-proof .ally-grid {
  grid-auto-columns: minmax(190px, 31%);
  overflow-x: hidden;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.government-proof .ally-grid span { scroll-snap-align: none; }

@media (min-width: 1181px) {
  .model-lab:not(.is-free-360) {
    min-height: max(790px, calc(100svh - 126px));
    padding: 2.4rem max(2rem, calc((100vw - 1700px) / 2));
    grid-template-columns: minmax(320px, 380px) minmax(460px, 1fr) minmax(300px, 350px);
    gap: clamp(1rem, 2.2vw, 2.5rem);
    align-items: center;
  }

  .model-lab:not(.is-free-360)::before {
    background:
      linear-gradient(90deg, rgba(7, 9, 7, 0.93) 0 18%, rgba(7, 9, 7, 0.22) 34%, rgba(7, 9, 7, 0.08) 66%, rgba(7, 9, 7, 0.9) 100%),
      linear-gradient(0deg, rgba(6, 8, 6, 0.62), transparent 58%);
  }

  .model-lab:not(.is-free-360) .model-copy {
    grid-column: 1;
    width: 100%;
    max-width: 380px;
    padding: 1.15rem;
    border-radius: 22px;
    background: rgba(10, 13, 10, 0.7);
  }

  .model-lab:not(.is-free-360) .model-product {
    grid-column: 3;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 350px;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(10, 13, 10, 0.7);
  }

  .model-lab:not(.is-free-360) #modelDescription { display: none; }

  .model-lab:not(.is-free-360) .model-copy h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 2.3vw, 2.9rem);
    line-height: 0.95;
  }

  .model-lab:not(.is-free-360) .model-selector {
    margin-top: 0.7rem;
    padding: 0.5rem;
  }

  .model-lab:not(.is-free-360) .model-selector select { min-height: 40px; }

  .model-lab:not(.is-free-360) .view-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.65rem;
  }

  .model-lab:not(.is-free-360) .view-controls button {
    min-height: 36px;
    padding: 0.35rem 0.2rem;
    font-size: 0.58rem;
  }

  .model-lab:not(.is-free-360) .view-controls [data-view="free"] {
    border-color: rgba(255, 159, 10, 0.7);
    color: #ffc15b;
  }

  .model-lab:not(.is-free-360) .color-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.65rem;
  }

  .model-lab:not(.is-free-360) .color-controls button {
    min-height: 38px;
    padding: 0.35rem;
    justify-content: center;
    font-size: 0.56rem;
  }

  .model-lab:not(.is-free-360) .color-controls button span {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
  }

  .model-lab:not(.is-free-360) .model-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.7rem;
  }

  .model-lab:not(.is-free-360) .model-actions .button-primary { grid-column: 1 / -1; }

  .model-lab:not(.is-free-360) .model-actions .button {
    min-height: 40px;
    font-size: 0.58rem;
  }

  .model-lab:not(.is-free-360) .model-operation-status {
    min-height: 0;
    margin-top: 0.55rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .model-product-data .model-dimensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-product-data .model-dimensions > div:nth-child(even) { border-right: 0; }
  .model-product-data .model-dimensions > div:last-child { grid-column: 1 / -1; }
  .model-product-data .model-specs li { font-size: 0.58rem; }

  .model-lab:not(.is-free-360) .model-product > img {
    aspect-ratio: 4 / 3;
    padding: 0.55rem;
  }

  .model-lab:not(.is-free-360) .model-product > strong {
    padding: 0.55rem 0.7rem;
    font-size: 1rem;
  }
}

@media (max-width: 1050px) {
  .home-signature .home-use-selector button { min-height: 440px; }
  .accessories-section .accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home-signature { padding-inline: 1rem; }
  .home-signature .home-use-selector { grid-template-columns: 1fr; }
  .home-signature .home-use-selector button {
    min-height: 430px;
    aspect-ratio: 4 / 4.5;
  }

  .accessories-section .accessory-grid { grid-template-columns: 1fr; }
  .accessories-section .accessory-grid article:nth-child(8) { grid-column: auto; }
  .accessories-section .accessory-grid article:nth-child(8) img { aspect-ratio: 1 / 1; }
}
