/* =========================================================================
   Arcarm Bycolorgram — Design System
   Mobile-first · Dark mode · Componentes reutilizables
   ========================================================================= */

/* ---------- Variables / tokens ---------- */
:root {
  /* Marca */
  --blue-900: #0d2240;
  --blue-800: #123057;
  --blue-700: #1b4079;
  --blue-500: #2a5da8;
  --blue-300: #6f9fd8;
  --red: #e23b2e;
  --red-dark: #c0271b;
  --yellow: #f5c200;
  --yellow-dark: #e0a800;

  /* Neutros */
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f7;
  --gray-200: #dde4ee;
  --gray-300: #c3ccda;
  --gray-500: #7a869a;
  --gray-700: #43505f;
  --gray-900: #1a2330;

  /* Roles (light) */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --surface: var(--white);
  --border: var(--gray-200);
  --text: var(--gray-900);
  --text-soft: var(--gray-500);
  --header-bg: rgba(255, 255, 255, 0.92);
  --shadow: 0 6px 24px rgba(13, 34, 64, 0.08);
  --shadow-lg: 0 16px 48px rgba(13, 34, 64, 0.16);

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0b1622;
  --bg-alt: #0f1d2e;
  --surface: #14253a;
  --border: #20354f;
  --text: #eaf1fb;
  --text-soft: #93a4bb;
  --header-bg: rgba(11, 22, 34, 0.92);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --blue-900: #0a1a30;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.section--alt {
  background: var(--bg-alt);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--blue-500);
  margin-bottom: 0.6rem;
}
.section__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.section__subtitle {
  color: var(--text-soft);
  margin-top: 0.8rem;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--cta {
  --btn-bg: var(--red);
}
.btn--cta:hover {
  --btn-bg: var(--red-dark);
}
.btn--accent {
  --btn-bg: var(--yellow);
  --btn-fg: var(--blue-900);
}
.btn--accent:hover {
  --btn-bg: var(--yellow-dark);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--blue-500);
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--blue-900);
}
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  /* Por defecto: transparente sobre el hero */
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
/* Al hacer scroll: barra sólida */
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 104px;
  transition: height var(--transition);
}
.header.is-scrolled .header__inner {
  height: 72px;
}

/* Logo: completo arriba (grande), solo ícono al hacer scroll */
.header__logo img {
  height: 56px; /* altura base (p. ej. en producto.html) */
  width: auto;
  transition: height var(--transition);
}
.header__logo-full {
  height: 88px;
  /* Logo en blanco para contrastar sobre el hero */
  filter: brightness(0) invert(1);
}
.header__logo-icon {
  display: none;
  height: 52px;
}
.header.is-scrolled .header__logo-full {
  display: none;
}
.header.is-scrolled .header__logo-icon {
  display: block;
}

/* Texto/botones blancos mientras el header está transparente (solo desktop) */
@media (min-width: 861px) {
  .header:not(.is-scrolled) .nav__link {
    color: #fff;
  }
  .header:not(.is-scrolled) .nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }
  .header:not(.is-scrolled) .icon-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
  }
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover {
  color: var(--blue-500);
  background: var(--bg-alt);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}
.icon-btn:hover {
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
}
/* El botón Cotizar dentro del nav solo aparece en el menú móvil */
.header__cta-mobile {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  color: #fff;
  padding-top: 104px;
  overflow: hidden;
  background: #08101e;
}
/* Capas de fondo que se alternan en bucle (carrusel con fundido) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 16s infinite;
}
.hero__slide--1 {
  background-image: url("../assets/img/hero.jpg");
}
.hero__slide--2 {
  background-image: url("../assets/img/fondo2.jpg");
  animation-delay: -8s; /* desfasada media vuelta para el cruce */
}
@keyframes heroFade {
  0% { opacity: 1; }
  43% { opacity: 1; }
  50% { opacity: 0; }
  93% { opacity: 0; }
  100% { opacity: 1; }
}
/* Overlay de oscurecido sobre las imágenes (legibilidad del texto) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 16, 30, 0.8) 0%,
    rgba(8, 16, 30, 0.45) 50%,
    rgba(8, 16, 30, 0.15) 100%
  );
}
/* Respeta a quien prefiere menos animación */
@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    animation: none;
  }
  .hero__slide--1 {
    opacity: 1;
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: inline-block;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin-bottom: 1rem;
}
.hero__text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
}
.hero__stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Nosotros ---------- */
.about {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* Variante sin marco (imagen recortada/transparente) */
.about__media--plain img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-inline: auto;
}
/* Animación flotante suave */
.float-anim {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-anim {
    animation: none;
  }
}
.values {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.value {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.value__check {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.85rem;
}

/* ---------- Filtros (chips) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.chip:hover {
  border-color: var(--blue-500);
}
.chip.is-active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

/* ---------- Tarjetas de producto ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__badge {
  display: inline-block;
  margin: 0.75rem 0.75rem 0;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  flex: 1;
}
.product-card__line {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-500);
  font-weight: 600;
}
.product-card__name {
  font-size: 1.3rem;
}
.product-card__desc {
  color: var(--text-soft);
  font-size: 0.92rem;
  flex: 1;
}
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.6rem;
}
.product-card__foot {
  margin-top: 0.5rem;
}

/* ---------- Colores ---------- */
.colors__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
}
.search::before {
  content: "🔍";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.85rem;
}
.swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.swatch:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.swatch__color {
  height: 72px;
  position: relative;
}
.swatch__fav {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.swatch__info {
  padding: 0.5rem 0.6rem;
}
.swatch__name {
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.swatch__code {
  font-size: 0.72rem;
  color: var(--text-soft);
}

/* Simulador */
.simulator {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.sim-wall {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 520;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #cfd6df;
}
/* Foto real de la pared/habitación */
.sim-wall__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Capa de color que tiñe la foto (visualizador de pintura) */
.sim-wall__tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block; /* visible por defecto; se oculta solo si la foto falla */
  background: var(--blue-500);
  mix-blend-mode: multiply;
  opacity: 0.78;
  transition: background 0.3s ease;
  /* Máscara: solo la pared (blanco en wall-mask.png) recibe el color */
  -webkit-mask: url("../assets/img/wall-mask.png") center / cover no-repeat;
  mask: url("../assets/img/wall-mask.png") center / cover no-repeat;
}
/* Escena vectorial de respaldo (oculta si hay foto; se muestra si la foto falla) */
.sim-wall__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
}
/* La pared (vectorial) cambia de color con una transición suave */
#sim-wall-fill {
  transition: fill 0.3s ease;
}
.sim-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sim-panel h3 {
  margin-bottom: 0.5rem;
}
.sim-current {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}
.sim-current__dot {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ---------- Distribuidores ---------- */
.dist {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.dist__filters {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
.dist__filters .field--full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
#map {
  height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  z-index: 1;
}
.dist__list {
  display: grid;
  gap: 0.75rem;
  max-height: 380px;
  overflow-y: auto;
}
.dist-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--transition);
}
.dist-card:hover {
  border-color: var(--blue-500);
}
.dist-card h4 {
  margin-bottom: 0.2rem;
}
.dist-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}
.blog-card__body {
  padding: 1.25rem;
}
.blog-card__date {
  font-size: 0.78rem;
  color: var(--blue-500);
  font-weight: 600;
}
.blog-card__title {
  font-size: 1.1rem;
  margin: 0.4rem 0;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}
.contact__info {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.info-item__icon {
  font-size: 1.3rem;
}
.info-item strong {
  display: block;
  font-family: var(--font-display);
}
.info-item span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-900);
  color: #cdd8e6;
  padding-block: 3rem 1.5rem;
}
.footer a:hover {
  color: #fff;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
.footer h4 {
  color: #fff;
  margin-bottom: 0.9rem;
  font-size: 1rem;
}
.footer__links {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #93a4bb;
}
.footer__logo img {
  height: 48px;
  margin-bottom: 1rem;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Animaciones de scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Modal de color ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(13, 34, 64, 0.55);
  padding: 1rem;
}
.modal.is-open {
  display: grid;
}
.modal__box {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.modal__swatch {
  height: 120px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* En móvil el header mantiene altura estable para anclar el menú */
  .header__inner,
  .header.is-scrolled .header__inner {
    height: 80px;
  }
  .header__logo-full {
    height: 56px;
  }
  .header.is-scrolled .header__logo-icon {
    height: 48px;
  }
  .hero {
    padding-top: 80px;
  }
  .nav,
  .header__cta-desktop {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    transform: translateY(-130%);
    transition: transform var(--transition);
    box-shadow: var(--shadow);
  }
  .nav.is-open {
    transform: translateY(0);
  }
  .nav__link {
    padding: 0.85rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: inline-grid;
  }
  .header__cta-desktop {
    display: none;
  }
  .header__cta-mobile {
    display: inline-flex;
    margin-top: 0.5rem;
  }
}

@media (min-width: 700px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .about {
    grid-template-columns: 1fr 1fr;
  }
  .simulator {
    grid-template-columns: 1.4fr 1fr;
  }
  .dist {
    grid-template-columns: 1.2fr 1fr;
  }
  .contact {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* ---------- Ficha técnica (producto.html) ---------- */
.pdp {
  padding-top: 96px;
}
.pdp__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.pdp__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: var(--shadow);
}
.pdp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.spec-table th {
  color: var(--text-soft);
  font-weight: 600;
  width: 40%;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
/* Chip de color en la ficha de producto */
.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  padding: 0.25rem 0.6rem 0.25rem 0.3rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
}
.color-chip__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
@media (min-width: 900px) {
  .pdp__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}
