/* ============================================================
   RYM DESCARTABLE — Fonts (Inter, self-hosted)
   ============================================================ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}

/* ============================================================
   RYM DESCARTABLE — Design tokens
   ============================================================ */
:root {
  --ink: #0F1B38;
  --primary: #3E61C9;
  --primary-dark: #23408F;
  --ocean: #16254D;
  --surface: #EEF3FC;
  --paper: #FFFFFF;
  --border: #D8E2F5;
  --muted: #4A5B82;          /* texto secundario pequeño (AA) */
  --muted-soft: #5A6B93;     /* texto secundario grande */

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: 1.5rem;
  --section-gap: 5rem;

  --radius-asym: 24px 0 24px 0;
  --radius-asym-sm: 14px 0 14px 0;
  --btn-border: 2.5px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
}

ul,
dl {
  list-style: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--primary);
  color: var(--paper);
}

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

/* ============================================================
   Utilidades
   ============================================================ */
.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--paper);
  color: var(--primary-dark);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

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

.section {
  padding-block: var(--section-gap);
}

.section--alt {
  background: var(--surface);
}

.section-head {
  max-width: 62ch;
}

.section-head .section-sub {
  margin-top: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-sub {
  color: var(--muted-soft);
  font-size: 1.02rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.75rem;
}

.prose {
  margin-top: 1.5rem;
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  color: var(--ink);
  font-size: 1.02rem;
}

/* ============================================================
   Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border: var(--btn-border) solid transparent;
  border-radius: var(--radius-asym);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--light {
  background: var(--paper);
  color: var(--primary);
  border-color: var(--paper);
}

.btn--light:hover {
  background: #E4EBFB;
  color: var(--primary-dark);
  border-color: #E4EBFB;
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--paper);
}

.btn--solid {
  background: var(--primary);
  color: var(--paper);
  border-color: var(--primary);
}

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

.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--surface);
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.82rem;
}

.hero :focus-visible,
.cta-section :focus-visible {
  outline-color: var(--paper);
}

/* ============================================================
   Barra superior
   ============================================================ */
.top-bar {
  background: var(--ocean);
  color: var(--paper);
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 0.6rem;
  font-size: 0.85rem;
}

.top-bar-inner p + p {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.top-bar-inner strong {
  font-weight: 700;
}

/* ============================================================
   Header sticky + nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav search";
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.nav-logo {
  grid-area: logo;
  line-height: 0;
}

.logo-mark {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.site-nav {
  grid-area: nav;
  justify-self: start;
}

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

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.is-active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.nav-item--dropdown {
  position: relative;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem;
  margin-left: 0.1rem;
  border-radius: 6px;
  transition: color 0.2s, transform 0.2s;
  vertical-align: middle;
}

.nav-caret:hover {
  color: var(--primary);
}

.nav-caret.is-open svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1.5rem;
  z-index: 120;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  min-width: 620px;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-asym-sm);
  box-shadow: 0 18px 40px rgba(15, 27, 56, 0.16);
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-dropdown.is-open {
  display: grid;
}

.nav-dropdown-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
}

.nav-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-content: flex-start;
}

.nav-chips .nav-chip {
  display: inline-block;
  padding: 0.2rem 0.1rem;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-chips .nav-chip:hover {
  background: none;
  color: var(--primary);
}

.nav-chip-empty {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  grid-area: toggle;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

/* Buscador del header (navega a productos.html?q=...) */
.header-search {
  grid-area: search;
  position: relative;
  justify-self: end;
  width: clamp(180px, 24vw, 320px);
}

.header-search input {
  width: 100%;
  padding: 0.58rem 2.7rem 0.58rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-asym-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 97, 201, 0.18);
}

.header-search input::placeholder {
  color: var(--muted-soft);
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px 0 10px 0;
  background: var(--primary);
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.search-submit:hover {
  background: var(--primary-dark);
}

.search-submit svg {
  width: 17px;
  height: 17px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--ocean);
  color: var(--paper);
  padding-block: 5rem 4.5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 13ch;
}

.hero-copy p {
  margin-top: 1.25rem;
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: cover;
  object-position: center 55%;
  margin-inline: auto;
  border-radius: var(--radius-asym);
  display: block;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy {
  animation: hero-in 0.55s ease both;
}

.hero-visual {
  animation: hero-in 0.55s ease 0.12s both, hero-float 7s ease-in-out 1.4s infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

/* Páginas internas: hero chico */
.hero--small {
  padding-block: 3.5rem;
  text-align: center;
}

.hero--small h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero--small p {
  margin: 0.9rem auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   Marquee (única en el sitio: nombres de productos)
   ============================================================ */
.marquee {
  background: var(--primary);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1.35rem;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 84px;
  height: 84px;
  padding: 0;
  font: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.marquee__item:hover {
  transform: scale(1.06);
  border-color: var(--paper);
}

.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee__item svg {
  width: 42px;
  height: 42px;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   Categorías (círculos)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 2.25rem 1rem;
  justify-items: center;
  margin-top: 2.75rem;
}

.category-circle {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--ink);
}

.category-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--border);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.category-icon svg {
  width: 54px;
  height: 54px;
}

.category-circle:hover .category-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(35, 64, 143, 0.2);
}

.category-circle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: 10px;
}

.category-name {
  font-weight: 800;
  font-size: 0.95rem;
}

.category-count {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================================
   Grilla de productos y cards
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-asym);
  overflow: hidden;
  cursor: pointer;
}

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transform-style: preserve-3d;
  transition: transform 0.18s ease, border-color 0.2s, box-shadow 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary);
  --ty: -5px;
  box-shadow: 0 22px 44px rgba(62, 97, 201, 0.26), 0 8px 18px rgba(35, 64, 143, 0.14);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  transform: translateX(-130%) skewX(-8deg);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.product-card:hover::after {
  transform: translateX(130%) skewX(-8deg);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.32rem 0.7rem;
  border-radius: 10px 0 10px 0;
  background: var(--primary);
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(62, 97, 201, 0.4);
  overflow: hidden;
}

.product-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.55) 50%, transparent 68%);
  transform: translateX(-110%);
  animation: badge-shimmer 2.8s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%,
  55% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}

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

.reveal > .product-card {
  height: 100%;
}

.product-icon {
  height: 160px;
  background: var(--surface);
  color: var(--primary);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card:hover .product-icon {
  color: var(--primary-dark);
}

.product-icon svg {
  width: 84px;
  height: 84px;
  transition: transform 0.4s ease;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-icon svg {
  transform: scale(1.1);
}

.product-card:hover .product-icon img {
  transform: scale(1.07);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.35rem;
}

.product-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.2rem;
}

.product-medidas {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.product-unit {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.05rem;
}

.product-material {
  font-size: 0.8rem;
  color: var(--muted-soft);
  margin-top: 0.15rem;
}

.product-card-btn {
  align-self: flex-start;
  margin-top: 0.9rem;
  padding: 0.55rem 1.15rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-asym-sm);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.product-card-btn:hover {
  background: var(--primary);
  color: var(--paper);
}

.product-card-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.product-card-actions .product-card-btn {
  flex: 1;
  align-self: auto;
  margin-top: 0;
  padding: 0.55rem 0.5rem;
  font-size: 0.72rem;
}

.product-card-btn--add {
  background: var(--primary);
  color: var(--paper);
}

.product-card-btn--add:hover {
  background: var(--primary-dark);
  color: var(--paper);
}

.product-card:focus-within {
  border-color: var(--primary);
}

/* ============================================================
   Tiles "Equipá tu negocio"
   ============================================================ */
.equip-carousel {
  position: relative;
  margin-top: 2.75rem;
}

.equip-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scrollbar-width: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.equip-carousel-track.no-transition {
  transition: none;
}

.equip-carousel-track::-webkit-scrollbar {
  display: none;
}

.equip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(15, 27, 56, 0.55);
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.equip-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.equip-arrow--prev {
  left: 0.75rem;
}

.equip-arrow--next {
  right: 0.75rem;
}

.equip-arrow[hidden] {
  display: none;
}

.equip-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.equip-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.equip-dot:hover {
  transform: scale(1.25);
}

.equip-dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}

.equip-empty {
  color: var(--muted);
  font-size: 0.95rem;
  padding-block: 2rem;
}

.equip-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-asym);
  padding: 2.1rem 1.9rem 2.3rem;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 3rem) / 3);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.35s ease;
}

.equip-carousel-track.equip-static .equip-tile {
  flex: 1 1 0;
  min-width: 0;
}

.equip-tile.reveal {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.equip-tile.reveal.is-visible,
.equip-tile.reveal.is-visible:hover {
  transition-delay: 0ms;
}

.equip-tile.reveal.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(35, 64, 143, 0.32);
}

.equip-tile--photo {
  padding: 0;
  min-height: 380px;
}

.equip-tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.equip-tile--photo:hover .equip-tile-photo {
  transform: scale(1.07);
}

.equip-tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10, 18, 40, 0.92) 0%,
    rgba(22, 37, 77, 0.6) 45%,
    rgba(22, 37, 77, 0.1) 100%);
  pointer-events: none;
}

.equip-tile-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.9rem 2.3rem;
}

.equip-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 1.05rem;
}

.equip-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.equip-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc07a;
  box-shadow: 0 0 0 3px rgba(255, 192, 122, 0.25);
}

.equip-tile h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.equip-tile p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38ch;
}

/* ============================================================
   CTA final
   ============================================================ */
.cta-section {
  background: var(--primary);
  color: var(--paper);
  padding-block: 4.5rem;
}

.cta-inner {
  text-align: center;
  max-width: 760px;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cta-inner p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-inner .btn {
  margin-top: 2rem;
}

/* ============================================================
   Valores (Nosotros)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.value-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-asym);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px 0 16px 0;
  background: var(--surface);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.value-card p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-soft);
}

/* ============================================================
   Filtros (Productos)
   ============================================================ */
.chip {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--paper);
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip--active,
.chip--active:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding-block: 3.5rem;
}

.empty-state .empty-copy {
  color: var(--muted-soft);
}

.empty-state .btn {
  margin-top: 1rem;
}

/* ============================================================
   Catálogo: layout de filtros a la derecha
   ============================================================ */

/* ── Layout principal ─────────────────────────────────────── */
.catalog-filters-toggle {
  display: none;
}

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

.catalog-main {
  min-width: 0;
}

.catalog-main .product-grid {
  margin-top: 0;
}

/* ── Sidebar de filtros ───────────────────────────────────── */
.catalog-filters {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-asym);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.catalog-filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-filters-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.catalog-filters-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted-soft);
  cursor: pointer;
  padding: 0 0.15rem;
}

.catalog-filters-close:hover {
  color: var(--ink);
}

/* ── Grupos de filtro ─────────────────────────────────────── */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
}

/* ── Input de búsqueda dentro del sidebar ─────────────────── */
.filter-search-input {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-asym-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 97, 201, 0.18);
}

/* ── Lista vertical de opciones ───────────────────────────── */
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 16rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.filter-list .chip {
  text-align: left;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-list .chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-list .chip--active,
.filter-list .chip--active:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Botón limpiar filtros ────────────────────────────────── */
.catalog-clear {
  margin-top: 0.25rem;
}

/* ============================================================
   Contacto: layout y form
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  margin-top: 2.75rem;
}

.contact-map {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: var(--radius-asym);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 27, 56, 0.12);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-optional {
  font-weight: 400;
  color: var(--muted-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-asym-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 97, 201, 0.18);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-soft);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #C0302F;
}

.error-msg {
  display: block;
  font-size: 0.8rem;
  color: #C0302F;
  min-height: 1.1rem;
  margin-top: 0.2rem;
}

.success-msg {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-asym-sm);
  color: var(--primary-dark);
  padding: 0.85rem 1.1rem;
  font-weight: 600;
}

.fallback-msg {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-asym-sm);
  padding: 1rem 1.1rem;
  margin-top: 0.75rem;
}

.fallback-msg p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.fallback-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact-info {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-asym);
}

.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.contact-info dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 1.1rem;
}

.contact-info dt:first-of-type {
  margin-top: 0;
}

.contact-info dd {
  font-size: 0.98rem;
  margin-top: 0.15rem;
  color: var(--ink);
}

.contact-info dd a {
  font-weight: 600;
}

/* ============================================================
   Modal (dialog)
   ============================================================ */
.product-modal {
  border: none;
  padding: 0;
  margin: auto;
  border-radius: var(--radius-asym);
  max-width: 560px;
  width: min(92vw, 560px);
  max-height: 90vh;
  box-shadow: 0 30px 60px rgba(15, 27, 56, 0.4);
}

.product-modal[open] {
  animation: modal-in 0.3s cubic-bezier(0.22, 0.9, 0.36, 1.1) both;
}

.product-modal::backdrop {
  background: rgba(15, 27, 56, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: backdrop-in 0.28s ease both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) 1.25fr;
  overflow-y: auto;
  position: relative;
}

.modal-img {
  background: var(--surface);
  color: var(--primary);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal-img svg {
  width: 104px;
  height: 104px;
}

.modal-img img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-asym);
  box-shadow: 0 14px 30px rgba(15, 27, 56, 0.18);
}

.modal-body {
  padding: 1.75rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px 0 12px 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--primary);
  color: var(--paper);
}

.modal-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.modal-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0.25rem;
}

.modal-desc {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-soft);
}

.modal-medidas {
  margin-top: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.modal-unit {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.modal-material {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 0.7rem;
}

.modal-rubros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.rubro-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

/* ============================================================
   WhatsApp — botón flotante
   ============================================================ */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.wa-float:hover {
  background: #1DA851;
  transform: translateY(-3px) scale(1.04);
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: wa-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  75%,
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 10px 0 10px 0;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  opacity: 1;
  transform: none;
}

body.modal-open .wa-float,
body.modal-open .cart-fab {
  opacity: 0;
  pointer-events: none;
}

/* WhatsApp — botón dentro del modal */
.modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-asym-sm);
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
}

.modal-wa:hover {
  background: #1DA851;
}

.modal-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.modal-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.15rem;
  padding: 0.82rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-asym-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.modal-add-hint {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.modal-add-cart:hover {
  background: var(--ink);
  color: var(--paper);
}

.modal-add-cart.is-added {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

/* ============================================================
   Carrito de consultas
   ============================================================ */
.cart-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(15, 27, 56, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.cart-fab:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.cart-fab svg {
  width: 26px;
  height: 26px;
}

.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cart-fab-badge.cart-bump {
  animation: cart-bump 0.35s ease;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(15, 27, 56, 0.55);
  backdrop-filter: blur(2px);
}

.cart-fab-badge[hidden],
.cart-empty[hidden],
.cart-footer[hidden],
.cart-overlay[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  width: min(380px, 92vw);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.3s ease;
  box-shadow: 18px 0 40px rgba(15, 27, 56, 0.3);
  overflow: hidden;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
}

.cart-drawer-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cart-drawer-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  padding: 0.7rem 1.35rem 0.4rem;
}

.cart-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px 0 10px 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-close:hover {
  background: var(--primary);
  color: var(--paper);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1.35rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-asym-sm);
  background: var(--paper);
}

.cart-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px 0 12px 0;
  background: var(--surface);
  color: var(--primary);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-thumb svg {
  width: 26px;
  height: 26px;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.cart-item-meta {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.cart-item-qty {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 0.1rem;
}

.cart-item-remove {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 9px 0 9px 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-item-remove:hover {
  background: #FDECEC;
  color: #B33030;
}

.cart-empty {
  padding: 2rem 1.35rem;
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.cart-empty p {
  font-size: 0.95rem;
}

.cart-footer {
  padding: 1rem 1.35rem 1.2rem;
  border-top: 2px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 0.7rem;
}

.cart-summary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.cart-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-asym-sm);
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cart-wa:hover {
  background: #1DA851;
  transform: translateY(-1px);
}

.cart-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cart-clear {
  padding: 0.55rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.cart-clear:hover {
  color: #B33030;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .wa-float {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ocean);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  border-radius: 14px 0 14px 0;
  object-fit: cover;
}

.footer-word {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer-brand > p:last-child {
  margin-top: 0.75rem;
  max-width: 30ch;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-nav h3,
.footer-contact h3,
.footer-pay h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.9rem;
}

.footer-nav li + li {
  margin-top: 0.45rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact p + p {
  margin-top: 0.3rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 1.4rem;
}

.footer-pay h3 {
  margin-bottom: 0;
}

.footer-pay ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pay-chip {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px 0 12px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  padding-block: 1.3rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-copy h1 {
    margin-inline: auto;
    max-width: none;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual img {
    max-width: 420px;
  }

  .equip-arrow {
    width: 42px;
    height: 42px;
  }

  .equip-arrow--prev {
    left: 0.5rem;
  }

  .equip-arrow--next {
    right: 0.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .equip-carousel-track {
    gap: 0.75rem;
  }

  .equip-tile {
    flex-basis: calc(100% - 0.75rem);
    min-height: 360px;
  }

  .equip-arrow--prev {
    left: 0.35rem;
  }

  .equip-arrow--next {
    right: 0.35rem;
  }
}

@media (max-width: 768px) {
  .header-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle" "search search";
    gap: 0.85rem 1rem;
    padding-block: 0.75rem;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .site-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 18px 36px rgba(15, 27, 56, 0.14);
    padding: 0.6rem var(--gutter) 1.1rem;
  }

  .site-nav .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0;
    font-size: 1rem;
    border-bottom: none;
  }

  .nav-links a.is-active {
    border-bottom: none;
    color: var(--primary);
  }

  .nav-item--dropdown {
    position: static;
  }

  .nav-item--dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-caret {
    margin-left: 0;
    padding: 0.5rem;
    color: var(--primary);
  }

  .nav-dropdown,
  .nav-dropdown.is-open {
    position: relative;
    top: auto;
    left: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.75rem 0.9rem;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
  }

  .nav-dropdown.is-open {
    display: grid;
  }

  .nav-chips {
    max-height: none;
    overflow-y: visible;
  }

  .header-search {
    grid-area: search;
    width: 100%;
    justify-self: stretch;
  }

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

  .wa-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }

  .cart-fab {
    width: 52px;
    height: 52px;
    left: 1rem;
    bottom: 1rem;
  }

  .cart-fab svg {
    width: 24px;
    height: 24px;
  }

  .wa-float svg {
    width: 26px;
    height: 26px;
  }

  .wa-float-label {
    display: none;
  }

  .hero {
    padding-block: 3.5rem 3rem;
  }

  .hero--small {
    padding-block: 2.75rem;
  }

  .section {
    --section-gap: 3.75rem;
  }

  .cta-section {
    padding-block: 3.75rem;
  }

  .top-bar-inner p + p {
    padding-left: 1.25rem;
  }
}

/* ── Tablet/móvil: filtros se ocultan y aparecen con botón ── */
@media (max-width: 920px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-asym-sm);
    background: var(--paper);
    color: var(--primary-dark);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0.25rem;
    margin-top: 1.5rem;
    transition: border-color 0.2s, color 0.2s;
  }

  .catalog-filters-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
  }

  .catalog-filters {
    position: static;
    max-height: none;
    overflow-y: visible;
    display: none;
    margin-top: 0.5rem;
  }

  .catalog-filters.is-open {
    display: flex;
  }

  .catalog-filters-head {
    display: flex;
  }

  .catalog-filters-close {
    display: block;
  }
}

@media (max-width: 700px) {
  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-img {
    padding: 1.25rem;
    border-right: none;
  }
}

@media (max-width: 540px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0.75rem;
  }

  .top-bar-inner {
    font-size: 0.78rem;
    gap: 0.35rem 1.25rem;
  }

  .top-bar-inner p + p {
    padding-left: 1.25rem;
  }

  .footer-pay,
  .footer-pay ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}

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

  .marquee {
    display: none;
  }

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

  .equip-tile.reveal.is-visible:hover {
    transform: none;
    box-shadow: none;
  }

  .tilt {
    transform: none;
  }

  .wa-float::after,
  .product-badge::after,
  .hero-visual {
    animation: none;
  }
}