:root {
  --brand-dark: #000000;
  --brand-dark-2: #000000;
  --brand-white: #ffffff;
  --page-bg: #f5f5f5;
  --brand-accent: #bc1c1b; /* rojo oficial de marca */
  --container-max: 1200px;
  --container-pad: 3rem;
  --rail-w: 22.5px;
  --container-gutter: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 - var(--rail-w)));
}

/* Contenedor centrado — usar en cualquier sección que deba quedar "boxed" */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0 var(--rail-w);
  font-family: 'Raleway', 'Arial', system-ui, sans-serif;
  line-height: 1.25; /* interlineado unificado para todo el sitio */
  color: var(--brand-dark);
  background: var(--page-bg);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20; /* por encima del hero-slider, para que el menú mobile no quede tapado */
  display: flex;
  align-items: center;
  color: var(--brand-white);
  padding: 1.1rem var(--container-gutter); /* fondo edge-to-edge; el contenido queda boxed/centrado */
}

/* ===== Efecto de líneas diagonales entrecruzadas, una sola placa continua =====
   background-attachment:fixed ancla el patrón a la ventana del navegador
   (no a cada caja), así el header y el panel del slider —aunque son cajas
   negras separadas— muestran la misma trama sin corte visible, como si
   fueran una única superficie con dos recortes. */
.site-header,
.hero-slide__text-stack {
  background-color: var(--brand-dark);
  background-image:
    repeating-linear-gradient(115deg, transparent 0, transparent 90px, rgba(255, 255, 255, 0.07) 91px, rgba(255, 255, 255, 0.07) 93px, transparent 94px, transparent 170px),
    repeating-linear-gradient(65deg, transparent 0, transparent 110px, rgba(255, 255, 255, 0.05) 111px, rgba(255, 255, 255, 0.05) 113px, transparent 114px, transparent 210px);
  background-repeat: repeat, repeat;
  background-attachment: fixed, fixed;
  background-size: 220vw 220vh, 220vw 220vh;
  background-position: 0% 0%;
  animation: lines-drift 22s linear infinite alternate;
}

@keyframes lines-drift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 6% 4%; }
  100% { background-position: -4% 6%; }
}

.site-header nav {
  /* posición absoluta para que el inicio del menú coincida siempre con el
     arranque de la foto del slider (mismo ancho fijo que .hero-slide__left),
     sin depender del ancho del logo */
  position: absolute;
  left: calc(560px + var(--container-gutter));
  top: 50%;
  transform: translateY(-50%);
}

.site-header .logo {
  display: block;
  line-height: 0;
}

.site-header .logo img {
  height: 28px;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--brand-accent);
}

/* botón hamburguesa: oculto en desktop, se usa solo en mobile */
.menu-toggle {
  display: none;
  margin-left: auto; /* empuja el botón al borde derecho del header */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-white);
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero slider ===== */
.hero-slider {
  position: relative;
  display: grid;
  grid-template-columns: min(calc(560px + var(--container-gutter)), 90%) 1fr;
  grid-template-rows: 240px 1fr;
  grid-template-areas:
    "text  image"
    "bottom image";
  height: 384px; /* 480px - 20% */
}

.hero-slide__text-stack {
  grid-area: text;
  position: relative;
  overflow: hidden;
}

.hero-slide__text {
  position: absolute;
  inset: 0;
  color: var(--brand-white);
  padding: 3rem 3rem 2rem var(--container-gutter);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide__text.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bottom {
  grid-area: bottom;
  background: var(--page-bg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 3rem 1.5rem var(--container-gutter);
}

/* --- la foto, en su propio carril que se desliza --- */
.hero-slider__imagewrap {
  grid-area: image;
  overflow: hidden;
  position: relative;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
}

.hero-slide__title {
  font-size: 2.646rem; /* +5% otra vez */
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero-slide__desc {
  font-size: 1.19072rem; /* 1.4884rem - 20% */
  opacity: 0.9;
  margin: 0 0 2rem;
  max-width: 32ch;
}

.hero-slide__cta {
  display: inline-block;
  background: var(--brand-dark);
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 1rem 1.6rem;
}

.hero-slide__cta:hover {
  background: var(--brand-accent);
}

.hero-slide__image {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* placeholder visual hasta tener las fotos reales */
.hero-slide__image--placeholder {
  background-image: repeating-linear-gradient(
    45deg,
    #3a2f2c,
    #3a2f2c 18px,
    #443833 18px,
    #443833 36px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide__image-label {
  background: rgba(0, 0, 0, 0.55);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ===== Franja de confianza (5 datos duros) ===== */
.trust-bar {
  padding: 3rem 0;
}

.trust-bar__inner {
  display: flex;
  padding: 0 var(--container-gutter); /* mismo boxed que header/hero, ancho completo */
}

.trust-bar__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-left: 4px solid var(--brand-accent); /* línea más ancha */
  overflow: hidden;
  cursor: default;
}

/* caja roja que se desliza desde la línea vertical y cubre el ítem */
.trust-bar__fill {
  position: absolute;
  inset: 0;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease;
  z-index: 0;
}

.trust-bar__item:hover .trust-bar__fill,
.trust-bar__item.is-in-view .trust-bar__fill {
  transform: scaleX(1);
}

.trust-bar__content {
  position: relative;
  z-index: 1;
  padding: 0.5rem 1.5rem 0;
}

.trust-bar__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-bottom: 1rem;
}

svg.trust-bar__icon {
  width: 44px;
  height: 44px;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.7s ease;
}

.trust-bar__item:hover svg.trust-bar__icon,
.trust-bar__item.is-in-view svg.trust-bar__icon {
  stroke: var(--brand-white);
}

.trust-bar__label {
  margin: 0;
  padding-bottom: 0.5rem;
  color: var(--brand-accent);
  font-weight: 800;
  font-size: 1.15rem; /* tipografía más grande */
  line-height: 1.25;
  transition: color 0.7s ease;
}

.trust-bar__item:hover .trust-bar__label,
.trust-bar__item.is-in-view .trust-bar__label {
  color: var(--brand-white);
}

/* ===== Grilla de productos (3 tarjetas, apiladas y de punta a punta) ===== */
.products-grid {
  padding: 1rem 0 4rem;
}

.products-grid__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  display: block;
  color: var(--brand-white);
  text-decoration: none;
}

.product-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__bg {
  transform: scale(1.05);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 85%);
}

/* tira de material a la derecha, textura repetida verticalmente (mismo recurso que los rieles del intro) */
.product-card__material {
  position: absolute;
  inset: 0 0 0 auto; /* top/right/bottom en 0, altura 100% garantizada */
  height: 100%;
  width: 130px; /* más ancha */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.product-card__content {
  position: absolute;
  left: 0;
  top: 0;
  right: 130px;
  padding: 2rem 2rem 0 var(--container-gutter); /* texto boxed, alineado con el resto del sitio */
  z-index: 2;
}

.product-card__title {
  margin: 0 0 0.6rem;
  font-size: 2.3rem;
  font-weight: 800;
}

.product-card__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  opacity: 0.95;
  max-width: 34ch;
}

.product-card__arrow {
  position: absolute;
  left: var(--container-gutter);
  bottom: 1.75rem;
  z-index: 2;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.product-card__arrow svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ===== Motorización (3 tarjetas en fila, fondo claro) ===== */
.motor-grid {
  padding: 1rem 0 4rem;
}

.motor-grid__inner {
  padding: 0 var(--container-gutter);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-accent);
}

.section-heading__arrow {
  width: 30px;
  height: 30px;
  stroke: var(--brand-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.motor-grid__cards {
  display: flex;
  align-items: flex-start; /* si no, "stretch" ignora el aspect-ratio cuadrado */
  gap: 1.5rem;
}

.motor-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1; /* cajas cuadradas */
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: var(--brand-white);
}

.motor-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.motor-card:hover .motor-card__bg {
  transform: scale(1.08);
}

.motor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.35) 100%);
}

.motor-card__label {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.75rem 0;
}

.motor-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.motor-card__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0.95;
  max-width: 34ch;
}

.motor-card__arrow {
  position: absolute;
  left: 1.75rem;
  bottom: 1.5rem;
  z-index: 2;
  display: inline-flex;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.motor-card:hover .motor-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.motor-card__arrow svg {
  width: 34px;
  height: 34px;
  stroke: var(--brand-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ===== Empresa (fondo de punta a punta, contenido boxed en 3 columnas) ===== */
/* Envoltorio que comparte un único fondo continuo entre .about-section y .clients-carousel */
.about-clients-bg {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.about-section {
  padding: 4rem 0;
}

.about-section__inner {
  display: grid;
  grid-template-columns: 45fr 35fr 20fr; /* fr reparte el ancho descontando el gap; % + gap desbordaba */
  align-items: center;
  gap: 3rem;
  padding: 0 var(--container-gutter);
}

.about-col--trucks {
  min-width: 0;
}

.about-col--trucks img {
  display: block;
  width: 100%;
  height: auto;
}

.about-col--text {
  min-width: 0;
}

.about-col__eyebrow {
  position: relative;
  margin: 0 0 1rem;
  padding-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.about-col__eyebrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--brand-accent);
}

.about-col__title {
  margin: 0 0 1.25rem;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-dark);
}

.about-col__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--brand-dark);
}

.about-col__quote {
  color: var(--brand-accent);
}

.about-col--banner {
  min-width: 0;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.18); /* línea divisoria gris */
}

.about-col--banner img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.25rem;
  padding-right: 30px;
  box-sizing: border-box;
}

.about-banner-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  max-width: 160px;
  margin: 0;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-accent);
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-banner-cta:hover {
  background: #9c1717;
  transform: translateY(-2px);
}

.about-banner-cta svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ===== Carrusel de logos de clientes ===== */
.clients-carousel {
  padding: 2.5rem 0 60px;
}

.clients-carousel__title {
  margin: 0 0 1.5rem;
  padding: 0 var(--container-gutter);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-dark);
  opacity: 0.6;
}

.clients-carousel__viewport {
  overflow: hidden;
  /* difumina los bordes para que el loop no se note al entrar/salir */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.clients-carousel__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clients-scroll 40s linear infinite;
}

.clients-carousel__viewport:hover .clients-carousel__track {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* la mitad, porque el track tiene el set de logos duplicado */
}

.clients-carousel__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 169px; /* 130px + 30% */
  height: 91px; /* 70px + 30% */
  padding: 0 1.5rem;
}

.clients-carousel__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.clients-carousel__logo img:hover {
  transform: scale(1.08);
}

/* retoque fino: estos 3 se veían grandes respecto del resto */
.clients-carousel__logo img.clients-carousel__logo-img--sm {
  max-width: 80%;
  max-height: 80%;
}

/* Toyota: 10% adicional sobre el --sm de arriba (queda en 72% del total) */
.clients-carousel__logo img.clients-carousel__logo-img--sm2 {
  max-width: 72%;
  max-height: 72%;
}

/* ===== Tarjetas flotantes de features (antes del footer) ===== */
.feature-cards {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem; /* flota sobre el final de .about-section, con más aire arriba */
  margin-bottom: -3rem; /* y también pisa el inicio del footer */
  padding: 0 var(--container-gutter);
}

.feature-cards__box {
  display: flex;
  background: var(--brand-white);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  padding: 1.75rem 1rem;
}

.feature-cards__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0 1.25rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-cards__item:first-child {
  border-left: none;
}

.feature-cards__item svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 0.1rem;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-cards__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.feature-cards__item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--brand-dark);
  opacity: 0.7;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1; /* por debajo de .feature-cards, que la pisa */
  background: var(--brand-dark);
  color: var(--brand-white);
  padding-top: 6.5rem; /* 3.5rem propio + 3rem que "pisan" las tarjetas */
}

.site-footer__top {
  display: flex;
  gap: 2.5rem;
  padding: 0 var(--container-gutter) 2.5rem;
}

.site-footer__brand {
  flex: 0 0 26%;
}

.site-footer__logo-img {
  display: block;
  width: 100%;
  max-width: 133px;
  height: auto;
  margin: -25px 0 0.4rem;
}

.site-footer__desc {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.75;
  max-width: 32ch;
}

.site-footer__flag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--brand-accent);
}

.site-footer__flag-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
}

.site-footer__flag strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.site-footer__flag p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

.site-footer__col {
  flex: 1 1 0;
  min-width: 0;
}

.site-footer__col h3 {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-footer__col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand-accent);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__col a {
  color: var(--brand-white);
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer__col a:hover {
  opacity: 1;
  color: var(--brand-accent);
}

.site-footer__col a::before {
  content: '\203A';
  color: var(--brand-accent);
  font-weight: 800;
  margin-right: 0.4rem;
}

.site-footer__contact ul {
  gap: 0.9rem;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  opacity: 0.85;
}

.site-footer__contact svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  stroke: var(--brand-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.site-footer__badges {
  display: flex;
  gap: 2rem;
  margin: 0 var(--container-gutter);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.site-footer__badge {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-footer__badge svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  stroke: var(--brand-white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.site-footer__badge strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.site-footer__badge p {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.65;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem var(--container-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  opacity: 0.7;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.site-footer__social a:hover {
  background: var(--brand-accent);
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-white);
  stroke-width: 1.6;
  fill: none;
}

/* controles: viven dentro de la franja blanca (.hero-slide__bottom), no flotan sobre la imagen */
.hero-slider__controls {
  display: flex;
  gap: 0.7rem;
  margin-left: auto;
}

.hero-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-dark);
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-slider__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-slider__arrow:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

@media (max-width: 720px) {
  :root {
    --rail-w: 10px;       /* 1) rieles más finos */
    --container-pad: 1.1rem; /* 2) boxed más chico */
  }

  .menu-toggle { display: flex; }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    padding: 0.5rem 0 1rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .site-header nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0s;
  }

  .site-nav {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a {
    display: block;
    padding: 0.9rem var(--container-gutter);
  }

  /* 3) texto arriba, foto en el medio, botón + flechas debajo de la foto */
  .hero-slider {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "text"
      "image"
      "bottom";
  }

  .hero-slide__text-stack { min-height: 210px; } /* fila "auto": sin esto colapsa, el texto es position:absolute */
  .hero-slider__imagewrap { height: 220px; }

  .hero-slide__bottom {
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.25rem var(--container-gutter);
  }

  .hero-slide__title { font-size: 1.8rem; }

  .site-header .logo img { height: 22.4px; } /* 28px - 20% */

  .trust-bar__inner { flex-direction: column; gap: 1.25rem; padding: 0 var(--container-gutter); }
  .trust-bar__item {
    flex: 0 1 auto; /* en columna, "flex:1 1 0" colapsa el alto a 0 junto con overflow:hidden */
    border-left: none;
    border-top: 4px solid var(--brand-accent);
  }
  .trust-bar__fill { transform: scaleY(0); transform-origin: top; } /* barrido vertical, a tono con la línea horizontal */
  .trust-bar__item:hover .trust-bar__fill,
  .trust-bar__item.is-in-view .trust-bar__fill { transform: scaleY(1); }

  /* ícono a la izquierda, frase a la derecha: menos alto por caja */
  .trust-bar__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
  }
  .trust-bar__icon { margin-bottom: 0; flex-shrink: 0; }
  .trust-bar__label { padding-bottom: 0; }

  .product-card { min-height: 280px; }
  .product-card__material { width: 75px; }
  .product-card__content { right: 75px; padding: 1.25rem 1.25rem 0 var(--container-gutter); }
  .product-card__title { font-size: 1.4rem; }

  .motor-grid__cards { flex-direction: column; }
  .motor-card { flex: 0 1 auto; width: 100%; } /* flex:1 1 0 colapsa el alto a 0 en columna */

  .about-section__inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 var(--container-gutter); }
  .about-col--trucks {
    width: calc(100% + var(--container-gutter) * 2);
    margin-left: calc(var(--container-gutter) * -1);
    padding: 0 20px;
    box-sizing: border-box;
    order: 1;
  }
  .about-col--text { order: 2; }
  .about-col--banner {
    width: calc(100% + var(--container-gutter) * 2);
    margin-left: calc(var(--container-gutter) * -1);
    padding-left: 0;
    border-left: none;
    order: 3;
  }
  .about-col--banner img { max-width: 100%; padding: 0 20px; box-sizing: border-box; }
  .about-banner-cta { margin: 0 0 0 30px; }
  .about-col__title { font-size: 1.4rem; }

  .feature-cards { margin-top: -1.5rem; margin-bottom: -1.5rem; }
  .site-footer { padding-top: 5rem; }
  .feature-cards__box { flex-direction: column; gap: 1.25rem; padding: 1.5rem 1.25rem; }
  .feature-cards__item { border-left: none; padding: 1rem 0 0; border-top: 1px solid rgba(0, 0, 0, 0.1); }
  .feature-cards__item:first-child { border-top: none; padding-top: 0; }

  .site-footer__top { flex-direction: column; gap: 2rem; }
  .site-footer__brand { flex-basis: auto; }
  .site-footer__badges { flex-direction: column; gap: 1.25rem; margin: 0 var(--container-gutter); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ===== Modal del cotizador ===== */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.quote-modal.is-open {
  display: block;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.quote-modal__panel {
  position: relative;
  width: min(1200px, 94vw);
  max-height: min(92vh, 900px);
  margin: 4vh auto;
  overflow-y: auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.quote-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #27272a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quote-modal__close:hover {
  background: var(--brand-accent);
}

body.quote-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .quote-modal__panel {
    width: 100vw;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
  }
}

/* ===== Aparición sutil al hacer scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* escalonado leve entre elementos de un mismo grupo (tarjetas) */
.products-grid__inner .reveal:nth-child(2) { transition-delay: 0.1s; }
.products-grid__inner .reveal:nth-child(3) { transition-delay: 0.2s; }

.motor-grid__cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.motor-grid__cards .reveal:nth-child(3) { transition-delay: 0.2s; }

.feature-cards__box .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-cards__box .reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-cards__box .reveal:nth-child(4) { transition-delay: 0.24s; }
.feature-cards__box .reveal:nth-child(5) { transition-delay: 0.32s; }

.about-section .about-col--text.reveal { transition-delay: 0.1s; }
.about-section .about-col--banner.reveal { transition-delay: 0.2s; }

.empresa-historia__text.reveal { transition-delay: 0.1s; }

.empresa-cifras__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.empresa-cifras__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.empresa-cifras__grid .reveal:nth-child(4) { transition-delay: 0.18s; }

.productos-tablillas__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.productos-tablillas__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.productos-tablillas__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.productos-motor__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.productos-motor__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.productos-accesorios__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.productos-accesorios__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.productos-accesorios__grid .reveal:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Página Empresa ===== */

.site-nav a.is-active {
  color: var(--brand-accent);
}

/* Banner de apertura de página interior */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.25) 100%);
}

.page-banner__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-gutter);
  color: var(--brand-white);
  max-width: 700px;
}

.page-banner__breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.page-banner__breadcrumb a {
  color: var(--brand-white);
  text-decoration: none;
}

.page-banner__breadcrumb a:hover {
  text-decoration: underline;
}

.page-banner__title {
  margin: 0 0 1rem;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.page-banner__desc {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Intro: texto + 5 fotos en listones (bleed contra el borde derecho) */
.empresa-intro {
  display: flex;
  align-items: stretch; /* las fotos se estiran para igualar el alto natural de la columna de texto */
}

.empresa-intro__col--text {
  flex: 0 0 40%;
  min-width: 0;
  padding: 3rem var(--container-pad) 3rem var(--container-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto; /* por si el texto no entra en el alto fijo en pantallas muy bajas */
}

.empresa-intro__title {
  margin: 0 0 1.25rem;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-accent);
}

.empresa-intro__desc {
  margin: 0 0 2rem;
  max-width: 46ch;
  line-height: 1.55;
  color: var(--brand-dark);
}

.empresa-intro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.empresa-intro__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--brand-accent);
}

.empresa-intro__badge svg {
  width: 32px;
  height: 32px;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.empresa-intro__badge span {
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--brand-dark);
}

.empresa-intro__col--photos {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
}

.empresa-intro__photo {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.empresa-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Franja negra "Inducort... de las buenas, la mejor!" — boxed a la izquierda, bleed a la derecha */
.empresa-cta-band {
  padding-left: var(--container-gutter);
  background: var(--page-bg);
}

.empresa-cta-band__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--brand-dark);
  padding: 2.75rem 3rem;
}

.empresa-cta-band__text {
  margin: 0;
  color: var(--brand-white);
  font-size: 2rem;
  font-weight: 800;
}

.empresa-cta-band__break {
  display: none; /* el salto de línea es solo para mobile */
}

.empresa-cta-band__gear {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--brand-accent);
  animation: gear-spin 8s linear infinite;
}

@keyframes gear-spin {
  to { transform: rotate(360deg); }
}

/* Equipo (40%) + Nuestra fábrica (60%) — una sola sección en dos columnas */
.empresa-equipo-fabrica {
  padding: 4rem 0;
  background: var(--page-bg);
}

.empresa-equipo-fabrica__inner {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 3rem;
  align-items: start;
  padding: 0 var(--container-gutter);
}

.empresa-equipo-fabrica__col--equipo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.empresa-historia__photo-placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
}

.empresa-historia__photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.empresa-historia__title {
  margin: 0.5rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.empresa-historia__text p {
  margin: 0 0 1rem;
  line-height: 1.5;
  color: var(--brand-dark);
}

.empresa-galeria__intro {
  max-width: 60ch;
  margin: 0 0 2rem;
  line-height: 1.5;
  color: var(--brand-dark);
}

.empresa-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px;
  gap: 0.75rem;
}

.empresa-galeria__photo {
  position: relative;
  overflow: hidden; /* recorta el microzoom de la imagen en hover */
}

.empresa-galeria__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.empresa-galeria__photo:hover img {
  transform: scale(1.08);
}

.empresa-galeria__photo[data-lightbox].has-lightbox {
  cursor: zoom-in;
}

/* Lightbox genérico (galería de fábrica) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001; /* por encima de los rieles */
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-overlay__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-overlay__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-overlay__nav:hover {
  background: var(--brand-accent);
}

.lightbox-overlay__nav--prev {
  left: 1.25rem;
}

.lightbox-overlay__nav--next {
  right: 1.25rem;
}

.lightbox-overlay__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--brand-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  opacity: 0.8;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .lightbox-overlay__nav { width: 42px; height: 42px; font-size: 1rem; }
  .lightbox-overlay__nav--prev { left: 0.5rem; }
  .lightbox-overlay__nav--next { right: 0.5rem; }
}

/* A quién le fabricamos (60%) + Cifras (40%) — una sola sección en dos columnas */
.empresa-publicos-cifras {
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.empresa-publicos-cifras__inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 3rem;
  align-items: start;
  padding: 0 var(--container-gutter);
}

/* Cifras (mismo efecto de relleno rojo que el trust-bar), en grilla 2x2 */
.empresa-cifras__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.9rem; /* alinea con el section-heading de la columna izquierda */
}

.numero-item {
  position: relative;
  min-width: 0;
  background: var(--brand-accent);
  cursor: default;
  transition: transform 0.3s ease;
}

.numero-item:hover,
.numero-item.is-in-view {
  transform: scale(0.94);
}

.numero-item__fill {
  display: none; /* la tarjeta ya nace roja: no hace falta el barrido de relleno */
}

.numero-item__content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.numero-item__value {
  margin: 0 0 0.4rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-white);
}

.numero-item__label {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-white);
}

.empresa-publicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.empresa-publicos__item strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.empresa-publicos__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--brand-dark);
  opacity: 0.75;
}

/* Logos de clientes en grilla */
.empresa-clientes {
  padding: 4rem 0;
  background: var(--page-bg);
}

.empresa-clientes__inner {
  padding: 0 var(--container-gutter);
}

.empresa-clientes__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.empresa-clientes__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--brand-white);
  border-radius: 8px;
  padding: 1rem;
}

.empresa-clientes__logo img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.empresa-clientes__logo img:hover {
  transform: scale(1.08);
}

.empresa-clientes__logo img.empresa-clientes__logo-img--sm {
  max-width: 62%;
  max-height: 55%;
}

.empresa-clientes__logo img.empresa-clientes__logo-img--sm2 {
  max-width: 56%;
  max-height: 48%;
}

/* CTA de cierre */
.empresa-cta {
  position: relative;
  padding: 5rem 0;
  background-color: var(--brand-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--brand-white);
  text-align: center;
}

.empresa-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.empresa-cta__inner {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-gutter);
}

.empresa-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.empresa-cta p {
  margin: 0 0 1.5rem;
  opacity: 0.8;
}

.empresa-cta__btn {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 1rem 2rem;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.empresa-cta__btn:hover {
  background: #9c1717;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .page-banner { min-height: 260px; padding: 2rem 0; }
  .page-banner__title { font-size: 1.6rem; }

  .empresa-intro { flex-direction: column; height: auto; }
  .empresa-intro__col--text { flex: 0 1 auto; width: 100%; padding: 25px var(--container-gutter) 1.25rem; overflow: visible; order: 2; }
  .empresa-intro__badges { display: none; }
  .empresa-intro__col--photos { flex: 0 1 auto; width: 100%; height: 260px; order: 1; }

  .empresa-cta-band { padding: 0; }
  .empresa-cta-band__box { flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem 1.5rem; border-radius: 0; }
  .empresa-cta-band__text { font-size: 1.3rem; }
  .empresa-cta-band__break { display: block; }
  .empresa-cta-band__gear { width: 44px; height: 44px; order: -1; }

  .empresa-equipo-fabrica { padding-top: 20px; }
  .empresa-equipo-fabrica__inner { grid-template-columns: 1fr; gap: 1.25rem; }

  .empresa-galeria__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }

  .empresa-publicos-cifras { padding-top: 0; border-top: none; }
  .empresa-publicos-cifras__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .empresa-cifras__grid { margin-top: 0.25rem; }
  .numero-item__value { font-size: 2.2rem; }
  .numero-item__content { padding: 0.5rem 1rem 1rem; }

  .empresa-publicos__grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .empresa-clientes { padding-top: 1.25rem; }
  .empresa-clientes__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  /* logos 20% más grandes en mobile */
  .empresa-clientes__logo img { max-width: 96%; max-height: 84%; }
  .empresa-clientes__logo img.empresa-clientes__logo-img--sm { max-width: 74%; max-height: 66%; }
  .empresa-clientes__logo img.empresa-clientes__logo-img--sm2 { max-width: 67%; max-height: 58%; }
}

/* ===== Página Productos ===== */

/* Encabezado: texto boxed (40%) + foto bleed contra el borde derecho */
.productos-header {
  display: flex;
  align-items: stretch;
  height: 346px; /* 384px del .hero-slider del Home, 10% menos */
}

.productos-header__col--text {
  flex: 0 0 40%;
  min-width: 0;
  padding: 4rem var(--container-pad) 4rem var(--container-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.productos-header__title {
  margin: 0 0 1.25rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.productos-header__desc {
  margin: 0 0 2rem;
  max-width: 46ch;
  line-height: 1.55;
  color: var(--brand-dark);
}

.productos-header__col--photo {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--page-bg);
}

.productos-header__col--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.productos-header__col--photo-top {
  object-position: top;
}

.productos-header__photo-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
}

/* Tablillas: grilla de 4 modelos */
.productos-tablillas {
  padding: 4rem 0;
}

.productos-tablillas__inner {
  padding: 0 var(--container-gutter);
}

.productos-tablillas__grid {
  display: grid;
  grid-template-columns: 22fr 22fr 22fr 34fr; /* fr reparte el ancho descontando el gap */
  align-items: start;
  gap: 2rem;
  margin-top: 2rem;
}

/* la línea divisoria va como border-right en todos menos el último, así el primer
   ítem queda flush contra el borde del boxed y el ancho de contenido de las
   fotos (col. 1, 2 y 3) queda parejo entre sí */
.productos-tablillas__grid > *:not(:last-child) {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.producto-tablilla__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.producto-tablilla__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--brand-accent);
  color: var(--brand-white);
  font-weight: 800;
  font-size: 0.9rem;
}

.producto-tablilla__head strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.producto-tablilla__photo {
  aspect-ratio: 5 / 4;
  margin-bottom: 1rem;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
}

.producto-tablilla__photo--img {
  aspect-ratio: auto; /* la foto real define su propio alto: se ve completa, sin recortar */
  padding: 0;
  overflow: hidden;
}

.producto-tablilla__photo[data-lightbox].has-lightbox {
  cursor: zoom-in;
}

.producto-tablilla__photo--img img {
  display: block;
  width: 100%;
  height: auto;
}

.producto-tablilla__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0.6rem;
  stroke: var(--brand-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.producto-tablilla p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--brand-dark);
  opacity: 0.8;
}

/* Tarjeta de alerta "no todas las tablillas son iguales" (40% de la grilla) */
.producto-alerta {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.producto-alerta__top {
  background: var(--page-bg);
  padding: 1.5rem;
}

.producto-alerta__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.producto-alerta__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.producto-alerta__badge svg {
  width: 100%;
  height: 100%;
  fill: var(--brand-accent);
  stroke: var(--brand-white);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.producto-alerta__badge-dot {
  fill: var(--brand-white);
}

.producto-alerta__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-dark);
}

.producto-alerta__title span {
  color: var(--brand-accent);
}

.producto-alerta__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.producto-alerta__row-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.6;
}

.producto-alerta__row span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.producto-alerta__stat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.producto-alerta__stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand-accent);
}

.producto-alerta__stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.producto-alerta__stat-value {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.producto-alerta__stat-value strong {
  color: var(--brand-accent);
}

.producto-alerta__stat-note {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--brand-dark);
  opacity: 0.65;
}

.producto-alerta__meaning {
  padding-top: 0.5rem;
}

.producto-alerta__meaning strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.producto-alerta__meaning ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--brand-dark);
  opacity: 0.75;
}

.producto-alerta__bottom {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 1.5rem;
}

.producto-alerta__bottom-head {
  margin-bottom: 1.25rem;
}

.producto-alerta__bottom-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.producto-alerta__bottom-head strong {
  color: var(--brand-accent);
}

.producto-alerta__bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.producto-alerta__bottom-grid > div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.75rem;
}

.producto-alerta__bottom-grid > div:first-child {
  border-left: none;
  padding-left: 0;
}

.producto-alerta__bottom-grid svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  stroke: var(--brand-white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.producto-alerta__bottom-grid strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
}

.producto-alerta__bottom-grid span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  opacity: 0.75;
}

/* Componentes de fabricación: foto + lista numerada + callout negro */
.productos-componentes {
  padding: 1.25rem 0 4rem;
  background: var(--page-bg);
}

.productos-componentes__inner {
  margin: 0 var(--container-gutter);
  padding: 1.5rem;
  border: 2px solid var(--brand-dark);
  background: #ecedec;
}

.productos-componentes__grid {
  display: grid;
  grid-template-columns: 20fr 40fr 40fr;
  gap: 2.5rem;
  align-items: stretch;
}

.productos-componentes__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* la foto se ve completa, sin recortar */
}

.productos-componentes__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.productos-componentes__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.productos-componentes__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--brand-white);
  font-weight: 800;
  font-size: 0.85rem;
}

.productos-componentes__list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.productos-componentes__list p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--brand-dark);
  opacity: 0.75;
}

.productos-componentes__callout {
  order: -1;
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 2rem 1.5rem;
}

.productos-componentes__callout svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.productos-componentes__callout strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.productos-componentes__callout p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
}

@media (max-width: 720px) {
  .productos-header { flex-direction: column; height: auto; }
  .productos-header__col--text { flex: 0 1 auto; width: 100%; padding: 2.5rem var(--container-gutter); }
  .productos-header__col--photo { width: 100%; height: 220px; }

  .productos-tablillas__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .productos-tablillas__grid > *:not(:last-child) { padding-right: 0; border-right: none; }
  .producto-tablilla { padding-top: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.12); }
  .producto-tablilla:first-child { border-top: none; padding-top: 0; }

  .producto-alerta { margin-top: 0.5rem; }
  .producto-alerta__bottom-grid { grid-template-columns: 1fr; gap: 1rem; }
  .producto-alerta__bottom-grid > div { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 0.75rem; }
  .producto-alerta__bottom-grid > div:first-child { border-top: none; padding-top: 0; }

  .productos-componentes__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .productos-componentes__photo { order: 1; }
  .productos-componentes__list { order: 2; }
  .productos-componentes__callout { order: 3; }
}

/* Motorización */
.productos-motor {
  padding: 2rem 0 4rem;
}

.productos-motor__inner {
  padding: 0 var(--container-gutter);
}

.productos-motor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

/* divisor como pseudo-elemento posicionado en el gap: así no resta ancho de
   contenido a los ítems (padding/border en el propio item angostaba esas
   columnas frente a la última, que quedaba con la foto más grande) */
.productos-motor__grid > *:not(:last-child) {
  position: relative;
}

.productos-motor__grid > *:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1.25rem;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.producto-motor__photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
}

.producto-motor__photo--img {
  padding: 0;
  overflow: hidden;
}

.producto-motor__photo[data-lightbox].has-lightbox {
  cursor: zoom-in;
}

.producto-motor__photo--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-motor__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 0.75rem;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.producto-motor h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-dark);
}

.producto-motor p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--brand-dark);
  opacity: 0.8;
}

.producto-motor p strong {
  opacity: 1;
  color: var(--brand-dark);
}

@media (max-width: 720px) {
  .productos-motor__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .productos-motor__grid > *:not(:last-child)::after { display: none; }
  .producto-motor { padding-top: 1.5rem; border-top: 1px solid rgba(0, 0, 0, 0.12); }
  .producto-motor:first-child { border-top: none; padding-top: 0; }
}

/* Accesorios y componentes */
.productos-accesorios {
  padding: 2rem 0 4rem;
}

.productos-accesorios__inner {
  padding: 0 var(--container-gutter);
}

.productos-accesorios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.producto-accesorio {
  background: var(--brand-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 1.25rem;
}

.producto-accesorio__photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
}

.producto-accesorio__photo:has(img) {
  background: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.producto-accesorio__photo[data-lightbox].has-lightbox {
  cursor: zoom-in;
}

.producto-accesorio__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-accesorio__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 0.75rem;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.producto-accesorio h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.producto-accesorio p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--brand-dark);
  opacity: 0.75;
}

/* Franja final: 4 puntos fuertes + CTA */
.productos-final {
  padding: 0 0 4rem;
}

.productos-final__box {
  display: flex;
  align-items: stretch;
  margin: 0 var(--container-gutter);
}

.productos-final__features {
  flex: 1 1 auto;
  display: flex;
  background: var(--page-bg);
}

.productos-final__feature {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.575rem 1rem;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.productos-final__feature:last-child {
  border-right: none;
}

.productos-final__feature svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.productos-final__feature strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.productos-final__feature span {
  display: block;
  font-size: 0.75rem;
  color: var(--brand-dark);
  opacity: 0.65;
}

.productos-final__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  text-decoration: none;
}

.productos-final__cta-msg {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 1.125rem 1.5rem;
}

.productos-final__cta-msg svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  stroke: var(--brand-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.productos-final__cta-msg strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.productos-final__cta-msg strong span {
  color: var(--brand-accent);
  font-weight: 800;
}

.productos-final__cta-msg > div > span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  opacity: 0.75;
}

.productos-final__cta-btn {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-accent);
  color: var(--brand-white);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: background 0.25s ease;
}

.productos-final__cta:hover .productos-final__cta-btn {
  background: #9c1717;
}

.productos-final__cta-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 720px) {
  .productos-accesorios__grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .productos-final__box { flex-direction: column; margin: 0 var(--container-gutter); }
  .productos-final__features { flex-wrap: wrap; }
  .productos-final__feature { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.12); padding: 1.25rem 0.75rem; }
  .productos-final__feature:nth-child(2n) { border-left: 1px solid rgba(0, 0, 0, 0.12); }
  .productos-final__cta { flex-direction: column; }
  .productos-final__cta-msg { flex: 0 0 auto; }
  .productos-final__cta-btn { flex: 0 0 auto; padding: 1rem; }
}

/* Preguntas frecuentes: acordeón */
.productos-faq {
  padding: 4rem 0;
}

.productos-faq__inner {
  padding: 0 var(--container-gutter);
}

.faq-list {
  margin-top: 1rem;
  column-count: 1;
}

.faq-item {
  break-inside: avoid;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-dark);
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--brand-accent);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer p {
  margin: 0 0 1.25rem;
  max-width: 65ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--brand-dark);
  opacity: 0.8;
}

@media (max-width: 720px) {
  .faq-list { column-count: 1; }
}

/* ===== Página Servicios ===== */

/* 4 filas: foto bleed a la izquierda + contenido boxed a la derecha */
.servicios-list {
  padding: 2rem 0;
}

.servicio-row {
  display: flex;
  align-items: stretch; /* la fila toma el alto que necesita la columna de texto; la foto se estira para igualarlo */
}

.servicio-row:nth-child(odd) {
  background: var(--brand-white);
}

.servicio-row__photo {
  position: relative;
  flex: 0 0 45%;
  min-width: 0;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
}

.servicio-row__photo:has(img) {
  padding: 0;
}

/* la foto se posiciona absoluta para que NO aporte alto propio: la fila
   siempre queda definida por el contenido de texto, nunca por la imagen */
.servicio-row__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-row__content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 3rem var(--container-gutter) 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.servicio-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

.servicio-row__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--brand-white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.servicio-row__title {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--brand-accent);
  max-width: fit-content;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--brand-dark);
}

.servicio-row__title strong {
  font-weight: 800;
}

.servicio-row__content p {
  margin: 0 0 1rem;
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--brand-dark);
  opacity: 0.85;
}

.servicio-row__content p strong {
  opacity: 1;
}

.servicio-row__cta {
  margin: 0;
  font-weight: 800;
  color: var(--brand-accent);
  opacity: 1;
}

@media (max-width: 720px) {
  .servicio-row { flex-direction: column; min-height: 0; }
  .servicio-row__photo { flex: 0 0 auto; height: 220px; }
  .servicio-row__content { padding: 2rem var(--container-gutter); }
  .servicio-row__title { max-width: none; }
}

/* ===== Página Proyectos ===== */
.proyectos-galeria {
  padding: 4rem 0;
}

.proyectos-galeria__inner {
  padding: 0 var(--container-gutter);
}

.proyectos-galeria__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.proyectos-galeria__filter {
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  background: var(--brand-white);
  color: var(--brand-dark);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.proyectos-galeria__filter:hover {
  border-color: var(--brand-accent);
}

.proyectos-galeria__filter.is-active {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--brand-white);
}

.proyectos-galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.proyecto-card {
  background: var(--brand-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.proyecto-card__photo {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 18px, #ececec 18px, #ececec 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
}

.proyecto-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proyecto-card__photo:has(img) {
  background: none;
  padding: 0;
}

.proyecto-card__photo[data-lightbox].has-lightbox {
  cursor: zoom-in;
}

.proyecto-card__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.proyecto-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.proyecto-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.proyecto-card__info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.proyecto-card__place {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--brand-dark);
  opacity: 0.6;
}

@media (max-width: 720px) {
  .proyectos-galeria__filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; }
  .proyectos-galeria__filter { flex-shrink: 0; }
  .proyectos-galeria__grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ===== Página Contacto ===== */

/* Datos de contacto + mapa */
.contacto-info {
  padding: 4rem 0;
}

.contacto-info__inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 3rem;
  align-items: start;
  padding: 0 var(--container-gutter);
}

.contacto-datos {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto-datos li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contacto-datos svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  stroke: var(--brand-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.contacto-datos strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
  color: var(--brand-dark);
}

.contacto-datos p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--brand-dark);
  opacity: 0.75;
}

.contacto-datos p a {
  color: var(--brand-accent);
  opacity: 1;
  text-decoration: none;
  font-weight: 700;
}

.contacto-datos p a:hover {
  text-decoration: underline;
}

.contacto-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: #25d366;
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contacto-whatsapp-btn:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.contacto-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--brand-white);
  stroke: none;
}

.contacto-info__col--mapa {
  min-width: 0;
}

.contacto-info__col--mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* Formulario que arma el mensaje de WhatsApp */
.contacto-form {
  padding: 0 0 4rem;
}

.contacto-form__inner {
  max-width: 640px;
  padding: 0 var(--container-gutter);
}

.contacto-form__intro {
  margin: 0 0 1.5rem;
  line-height: 1.5;
  color: var(--brand-dark);
  opacity: 0.75;
}

.contacto-form__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contacto-form__form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.contacto-form__form input,
.contacto-form__form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brand-dark);
  background: var(--brand-white);
  resize: vertical;
}

.contacto-form__form input:focus,
.contacto-form__form textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
}

.contacto-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 999px;
  background: var(--brand-accent);
  color: var(--brand-white);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contacto-form__submit:hover {
  background: #9c1717;
  transform: translateY(-2px);
}

.contacto-form__submit svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 720px) {
  .contacto-info__inner { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-info__col--mapa iframe { min-height: 280px; }
  .contacto-form__row { grid-template-columns: 1fr; }
}

/* ===== Botón flotante de WhatsApp (todas las páginas) ===== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--brand-white);
}

@media (max-width: 720px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}
