@font-face {
  font-family: "Filson Pro";
  src: url("assets/fonts/FilsonProRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Filson Pro";
  src: url("assets/fonts/FilsonProBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Filson Pro";
  src: url("assets/fonts/FilsonProHeavyItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Pasquta";
  src: url("assets/fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Pasquta";
  src: url("assets/fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Pasquta";
  src: url("assets/fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2c5697;
  --blue-dark: #2c5697;
  --orange: #ff8f1c;
  --orange-dark: #ff8f1c;
  --paper: #f3f1ee;
  --cream: #f3f1ee;
  --ice: #a7bcd6;
  --ink: #14212b;
  --muted: #65717a;
  --line: rgba(44, 86, 151, 0.14);
  --danger: #c0392b;
  --font-title: "Filson Pro", Arial, sans-serif;
  --font-text: "Helvetica Neue Pasquta", "Helvetica Neue", Arial, sans-serif;
  --header-height: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--orange);
  color: #ffffff;
}

::-moz-selection {
  background: var(--orange);
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
  /* El header es sticky: sin esto las anclas dejan el titulo tapado. */
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

/* Solo para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-text);
  line-height: 1.55;
}

/* Evita que hijos de flex/grid (imágenes, textos largos, marquee)
   fuercen un ancho mayor al viewport y descuadren la vista mobile. */
*,
*::before,
*::after {
  min-width: 0;
}

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

p,
a,
strong,
span,
li {
  overflow-wrap: break-word;
}

/* Los títulos no deben partirse a mitad de palabra: solo quiebran si es
   estrictamente inevitable (palabra más ancha que el contenedor). */
h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 4px solid rgba(255, 248, 236, 0.95);
  border-radius: 50%;
  color: #fff;
  background: #25b96f;
  box-shadow:
    0 16px 34px rgba(44, 86, 151, 0.22),
    0 0 0 1px rgba(44, 86, 151, 0.08);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.whatsapp-widget:hover {
  transform: translateY(-4px);
  background: #20aa65;
  box-shadow:
    0 22px 44px rgba(44, 86, 151, 0.28),
    0 0 0 1px rgba(44, 86, 151, 0.08);
}

.whatsapp-widget:active {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-widget-icon {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

html.js .reveal,
html.js .stagger-list > * {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
}

html.js .reveal.is-visible,
html.js .stagger-list.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 140ms;
}

.stagger-list.is-visible > *:nth-child(2) {
  transition-delay: 110ms;
}

.stagger-list.is-visible > *:nth-child(3) {
  transition-delay: 220ms;
}

.stagger-list.is-visible > *:nth-child(4) {
  transition-delay: 330ms;
}

.stagger-list.is-visible > *:nth-child(5) {
  transition-delay: 440ms;
}

.stagger-list.is-visible > *:nth-child(6) {
  transition-delay: 550ms;
}

.stagger-list.is-visible > *:nth-child(7) {
  transition-delay: 660ms;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.section-inner,
.nav,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 238, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 260ms ease, background-color 260ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(44, 86, 151, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255, 143, 28, 0.18);
}

.brand-logo-header {
  position: relative;
  display: inline-block;
  width: clamp(300px, 28vw, 460px);
  aspect-ratio: 348.07 / 28.03;
  transition: transform 240ms var(--ease);
}

.brand-logo-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 240ms ease;
}

.brand-logo-header-orange {
  opacity: 0;
}

.brand:hover .brand-logo-header {
  transform: translateY(-1px);
}

.brand:hover .brand-logo-header-blue {
  opacity: 0;
}

.brand:hover .brand-logo-header-orange {
  opacity: 1;
}

.brand-mark-header {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255, 143, 28, 0.18);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.brand:hover .brand-mark-header {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 143, 28, 0.24);
}

.brand-script {
  color: var(--blue);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  transition: color 240ms ease, transform 240ms var(--ease);
}

.brand:hover .brand-script {
  color: var(--orange-dark);
  transform: translateY(-1px);
}

.brand-line {
  color: var(--muted);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(22px, 2.4vw, 42px);
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.nav-links a {
  position: relative;
  border-bottom: 1px solid transparent;
  transition: color 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/branding-pasquta/galpon-2.webp");
  background-position: center 62%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(44, 86, 151, 0.92) 0%,
    rgba(44, 86, 151, 0.8) 34%,
    rgba(44, 86, 151, 0.38) 62%,
    rgba(44, 86, 151, 0) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  margin: 0;
  padding: clamp(48px, 8vh, 88px) 24px;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

/* El caso base usa 100vh; donde haya soporte, usar svh para descontar
   la UI dinámica del navegador móvil (los @media ya lo hacen aparte). */
@supports (height: 100svh) {
  .hero-section,
  .hero-inner {
    min-height: calc(100svh - var(--header-height));
  }
}

.hero-copy {
  width: 100%;
  max-width: 620px;
}

.eyebrow,
.section-label,
.summary-header span,
.product-category {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.18;
}

.hero-copy p:not(.eyebrow),
.statement-inner > p,
.order-heading p,
.service-list p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-copy p:not(.eyebrow) {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-copy h1 {
  color: #fff;
}

/* Indicador de scroll: oculto por defecto (desktop), se muestra solo en mobile */
.hero-scroll {
  display: none;
}

.hero-actions,
.contact-actions,
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 800;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(44, 86, 151, 0.14);
}

.button:active {
  transform: translateY(-1px) scale(0.98);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 143, 28, 0.42);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--orange);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button-secondary {
  color: var(--blue-dark);
  background: transparent;
  border: 1px solid var(--line);
}

.hero-copy .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-copy .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.button-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.proof-strip {
  background: var(--blue-dark);
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.proof-inner p {
  display: flex;
  align-items: center;
  margin: 0;
  min-height: 82px;
  padding: 16px clamp(18px, 2.5vw, 32px);
  color: rgba(255, 255, 255, 0.88);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 240ms ease, color 240ms ease, transform 240ms var(--ease);
}

.proof-inner p:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.proof-inner p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.statement-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--cream);
}

.statement-inner {
  display: flex;
  flex-direction: column;
  max-width: 76ch;
}

.statement-inner > p:last-child {
  padding-top: 12px;
}

.image-band {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--blue-dark);
}

.image-band-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.image-band .section-label {
  color: var(--orange);
}

.image-band h2 {
  color: #fff;
  margin-bottom: 24px;
}

.image-band-content p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;
}

.image-band-visual img {
  height: 420px;
  border-radius: 0 140px 140px 0;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.image-band:hover .image-band-visual img {
  transform: translateX(8px) scale(1.025);
  border-radius: 0 80px 80px 0;
}

.catalog-transition {
  padding: clamp(80px, 8vw, 120px) 0;
  background: var(--paper); /* Tono crema oficial de la marca */
  border-top: 1px solid rgba(44, 86, 151, 0.06);
  border-bottom: 1px solid rgba(44, 86, 151, 0.06);
  text-align: center;
}

.transition-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transition-lead {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease), background-color 300ms ease, box-shadow 300ms ease;
}

.cta-catalog:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(44, 86, 151, 0.15);
}

/* ==========================================================================
   NUEVA SECCIÓN: MARCAS (LOGO MARQUEE PREMIUM)
   ========================================================================== */
.brands-section {
  padding: 100px 0 60px;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brands-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 680px;
  padding: 0 20px;
}

.brands-header h2 {
  margin: 12px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-dark);
}

.brands-header p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.5;
  margin: 0;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 24px 0;
  /* Máscara de desvanecimiento elegante en los bordes */
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-infinite 35s linear infinite;
  will-change: transform;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  gap: 80px;
  padding: 0 40px;
}

.marquee-group img {
  height: 80px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  transition: transform 300ms var(--ease);
}

.marquee-group img:hover {
  transform: scale(1.06);
}

.marquee-group img.brand-logo--upscale {
  height: 105px;
}

.marquee-group img.brand-logo--downscale {
  height: 58px;
}

.marquee-group img.brand-logo--mamamu {
  height: 44px; /* Reducción drástica para balancear su longitud horizontal */
}

@keyframes marquee-infinite {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Optimización del carrusel en mobile:
   - Logos más chicos para que entren varios y no se amontonen.
   - La máscara (mask-image) sobre una capa animada provoca repintados por
     fotograma en iOS Safari => se reemplaza por overlays estáticos. */
@media (max-width: 640px) {
  .brands-section {
    padding: 56px 0 36px;
  }

  .brands-header {
    margin-bottom: 28px;
  }

  .marquee-container {
    padding: 10px 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-container::before,
  .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    z-index: 2;
    pointer-events: none;
  }

  .marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--paper), rgba(243, 241, 238, 0));
  }

  .marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--paper), rgba(243, 241, 238, 0));
  }

  .marquee-group {
    gap: 44px;
    padding: 0 22px;
  }

  .marquee-group img {
    height: 44px;
  }

  .marquee-group img.brand-logo--upscale {
    height: 58px;
  }

  .marquee-group img.brand-logo--downscale {
    height: 32px;
  }

  .marquee-group img.brand-logo--mamamu {
    height: 26px;
  }

  .marquee-track {
    animation-duration: 26s;
  }
}

/* ==========================================================================
   NUEVA SECCIÓN: CATEGORÍAS PURAS (GRID MINIMALISTA)
   ========================================================================== */
/* ==========================================================================
   NUEVA SECCIÓN: CATEGORÍAS PURAS (REMOVIDO / CAMBIADO A MARCAS B2B)
   ========================================================================== */

.order-section {
  min-height: 100vh;
  padding: clamp(70px, 9vw, 116px) 0;
  color: #fff;
  background:
    linear-gradient(rgba(44, 86, 151, 0.92), rgba(44, 86, 151, 0.92)),
    url("assets/fotos-reales/producto-pizzas.webp") center / cover;
}

.order-section h2,
.order-section .section-label {
  color: #fff;
}

.order-inner {
  display: grid;
  gap: 44px;
}

.order-heading {
  display: flex;
  flex-direction: column;
  max-width: 76ch;
  margin-bottom: 44px;
}

.order-heading h2 {
  margin-bottom: 24px;
}

.order-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: 34px;
  align-items: start;
}

/* Selector de marca: solo mobile (<=640px). En desktop y tablet manda
   .catalog-toolbar, que ahi tiene ancho para la fila de botones. */
.brand-select-wrap {
  display: none;
}

.catalog-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 8px;
}

.filter-button,
.clear-button,
.quantity-button,
.remove-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  white-space: nowrap;
}

.filter-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
}

.filter-button.active {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);
}

@media (max-width: 980px) {
  .catalog-toolbar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-bottom: 24px;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .catalog-toolbar::-webkit-scrollbar {
    display: none;
  }
  
  .filter-button {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.88rem;
  }
}

.product-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  min-height: 230px;
  transition: transform 300ms var(--ease), background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge-sintacc {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -4px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.meta-value {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.variant-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
  margin-top: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  padding-right: 32px;
}

.variant-select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.08);
}

.variant-select option {
  background: #2c5697;
  color: #ffffff;
  padding: 10px;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 16px;
}

.add-button {
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.add-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
}

.add-button.in-cart {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.add-button.in-cart:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .product-picker {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-card {
    min-height: auto;
    padding: 20px;
  }

  /* La fila deslizable de 12 marcas se reemplaza por un select nativo.
     display:none saca la toolbar del arbol de accesibilidad, para que el
     role="tablist" no anuncie el mismo estado que el select. */
  .catalog-toolbar {
    display: none;
  }

  .brand-select-wrap {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
  }

  .brand-select-wrap label {
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Mismo patron visual que .variant-select: el color de fondo va antes que
     background-image para que el shorthand no pise el chevron. */
  .brand-select {
    width: 100%;
    min-height: 44px;
    padding: 0 38px 0 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: border-color 200ms ease, background-color 200ms ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
  }

  .brand-select:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.12);
  }

  .brand-select option {
    background: #2c5697;
    color: #ffffff;
  }

  /* Azul muerto entre el encabezado y los filtros: 44+44 -> 22+22 */
  .order-inner {
    gap: 22px;
  }

  .order-heading {
    margin-bottom: 22px;
  }

  .order-heading h2 {
    margin-bottom: 18px;
  }
}

.add-button:hover,
.add-button.in-cart {
  color: var(--blue-dark);
  background: #fff;
}

.add-button:hover {
  transform: translateY(-2px);
}

/* Acompana el scroll dentro de .order-workspace: se detiene solo cuando
   termina la grilla de productos. Sin alto maximo: la tarjeta nunca scrollea
   por dentro. */
.order-summary {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  padding: 26px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
}

.order-summary.has-items {
  animation: cartPulse 360ms var(--ease);
}

.order-summary:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 82px rgba(0, 0, 0, 0.2);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.summary-header span {
  margin-bottom: 0;
}

.summary-header strong {
  color: var(--blue-dark);
}

.cart-items {
  display: grid;
  gap: 0;
  min-height: 90px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.empty-cart {
  margin: 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  animation: softScale 260ms var(--ease);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cart-item strong {
  display: block;
  color: var(--blue-dark);
  line-height: 1.25;
}

.cart-item-brand {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Control segmentado: una sola pieza en vez de dos circulos sueltos */
.quantity-controls {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 42px;
  border-radius: 0;
  color: var(--blue-dark);
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease;
}

.quantity-button:hover:not(:disabled) {
  background: rgba(44, 86, 151, 0.08);
}

.quantity-button:disabled {
  color: var(--muted);
  opacity: 0.4;
  cursor: not-allowed;
}

/* min-width fijo: la fila no cambia de ancho al pasar de 9 a 10 */
.quantity-value {
  min-width: 34px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 700;
}

/* Accion destructiva: discreta en reposo, roja al interactuar. Nunca naranja
   (ese es el color de confirmar). El margen negativo evita que el area
   tactil de 44px desalinee la fila. */
.remove-button {
  display: inline-grid;
  place-items: center;
  align-self: start;
  width: 44px;
  height: 44px;
  margin: -11px -11px 0 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease;
}

/* --muted sobre el crema da 4.4:1; --ink atenuado deja el mismo gris tenue
   pero por encima del minimo de 4.5:1 */
.remove-button svg {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.remove-button:hover,
.remove-button:focus-visible {
  color: var(--danger);
  background: rgba(192, 57, 43, 0.09);
}

.remove-button:hover svg,
.remove-button:focus-visible svg {
  opacity: 1;
}

.client-fields {
  display: grid;
  gap: 14px;
  padding-top: 20px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 143, 28, 0.12);
}

.summary-actions {
  margin-top: 20px;
}

.summary-actions .button {
  width: 100%;
}

.clear-button {
  width: 100%;
  min-height: 42px;
  color: var(--blue-dark);
  background: transparent;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  min-height: 430px;
}

.gallery-strip img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 700ms var(--ease), filter 300ms ease;
}

.gallery-strip img:hover {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.service-section {
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--cream);
}

.service-inner {
  display: flex;
  flex-direction: column;
  max-width: 80ch;
  gap: 34px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 220ms var(--ease), color 220ms ease;
}

.service-list p:hover {
  padding-left: 12px;
}

.service-list strong {
  color: var(--blue-dark);
}

.contact-section {
  padding: clamp(70px, 10vw, 120px) 0;
  color: #fff;
  background: var(--blue-dark);
}

.contact-section h2,
.contact-section .section-label {
  color: #fff;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  max-width: 76ch;
  gap: 24px;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
  margin-bottom: 28px;
}

.site-footer {
  padding: 60px 0 30px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 40px;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand .brand {
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 40ch;
  margin: 0;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav strong,
.footer-social strong {
  color: var(--blue-dark);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer-nav a,
.footer-social a,
.footer-location {
  color: var(--muted);
  font-weight: 500;
  transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-social .footer-link-text:hover {
  color: var(--orange-dark);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: rgba(44, 86, 151, 0.08);
  transition: transform 220ms var(--ease), background-color 220ms ease, color 220ms ease;
}

.footer-social .social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-social .social-icon:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-maps {
  display: flex;
  flex-direction: column;
}

.footer-maps-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-maps-head strong {
  color: var(--blue-dark);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-maps-head a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-maps-head a:hover {
  color: var(--orange-dark);
}

.footer-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  flex: 1;
  min-height: 190px;
  background: rgba(44, 86, 151, 0.06);
}

.footer-maps-address {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 12px 0 0;
}

.footer-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

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

  html.js .reveal,
  html.js .stagger-list > * {
    opacity: 1;
    transform: none;
  }

  /* El indicador de scroll queda visible pero sin rebote */
  .hero-scroll {
    animation: none;
  }
}

@media (min-width: 981px) {
  .hero-inner {
    padding-left: min(5rem, max(24px, calc((100vw - 1180px) / 2)));
  }

  .hero-copy {
    max-width: min(620px, 45vw);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 88px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }

  .footer-maps {
    grid-column: 1 / -1;
  }

  .footer-map-frame {
    min-height: 240px;
  }

  /* Solo aca: el carrito ya no es sticky, asi que ocultar el desborde
     horizontal no rompe nada y sigue evitando el zoom lateral en mobile. */
  html,
  body {
    overflow-x: hidden;
  }

  .nav {
    flex-direction: row;
    align-items: center;
  }

  .brand-logo-header {
    width: clamp(240px, 46vw, 340px);
  }

  .brand-mark-header {
    width: 54px;
    height: 54px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 50;
  }

  .menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--blue-dark);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(243, 241, 238, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 20px rgba(44, 86, 151, 0.08);
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    padding: 20px 0;
    border-bottom: 1px solid rgba(44, 86, 151, 0.08);
    font-size: 1.1rem;
    font-weight: 500;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .site-header.menu-open .nav-links {
    max-height: 400px;
    padding: 10px 24px 20px;
    opacity: 1;
    visibility: visible;
  }

  .site-header.menu-open .menu-toggle .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
  }

  .hero-section {
    min-height: calc(100svh - var(--header-height));
    background-position: center 64%;
  }

  .hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(44, 86, 151, 0.9) 0%,
      rgba(44, 86, 151, 0.8) 55%,
      rgba(44, 86, 151, 0.56) 100%
    );
  }

  .hero-inner {
    min-height: calc(100svh - var(--header-height));
    padding-right: clamp(24px, 7vw, 56px);
    padding-left: clamp(24px, 7vw, 56px);
  }

  .hero-inner,
  .statement-inner,
  .section-header,
  .product-lead,
  .order-heading,
  .order-workspace,
  .service-inner,
  .contact-inner,
  .products-layout {
    grid-template-columns: 1fr;
  }

  .image-band-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }



  .proof-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-inner p {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-inner p:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-inner p:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .order-summary {
    position: static;
  }

}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .section-inner,
  .nav,
  .footer {
    width: min(100% - 48px, 1180px);
  }

  .brand {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .site-header .brand {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand-logo-header {
    width: clamp(150px, 42vw, 210px);
  }

  .brand-mark-header {
    width: 40px;
    height: 40px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .image-band-visual img,
  .products-visual img {
    height: 320px;
    min-height: auto;
    border-radius: 32px;
  }

  .hero-section {
    background-position: center 68%;
  }

  .hero-inner {
    padding: 44px 24px 108px;
  }

  /* Indicador de scroll: chevron discreto centrado al pie del hero */
  .hero-scroll {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 22px;
    margin-left: -9px;
    width: 18px;
    height: 18px;
    z-index: 1;
    pointer-events: none;
    animation: heroScrollBounce 1.8s ease-in-out infinite;
  }

  .hero-scroll::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, 0.55);
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    transform: rotate(45deg);
  }

  @keyframes heroScrollBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(6px);
    }
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    min-height: 310px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-map-frame {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .footer-bottom {
    text-align: left;
  }

  .whatsapp-widget {
    right: 20px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .proof-inner {
    grid-template-columns: 1fr;
  }

  .proof-inner p {
    min-height: 60px;
    padding: 12px 18px;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-inner p:nth-child(2n) {
    border-right: none;
  }

  .proof-inner p:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-inner p:last-child {
    border-bottom: none;
  }
}






