:root {
  --azul: #0b2d4a;
  --azul-2: #123a5c;
  --rojo: #d71920;
  --rojo-hover: #b9151b;
  --verde: #0f6a3b;
  --gris: #4d4d4d;
  --texto: #2c3a46;
  --gris-claro: #d9d9d9;
  --hielo: #e8eef3;
  --blanco: #ffffff;
  --negro: #111111;
  --header-h: 76px;
  --max: 1200px;
  --shadow: 0 18px 50px rgba(11, 45, 74, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rojo);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header — ABB structure */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  overflow: visible;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid rgba(217, 217, 217, 0.6);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  height: 100%;
  gap: 4px;
}

.nav > ul {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > ul > li {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--azul);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 12px;
  white-space: nowrap;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--rojo);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--rojo);
}

.nav li {
  position: relative;
}

.nav > ul > .menu-item-has-children > a {
  padding-right: 22px;
}

.nav > ul > .menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -2px;
  border-width: 5px 4px 0;
  border-style: solid;
  border-color: currentColor transparent transparent;
}

.nav > ul > .menu-item-has-children > .sub-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 8px 22px;
  position: fixed;
  top: var(--header-h);
  left: 50%;
  width: min(980px, calc(100vw - 40px));
  margin: 0;
  padding: 22px 24px 18px;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(217, 217, 217, 0.7);
  box-shadow: var(--shadow);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav > ul > .menu-item-has-children:hover > .sub-menu,
.nav > ul > .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav > ul > .menu-item-has-children > .sub-menu > li > a {
  display: block;
  padding: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--azul);
  white-space: normal;
  line-height: 1.3;
}

.nav > ul > .menu-item-has-children > .sub-menu .sub-menu {
  display: flex;
  flex-direction: column;
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.nav > ul > .menu-item-has-children > .sub-menu .sub-menu a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--texto);
  white-space: normal;
  line-height: 1.35;
}

.nav > ul > .menu-item-has-children > .sub-menu .sub-menu a:hover {
  color: var(--rojo);
}

.nav .sub-menu a::after,
.nav > ul > .menu-item-has-children > a::after {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.search-btn,
.search-overlay {
  display: none !important;
}

.search-btn,
.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gris-claro);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--azul);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-red {
  background: var(--rojo);
  color: #fff;
}

.btn-red:hover {
  background: var(--rojo-hover);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--azul);
}

.btn-outline-dark {
  border: 1px solid var(--azul);
  color: var(--azul);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--azul);
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 45, 74, 0.92);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 40px;
}

.search-overlay.is-open {
  display: flex;
}

.search-box {
  width: min(720px, 100%);
}

.search-box input {
  width: 100%;
  height: 64px;
  border: 0;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.search-results {
  margin-top: 24px;
  color: #fff;
}

.search-results a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.search-results a:hover {
  color: #ffd4d4;
}

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Hero video */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-media,
.hero-video,
.hero-canvas,
.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  pointer-events: none;
}

.hero-video,
.hero-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.has-video .hero-video {
  z-index: 1;
  display: block;
}

.hero.has-video .hero-slides,
.hero.has-video .hero-canvas {
  display: none !important;
}

.hero-slides {
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  animation: ken 24s linear infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 8s;
}

.hero-slide:nth-child(3) {
  animation-delay: 16s;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(8, 22, 38, 0.78) 0%, rgba(11, 45, 74, 0.48) 46%, rgba(11, 45, 74, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 22, 38, 0.18), rgba(8, 22, 38, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 80px 0;
}

.accent-bar {
  width: 56px;
  height: 5px;
  background: var(--rojo);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
  max-width: 16ch;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero .lead {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  max-width: 38ch;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@keyframes ken {
  0% {
    opacity: 0;
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  6% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  38% {
    opacity: 0;
    transform: scale(1.18) translate3d(-2%, -2%, 0);
  }
  100% {
    opacity: 0;
  }
}

/* Page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: var(--azul);
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: inherit;
  background-size: cover;
  background-position: center 30%;
  animation: panHero 28s ease-in-out infinite alternate;
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 45, 74, 0.88), rgba(11, 45, 74, 0.45));
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 56px 0;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin-top: 20px;
  max-width: 54ch;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-actions {
  margin-top: 44px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--hielo);
}

.section-dark {
  background: var(--azul);
  color: #fff;
}

.kicker {
  color: var(--rojo);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2,
.intro-title {
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--azul);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-dark h2 {
  color: #fff;
}

.intro-copy {
  max-width: 820px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--texto);
  font-weight: 500;
}

.center {
  text-align: center;
}

.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto);
}

.prose p + p {
  margin-top: 12px;
}

.prose h2,
.pdp-subtitle {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--azul);
  margin: 28px 0 8px;
}

.prose h2:first-child,
.pdp-subtitle:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--azul);
  margin: 20px 0 6px;
}

/* Business cards — ABB row */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.media-card {
  display: block;
  color: #fff;
  position: relative;
  transition: transform 0.55s var(--ease);
}

.media-card:hover {
  transform: translateY(-8px);
}

.media-card .thumb,
.industry,
.split .photo {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.media-card .thumb {
  aspect-ratio: 3 / 4;
  background: var(--azul);
}

.media-card .thumb::after,
.industry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.media-card .thumb::after {
  background: linear-gradient(180deg, rgba(11, 45, 74, 0.12) 28%, rgba(11, 45, 74, 0.94));
}

.tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1);
  transition: transform 1.05s var(--ease);
}

.media-card:hover .tile-media,
.industry:hover .tile-media,
.product:hover .tile-media,
.split .photo:hover .tile-media {
  transform: scale(1.1);
}

.tile-media img,
.media-card .thumb-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pan 26s ease-in-out infinite alternate;
}

.card-row .media-card:nth-child(2) .tile-media img { animation-delay: -6s; }
.card-row .media-card:nth-child(3) .tile-media img { animation-delay: -12s; }
.card-row .media-card:nth-child(4) .tile-media img { animation-delay: -18s; }
.industry-grid .industry:nth-child(2n) .tile-media img { animation-delay: -8s; }
.industry-grid .industry:nth-child(3n) .tile-media img { animation-delay: -14s; }

.tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.tile-copy h3 {
  margin: 0;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.tile-copy p {
  margin-top: 4px;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.tile-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.tile-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: -2px;
}

.media-card:hover .tile-arrow,
.industry:hover .tile-arrow {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: translateX(4px);
}

.more-wrap {
  margin-top: 36px;
  text-align: center;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.feature {
  background: #fff;
  padding: 28px 24px;
  border-top: 3px solid var(--rojo);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(11, 45, 74, 0.16);
}

.feature.green {
  border-top-color: var(--verde);
}

.feature h3 {
  color: var(--azul);
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--texto);
  font-weight: 500;
}

.icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(215, 25, 32, 0.1);
  color: var(--rojo);
  margin-bottom: 16px;
  font-weight: 700;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.industry {
  min-height: 340px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: var(--azul-2);
  transition: transform 0.55s var(--ease);
}

.industry:hover {
  transform: translateY(-8px);
}

.industry::before {
  background: linear-gradient(180deg, rgba(11, 45, 74, 0.22), rgba(11, 45, 74, 0.94));
}

.industry.tint-green::before {
  background: linear-gradient(180deg, rgba(15, 106, 59, 0.28), rgba(11, 45, 74, 0.86));
}

.industry .tile-copy h3 {
  font-size: 22px;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 40px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.process li {
  background: #fff;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease);
}

.process li:hover {
  transform: translateY(-6px);
}

.process li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--rojo);
  color: #fff;
  font-weight: 700;
}

.process strong {
  display: block;
  color: var(--azul);
  font-size: 14px;
}

/* Catalog */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}

.filter-btn {
  border: 1px solid var(--gris-claro);
  background: #fff;
  color: var(--azul);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.filter-btn.is-active {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.product {
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(11, 45, 74, 0.16);
}

.product .visual {
  height: 220px;
  background: var(--azul);
  overflow: hidden;
  position: relative;
  display: block;
}

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

.product .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product h3 {
  color: var(--azul);
  font-size: 18px;
}

.product h3 a {
  color: inherit;
}

.product .body p {
  color: var(--texto);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rojo);
}

.product .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.product .actions .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(217, 217, 217, 0.7);
  box-shadow: 0 12px 32px rgba(11, 45, 74, 0.06);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(11, 45, 74, 0.14);
}

.product-card__media {
  display: block;
  height: 240px;
  background: var(--azul);
  position: relative;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.08);
}

.product-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rojo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.product-card__body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__title {
  color: var(--azul);
  font-size: 18px;
  line-height: 1.3;
}

.product-card__title a:hover {
  color: var(--rojo);
}

.product-card__desc {
  color: var(--texto);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
}

.product-card__chips li {
  font-size: 11px;
  font-weight: 600;
  color: var(--azul);
  background: #eef3f7;
  border-radius: 999px;
  padding: 5px 10px;
}

.product-card__cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.product-card__cta .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  justify-content: center;
}

.crumbs {
  margin-bottom: 22px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  font-size: 13px;
  color: #6b7c89;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #b7c2cb;
}

.crumbs a {
  color: var(--azul);
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--rojo);
}

.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.pdp-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.pdp-main {
  position: relative;
  margin: 0;
  height: auto;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f7fa;
  border: 1px solid #e6edf2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 52px;
}

.pdp-main img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  cursor: zoom-in;
}

.pdp-video {
  width: 100%;
  max-height: 360px;
  border-radius: 16px;
  background: #0b2d4a;
}

.pdp-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--azul);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(11, 45, 74, 0.16);
  cursor: pointer;
}

.pdp-arrow-prev {
  left: 10px;
}

.pdp-arrow-next {
  right: 10px;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.pdp-thumbs button {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  padding: 6px;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f7fa;
  cursor: pointer;
  scroll-snap-align: start;
}

.pdp-thumbs button.is-active,
.pdp-thumbs button:hover {
  border-color: var(--rojo);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 45, 74, 0.88);
  padding: 24px 72px;
}

.pdp-lightbox.is-open {
  display: flex;
}

.pdp-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pdp-lightbox .pdp-arrow {
  background: #fff;
}

.pdp-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: #fff;
  color: var(--azul);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.pdp-offer {
  background: #fff;
  border: 1px solid rgba(217, 217, 217, 0.7);
  box-shadow: 0 20px 50px rgba(11, 45, 74, 0.08);
  border-radius: 28px;
  padding: 32px 28px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.pdp-offer .tag {
  margin-bottom: 10px;
}

.pdp-offer h1 {
  color: var(--azul);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.pdp-lead {
  margin-top: 12px;
  color: var(--texto);
}

.pdp-hero-cta {
  margin-top: 28px;
}

.pdp-ficha {
  max-width: 860px;
}

.ficha-titulo {
  margin: 28px 0 0;
  color: var(--azul);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ficha-tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.ficha-tabla th,
.ficha-tabla td {
  padding: 10px 0;
  border-bottom: 1px solid #e6edf2;
  font-size: 14px;
  line-height: 1.4;
  vertical-align: top;
  text-align: left;
}

.ficha-tabla th {
  width: 58%;
  padding-right: 16px;
  color: var(--azul);
  font-weight: 600;
}

.ficha-tabla td {
  color: var(--texto);
  font-weight: 500;
}

.ficha-caracts {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.ficha-caracts article {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
}

.ficha-caracts h3 {
  margin: 0;
  color: var(--azul);
  font-size: 16px;
}

.ficha-caracts p {
  margin: 8px 0 0;
  font-size: 15px;
}

.pdp-sku {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7c89;
}

.pdp-specs {
  margin: 22px 0;
}

.pdp-specs li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #eef3f7;
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--azul);
}

.pdp-specs li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rojo);
  position: absolute;
  left: 0;
  top: 16px;
}

.pdp-cta {
  display: grid;
  gap: 10px;
}

.pdp-cta .btn {
  width: 100%;
}

.pdp-meta {
  margin-top: 16px;
  font-size: 13px;
  color: #6b7c89;
}

.pdp-share {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
}

.pdp-share a,
.pdp-share button {
  color: var(--azul);
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  cursor: pointer;
}

.section .prose h2,
.section h2.pdp-subtitle {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 28px 0 8px;
}

.section .prose h2:first-child,
.section h2.pdp-subtitle:first-child {
  margin-top: 0;
}

.section.pdp-block {
  padding: 56px 0;
}

.section.pdp-block > .container > h2:not(.pdp-subtitle) {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.pdp-bar,
.wa-float {
  display: none !important;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.trust-row article {
  background: #f4f7fa;
  border-radius: 16px;
  padding: 16px;
}

.trust-row h3 {
  font-size: 14px;
  color: var(--azul);
}

.trust-row p {
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .pdp,
  .related,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .pdp-offer {
    position: static;
  }

  .pdp-main {
    height: auto;
    padding: 12px 46px;
  }
}


/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split .photo,
.split > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split .photo {
  overflow: hidden;
  background: var(--azul);
}

.split .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pan 26s ease-in-out infinite alternate;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.value {
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--rojo);
  border-radius: var(--radius-sm);
  color: #fff;
}

.value h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.value p {
  color: #fff;
  font-weight: 500;
}

/* Form */
.section-contact {
  background:
    linear-gradient(180deg, #f4f7fa 0%, #fff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.form-card {
  background: #fff;
  padding: 40px 36px 36px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(11, 45, 74, 0.08);
  border: 1px solid rgba(217, 217, 217, 0.55);
}

.form-lead {
  margin-top: 10px;
  color: var(--texto);
  max-width: 46ch;
}

.contact-form,
form.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 28px;
  position: relative;
}

.contact-form .full,
form .full {
  grid-column: 1 / -1;
}

.field label,
.contact-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c89;
  margin-bottom: 8px;
}

.field label span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: #8a99a6;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid transparent;
  min-height: 52px;
  padding: 14px 16px;
  background: #f4f7fa;
  color: var(--azul);
  border-radius: 14px;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B2D4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.contact-form textarea,
.form-card textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a99a6;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  background: #eef3f7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgba(11, 45, 74, 0.1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-actions .btn {
  min-width: 220px;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: #6b7c89;
  max-width: 28ch;
}

.contact-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, #123a5c 0%, #0b2d4a 72%);
}

.contact-panel .kicker {
  color: #ffc9c9;
}

.contact-list {
  margin: 8px 0 28px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-list strong,
.contact-list a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.contact-panel .btn {
  width: 100%;
  margin-top: 8px;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
}

.contact-social a {
  color: rgba(255, 255, 255, 0.78);
}

.contact-social a:hover {
  color: #fff;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--azul);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gris-claro);
  min-height: 46px;
  padding: 10px 12px;
  background: #fff;
  color: var(--azul);
  border-radius: 14px;
}

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

.aside-card {
  background: var(--azul);
  color: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
}

.aside-card h2,
.aside-card h3 {
  color: #fff;
  margin-bottom: 16px;
}

.aside-card a {
  color: #fff;
}

.aside-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.map-wrap {
  margin-top: 40px;
  height: 360px;
  background: #dfe6ec;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-ok {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  background: #e8f6ee;
  color: var(--verde);
  font-weight: 600;
  border-radius: 14px;
}

.form-ok.is-visible {
  display: block;
}

.form-error {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  background: #fdecea;
  color: var(--rojo);
  font-weight: 600;
  border-radius: 14px;
}

.form-error.is-visible {
  display: block;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CTA band */
.cta-band {
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(11, 45, 74, 0.92), rgba(215, 25, 32, 0.72)),
    var(--azul);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 40px;
  color: #fff;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #081f33;
  color: #e8eef3;
  padding: 56px 0 20px;
}

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

.site-footer h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li {
  color: #dce4eb;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffd4d4;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.legal {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #c5d0d8;
}

/* WhatsApp */
.wa-float {
  display: none !important;
}

.wa-float:hover {
  transform: translateY(-2px);
}

.mobile-panel {
  display: none;
}

.thumb-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 25, 32, 0.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(15, 106, 59, 0.4), transparent 42%),
    linear-gradient(160deg, #0b2d4a, #163e5f);
}

.thumb-art.solar {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(160deg, #0f6a3b, #0b2d4a);
}

.thumb-art.cabin {
  background:
    linear-gradient(160deg, #1d4e3a, #0b2d4a 70%);
}

.thumb-art.metal {
  background:
    linear-gradient(160deg, #4d4d4d, #0b2d4a);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.timeline article {
  padding-left: 18px;
  border-left: 3px solid var(--rojo);
}

.timeline strong {
  color: var(--rojo);
  display: block;
  font-size: 13px;
}

.timeline p {
  color: var(--texto);
  margin-top: 6px;
}

.list-check {
  margin-top: 16px;
}

.list-check li {
  padding-left: 22px;
  position: relative;
  margin-top: 8px;
}

.list-check li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rojo);
  position: absolute;
  left: 0;
  top: 8px;
}

.ficha-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.ficha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ficha-video video,
.ficha-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--azul);
}

.ficha-video video {
  display: block;
  max-height: 420px;
}

.ficha-photo {
  height: 420px;
  position: relative;
}

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

.ficha-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ficha-gallery a {
  display: block;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .card-row,
  .feature-grid,
  .catalog,
  .process,
  .ficha-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .values,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid,
  .ficha-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header .nav,
  .header-tools .btn {
    display: none;
  }

  .site-header .nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    height: auto;
    z-index: 30;
    background: #fff;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--gris-claro);
    box-shadow: 0 16px 30px rgba(11, 45, 74, 0.12);
  }

  .site-header .nav.is-open > ul,
  .site-header .nav.is-open li {
    display: block;
    height: auto;
  }

  .site-header .nav.is-open .sub-menu,
  .site-header .nav.is-open .menu-item-has-children > .sub-menu {
    display: block;
    position: static;
    left: auto;
    top: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    grid-template-columns: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-panel.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--gris-claro);
    padding: 12px 20px 20px;
    z-index: 20;
    box-shadow: 0 16px 30px rgba(11, 45, 74, 0.12);
  }

  .mobile-panel .nav {
    display: block;
    height: auto;
  }

  .mobile-panel .nav > ul,
  .mobile-panel > ul,
  .mobile-panel .menu {
    display: block;
    height: auto;
  }

  .mobile-panel .nav > ul > li,
  .mobile-panel li {
    display: block;
  }

  .mobile-panel a {
    display: block;
    padding: 12px 0;
    color: var(--azul);
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-panel .nav > ul > .menu-item-has-children > .sub-menu,
  .mobile-panel .nav > ul > .menu-item-has-children > .sub-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: 0 0 8px 8px;
    border: 0;
    box-shadow: none;
    background: transparent;
    grid-template-columns: none;
  }

  .mobile-panel .sub-menu a {
    font-size: 13px;
    font-weight: 500;
    color: var(--texto);
    padding: 8px 0 8px 10px;
  }

  .mobile-panel .sub-menu .sub-menu {
    padding-left: 14px;
  }

  .mobile-panel .sub-menu .sub-menu a {
    font-size: 12.5px;
    font-weight: 500;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }

  .legal {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .card-row,
  .feature-grid,
  .catalog,
  .process,
  .values,
  .footer-grid,
  .ficha-gallery,
  form,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .logo img {
    height: 42px;
  }

  .media-card .thumb,
  .industry {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

@keyframes pan {
  from { object-position: 22% 38%; }
  to { object-position: 78% 58%; }
}

@keyframes panHero {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-2.5%, -2%, 0); }
}

@keyframes drift {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  50% { transform: scale(1.16) translate3d(-2.4%, -2%); }
  100% { transform: scale(1.06) translate3d(0, 0, 0); }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 40px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.reveal {
  opacity: 1;
  translate: 0 20px;
  transition: opacity 0.85s var(--ease), translate 0.85s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

.cta-band {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-ok {
  border-radius: 14px;
}

.timeline article {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.search-overlay.is-open .search-box input {
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .tile-media img,
  .media-card .thumb-art,
  .page-hero::before,
  .split .photo img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .industry,
  .feature,
  .product,
  .process li {
    transition: none;
  }
}
