/* ============================================================
   ALQUIPLAS — Design System & Global Styles
   Primary brand: #1296e1 | Text: #111
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --brand:         #1296e1;
  --brand-dark:    #0d7abf;
  --brand-light:   #ddeef9;
  --brand-xlight:  #edf6fd;
  --text:          #0d0d0d;
  --text-muted:    #4a4f5a;
  --bg:            #ffffff;
  --bg-subtle:     #edf6fd;
  --border:        #cfdce8;
  --radius:        3px;
  --radius-lg:     6px;
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md:     0 4px 20px rgba(18, 150, 225, 0.10);
  --max-w:         1200px;
  --header-top-h:  72px;
  --header-nav-h:  0px;
  --header-h:      72px;
  --font:          'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:          0.2s ease;
  --motion-ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --motion-time:   0.62s;
  --motion-distance: 18px;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  background: #0c0c0c;
}
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #0c0c0c;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body.nav-locked { overflow: hidden; }
main {
  min-height: 100vh;
  background: var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section         { padding: 84px 0; }
.section--subtle { background: var(--bg-subtle); }
.section--dark   { background: #0f0f0f; color: #fff; }
.section--brand  { background: var(--brand); color: #fff; }
.page-hero + .section { padding-top: 56px; }

/* ── Typography helpers ─────────────────────────────────────── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  display: block;
}

.section-label--light { color: rgba(255, 255, 255, 0.6); }

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.section-sub--light { color: rgba(255, 255, 255, 0.8); }
.section-title--narrow { max-width: 440px; }
.grid-spaced { margin-top: 40px; }
.text-link { color: var(--brand); }
.text-strong { color: var(--text); }

.icon-check-circle {
  width: 20px;
  height: 20px;
  background: var(--brand-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 0 rgba(13, 122, 191, 0);
  transition:
    background var(--ease),
    color var(--ease),
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease),
    opacity var(--ease);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(13, 122, 191, 0.18);
}

.btn--outline {
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.btn--outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 122, 191, 0.14);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--brand);
}
.btn--white:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.btn--sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── Placeholders ───────────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #dce8f0 0%, #c5d9e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7fa0b8;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 24 24' fill='none' stroke='%23a0bdd0' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/56px no-repeat;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 150, 225, 0.08), rgba(18, 150, 225, 0)),
    linear-gradient(180deg, #f7fbfe, #dcecf7);
}

.visual-panel::before,
.visual-panel::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.visual-panel::before {
  left: 16%;
  right: 16%;
  top: 22%;
  bottom: 22%;
  border: 2px solid rgba(18, 150, 225, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(18, 150, 225, 0.2) 49%, rgba(18, 150, 225, 0.2) 51%, transparent 51%),
    rgba(255, 255, 255, 0.48);
}

.visual-panel::after {
  left: 24%;
  right: 24%;
  top: 50%;
  height: 12px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 18px 0 rgba(13, 122, 191, 0.2);
}

.visual-panel--machines::before {
  left: 20%;
  right: 20%;
  top: 26%;
  bottom: 32%;
  border-radius: 6px;
}

.visual-panel--machines::after {
  left: 30%;
  right: 30%;
  top: 62%;
  height: 18px;
}

.visual-panel--advisory::before {
  left: 18%;
  right: 18%;
  top: 18%;
  bottom: 18%;
  border-radius: 8px;
}

.visual-panel--advisory::after {
  left: 28%;
  right: 28%;
  top: 34%;
  height: 3px;
  box-shadow:
    0 24px 0 var(--brand),
    0 48px 0 rgba(13, 122, 191, 0.42);
}

.visual-panel--logistics,
.visual-panel--chemical,
.visual-panel--manufacturing {
  background:
    linear-gradient(135deg, rgba(13, 122, 191, 0.11), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #f4f9fd, #d7e8f3);
}

.visual-panel--food,
.visual-panel--pharma,
.visual-panel--cosmetic {
  background:
    linear-gradient(135deg, rgba(18, 150, 225, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #fbfdff, #e5f2fb);
}

/* ── Site Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(18, 150, 225, 0.06);
}

/* Thin brand accent line across the very top */
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

/* ── Header bar: logo + nav + contact info ────────────────────── */
.header-top {
  height: var(--header-top-h);
  border-bottom: 1px solid var(--border);
}

.header-top .container {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(155px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 18px;
}

.header-top nav {
  justify-self: center;
  min-width: 0;
}

/* Logo */
.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: start;
  min-width: 0;
  padding-right: 20px;
}

.logo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 38px;
  background: var(--border);
  transform: translateY(-50%);
}

.logo-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #064e84;
  line-height: 0.95;
  text-transform: uppercase;
}

.logo-wordmark em {
  color: #21aeea;
  font-style: normal;
}

.logo-subtitle {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

/* Header contact CTA */
.header-contact {
  display: flex;
  align-items: center;
  justify-self: end;
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.header-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(18, 150, 225, 0.18);
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}

.header-contact-cta:hover,
.header-contact-cta.active {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 122, 191, 0.22);
}

.header-contact-cta:hover { transform: translateY(-1px); }

/* Mobile toggle — lives in header-top, hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--ease);
  flex-shrink: 0;
}

.nav-toggle:hover { background: var(--bg-subtle); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ── Navigation links ─────────────────────────────────────────── */
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
  line-height: 1;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--brand);
  background: var(--brand-light);
}

/* ── Floating contact bubbles ───────────────────────────────── */
.contact-bubbles {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.contact-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(13, 23, 33, 0.20);
  pointer-events: auto;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.contact-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13, 23, 33, 0.24);
}

.contact-bubble svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-bubble--phone {
  background: #101923;
  border-color: #101923;
}

.contact-bubble--phone:hover { background: #0b1118; }

.contact-bubble--mail {
  background: var(--brand);
  border-color: var(--brand);
}

.contact-bubble--mail:hover { background: var(--brand-dark); }

/* ── Dropdown (level 1) ──────────────────────────────────────── */
.has-dropdown { position: relative; }

.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  /* show instantly, hide after fade completes */
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 100;
}

/* Invisible bridge above the gap so cursor can travel into the dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.84rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  background: var(--brand-light);
  color: var(--brand);
  outline: none;
}

/* ── Subdropdown (level 2 — flyout) ──────────────────────────── */
.has-subdropdown { position: relative; }

.has-subdropdown > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.has-subdropdown > a::after {
  content: '›';
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.4;
  flex-shrink: 0;
  margin-left: auto;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.has-subdropdown:hover > a::after,
.has-subdropdown:focus-within > a::after {
  opacity: 0.9;
  transform: translateX(2px);
}

.subdropdown {
  position: absolute;
  top: -8px;
  left: calc(100% + 4px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  /* show instantly, hide after fade */
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 102;
}

/* Invisible bridge left of the gap so diagonal cursor movement doesn't close it */
.subdropdown::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 8px;
}

.has-subdropdown:hover .subdropdown,
.has-subdropdown:focus-within .subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.subdropdown li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}

.subdropdown li a:hover,
.subdropdown li a:focus-visible {
  background: var(--brand-light);
  color: var(--brand);
  outline: none;
}

/* Focus-visible ring for top-level nav links (keyboard only) */
.nav-list > li > a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Mobile: subdropdown expands inline */
@media (max-width: 768px) {
  .subdropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 20px;
    background: transparent;
    display: none;
    /* cancel desktop transition entirely on mobile */
    transition: none;
  }

  .subdropdown::before { display: none; }

  .has-subdropdown.subdropdown-open .subdropdown { display: block; }

  .has-subdropdown > a::after {
    content: '›';
    transition: transform 0.2s ease;
  }

  .has-subdropdown.subdropdown-open > a::after { transform: rotate(90deg); opacity: 0.9; }
}

/* ── Product detail layout (category pages) ──────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail:last-child { border-bottom: none; }

.product-detail.reverse .product-detail-img { order: 2; }
.product-detail.reverse .product-detail-body { order: 1; }

.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--border);
}

.product-detail-img picture,
.product-detail-img img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-detail-img img {
  object-fit: contain;
  object-position: center;
  padding: clamp(14px, 2vw, 24px);
}

.product-detail-img--machine {
  aspect-ratio: 16 / 9;
}

.product-detail-img--machine img {
  object-fit: cover;
  padding: 0;
}

.product-detail-body .product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.product-detail-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.product-detail-body > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.product-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.product-specs li::before {
  content: '—';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .product-detail.reverse .product-detail-img { order: 0; }
  .product-detail.reverse .product-detail-body { order: 0; }
}

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--brand-xlight) 0%, var(--brand-light) 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.page-hero .section-label { margin-bottom: 8px; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.page-hero-breadcrumb { color: inherit; }

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

/* ── Not found page ─────────────────────────────────────────── */
.not-found-shell {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.not-found-content {
  max-width: 560px;
  padding: 80px 0;
}

.not-found-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.not-found-copy {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Carousel ────────────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--brand-xlight);
  height: 490px;
}

.carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track[data-slide="0"] { transform: translateX(0); }
.carousel-track[data-slide="1"] { transform: translateX(-100%); }
.carousel-track[data-slide="2"] { transform: translateX(-200%); }
.carousel-track[data-slide="3"] { transform: translateX(-300%); }
.carousel-track[data-slide="4"] { transform: translateX(-400%); }
.carousel-track[data-slide="5"] { transform: translateX(-500%); }

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

/* Slide backgrounds */
.carousel-slide:nth-child(1) .slide-bg {
  background: linear-gradient(125deg, var(--brand-xlight) 0%, var(--brand-light) 56%, #f7fbfe 100%);
}
.carousel-slide:nth-child(2) .slide-bg {
  background: linear-gradient(125deg, #f7fbfe 0%, var(--bg-subtle) 48%, var(--brand-light) 100%);
}
.carousel-slide:nth-child(3) .slide-bg {
  background: linear-gradient(125deg, var(--brand-light) 0%, var(--brand-xlight) 50%, #fff 100%);
}

.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 38px 24px 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
}

.slide-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 14px;
}

.slide-text {
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding-top: 50px;
}

.slide-text h1,
.slide-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 14px;
}

.slide-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 460px;
}

.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.carousel .btn--ghost {
  border-color: rgba(18, 150, 225, 0.55);
  color: var(--brand);
}

.carousel .btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* Slide image panel */
.slide-image {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #f8fbfe;
  border: 1px solid rgba(207, 220, 232, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 38px rgba(13, 122, 191, 0.12);
}

.slide-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='rgba(18,150,225,0.16)' stroke-width='0.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/80px no-repeat;
}

.slide-image span { position: relative; z-index: 1; }

.slide-image.visual-panel::before {
  left: 16%;
  right: 16%;
  top: 22%;
  bottom: 22%;
  border: 2px solid rgba(18, 150, 225, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(18, 150, 225, 0.2) 49%, rgba(18, 150, 225, 0.2) 51%, transparent 51%),
    rgba(255, 255, 255, 0.48);
}

.slide-image.visual-panel--machines::before {
  left: 20%;
  right: 20%;
  top: 26%;
  bottom: 32%;
  border-radius: 6px;
}

.slide-image--photo::before { display: none; }

.slide-image picture,
.slide-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-image img {
  object-fit: cover;
}

.slide-image--photo img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.carousel-btn:hover {
  background: #fff;
  border-color: rgba(18, 150, 225, 0.32);
  color: var(--brand);
}
.carousel-btn--prev { left: 20px; }
.carousel-btn--next { right: 20px; }
.carousel-btn svg { width: 20px; height: 20px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.carousel-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: rgba(13, 122, 191, 0.24);
  padding: 0;
  transition: background var(--ease), width var(--ease);
}

.carousel-dot.active {
  background: var(--brand);
  width: 26px;
}

/* ── Differentiator Strip ────────────────────────────────────── */
.strip {
  background: var(--brand-xlight);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}

.strip-item:last-child { border-right: none; }

.strip-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.strip-icon svg { width: 22px; height: 22px; }

.strip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 3px;
}

.strip-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }

.strip-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* ── Applications grid ───────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.app-card {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.app-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(18, 150, 225, 0.08);
}

.app-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-top: 1px;
}

.app-icon svg { width: 18px; height: 18px; }
.app-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 3px; }
.app-card p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Clickable card variant */
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.card:hover { box-shadow: 0 6px 24px rgba(18, 150, 225, 0.13); transform: translateY(-2px); border-color: rgba(18, 150, 225, 0.3); }

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
}

.card-img picture,
.card-img img,
.company-preview-image picture,
.company-preview-image img,
.productos-hero-photo picture,
.productos-hero-photo img,
.product-family-photo picture,
.product-family-photo img,
.product-card-photo picture,
.product-card-photo img,
.asesorias-area-photo picture,
.asesorias-area-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.card-img img,
.company-preview-image img,
.productos-hero-photo img,
.product-family-photo img,
.product-card-photo img,
.asesorias-area-photo img {
  object-fit: cover;
  object-position: center;
}

.card-img--photo img,
.product-card-photo img {
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.card-body { padding: 24px; }

.card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ── Quick catalog ───────────────────────────────────────────── */
.quick-catalog {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 58%),
    var(--bg-subtle);
}

.quick-catalog .container {
  position: relative;
  z-index: 1;
}

.catalog-grid {
  gap: 24px;
  align-items: stretch;
}

.catalog-card {
  display: flex;
  min-height: 100%;
  padding: 10px 10px 24px;
  flex-direction: column;
  border-color: rgba(18, 150, 225, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(13, 122, 191, 0.08);
}

.catalog-card:hover {
  border-color: rgba(18, 150, 225, 0.38);
  box-shadow: 0 18px 42px rgba(13, 122, 191, 0.14);
}

.catalog-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.catalog-card-media.card-img--photo img {
  padding: 0;
  object-fit: cover;
  background: #fff;
}

.catalog-card-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto minmax(8.2rem, auto) auto auto;
  padding: 22px 16px 0;
}

.catalog-card-heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.catalog-card-icon,
.catalog-advisory-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(18, 150, 225, 0.18);
  background: var(--brand-xlight);
  color: var(--brand);
}

.catalog-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.catalog-card-icon img,
.catalog-advisory-icon img {
  width: 54%;
  height: 54%;
  object-fit: contain;
}

.catalog-icon-placeholder {
  display: block;
  max-width: 38px;
  font-size: 0.42rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  color: var(--brand-dark);
}

.catalog-card-icon img + .catalog-icon-placeholder,
.catalog-advisory-icon img + .catalog-icon-placeholder {
  display: none;
}

.catalog-card-heading .card-label {
  margin-bottom: 5px;
}

.catalog-card-heading .card-title {
  margin-bottom: 0;
}

.catalog-card .card-text {
  margin-bottom: 18px;
  align-self: start;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.catalog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(18, 150, 225, 0.12);
  border-radius: 999px;
  background: var(--brand-xlight);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.catalog-link span {
  transition: transform var(--ease);
}

.catalog-card:hover .catalog-link span {
  transform: translateX(4px);
}

.catalog-advisory {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 28px 18px 22px;
  border: 1px solid rgba(18, 150, 225, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 122, 191, 0.08);
}

.catalog-advisory-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.catalog-advisory-icon .catalog-icon-placeholder {
  max-width: 52px;
  font-size: 0.44rem;
}

.catalog-advisory-copy p:first-child {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.catalog-advisory-copy p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.catalog-advisory-cta {
  justify-content: center;
  min-height: 46px;
  padding-inline: 28px;
  white-space: nowrap;
}

/* ── Grid layouts ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card-cta { margin-top: 14px; }

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.pillar-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Company preview ─────────────────────────────────────────── */
.company-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.company-preview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
}

.company-preview-image img { min-height: 340px; }

.company-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.company-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}

.company-check-icon {
  width: 20px;
  height: 20px;
}

.company-preview-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── CTA Block ───────────────────────────────────────────────── */
.cta-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 86% 86%, rgba(82, 183, 237, 0.36) 0, rgba(82, 183, 237, 0.14) 25%, rgba(82, 183, 237, 0) 54%),
    linear-gradient(135deg, #0b67a5 0%, var(--brand-dark) 44%, var(--brand) 100%);
  padding: 72px 0;
  text-align: center;
  color: #fff;
  isolation: isolate;
}

.cta-block .container,
.cta-block > h2,
.cta-block > p,
.cta-block > .cta-actions,
.cta-block > .cta-block-actions {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.cta-block p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.cta-block .cta-actions,
.cta-block .cta-block-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-block .btn {
  min-width: 178px;
  justify-content: center;
}

.cta-block .btn:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.cta-block .btn--primary {
  background: #fff;
  color: var(--brand-dark);
}

.cta-block .btn--primary:hover {
  background: #fff;
  color: #075487;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.cta-block .btn--outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.cta-block .btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.section .container > .cta-block {
  border-radius: var(--radius-lg);
  padding: 64px 28px;
  box-shadow: 0 18px 42px rgba(13, 122, 191, 0.16);
}

.precintos-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 40px;
  align-items: center;
  text-align: left;
}

.precintos-cta .section-label--light {
  margin-bottom: 14px;
}

.precintos-cta-copy p {
  max-width: 640px;
  margin-inline: 0;
  margin-bottom: 0;
}

.precintos-cta-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 40px rgba(3, 49, 78, 0.18);
  backdrop-filter: blur(8px);
}

.precintos-cta-points {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.precintos-cta-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
}

.precintos-cta-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.precintos-cta .cta-actions {
  justify-content: flex-start;
}

/* ── Product group ───────────────────────────────────────────── */
.product-section { padding: 84px 0; }
.product-section + .product-section { padding-top: 0; }

.product-group-header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.group-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brand-light);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.product-group-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.product-group-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Product card variant */
.product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease);
}

.product-card:hover { box-shadow: 0 6px 24px rgba(18, 150, 225, 0.13); transform: translateY(-2px); }

.product-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.product-card-body { padding: 20px 24px 24px; }
.product-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.product-card-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }

/* ── Products overview ──────────────────────────────────────── */
.productos-hero {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(100deg, #f8fbfe 0%, #eff7fd 48%, #dcecf7 100%);
}

.productos-hero .container {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
  padding-right: 0;
}

.productos-hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, 590px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 392px;
}

.productos-hero-copy h1 {
  max-width: 610px;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.productos-hero-copy { order: 1; }

.productos-hero-copy p {
  max-width: 560px;
  font-size: 0.98rem;
  color: #2d3440;
}

.productos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.productos-hero-visual {
  position: relative;
  min-height: 392px;
  align-self: stretch;
  order: 2;
}

.productos-hero-visual::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 150px;
  border: 0;
  background: linear-gradient(100deg, #eff7fd 0%, rgba(239, 247, 253, 0.78) 42%, rgba(239, 247, 253, 0) 100%);
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0% 100%);
}

.productos-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 392px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: none;
}

.product-families {
  background: #fff;
}

.product-families .container {
  display: grid;
  gap: 28px;
}

.product-family-card {
  display: grid;
  grid-template-columns: minmax(390px, 510px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 292px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(13, 122, 191, 0.06);
  overflow: hidden;
}

.product-family-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 510px);
}

.product-family-card .product-family-image-wrap { order: 1; }
.product-family-card .product-family-copy { order: 2; }
.product-family-card:nth-child(even) .product-family-copy { order: 1; }
.product-family-card:nth-child(even) .product-family-image-wrap { order: 2; }

.product-family-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 38px;
  position: relative;
  z-index: 2;
}

.product-family-card h2 {
  max-width: 560px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
}

.product-family-card p {
  max-width: 590px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.product-family-image-wrap {
  position: relative;
  min-height: 292px;
  overflow: hidden;
}

.product-family-image-wrap::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 126px;
  background: linear-gradient(280deg, #fff 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0) 100%);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
}

.product-family-card:nth-child(even) .product-family-image-wrap::after {
  right: auto;
  left: -1px;
  background: linear-gradient(100deg, #fff 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0) 100%);
  clip-path: polygon(0 0, 54% 0, 100% 100%, 0 100%);
}

.product-family-image {
  position: absolute;
  inset: 0;
  min-height: 292px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.product-family-card:nth-child(even) .product-family-image {
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

/* ── Certifications ──────────────────────────────────────────── */
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--ease), transform var(--ease);
}

.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.cert-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.cert-icon svg { width: 24px; height: 24px; }

.cert-card h3 { font-size: 1rem; font-weight: 700; }
.cert-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex-grow: 1; }

.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
  align-self: flex-start;
}

.cert-status--request  { color: var(--brand-dark); background: var(--brand-xlight); border-color: rgba(18, 150, 225, 0.28); }
.cert-status--available { color: #1a6e38; background: #eaf5ee; border-color: #9dcfaf; }

.cert-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Sectors / Clients ───────────────────────────────────────── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.sector-card:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.sector-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand);
  transition: background var(--ease), color var(--ease);
}

.sector-card:hover .sector-icon { background: var(--brand); color: #fff; }
.sector-icon svg { width: 24px; height: 24px; }

.sector-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.sector-card p  { font-size: 0.82rem; color: var(--text-muted); }

.logo-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.logo-slot {
  aspect-ratio: 2/1;
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  padding: 8px;
}

/* ── Clientes page ───────────────────────────────────────────── */
.clientes-hero .empresa-hero-grid {
  grid-template-columns: minmax(460px, 600px) minmax(0, 1fr);
  min-height: 390px;
}

.clientes-hero .empresa-hero-copy {
  padding-top: 46px;
  padding-bottom: 40px;
}

.clientes-hero .empresa-hero-copy p {
  max-width: 570px;
}

.clientes-hero-visual,
.clientes-hero-image {
  min-height: 390px;
}

.clientes-hero-image {
  width: 100%;
  height: 100%;
}

.clientes-sector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clientes-sector-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px 14px 24px;
  text-align: left;
  background: #fff;
  border-color: rgba(207, 220, 232, 0.9);
  box-shadow: 0 12px 30px rgba(13, 122, 191, 0.08);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.clientes-sector-card:hover {
  background: #fff;
  border-color: rgba(207, 220, 232, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(13, 122, 191, 0.18);
}

.clientes-sector-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(207, 220, 232, 0.75);
  overflow: hidden;
  background: #eef6fb;
}

.clientes-sector-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.clientes-sector-card h3 {
  margin: 0 8px 9px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.clientes-sector-card p {
  margin: 0 8px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.clientes-testimonials {
  position: relative;
  overflow: hidden;
}

.clientes-testimonial-marquee {
  position: relative;
  margin-top: 10px;
  overflow: hidden;
  -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%);
}

.clientes-testimonial-track {
  display: flex;
  width: max-content;
  animation: clientesTestimonialsMove 38s linear infinite;
}

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

.clientes-testimonial-group {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex: 0 0 auto;
  padding-right: 24px;
}

.clientes-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(280px, 28vw, 360px);
  min-height: 270px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(13, 122, 191, 0.07);
}

.clientes-quote {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--brand-xlight);
  color: var(--brand);
  border-radius: var(--radius);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.clientes-quote svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.clientes-testimonial-card p {
  flex: 1;
  margin: 0 0 24px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #2d3440;
}

.clientes-testimonial-source {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.clientes-testimonial-source strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}

.clientes-testimonial-source span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@keyframes clientesTestimonialsMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.clientes-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 86% 86%, rgba(82, 183, 237, 0.36) 0, rgba(82, 183, 237, 0.14) 25%, rgba(82, 183, 237, 0) 54%),
    linear-gradient(135deg, #0b67a5 0%, var(--brand-dark) 44%, var(--brand) 100%);
}

.clientes-cta .container {
  position: relative;
  z-index: 1;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}

.contact-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.contact-info > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.contact-channels { display: flex; flex-direction: column; gap: 14px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--ease);
}

.contact-channel:hover { border-color: var(--brand); }
.contact-channel--static { cursor: default; }
.contact-channel--static:hover { border-color: var(--border); }

.ch-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.ch-icon svg { width: 20px; height: 20px; }
.ch-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.ch-value { font-size: 0.92rem; font-weight: 600; }
.ch-subvalue {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  border: 0;
  display: block;
}

.map-placeholder {
  margin-top: 24px;
  height: 180px;
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.map-placeholder svg { width: 28px; height: 28px; opacity: 0.35; }

/* ── Privacy ────────────────────────────────────────────────── */
.privacy-content {
  max-width: 720px;
  line-height: 1.8;
  color: var(--text-muted);
}

.privacy-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.privacy-copy { margin-bottom: 32px; }
.privacy-copy--tight { margin-bottom: 12px; }

.privacy-list {
  margin: 0 0 32px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: disc;
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 26px; }
.contact-form-intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .form-group--full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 150, 225, 0.1);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #e0392b;
}

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

.form-group 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='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 13px; }
.form-note { margin-top: 12px; font-size: 0.76rem; color: var(--text-muted); text-align: center; }
.required-mark { color: var(--brand); }
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success[hidden],
.field-error[hidden],
.form-error[hidden] {
  display: none;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand);
}
.form-success h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.field-error,
.form-error {
  color: #b42318;
  font-size: 0.78rem;
  line-height: 1.45;
}
.form-context-note {
  margin-top: 2px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── Empresa page ────────────────────────────────────────────── */
.empresa-hero {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(100deg, #f8fbfe 0%, #eff7fd 48%, #dcecf7 100%);
}

.empresa-hero .container {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
  padding-right: 0;
}

.empresa-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 356px;
}

.empresa-hero-copy {
  position: relative;
  z-index: 1;
  padding: 38px 0 34px;
}

.empresa-hero h1 {
  max-width: 540px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.empresa-hero h1 span {
  color: var(--brand);
}

.empresa-hero p {
  max-width: 520px;
  font-size: 0.96rem;
  color: #2d3440;
  line-height: 1.65;
}

.empresa-hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 560px;
  margin-top: 34px;
}

.empresa-hero-feature {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 92px;
  padding: 0 16px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.empresa-hero-feature + .empresa-hero-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 12px;
  width: 1px;
  background: rgba(18, 150, 225, 0.14);
}

.empresa-hero-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  border: 0;
}

.empresa-hero-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.empresa-hero-visual {
  position: relative;
  min-height: 356px;
  align-self: stretch;
}

.empresa-hero-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 142px;
  background: linear-gradient(100deg, #eff7fd 0%, rgba(239, 247, 253, 0.78) 42%, rgba(239, 247, 253, 0) 100%);
  clip-path: polygon(0 0, 54% 0, 100% 100%, 0% 100%);
}

.empresa-hero-image {
  position: absolute;
  inset: 0;
  min-height: 356px;
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}

.empresa-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 356px;
  object-fit: cover;
  object-position: center;
}

.empresa-hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.empresa-history {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.78fr);
  gap: 76px;
  align-items: center;
}

.empresa-history-copy {
  max-width: 720px;
}

.empresa-history-copy p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.empresa-history-copy p:last-child {
  margin-bottom: 0;
}

.empresa-history-card {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  padding: 18px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(13, 122, 191, 0.08);
}

.empresa-history-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
}

.empresa-history-item + .empresa-history-item {
  border-top: 1px solid var(--border);
}

.empresa-history-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1296e1;
}

.empresa-history-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.8;
  stroke: currentColor;
}

.empresa-history-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.empresa-history-item div span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.empresa-workflow {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.empresa-workflow .section-label {
  margin-bottom: 8px;
}

.empresa-workflow h3 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.empresa-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.empresa-workflow-step {
  position: relative;
  min-height: 210px;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.empresa-workflow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -27px;
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.28;
  transform: translateY(-50%);
}

.empresa-workflow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 150, 225, 0.38);
  box-shadow: 0 18px 34px rgba(13, 122, 191, 0.12);
}

.empresa-workflow-num {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(18, 150, 225, 0.22);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.empresa-workflow-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--brand-xlight);
  color: var(--brand);
}

.empresa-workflow-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.empresa-workflow-step strong {
  display: block;
  min-height: 2.6em;
  margin-bottom: 8px;
  padding-right: 18px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
}

.empresa-workflow-step p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .empresa-workflow-step:nth-child(1) { animation: workflowStepOne 10s ease-in-out infinite; }
  .empresa-workflow-step:nth-child(2) { animation: workflowStepTwo 10s ease-in-out infinite; }
  .empresa-workflow-step:nth-child(3) { animation: workflowStepThree 10s ease-in-out infinite; }
  .empresa-workflow-step:nth-child(4) { animation: workflowStepFour 10s ease-in-out infinite; }

  .empresa-workflow-step:nth-child(1)::after { animation: workflowArrowOne 10s ease-in-out infinite; }
  .empresa-workflow-step:nth-child(2)::after { animation: workflowArrowTwo 10s ease-in-out infinite; }
  .empresa-workflow-step:nth-child(3)::after { animation: workflowArrowThree 10s ease-in-out infinite; }

  .empresa-workflow-icon {
    animation: workflowIconFloat 4s ease-in-out infinite;
  }

  .empresa-workflow-step:nth-child(2) .empresa-workflow-icon { animation-delay: 0.2s; }
  .empresa-workflow-step:nth-child(3) .empresa-workflow-icon { animation-delay: 0.4s; }
  .empresa-workflow-step:nth-child(4) .empresa-workflow-icon { animation-delay: 0.6s; }
}

@keyframes workflowStepOne {
  0%, 84% {
    border-color: rgba(18, 150, 225, 0.5);
    box-shadow: 0 20px 42px rgba(18, 150, 225, 0.18);
    transform: translateY(-5px) scale(1.018);
  }
  92%, 100% {
    border-color: var(--border);
    box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
    transform: translateY(0) scale(1);
  }
}

@keyframes workflowStepTwo {
  0%, 22%, 92%, 100% {
    border-color: var(--border);
    box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
    transform: translateY(0) scale(1);
  }
  30%, 84% {
    border-color: rgba(18, 150, 225, 0.5);
    box-shadow: 0 20px 42px rgba(18, 150, 225, 0.18);
    transform: translateY(-5px) scale(1.018);
  }
}

@keyframes workflowStepThree {
  0%, 45%, 92%, 100% {
    border-color: var(--border);
    box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
    transform: translateY(0) scale(1);
  }
  53%, 84% {
    border-color: rgba(18, 150, 225, 0.5);
    box-shadow: 0 20px 42px rgba(18, 150, 225, 0.18);
    transform: translateY(-5px) scale(1.018);
  }
}

@keyframes workflowStepFour {
  0%, 68%, 92%, 100% {
    border-color: var(--border);
    box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
    transform: translateY(0) scale(1);
  }
  76%, 84% {
    border-color: rgba(18, 150, 225, 0.5);
    box-shadow: 0 20px 42px rgba(18, 150, 225, 0.18);
    transform: translateY(-5px) scale(1.018);
  }
}

@keyframes workflowArrowOne {
  0%, 12%, 92%, 100% { opacity: 0.24; text-shadow: none; transform: translate(-2px, -50%); }
  20%, 84% { opacity: 1; text-shadow: 0 0 14px rgba(18, 150, 225, 0.7); transform: translate(3px, -50%); }
}

@keyframes workflowArrowTwo {
  0%, 35%, 92%, 100% { opacity: 0.24; text-shadow: none; transform: translate(-2px, -50%); }
  43%, 84% { opacity: 1; text-shadow: 0 0 14px rgba(18, 150, 225, 0.7); transform: translate(3px, -50%); }
}

@keyframes workflowArrowThree {
  0%, 58%, 92%, 100% { opacity: 0.24; text-shadow: none; transform: translate(-2px, -50%); }
  66%, 84% { opacity: 1; text-shadow: 0 0 14px rgba(18, 150, 225, 0.7); transform: translate(3px, -50%); }
}

@keyframes workflowIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.empresa-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.empresa-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}

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

.mvv-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.mvv-icon {
  width: 42px;
  height: 42px;
  background: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}

.mvv-icon svg { width: 20px; height: 20px; }
.mvv-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.mvv-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

.values-list { display: flex; flex-direction: column; gap: 16px; }

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--brand);
}

.value-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
  min-width: 28px;
  line-height: 1.2;
}

.value-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.value-item p  { font-size: 0.84rem; color: var(--text-muted); }

/* ── Asesorias page ─────────────────────────────────────────── */
.asesorias-hero {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(100deg, #f8fbfe 0%, #eff7fd 48%, #dcecf7 100%);
}

.asesorias-hero .container {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
  padding-right: 0;
}

.asesorias-hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, 590px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 392px;
}

.asesorias-hero-copy {
  max-width: 590px;
  order: 1;
}

.asesorias-hero h1 {
  max-width: 610px;
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.asesorias-hero p {
  max-width: 560px;
  font-size: 0.98rem;
  color: #2d3440;
}

.asesorias-hero-visual {
  position: relative;
  min-height: 392px;
  align-self: stretch;
  order: 2;
}

.asesorias-hero-visual::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 150px;
  border: 0;
  background: linear-gradient(100deg, #eff7fd 0%, rgba(239, 247, 253, 0.78) 42%, rgba(239, 247, 253, 0) 100%);
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0% 100%);
}

.asesorias-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.asesorias-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 210px;
}

.asesorias-hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 392px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: none;
}

.asesorias-intro {
  background: #fff;
}

.asesorias-intro-content {
  max-width: 760px;
}

.asesorias-intro-content .section-title {
  max-width: 680px;
}

.asesorias-intro-content p {
  max-width: 720px;
  margin: 0;
  color: #2d3440;
  font-size: 1.03rem;
  line-height: 1.82;
}

.asesorias-process {
  background: #f7fbfe;
}

.asesorias-areas {
  background: linear-gradient(180deg, #edf6fd 0%, #f6fbfe 100%);
}

.asesorias-info {
  background: #fff;
}

.asesorias-process .section-title,
.asesorias-areas .section-title,
.asesorias-info .section-title {
  max-width: 560px;
}

.asesorias-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.asesorias-step-card {
  position: relative;
  min-height: 248px;
  padding: 30px 24px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(13, 122, 191, 0.07);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.asesorias-step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -24px;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.25;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.asesorias-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 150, 225, 0.42);
  box-shadow: 0 18px 34px rgba(13, 122, 191, 0.13);
}

.asesorias-step-card:hover::after {
  opacity: 0.7;
  transform: translate(3px, -50%);
}

.asesorias-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 4px auto 20px;
  border: 1px solid rgba(18, 150, 225, 0.14);
  border-radius: var(--radius-lg);
  background: #eef6fb;
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.asesorias-step-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.asesorias-step-card:hover .asesorias-step-icon {
  border-color: rgba(18, 150, 225, 0.28);
  background: var(--brand-xlight);
  color: var(--brand-dark);
}

.asesorias-step-num {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(18, 150, 225, 0.18);
  transition: background var(--ease), color var(--ease);
}

.asesorias-step-card:hover .asesorias-step-num {
  background: var(--brand-dark);
}

.asesorias-step-card h3 {
  min-height: 2.55em;
  margin-bottom: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.28;
}

.asesorias-step-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.asesorias-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.asesorias-area-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(13, 122, 191, 0.07);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.asesorias-area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 150, 225, 0.46);
  box-shadow: 0 18px 38px rgba(13, 122, 191, 0.13);
}

.asesorias-area-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 190px;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
  transition: filter var(--ease), transform 0.35s ease;
}

.asesorias-area-card:hover .asesorias-area-placeholder {
  filter: brightness(1.03) saturate(1.04);
  transform: scale(1.015);
}

.asesorias-area-body {
  flex: 1;
  padding: 26px 24px 28px;
  border-top: 3px solid transparent;
  transition: border-color var(--ease);
}

.asesorias-area-card:hover .asesorias-area-body {
  border-top-color: var(--brand);
}

.asesorias-area-card h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.28;
}

.asesorias-area-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.asesorias-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.asesorias-info-card {
  min-height: 188px;
  padding: 22px 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(13, 122, 191, 0.05);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.asesorias-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 150, 225, 0.38);
  box-shadow: 0 14px 28px rgba(13, 122, 191, 0.1);
}

.asesorias-info-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--brand-light);
  color: var(--brand);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.asesorias-info-marker svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  overflow: visible;
}

.asesorias-info-marker--product svg {
  width: 27px;
  height: 27px;
}

.asesorias-info-marker--container svg {
  width: 27px;
  height: 23px;
}

.asesorias-info-marker--thermo svg {
  width: 23px;
  height: 27px;
}

.asesorias-info-card:hover .asesorias-info-marker {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.asesorias-info-card h3 {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.asesorias-info-card p {
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.asesorias-when {
  background: linear-gradient(180deg, #eaf5fc 0%, #f8fcff 100%);
}

.asesorias-when-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.asesorias-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.asesorias-checklist li {
  position: relative;
  min-height: 92px;
  padding: 22px 22px 20px 58px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: #26303d;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(13, 122, 191, 0.06);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.asesorias-checklist li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-xlight);
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.asesorias-checklist li:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 150, 225, 0.38);
  box-shadow: 0 14px 28px rgba(13, 122, 191, 0.1);
}

.asesorias-checklist li:hover::before {
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}

.asesorias-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 86% 86%, rgba(82, 183, 237, 0.36) 0, rgba(82, 183, 237, 0.14) 25%, rgba(82, 183, 237, 0) 54%),
    linear-gradient(135deg, #0b67a5 0%, var(--brand-dark) 44%, var(--brand) 100%);
}

.asesorias-cta-content {
  position: relative;
  z-index: 1;
}

.asesorias-cta .btn {
  min-width: 178px;
  justify-content: center;
}

.asesorias-cta-primary:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.asesorias-cta-secondary:hover {
  transform: translateY(-1px);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  transition: opacity var(--motion-time) var(--motion-ease), transform var(--motion-time) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-delay-0 { --reveal-delay: 0ms; }
.reveal-delay-1 { --reveal-delay: 90ms; }
.reveal-delay-2 { --reveal-delay: 180ms; }
.reveal-delay-3 { --reveal-delay: 270ms; }
.reveal-delay-4 { --reveal-delay: 360ms; }
.reveal-delay-5 { --reveal-delay: 450ms; }

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero:not(.empresa-hero):not(.productos-hero):not(.asesorias-hero) .container,
  .slide-text,
  .empresa-hero-copy,
  .productos-hero-copy,
  .asesorias-hero-copy {
    animation: siteHeroFadeUp 0.72s var(--motion-ease) both;
  }

  .slide-image,
  .empresa-hero-visual,
  .productos-hero-visual,
  .asesorias-hero-visual {
    animation: siteHeroSlideIn 0.82s var(--motion-ease) 0.08s both;
  }

  .reveal-ready .asesorias-checklist li.is-visible::before {
    animation: asesoriasCheckPop 0.36s ease both;
  }
}

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

@keyframes siteHeroSlideIn {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes asesoriasCheckPop {
  0% { transform: scale(0.72); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ── Site Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.logo--footer {
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand .logo-wordmark {
  color: #fff;
  font-size: 1.3rem;
  display: block;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.75; max-width: 300px; }

.footer-brand-copy {
  margin-top: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.875rem;
  transition: color var(--ease);
}

.footer-col a:hover { color: var(--brand); }

.footer-col address { display: flex; flex-direction: column; gap: 10px; }
.footer-col address p, .footer-col address a { font-size: 0.875rem; }

.footer-contact-link,
.footer-address-line {
  display: flex;
  gap: 8px;
}

.footer-contact-link {
  align-items: center;
}

.footer-address-line {
  align-items: flex-start;
  margin-top: 2px;
}

.footer-address-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.inline-icon-offset {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .logo-placeholder-grid { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .empresa-hero .container { padding-right: 24px; }
  .empresa-hero-grid { grid-template-columns: 1fr; gap: 26px; min-height: auto; }
  .clientes-hero .empresa-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .empresa-hero-copy { padding: 48px 0 0; }
  .empresa-hero-visual { min-height: 320px; max-width: 680px; }
  .empresa-hero-image { min-height: 320px; }
  .clientes-hero-visual,
  .clientes-hero-image { min-height: 320px; }
  .clientes-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .empresa-history { grid-template-columns: 1fr; gap: 40px; }
  .empresa-history-card { max-width: 560px; margin-left: 0; }
  .empresa-workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .empresa-workflow-step:not(:last-child)::after { display: none; }
  .asesorias-hero .container { padding-right: 24px; }
  .asesorias-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 48px 0;
  }
  .asesorias-hero-visual {
    min-height: 280px;
    max-width: 680px;
  }
  .asesorias-hero-placeholder { min-height: 280px; }
  .asesorias-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asesorias-step-card:not(:last-child)::after { display: none; }
  .asesorias-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .productos-hero .container { padding-right: 24px; }
  .productos-hero-grid { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding: 48px 0 0; }
  .productos-hero-visual { min-height: 300px; max-width: 680px; order: 2; }
  .productos-hero-image { min-height: 300px; }
  .productos-hero-copy { order: 1; }
  .product-family-card {
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1fr);
  }
  .product-family-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  }
  .precintos-cta .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) and (min-width: 769px) {
  .header-top .container {
    grid-template-columns: minmax(135px, 0.8fr) auto minmax(104px, 0.8fr);
    gap: 14px;
  }

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

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

  .logo::after { height: 34px; }

  .logo-wordmark { font-size: 1.02rem; }

  .logo-subtitle { font-size: 0.62rem; }

  .header-contact {
    padding-left: 12px;
  }

  .header-contact-cta {
    min-height: 34px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-list > li > a {
    padding-inline: 9px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-top-h: 56px;
    --header-nav-h: 0px;
    --header-h:     56px;
  }
  .section { padding: 60px 0; }

  .header-top .container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .logo {
    min-width: 0;
    padding-right: 12px;
  }

  .logo-image {
    width: 44px;
    height: 44px;
  }

  .logo::after { height: 34px; }

  .logo-wordmark { font-size: 1rem; }

  .logo-subtitle { font-size: 0.58rem; }

  /* Show hamburger, keep contact CTA outside the page links */
  .nav-toggle { display: flex; }
  .header-contact {
    display: flex;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .header-contact-cta {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  /* Mobile nav overlay — slides in from right */
  .nav-list {
    position: fixed;
    top: calc(var(--header-top-h) + 3px);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 2px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 199;
  }

  .nav-list.open { transform: translateX(0); }

  .nav-list > li > a {
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .has-dropdown > a::after { float: right; margin-top: 6px; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 20px;
    background: transparent;
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown { display: block; }

  /* Layouts */
  .carousel { height: 430px; min-height: 0; }
  .carousel-track,
  .carousel-slide { height: 100%; }
  .carousel-slide { align-items: stretch; }
  .slide-content {
    grid-template-columns: 1fr;
    height: 100%;
    min-height: 0;
    padding: 46px 24px 92px;
  }
  .slide-text {
    align-self: center;
    min-height: 270px;
    padding-top: 0;
  }
  .slide-image { display: none; }
  .carousel-btn {
    top: auto;
    bottom: 24px;
    width: 38px;
    height: 38px;
    transform: none;
  }
  .carousel-btn--prev { left: 24px; }
  .carousel-btn--next { right: 24px; }
  .carousel-dots { bottom: 38px; }

  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .strip-item:last-child { border-bottom: none; }

  .company-preview { grid-template-columns: 1fr; gap: 36px; }
  .company-preview-image { display: none; }

  .empresa-intro { grid-template-columns: 1fr; gap: 36px; }
  .empresa-intro-image { display: none; }
  .empresa-hero { padding: 0; }
  .empresa-hero .container { padding-inline: 24px; }
  .empresa-hero-copy { padding: 44px 0 0; }
  .empresa-hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .empresa-hero-feature { min-height: 86px; padding: 0 12px; }
  .empresa-hero-feature:nth-child(3)::before { display: none; }
  .empresa-hero-feature:nth-child(n+3) { padding-top: 12px; }
  .empresa-hero-visual { min-height: 260px; }
  .empresa-hero-image { min-height: 260px; }
  .clientes-hero-visual,
  .clientes-hero-image { min-height: 260px; }
  .empresa-history { gap: 32px; }
  .empresa-history-card { padding: 10px 22px; }
  .empresa-history-item { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; }
  .empresa-history-icon svg { width: 30px; height: 30px; }
  .empresa-workflow-steps { grid-template-columns: 1fr; }
  .empresa-workflow-step { min-height: auto; }
  .empresa-workflow-step:not(:last-child)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -29px;
    transform: translateX(50%);
    content: '↓';
    animation: none;
  }
  .asesorias-hero .container { padding-inline: 24px; }
  .asesorias-hero-grid {
    gap: 28px;
    padding: 44px 0;
  }
  .asesorias-hero-visual,
  .asesorias-hero-placeholder {
    min-height: 244px;
  }
  .asesorias-hero-visual::before {
    width: 98px;
    background: linear-gradient(100deg, #eff7fd 0%, rgba(239, 247, 253, 0.76) 48%, rgba(239, 247, 253, 0) 100%);
  }
  .asesorias-process-grid,
  .asesorias-area-grid,
  .asesorias-checklist {
    grid-template-columns: 1fr;
  }
  .asesorias-process-grid { gap: 22px; }
  .asesorias-step-card {
    min-height: auto;
    padding: 24px 22px 22px;
  }
  .asesorias-step-card:not(:last-child)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -25px;
    content: '↓';
    transform: translateX(50%);
  }
  .asesorias-step-card:hover::after {
    transform: translate(50%, 2px);
  }
  .asesorias-step-card h3 { min-height: auto; }
  .asesorias-area-grid { gap: 22px; }
  .asesorias-area-placeholder { min-height: 180px; }
  .asesorias-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asesorias-when-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .asesorias-checklist li { min-height: auto; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }

  .catalog-advisory {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
  }

  .catalog-advisory-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }

  .sector-grid { grid-template-columns: 1fr 1fr; }
  .clientes-sector-card { padding: 12px 12px 22px; }
  .clientes-testimonial-card { width: 320px; }
  .logo-placeholder-grid { grid-template-columns: repeat(2, 1fr); }

  .product-group-header { flex-direction: column; align-items: flex-start; }
  .productos-hero .container { padding-inline: 24px; }
  .productos-hero-grid { padding: 44px 0 0; }
  .productos-hero-actions { margin-top: 24px; }
  .productos-hero-actions .btn { width: 100%; justify-content: center; }
  .productos-hero-visual { min-height: 240px; }
  .productos-hero-visual::before {
    width: 98px;
    background: linear-gradient(100deg, #eff7fd 0%, rgba(239, 247, 253, 0.76) 48%, rgba(239, 247, 253, 0) 100%);
  }
  .productos-hero-image { min-height: 240px; }
  .product-families .container { gap: 22px; }
  .product-family-card,
  .product-family-card:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .product-family-copy { padding: 24px; }
  .product-family-image-wrap { min-height: 210px; order: 2; }
  .product-family-copy,
  .product-family-card:nth-child(even) .product-family-copy { order: 1; }
  .product-family-image,
  .product-family-card:nth-child(even) .product-family-image {
    min-height: 210px;
    clip-path: none;
  }
  .product-family-image-wrap::after,
  .product-family-card:nth-child(even) .product-family-image-wrap::after {
    top: -1px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 72px;
    clip-path: polygon(0 0, 100% 0, 100% 36%, 0 100%);
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0) 100%);
  }

  .cta-block .cta-actions,
  .cta-block .cta-block-actions { flex-direction: column; align-items: center; }
  .precintos-cta .container {
    text-align: center;
  }
  .precintos-cta-copy p {
    margin-inline: auto;
  }
  .precintos-cta-panel {
    padding: 24px;
  }
  .precintos-cta .cta-actions {
    justify-content: center;
  }
  .page-hero { padding: 48px 0; }
  .productos-hero { padding: 0; }
}

@media (max-width: 480px) {
  .logo {
    gap: 8px;
    padding-right: 10px;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .logo::after { height: 32px; }

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

  .logo-wordmark {
    font-size: 0.98rem;
  }

  .logo-subtitle {
    font-size: 0.54rem;
  }

  .header-contact-cta {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .contact-bubbles {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .contact-bubble {
    width: 44px;
    height: 44px;
  }

  .contact-bubble svg {
    width: 19px;
    height: 19px;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .catalog-card {
    padding: 8px 8px 22px;
  }

  .catalog-card-body {
    padding: 20px 14px 0;
  }

  .catalog-card-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-card-icon {
    width: 42px;
    height: 42px;
  }

  .catalog-tags {
    gap: 6px;
  }

  .catalog-tag {
    min-height: 26px;
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .catalog-advisory {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 22px 18px;
    text-align: center;
  }

  .catalog-advisory-icon {
    width: 64px;
    height: 64px;
  }

  .catalog-advisory-copy p:last-child {
    max-width: 280px;
  }

  .sector-grid { grid-template-columns: 1fr; }
  .clientes-sector-grid { grid-template-columns: 1fr; }
  .clientes-hero .empresa-hero-copy { padding-top: 38px; }
  .clientes-sector-image { aspect-ratio: 16 / 9; }
  .clientes-testimonial-card { width: 286px; min-height: auto; padding: 26px; }
  .logo-placeholder-grid { grid-template-columns: 1fr 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .asesorias-hero h1 { font-size: clamp(1.85rem, 10vw, 2.35rem); }
  .asesorias-info-grid { grid-template-columns: 1fr; }
  .asesorias-info-card { min-height: auto; }
  .asesorias-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  .precintos-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  .product-family-copy { padding: 20px; }
  .product-family-image-wrap,
  .product-family-image,
  .product-family-card:nth-child(even) .product-family-image { min-height: 180px; }
  .qc-steps { grid-template-columns: 1fr 1fr !important; }
  .carousel { height: 420px; }
  .slide-content { padding-bottom: 88px; }
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  .carousel-btn--prev { left: 20px; }
  .carousel-btn--next { right: 20px; }
}

@media (max-width: 768px) {
  .qc-steps { grid-template-columns: 1fr 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-hero .container,
  .slide-text,
  .slide-image,
  .empresa-hero-copy,
  .empresa-hero-visual,
  .productos-hero-copy,
  .productos-hero-visual,
  .asesorias-hero-copy,
  .asesorias-hero-visual,
  .asesorias-hero-placeholder,
  .btn:hover,
  .card:hover,
  .product-card:hover,
  .cert-card:hover,
  .sector-card:hover,
  .clientes-sector-card:hover,
  .asesorias-step-card:hover,
  .asesorias-area-card:hover,
  .asesorias-area-card:hover .asesorias-area-placeholder,
  .asesorias-info-card:hover,
  .asesorias-info-card:hover .asesorias-info-marker,
  .asesorias-checklist li:hover,
  .asesorias-checklist li:hover::before,
  .asesorias-cta-primary:hover,
  .asesorias-cta-secondary:hover {
    transform: none;
  }

  .clientes-testimonial-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .clientes-testimonial-track {
    width: auto;
    animation: none;
  }

  .clientes-testimonial-group {
    flex-wrap: wrap;
    width: 100%;
    padding-right: 0;
  }

  .clientes-testimonial-group[aria-hidden="true"] {
    display: none;
  }

  .clientes-testimonial-card {
    width: min(100%, 360px);
  }
}
