/* ============================================
   LOGINTEC – Sistema visual refinado
   Borgoña #5a1e31 + Verde lima #76b82a
   ============================================ */

:root {
  --burgundy-900: #3a0f1f;
  --burgundy-800: #4a1528;
  --burgundy-700: #5a1e31;
  --burgundy-600: #6d2840;
  --burgundy-500: #823552;

  --green-500: #76b82a;
  --green-400: #8fcc45;
  --green-300: #a8db6a;
  --green-glow: rgba(118, 184, 42, 0.28);
  --green-light: #f3f9eb;

  --white: #ffffff;
  --cream: #faf8f5;
  --gray-50: #f5f3f0;
  --gray-100: #ebe8e4;
  --gray-200: #ddd9d4;
  --gray-300: #c4bfb8;
  --gray-400: #9a948c;
  --gray-500: #6b6560;
  --gray-600: #4a4541;
  --gray-700: #2e2a27;
  --text: #3d3835;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --container: 1180px;
  --container-wide: 1640px;
  --header-height: 106px;
  --topbar-height: 34px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(58, 15, 31, 0.05);
  --shadow-sm: 0 2px 8px rgba(58, 15, 31, 0.07);
  --shadow-md: 0 8px 30px rgba(58, 15, 31, 0.09);
  --shadow-lg: 0 20px 50px rgba(58, 15, 31, 0.12);
  --shadow-glow: 0 8px 40px var(--green-glow);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TOP BAR ── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--burgundy-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--topbar-height);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.top-bar a:hover { color: var(--green-400); }

/* ── HEADER (minimal) ── */
.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  background: var(--white);
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 20px;
  padding-right: 128px;
}

.header__inner .logo { justify-self: start; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 100px;
  transition: var(--transition);
}

.nav a:hover,
.nav a.nav__active {
  color: var(--burgundy-800);
  background: var(--gray-50);
}

.nav__mobile-cta { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.header__phone {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  transition: var(--transition);
}

.header__phone:hover { color: var(--burgundy-700); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
}

.lang-switch__btn {
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  border-radius: 100px;
  transition: var(--transition);
}

.lang-switch__btn:hover {
  color: var(--burgundy-800);
}

.lang-switch__btn--active {
  background: var(--burgundy-800);
  color: var(--white);
}

.lang-switch__btn--active:hover {
  color: var(--white);
}

.lang-switch__sep {
  font-size: 0.7rem;
  color: var(--gray-300);
  user-select: none;
}

.lang-switch--corner {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  height: auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  z-index: 2;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--burgundy-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
}

.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  background: var(--white);
  color: var(--burgundy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--green-500);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--primary {
  background: var(--burgundy-800);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--burgundy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--large { padding: 15px 30px; font-size: 0.95rem; }
.btn--full { width: 100%; }

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.logo--footer .logo__img {
  height: 72px;
  max-width: 80px;
}

.logo__word { color: #1e1e1e; }
.logo--footer .logo__word { color: var(--white); }

.logo__accent {
  width: 30px;
  height: 34px;
  margin: 0 2px;
  flex-shrink: 0;
}

/* ── HERO PILL BUTTON ── */
.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  background: var(--burgundy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-pill-btn:hover {
  background: var(--burgundy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-pill-btn--sm {
  padding: 6px 6px 6px 18px;
  font-size: 0.82rem;
  gap: 10px;
}

.hero-pill-btn--outline {
  background: var(--white);
  color: var(--burgundy-800);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.hero-pill-btn--outline:hover {
  background: var(--green-light);
  border-color: var(--green-500);
  color: var(--burgundy-900);
}

.hero-pill-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  color: var(--burgundy-900);
  flex-shrink: 0;
  transition: var(--transition);
}

.hero-pill-btn--sm .hero-pill-btn__icon {
  width: 30px;
  height: 30px;
}

.hero-pill-btn__icon svg {
  width: 16px;
  height: 16px;
}

.hero-pill-btn__icon--green {
  background: var(--green-500);
  color: var(--white);
}

.hero-pill-btn:hover .hero-pill-btn__icon {
  transform: rotate(45deg);
}

/* ── HERO SPLIT ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--burgundy-900);
}

.hero::after {
  content: '';
  position: absolute;
  top: var(--header-height);
  bottom: 0;
  left: 50%;
  width: 1px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-height));
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: filter 0.55s var(--ease);
}

.hero:hover .hero-panel:not(:hover) {
  filter: brightness(0.72);
}

.hero-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroKenBurns 12s var(--ease) forwards;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.hero-panel--logistics .hero-panel__img {
  object-position: 70% center;
}

.hero-panel--volumetry .hero-panel__img {
  object-position: center;
  animation-delay: 0.15s;
}

.hero-panel:hover .hero-panel__img {
  transform: scale(1.1);
  animation: none;
}

.hero-panel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

/* Overlay editorial: más denso donde está el texto */
.hero-panel--logistics .hero-panel__overlay {
  background:
    linear-gradient(
      to top,
      rgba(40, 8, 20, 0.72) 0%,
      rgba(74, 21, 40, 0.42) 42%,
      rgba(90, 30, 49, 0.18) 100%
    ),
    linear-gradient(
      105deg,
      rgba(58, 15, 31, 0.5) 0%,
      rgba(90, 30, 49, 0.22) 55%,
      rgba(90, 30, 49, 0.08) 100%
    );
}

.hero-panel--volumetry .hero-panel__overlay {
  background:
    linear-gradient(
      to top,
      rgba(35, 65, 10, 0.7) 0%,
      rgba(70, 120, 25, 0.4) 42%,
      rgba(118, 184, 42, 0.16) 100%
    ),
    linear-gradient(
      105deg,
      rgba(60, 110, 20, 0.48) 0%,
      rgba(118, 184, 42, 0.2) 55%,
      rgba(118, 184, 42, 0.08) 100%
    );
}

.hero-panel:hover .hero-panel__overlay {
  opacity: 0.92;
}

.hero-panel__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
  max-width: 540px;
  width: 100%;
}

.hero-panel__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s var(--ease) 0.15s forwards;
}

.hero-panel--volumetry .hero-panel__eyebrow {
  animation-delay: 0.25s;
}

.hero-panel__line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green-400);
  border-radius: 2px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s var(--ease) 0.25s forwards;
  transition: width 0.4s var(--ease);
}

.hero-panel--volumetry .hero-panel__line {
  animation-delay: 0.35s;
}

.hero-panel__line--burgundy {
  background: rgba(255, 255, 255, 0.9);
}

.hero-panel:hover .hero-panel__line {
  width: 64px;
}

.hero-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s var(--ease) 0.35s forwards;
}

.hero-panel--volumetry .hero-panel__title {
  animation-delay: 0.45s;
}

.hero-panel__desc {
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 20px;
  max-width: 400px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s var(--ease) 0.45s forwards;
}

.hero-panel--volumetry .hero-panel__desc {
  animation-delay: 0.55s;
}

.hero-panel__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s var(--ease) 0.55s forwards;
}

.hero-panel--volumetry .hero-panel__chips {
  animation-delay: 0.65s;
}

.hero-panel__chips li {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.75s var(--ease) 0.65s forwards;
}

.hero-panel--volumetry .hero-panel__cta {
  animation-delay: 0.75s;
}

.hero-panel__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.hero-panel__cta--ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
}

.hero-panel:hover .hero-panel__cta--ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

.hero-panel:hover .hero-panel__cta svg {
  transform: translate(2px, -2px);
}

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-panel__img {
    animation: none;
    transform: scale(1);
  }

  .hero-panel:hover .hero-panel__img {
    transform: scale(1);
  }

  .hero:hover .hero-panel:not(:hover) {
    filter: none;
  }

  .hero-panel__eyebrow,
  .hero-panel__line,
  .hero-panel__title,
  .hero-panel__desc,
  .hero-panel__chips,
  .hero-panel__cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-panel:hover .hero-panel__line {
    width: 40px;
  }

  .hero-panel:hover .hero-panel__cta svg {
    transform: none;
  }
}

.hero-rotate__text .t-bold,
.hero__headline .t-bold,
.section__header h2 .t-bold,
.about-content h2 .t-bold,
.contact-info h2 .t-bold,
.welcome-intro__title .t-bold {
  font-weight: 700;
  color: var(--burgundy-900);
}

.hero-rotate__text .t-light,
.hero__headline .t-light {
  font-weight: 400;
  color: var(--gray-400);
}

.hero-rotate__text .t-accent,
.hero__headline .t-accent,
.section__header h2 .t-accent,
.about-content h2 .t-accent,
.contact-info h2 .t-accent,
.welcome-intro__title .t-accent {
  font-weight: 700;
  color: var(--green-500);
}

.section__header--light h2 .t-bold {
  color: var(--white);
}

.section__header--light h2 .t-accent {
  color: var(--green-400);
}

/* ── SECTIONS ── */
.section { padding: 96px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-600);
  margin-bottom: 14px;
}

.section__label::before,
.section__label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green-500);
  border-radius: 1px;
}

.section__label--accent {
  color: var(--burgundy-600);
}

.section__label--accent::before,
.section__label--accent::after {
  background: var(--green-500);
}

.cubiscan-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-600);
  margin-bottom: 14px;
}

.cubiscan-label::before,
.cubiscan-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green-500);
  border-radius: 1px;
  margin: 0;
  letter-spacing: 0;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--burgundy-900);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section__header h2 .t-bold,
.section__header h2 .t-accent {
  font-weight: 700;
}

.section__header p {
  font-size: 1.02rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.section__header--light h2 { color: var(--white); }
.section__header--light p { color: rgba(255,255,255,0.72); }

/* ── LOGISTICS ── */
.section--logistics {
  background: var(--cream);
  padding-top: 40px;
  padding-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  overflow: visible;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  border: 1px solid var(--gray-100);
  color: var(--text);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gray-200);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--burgundy-800);
  color: var(--white);
  border-color: transparent;
}

.service-card:hover::before {
  background: var(--green-500);
}

.service-card__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  transition: var(--transition);
}

.service-card:hover .service-card__number {
  color: rgba(255, 255, 255, 0.12);
}

.service-card__icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-md);
  color: var(--burgundy-700);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon-wrap {
  background: rgba(118, 184, 42, 0.15);
  color: var(--green-300);
}

.service-card__icon-wrap svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--burgundy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: #ffffff;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 18px;
  transition: var(--transition);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.88);
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.service-card__tags li {
  padding: 4px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green-light);
  color: var(--burgundy-700);
  border-radius: 100px;
  border: 1px solid rgba(118, 184, 42, 0.2);
  transition: var(--transition);
}

.service-card:hover .service-card__tags li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-300);
  border-color: rgba(118, 184, 42, 0.25);
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-500);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.service-card__more::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
}

.service-card:hover .service-card__more {
  color: var(--green-300);
}

.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.feature-pill__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green-500);
  flex-shrink: 0;
}

.feature-pill__icon svg { width: 18px; height: 18px; }

.feature-pill:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-xs);
  color: var(--burgundy-800);
}

/* ── CUBISCAN ── */
.section--cubiscan {
  background: var(--white);
  position: relative;
  overflow: clip;
  padding: 0;
}

.cubiscan-top {
  position: relative;
  padding: clamp(40px, 5vw, 56px) 0 clamp(40px, 5vw, 60px);
  overflow: visible;
  background:
    radial-gradient(circle at 8% 82%, rgba(118, 184, 42, 0.05) 0%, transparent 26%),
    radial-gradient(circle at 94% 8%, rgba(74, 21, 40, 0.04) 0%, transparent 30%),
    linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
}

.cubiscan-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(74, 21, 40, 0.075) 1.1px, transparent 1.1px);
  background-size: 16px 16px;
  mask-image:
    radial-gradient(ellipse 48% 42% at 92% 12%, #000 0%, transparent 72%),
    radial-gradient(ellipse 40% 38% at 6% 88%, #000 0%, transparent 70%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
  pointer-events: none;
  opacity: 0.85;
}

.cubiscan-top::after {
  content: '';
  position: absolute;
  inset: -10% -5%;
  background:
    repeating-radial-gradient(
      ellipse 120% 80% at 50% 110%,
      transparent 0,
      transparent 48px,
      rgba(74, 21, 40, 0.035) 49px,
      transparent 50px
    );
  pointer-events: none;
}

.cubiscan-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.2fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: end;
}

.cubiscan-copy {
  max-width: 540px;
  padding-bottom: clamp(8px, 1.5vw, 24px);
}

.cubiscan-title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--burgundy-800);
  margin-bottom: 18px;
}

.cubiscan-title .t-bold {
  color: var(--burgundy-800);
  font-weight: 700;
}

.cubiscan-title .t-accent {
  color: var(--green-500);
  font-weight: 700;
}

.cubiscan-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 44ch;
}

.cubiscan-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 28px;
}

.cubiscan-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gray-600);
  max-width: 22ch;
}

.cubiscan-highlights__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green-500);
}

.cubiscan-highlights__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cubiscan-visual {
  position: relative;
  min-height: 280px;
  margin-right: clamp(-8px, -1.5vw, -28px);
  margin-bottom: -8px;
}

.cubiscan-visual__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(560px, 58vh);
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.12);
  transform-origin: right bottom;
  filter: drop-shadow(0 20px 36px rgba(58, 15, 31, 0.1));
}

.cubiscan-bridge {
  position: relative;
  z-index: 3;
  height: 0;
  overflow: visible;
}

.cubiscan-bridge .container {
  position: relative;
}

.cubiscan-panel {
  position: relative;
  top: -45px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 18px;
  box-shadow:
    0 4px 6px rgba(58, 15, 31, 0.04),
    0 18px 40px rgba(58, 15, 31, 0.12);
  padding: 18px 10px;
}

.cubiscan-panel__item {
  text-align: center;
  padding: 2px clamp(10px, 1.6vw, 22px);
  border-right: 1px solid var(--gray-100);
}

.cubiscan-panel__item:last-child {
  border-right: none;
}

.cubiscan-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--burgundy-800);
  color: var(--white);
}

.cubiscan-panel__icon svg {
  width: 18px;
  height: 18px;
}

.cubiscan-panel__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--burgundy-800);
  margin-bottom: 6px;
}

.cubiscan-panel__item p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gray-600);
  max-width: 26ch;
  margin: 0 auto;
}

.cubiscan-bottom {
  position: relative;
  background: var(--burgundy-900);
  padding: clamp(96px, 10vw, 120px) 0 clamp(40px, 4vw, 56px);
}

.cubiscan-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse 38% 65% at 6% 72%, #000 0%, transparent 74%);
  pointer-events: none;
}

.cubiscan-bottom__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cubiscan-cta {
  min-width: 260px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(118, 184, 42, 0.28);
}

.cubiscan-cta::after {
  content: '→';
  margin-left: 6px;
}

/* ── ABOUT ── */
.section--about {
  background: var(--white);
  padding: clamp(48px, 6vw, 72px) 0 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.about-content .section__label {
  margin-bottom: 12px;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 700;
  color: var(--burgundy-900);
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.about-content > p {
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.75;
  max-width: 52ch;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.value-item {
  padding: 18px 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.value-item:hover {
  border-color: rgba(118, 184, 42, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-item__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green-500);
}

.value-item__icon svg { width: 20px; height: 20px; }

.value-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--burgundy-800);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.76rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

.about-visual {
  align-self: stretch;
  min-height: 420px;
}

.about-media {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(58, 15, 31, 0.08) 0%,
    rgba(58, 15, 31, 0.35) 55%,
    rgba(58, 15, 31, 0.55) 100%
  );
  pointer-events: none;
}

.about-media__cards {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(260px, 58%);
}

.about-card {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

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

.about-card--logistics,
.about-card--cubiscan {
  background: rgba(74, 21, 40, 0.88);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card__label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 6px;
}

.about-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--white);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-500);
  width: fit-content;
}

.about-card p {
  opacity: 0.88;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
  max-width: 18ch;
}

.about-card__deco {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 52px;
  height: auto;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.about-cta {
  background: var(--burgundy-900);
  padding: 22px 0;
}

.about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-cta__text {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.about-cta__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-cta__icon svg {
  width: 16px;
  height: 16px;
}

.about-cta__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
}

.about-cta__btn {
  background: var(--white);
  color: var(--burgundy-800);
  flex-shrink: 0;
}

.about-cta__btn:hover {
  background: var(--cream);
  color: var(--burgundy-900);
}

.about-cta__btn .hero-pill-btn__icon {
  background: var(--burgundy-800);
  color: var(--white);
}

/* ── CONTACT ── */
.section--contact { background: var(--cream); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 700;
  color: var(--burgundy-900);
  margin-bottom: 14px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

a.contact-item:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-xs);
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green-500);
  flex-shrink: 0;
}

.contact-item__icon svg { width: 20px; height: 20px; }

.contact-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--burgundy-800);
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.15);
}

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

.form-recaptcha {
  margin-bottom: 18px;
  min-height: 78px;
}

.form-recaptcha .g-recaptcha {
  transform-origin: left center;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.form-status--success {
  color: #1a5c2e;
  background: rgba(118, 184, 42, 0.15);
  border: 1px solid rgba(118, 184, 42, 0.35);
}

.form-status--error {
  color: #8b1a1a;
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.25);
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* ── FOOTER ── */
.footer {
  background: var(--burgundy-900);
  color: rgba(255,255,255,0.5);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  padding: 56px 28px;
}

.footer__brand .logo {
  margin-bottom: 6px;
  display: inline-flex;
  padding: 0;
  background: none;
  border-radius: 0;
}

.footer__brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 300px;
}

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

.footer__links h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links a {
  display: block;
  font-size: 0.86rem;
  padding: 3px 0;
  transition: var(--transition);
}

.footer__links a:hover { color: var(--green-400); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p { font-size: 0.8rem; }

.footer__social {
  font-size: 0.8rem;
  color: var(--green-400);
  transition: var(--transition);
}

.footer__social:hover { color: var(--green-300); }

/* ── WELCOME ── */
.section--welcome {
  background: var(--cream);
  padding: 72px 0 40px;
}

.welcome-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 48px;
}

.welcome-intro {
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.welcome-intro__line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--green-500);
  border-radius: 2px;
  margin: 0 0 22px;
}

.welcome-intro__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.welcome-intro__text {
  font-size: clamp(1.06rem, 0.4vw + 0.98rem, 1.13rem);
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.welcome-intro__btn {
  margin-top: 16px;
}

.welcome-intro .hero-pill-btn {
  font-size: 1rem;
  padding: 10px 10px 10px 26px;
  width: auto;
  align-self: flex-start;
}

.welcome-intro .hero-pill-btn__icon {
  width: 40px;
  height: 40px;
}

.welcome-services-panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-left: clamp(36px, 5vw, 60px);
  width: 100%;
}

.welcome-services-panel__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy-800);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-500);
}

.welcome-services-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.welcome-svc-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.welcome-svc-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--burgundy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-svc-item__icon svg {
  width: 19px;
  height: 19px;
}

.welcome-svc-item h4 {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.9vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--burgundy-900);
  margin-bottom: 6px;
  line-height: 1.3;
}

.welcome-svc-item p {
  font-size: clamp(0.82rem, 0.85vw, 0.9rem);
  line-height: 1.55;
  color: var(--gray-600);
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.welcome-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.welcome-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.welcome-stat__icon svg {
  width: 22px;
  height: 22px;
}

.welcome-stat__icon--burgundy {
  background: var(--burgundy-800);
}

.welcome-stat__icon--green {
  background: var(--green-500);
}

.welcome-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--burgundy-900);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.welcome-stat span {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.35;
}

.welcome-cards-wide {
  width: min(calc(100% - 24px), var(--container-wide));
  margin: 0 auto;
}

.welcome-cards {
  display: flex;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.welcome-card {
  position: relative;
  flex: 1;
  display: block;
  min-height: 400px;
  color: var(--white);
  text-decoration: none;
  transition: filter var(--transition);
}

.welcome-card:hover {
  filter: brightness(1.05);
}

.welcome-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.welcome-card--logistics img {
  object-position: 88% center;
}

.welcome-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.welcome-card--logistics .welcome-card__overlay {
  background: linear-gradient(
    to right,
    rgba(90, 30, 49, 0.93) 0%,
    rgba(90, 30, 49, 0.82) 35%,
    rgba(90, 30, 49, 0.45) 60%,
    rgba(90, 30, 49, 0.1) 85%,
    transparent 100%
  );
}

.welcome-card--cubiscan .welcome-card__overlay {
  background: linear-gradient(
    to right,
    rgba(118, 184, 42, 0.93) 0%,
    rgba(118, 184, 42, 0.82) 35%,
    rgba(118, 184, 42, 0.45) 60%,
    rgba(118, 184, 42, 0.1) 85%,
    transparent 100%
  );
}

.welcome-card__content {
  position: relative;
  z-index: 2;
  padding: 48px 44px;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.welcome-card__line {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--green-500);
  border-radius: 2px;
  margin-bottom: 18px;
}

.welcome-card__line--burgundy {
  background: var(--burgundy-700);
}

.welcome-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.2;
  max-width: 14ch;
}

.welcome-card p {
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 36ch;
}

.welcome-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  color: var(--white);
  transition: var(--transition);
}

.welcome-card__link svg {
  width: 16px;
  height: 16px;
}

.welcome-card__link--solid {
  background: var(--white);
  color: var(--burgundy-900);
  border-color: var(--white);
}

.welcome-card:hover .welcome-card__link {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.welcome-card:hover .welcome-card__link--solid {
  background: var(--white);
  color: var(--burgundy-900);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stat {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.65s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.reveal-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stat .welcome-stat__icon {
  transform: scale(0.5);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.35, 0.64, 1) 0.08s,
    opacity 0.4s var(--ease) 0.05s;
}

.reveal-stat.visible .welcome-stat__icon {
  transform: scale(1);
  opacity: 1;
}

/* Dramatic section entrance (about + contact) */
.anim-in {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-in--up {
  transform: translateY(56px);
  filter: blur(4px);
}

.anim-in--left {
  transform: translateX(-64px);
  filter: blur(3px);
}

.anim-in--right {
  transform: translateX(64px);
  filter: blur(3px);
}

.anim-in--scale {
  transform: translateY(40px) scale(0.88);
  filter: blur(4px);
}

.anim-in--pop {
  transform: translateY(40px) scale(0.72);
  filter: blur(2px);
}

.anim-in--right.anim-in--scale {
  transform: translateX(72px) scale(0.9);
}

.anim-in.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.about-card.anim-in.is-in:hover {
  transform: translateY(-3px);
}

.value-item.anim-in.is-in:hover {
  transform: translateY(-2px);
}

.service-card.anim-in.is-in:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .anim-in,
  .anim-in--up,
  .anim-in--left,
  .anim-in--right,
  .anim-in--scale,
  .anim-in--pop,
  .anim-in--right.anim-in--scale {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── EMPRESA PAGE ── */
.page-empresa {
  background: var(--white);
}

.empresa-hero {
  background: var(--white);
  padding-bottom: 88px;
}

.empresa-hero__layout {
  position: relative;
  min-height: clamp(480px, 62vh, 620px);
  padding-top: calc(var(--header-height) + 52px);
}

.empresa-hero__grid {
  position: relative;
  z-index: 2;
  max-width: min(540px, 44%);
  width: 100%;
  margin-left: max(28px, calc((100vw - var(--container)) / 2 + 28px));
  margin-right: auto;
  padding-bottom: 48px;
}

.empresa-hero__content {
  max-width: 560px;
  text-align: left;
}

.empresa-hero__eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 18px;
}

.empresa-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--burgundy-900);
  margin-bottom: 16px;
}

.empresa-hero__title .t-accent {
  color: var(--green-500);
  font-weight: 700;
}

.empresa-hero__line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--green-500);
  border-radius: 2px;
  margin-bottom: 24px;
}

.empresa-hero__text {
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.empresa-hero__cta {
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.empresa-hero__media {
  position: absolute;
  top: calc(var(--header-height) + 4px);
  right: 2vw;
  left: auto;
  width: min(58vw, 820px);
  height: calc(100% + 20px);
  min-height: 520px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.empresa-hero__media::before {
  display: none;
}

.empresa-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
}

.empresa-bar {
  margin-top: -110px;
  position: relative;
  z-index: 3;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.empresa-bar__inner {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 48px rgba(58, 15, 31, 0.1);
  padding: clamp(24px, 3vw, 32px) clamp(22px, 2.8vw, 40px);
  display: block;
  overflow: visible;
}

.empresa-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
}

.empresa-stat {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.empresa-stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.empresa-stat__icon svg {
  width: 20px;
  height: 20px;
}

.empresa-stat__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: visible;
}

.empresa-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 800;
  color: var(--burgundy-900);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.empresa-stat span {
  display: block;
  font-size: clamp(0.68rem, 0.92vw, 0.76rem);
  color: var(--gray-500);
  line-height: 1.35;
  margin-top: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.empresa-mv {
  margin-top: 0;
  padding-bottom: 0;
  background: var(--white);
}

.empresa-mv__shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-height: clamp(440px, 38vw, 520px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.empresa-mv__panel {
  position: relative;
  background: var(--burgundy-900);
  padding:
    clamp(36px, 3.8vw, 52px)
    clamp(32px, 3.5vw, 48px)
    clamp(36px, 3.8vw, 52px)
    max(28px, calc((100vw - var(--container)) / 2 + 28px));
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 3.5vw, 48px);
}

.empresa-mv__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.empresa-mv__card {
  padding: 0;
}

.empresa-mv__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.empresa-mv__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(118, 184, 42, 0.35);
}

.empresa-mv__card-icon svg {
  width: 18px;
  height: 18px;
}

.empresa-mv__card h2 {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin: 0;
  line-height: 1.2;
}

.empresa-mv__card p {
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.empresa-mv__presence {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(110px, 0.85fr) 1.15fr;
  gap: clamp(20px, 2.5vw, 32px);
  align-items: center;
  padding-top: clamp(24px, 2.8vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.empresa-mv__map {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.empresa-mv__map img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.empresa-mv__presence-text h3 {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 10px;
}

.empresa-mv__presence-text p {
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.empresa-mv__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 100%;
}

.empresa-mv__gallery img {
  width: 100%;
  height: 100%;
  min-height: clamp(440px, 38vw, 520px);
  object-fit: cover;
  display: block;
}

.empresa-content {
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--cream);
}

.empresa-blocks {
  max-width: 880px;
  margin: 0 auto;
}

.empresa-block {
  margin-bottom: 56px;
}

.empresa-block__line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green-500);
  border-radius: 2px;
  margin-bottom: 16px;
}

.empresa-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.empresa-block p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--gray-600);
}

.empresa-block--highlight {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.empresa-block__cta {
  margin-top: 24px;
}

.section__cta-wrap {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
}

/* ── SERVICIOS PAGE ── */
.page-servicios {
  background: #0f0a0c;
}

.svc-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 56px) 0 72px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.svc-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
}

.svc-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(36, 12, 20, 0.92) 0%, rgba(58, 15, 31, 0.78) 42%, rgba(36, 12, 20, 0.45) 72%, rgba(36, 12, 20, 0.55) 100%),
    linear-gradient(to top, rgba(15, 10, 12, 0.75), transparent 45%);
}

.svc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--white);
}

.svc-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 18px;
}

.svc-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}

.svc-hero__title .t-accent {
  color: var(--green-400);
}

.svc-hero__desc {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 560px;
}

.svc-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.svc-hero__jump a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition);
}

.svc-hero__jump a:hover {
  color: var(--green-400);
}

.svc-main {
  padding: 0;
}

.svc-chapter {
  scroll-margin-top: calc(var(--header-height) + 8px);
  background: #161014;
}

.svc-chapter--dark {
  background: var(--burgundy-900);
}

.svc-chapter__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100svh;
}

.svc-chapter--flip .svc-chapter__shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.svc-chapter--flip .svc-chapter__visual { order: 2; }
.svc-chapter--flip .svc-chapter__panel { order: 1; }

.svc-chapter__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #1a1014;
}

.svc-chapter__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-chapter:hover .svc-chapter__visual img {
  transform: scale(1.04);
}

.svc-chapter__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 12, 0.78) 0%, transparent 48%);
  pointer-events: none;
}

.svc-chapter__visual-cap {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(22px, 3vw, 40px);
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-chapter__visual-cap span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
}

.svc-chapter__visual-cap strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 18ch;
}

.svc-chapter__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(36px, 5vw, 64px)
    clamp(28px, 4.5vw, 60px)
    clamp(40px, 5vw, 68px)
    clamp(28px, 4vw, 56px);
  background:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(118, 184, 42, 0.08), transparent 55%),
    linear-gradient(165deg, #1d1418 0%, #141014 55%, #1a1216 100%);
  color: rgba(255, 255, 255, 0.88);
}

.svc-chapter--dark .svc-chapter__panel {
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(118, 184, 42, 0.1), transparent 50%),
    linear-gradient(160deg, #4a1828 0%, #3a0f1f 48%, #2a0c16 100%);
}

.svc-chapter__kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 14px;
}

.svc-chapter__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.12;
  margin: 0 0 12px;
}

.svc-chapter__lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--green-500);
  max-width: 28ch;
  flex-shrink: 0;
}

.svc-chapter__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.svc-chapter__copy p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.svc-chapter__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-chapter__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.svc-chapter__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
}

.svc-chapter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  flex-shrink: 0;
}

.svc-chapter__tags li {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(118, 184, 42, 0.16);
  border: 1px solid rgba(118, 184, 42, 0.35);
  border-radius: 100px;
}

.svc-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.svc-block:last-child {
  border-bottom: none;
}

.svc-block__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.svc-block__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--burgundy-900);
  letter-spacing: -0.03em;
}

.svc-block__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
}

.svc-block__body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  color: var(--burgundy-900);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.svc-block__body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0 0 12px;
  max-width: 640px;
}

.svc-block__body p:last-of-type {
  margin-bottom: 0;
}

.svc-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.svc-block__tags li {
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
}

.svc-ops {
  padding: 88px 0 96px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(118, 184, 42, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f3f0 0%, #f3efe9 55%, #eef2e8 100%);
  border-top: 1px solid var(--gray-100);
}

.svc-ops__head {
  max-width: 560px;
  margin-bottom: 40px;
}

.svc-ops__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-700);
  margin-bottom: 14px;
}

.svc-ops__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--burgundy-900);
  margin-bottom: 12px;
}

.svc-ops__head h2 .t-bold {
  color: var(--burgundy-900);
}

.svc-ops__head h2 .t-accent {
  color: var(--green-500);
}

.svc-ops__head p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}

.svc-ops__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
  background: var(--white);
}

.svc-ops__item {
  padding: 28px 24px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.25s var(--ease);
  background: var(--white);
}

.svc-ops__item:hover {
  background: var(--gray-50);
}

.svc-ops__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-500);
  margin-bottom: 12px;
}

.svc-ops__item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.svc-ops__item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

.svc-cta {
  background: var(--burgundy-800);
  color: var(--white);
  padding: 56px 0;
}

.svc-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.svc-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.svc-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
}

.hero-pill-btn--on-dark {
  background: var(--white);
  color: var(--burgundy-900);
}

.hero-pill-btn--on-dark .hero-pill-btn__icon {
  background: var(--burgundy-800);
  color: var(--white);
}

.hero-pill-btn--on-dark:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .svc-ops__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-hero {
    min-height: 100svh;
    padding: calc(var(--header-height) + 40px) 0 48px;
    align-items: flex-end;
  }

  .svc-chapter__shell,
  .svc-chapter--flip .svc-chapter__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .svc-chapter--flip .svc-chapter__visual,
  .svc-chapter--flip .svc-chapter__panel {
    order: unset;
  }

  .svc-chapter__visual {
    min-height: 240px;
    max-height: 300px;
    height: 240px;
  }

  .svc-chapter__panel {
    padding: 32px 24px 40px;
  }

  .svc-chapter__lead {
    max-width: none;
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .svc-block {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .svc-block__meta {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }

  .svc-block__num {
    font-size: 1.4rem;
  }

  .svc-ops {
    padding: 56px 0 64px;
  }

  .svc-ops__grid {
    grid-template-columns: 1fr;
  }

  .svc-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── DIMENSIONADORES PAGE ── */
.page-dimensionadores {
  background: var(--gray-50);
  overflow-x: hidden;
}

/* ── DIM HERO ── */
.dim-hero {
  position: relative;
  color: var(--white);
  padding: calc(var(--header-height) + 56px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.dim-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.dim-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.04);
  animation: dimHeroZoom 18s ease-out forwards;
}

@keyframes dimHeroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.dim-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(58, 15, 31, 0.96) 0%, rgba(74, 21, 40, 0.88) 42%, rgba(58, 15, 31, 0.55) 72%, rgba(58, 15, 31, 0.35) 100%),
    linear-gradient(to top, rgba(30, 8, 16, 0.85) 0%, transparent 45%);
}

.dim-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(118, 184, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 184, 42, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
  pointer-events: none;
}

.dim-hero__inner {
  position: relative;
  z-index: 1;
}

.dim-hero__content {
  max-width: 620px;
}

.dim-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 20px;
  opacity: 0;
  animation: dimFadeUp 0.7s var(--ease) 0.1s forwards;
}

.dim-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.dim-hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: dimFadeUp 0.8s var(--ease) forwards;
}

.dim-hero__title-line:nth-child(1) { animation-delay: 0.2s; }
.dim-hero__title-line:nth-child(2) { animation-delay: 0.35s; }

.dim-hero__title .t-accent {
  color: var(--green-400);
}

.dim-hero__text {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
  max-width: 540px;
  opacity: 0;
  animation: dimFadeUp 0.8s var(--ease) 0.5s forwards;
}

.dim-hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
  max-width: 720px;
}

.dim-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: dimFadeUp 0.6s var(--ease) forwards;
}

.dim-hero__feature:nth-child(1) { animation-delay: 0.6s; }
.dim-hero__feature:nth-child(2) { animation-delay: 0.7s; }
.dim-hero__feature:nth-child(3) { animation-delay: 0.8s; }
.dim-hero__feature:nth-child(4) { animation-delay: 0.9s; }

.dim-hero__feature-icon {
  color: var(--green-400);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dim-hero__feature-icon svg {
  width: 28px;
  height: 28px;
}

.dim-hero__feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dim-hero__feature-text strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.dim-hero__feature-text > span {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.dim-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: dimFadeUp 0.7s var(--ease) 1s forwards;
}

.dim-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dim-hero__btn svg {
  width: 18px;
  height: 18px;
  padding: 6px;
  box-sizing: content-box;
  border-radius: 6px;
  flex-shrink: 0;
  transition: var(--transition);
}

.dim-hero__btn--primary {
  background: var(--green-500);
  color: var(--white);
}

.dim-hero__btn--primary svg {
  background: rgba(255, 255, 255, 0.2);
}

.dim-hero__btn--primary:hover {
  background: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--green-glow);
}

.dim-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.dim-hero__btn--ghost svg {
  background: rgba(255, 255, 255, 0.12);
}

.dim-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.dim-hero__btn:hover svg {
  transform: translate(2px, -2px);
}

.dim-hero__stats-wrap {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.dim-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 8px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: dimFadeUp 0.8s var(--ease) 1.15s forwards;
}

.dim-hero__stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 6px 24px;
  position: relative;
}

.dim-hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.dim-hero__stat-icon {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(118, 184, 42, 0.16);
  color: var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dim-hero__stat-icon svg {
  width: 20px;
  height: 20px;
}

.dim-hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.dim-hero__stat strong {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  margin-top: 4px;
}

.dim-hero__stat > span:last-child {
  grid-column: 1 / 3;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

@keyframes dimFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dim-hero__bg img,
  .dim-hero__label,
  .dim-hero__title-line,
  .dim-hero__text,
  .dim-hero__feature,
  .dim-hero__ctas,
  .dim-hero__stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.dim-brands-intro {
  padding: clamp(40px, 5vw, 56px) 0 clamp(28px, 3.5vw, 40px);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.dim-brands-intro__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(44px, 5.5vw, 56px);
  text-align: center;
}

.dim-brands-intro__line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--green-500);
  flex-shrink: 0;
}

.dim-brands-intro__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-800);
  margin: 0;
}

.dim-brands-intro__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(8px, 1.5vw, 16px);
  padding: clamp(18px, 2.5vw, 24px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.dim-brands-intro__marquee::before,
.dim-brands-intro__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--gray-200) 0,
    var(--gray-200) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.dim-brands-intro__marquee::before { left: 0; }
.dim-brands-intro__marquee::after { right: 0; }

.dim-brands-intro__track {
  display: flex;
  width: max-content;
  animation: dimBrandsMarquee 32s linear infinite;
  will-change: transform;
}

.dim-brands-intro__marquee:hover .dim-brands-intro__track {
  animation-play-state: paused;
}

.dim-brands-intro__group {
  display: flex;
  align-items: center;
  gap: clamp(56px, 8vw, 96px);
  padding-right: clamp(56px, 8vw, 96px);
}

.dim-brands-intro__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.dim-brands-intro__logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.dim-brands-intro__logo img {
  display: block;
  width: auto;
  height: clamp(40px, 5vw, 56px);
  max-width: min(180px, 30vw);
  object-fit: contain;
}

.dim-brands-intro__logo[href="#agh"] img,
.dim-brands-intro__logo[href="#cubetape"] img {
  height: clamp(52px, 6.5vw, 72px);
  max-width: min(220px, 34vw);
}

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

@media (prefers-reduced-motion: reduce) {
  .dim-brands-intro__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(24px, 4vw, 40px);
  }

  .dim-brands-intro__group {
    padding-right: 0;
    gap: clamp(24px, 4vw, 40px);
    justify-content: center;
    flex-wrap: wrap;
  }

  .dim-brands-intro__group[aria-hidden="true"] {
    display: none;
  }

  .dim-brands-intro__marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.dim-brands-stack {
  position: relative;
}

@media (min-width: 1025px) {
  .dim-brand-panel {
    height: 100svh;
  }

  .dim-brands-stack .dim-brand {
    position: sticky;
    top: var(--header-height);
    z-index: 1;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 20px 0;
    will-change: transform;
  }

  .dim-brand-panel:nth-child(1) .dim-brand { z-index: 1; }
  .dim-brand-panel:nth-child(2) .dim-brand { z-index: 2; }
  .dim-brand-panel:nth-child(3) .dim-brand { z-index: 3; }
  .dim-brand-panel:nth-child(4) .dim-brand { z-index: 4; }

  .dim-brand-panel:not(:first-child) .dim-brand {
    box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.14);
  }

  .dim-brands-stack .dim-brand__overlay {
    background: linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.97) 45%,
      rgba(255, 255, 255, 0.88) 65%,
      rgba(255, 255, 255, 0.82) 100%
    );
  }
}

.dim-brand {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0;
}

.dim-brand__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dim-brand__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
  filter: blur(4px) brightness(0.92);
  transform: scale(1.06);
}

.dim-brand__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.94) 42%,
    rgba(255, 255, 255, 0.72) 62%,
    rgba(255, 255, 255, 0.45) 100%
  );
}

.dim-brand .container {
  position: relative;
  z-index: 2;
}

.dim-brand__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "top visual"
    "bottom visual";
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  min-height: min(560px, 70vh);
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 20px;
}

.dim-brand__top {
  grid-area: top;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dim-brand__bottom {
  grid-area: bottom;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dim-brand__visual {
  grid-area: visual;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  align-self: center;
}

.dim-brand__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dim-brand__brandmark {
  margin-bottom: 20px;
}

.dim-brand__brandmark-logo {
  display: block;
  width: auto;
  height: clamp(48px, 5vw, 64px);
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}

#agh .dim-brand__brandmark-logo,
#cubetape .dim-brand__brandmark-logo {
  height: clamp(60px, 6.5vw, 82px);
  max-width: 300px;
}

.dim-brand__brandmark--text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dim-brand__brandmark-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #c0392b;
}

.dim-brand__brandmark-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.dim-brand__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}

.dim-brand__eyebrow-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-500);
  flex-shrink: 0;
}

.dim-brand__headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--gray-700);
  margin-bottom: 16px;
  max-width: 540px;
}

.dim-brand__headline .t-accent {
  color: var(--green-500);
}

.dim-brand__desc {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 480px;
}

.dim-brand__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  margin-bottom: 36px;
}

.dim-brand__feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dim-brand__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(118, 184, 42, 0.12);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dim-brand__feature-icon svg {
  width: 20px;
  height: 20px;
}

.dim-brand__feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  line-height: 1.35;
}

.dim-brand__feature span {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--gray-500);
}

.dim-brand__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dim-brand__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.dim-brand__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dim-brand__btn--primary {
  background: var(--burgundy-800);
  color: var(--white);
}

.dim-brand__btn--primary:hover {
  background: var(--burgundy-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 15, 31, 0.2);
}

.dim-brand__btn--ghost {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.dim-brand__btn--ghost:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.dim-brand__product {
  width: 100%;
  max-height: min(480px, 58vh);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.12));
}

#agh .dim-brand__layout {
  grid-template-columns: 0.9fr 1.1fr;
}

#agh .dim-brand__visual {
  min-height: 520px;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#agh .dim-brand__product {
  max-height: min(820px, 90vh);
  height: auto;
  transform: scale(1.9);
  transform-origin: center center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: none;
}

#agh .dim-brand__floats {
  position: static;
  top: auto;
  right: auto;
  transform: none;
  gap: 16px;
  flex-shrink: 0;
  align-self: center;
  z-index: 3;
}

#agh .dim-brand__float-card {
  min-width: 180px;
  max-width: 200px;
  padding: 14px 16px;
}

#conlida .dim-brand__visual {
  overflow: visible;
}

.dim-brand__product--conlida {
  max-height: min(860px, 88vh);
  transform: scale(1.65);
  transform-origin: center center;
}

.dim-brand__floats {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}

.dim-brand__float-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  max-width: 220px;
}

.dim-brand__float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(118, 184, 42, 0.12);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dim-brand__float-icon svg {
  width: 18px;
  height: 18px;
}

.dim-brand__float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 2px;
  line-height: 1.3;
}

.dim-brand__float-card span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--gray-500);
}

.dim-cta {
  padding: 0 0 clamp(64px, 8vw, 96px);
}

/* ── Páginas de catálogo por marca ── */
.page-equipos {
  background: #f3f1ef;
}

.equipos-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 36px) 0 clamp(48px, 6vw, 72px);
  background: var(--white);
}

.equipos-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 720px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.equipos-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(1.5px) saturate(0.92);
  transform: scale(1.04);
}

.equipos-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.96) 18%,
    rgba(255, 255, 255, 0.7) 42%,
    rgba(255, 255, 255, 0.25) 68%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.equipos-hero__media--cubiscan,
.equipos-hero__media--conlida,
.equipos-hero__media--cubetape,
.equipos-hero__media--agh {
  left: auto;
  right: 0;
  width: min(58%, 860px);
}

.equipos-hero__media--cubiscan img,
.equipos-hero__media--conlida img,
.equipos-hero__media--cubetape img,
.equipos-hero__media--agh img {
  object-position: 72% center;
  filter: none;
  transform: none;
}

.equipos-hero__media--conlida img {
  object-position: 72% 28%;
}

.equipos-hero__media--cubiscan::after,
.equipos-hero__media--conlida::after,
.equipos-hero__media--cubetape::after,
.equipos-hero__media--agh::after {
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.92) 14%,
    rgba(255, 255, 255, 0.45) 34%,
    rgba(255, 255, 255, 0.1) 58%,
    transparent 78%
  );
}

.equipos-hero .container {
  position: relative;
  z-index: 1;
}

.equipos-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: var(--transition);
}

.equipos-hero__back svg {
  width: 16px;
  height: 16px;
}

.equipos-hero__back:hover {
  color: var(--burgundy-800);
}

.equipos-hero__brand {
  margin-bottom: 22px;
}

.equipos-hero__brand img {
  display: block;
  height: clamp(44px, 5vw, 62px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.equipos-hero__brand--agh img,
.equipos-hero__brand--cubetape img {
  height: clamp(56px, 6.2vw, 80px);
  max-width: 310px;
}

.equipos-hero__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.equipos-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--burgundy-900);
  margin-bottom: 14px;
  line-height: 1.08;
  max-width: 14ch;
}

.equipos-hero__desc {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 460px;
  margin-bottom: 28px;
}

.equipos-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
}

.equipos-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

.equipos-hero__count svg {
  width: 20px;
  height: 20px;
  color: var(--burgundy-700);
  flex-shrink: 0;
}

.equipos-hero__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--burgundy-800);
  transition: var(--transition);
}

.equipos-hero__download svg {
  width: 18px;
  height: 18px;
}

.equipos-hero__download:hover {
  color: var(--green-500);
}

.equipos-catalog {
  padding: 28px 0 64px;
}

.equipos-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #ebe8e4;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 28px;
}

.equipos-filters__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.equipos-filters__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gray-600);
  background: transparent;
  transition: var(--transition);
}

.equipos-filters__tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.equipos-filters__tab:hover {
  color: var(--burgundy-800);
  background: rgba(255, 255, 255, 0.55);
}

.equipos-filters__tab.is-active {
  background: var(--burgundy-800);
  color: var(--white);
}

.equipos-filters__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.equipos-filters__sort select {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  padding-right: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4541' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  cursor: pointer;
}

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

.eq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(58, 15, 31, 0.06);
  box-shadow: 0 2px 10px rgba(58, 15, 31, 0.04);
  overflow: hidden;
  transition: var(--transition);
}

.eq-card.is-hidden {
  display: none;
}

.eq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(58, 15, 31, 0.1);
}

.eq-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.eq-card__badge--green { background: #6fad2f; }
.eq-card__badge--blue { background: #3b82c4; }
.eq-card__badge--purple { background: #7c5cbf; }
.eq-card__badge--orange { background: #d97706; }
.eq-card__badge--teal { background: #0d9488; }
.eq-card__badge--gray { background: #6b7280; }

.eq-card__media {
  position: relative;
  aspect-ratio: 1.15 / 1;
  background: #faf9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 34px;
  overflow: hidden;
  cursor: pointer;
}

.eq-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eq-card__media--zoom {
  overflow: hidden;
}

.eq-card__media--zoom img {
  transform: scale(1.55);
  transform-origin: center center;
}

.eq-card__gallery img {
  position: absolute;
  inset: 24px 24px 36px;
  width: auto;
  height: auto;
  max-width: calc(100% - 48px);
  max-height: calc(100% - 60px);
  margin: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.eq-card__gallery img.is-active {
  opacity: 1;
}

.eq-card__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.eq-card__arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--burgundy-800, #5c1a2e);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: var(--transition);
}

.eq-card__arrow svg {
  width: 16px;
  height: 16px;
}

.eq-card__arrow--prev { left: 8px; }
.eq-card__arrow--next { right: 8px; }

.eq-card__arrow:hover {
  background: var(--white);
  border-color: rgba(118, 184, 42, 0.45);
  color: var(--green-700, #5a8f1f);
}

.eq-card__media--placeholder {
  background: linear-gradient(160deg, #f7f5f2, #ebe8e4);
}

.eq-card__media--placeholder img {
  max-width: 110px;
  max-height: 56px;
  opacity: 0.45;
  position: static;
}

.eq-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 22px 22px;
  flex: 1;
}

.eq-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-700);
}

.eq-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--gray-500);
  margin-bottom: 0;
  min-height: 4.35em;
}

.eq-card__text-title {
  display: block;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.35;
}

.eq-card__text-desc {
  display: block;
  min-height: 2.9em;
  line-height: 1.45;
}

.eq-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
}

.eq-card__spec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.eq-card__spec svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
}

.eq-card__spec span {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--gray-600);
  font-weight: 600;
  min-height: 2.6em;
}

.eq-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--burgundy-800);
  transition: var(--transition);
}

.eq-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.eq-card__link:hover {
  color: var(--green-500);
}

.eq-card__link:hover svg {
  transform: translateX(3px);
}

button.eq-card__link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

/* ── Panel detalle de equipo ── */
.eq-detail {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.eq-detail.is-open {
  visibility: visible;
  pointer-events: auto;
}

.eq-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 22, 0.48);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.eq-detail.is-open .eq-detail__backdrop {
  opacity: 1;
}

.eq-detail__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: -16px 0 48px rgba(58, 15, 31, 0.18);
  transform: translateX(104%);
  transition: transform 0.38s cubic-bezier(0.34, 1.1, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eq-detail.is-open .eq-detail__panel {
  transform: translateX(0);
}

.eq-detail__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.eq-detail__close:hover {
  background: var(--burgundy-800);
  color: var(--white);
}

.eq-detail__close svg {
  width: 18px;
  height: 18px;
}

.eq-detail__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px 40px;
}

.eq-detail__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  min-height: 100%;
}

.eq-detail__gallery {
  position: sticky;
  top: 0;
}

.eq-detail__main {
  aspect-ratio: 1 / 1;
  background: #f7f5f2;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  margin-bottom: 14px;
}

.eq-detail__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eq-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eq-detail__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #f3f1ef;
  padding: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.eq-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eq-detail__thumb.is-active,
.eq-detail__thumb:hover {
  border-color: var(--burgundy-700);
}

.eq-detail__badge {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
  background: var(--burgundy-700);
}

.eq-detail__badge--green { background: #6fad2f; }
.eq-detail__badge--blue { background: #3b82c4; }
.eq-detail__badge--purple { background: #7c5cbf; }
.eq-detail__badge--orange { background: #d97706; }
.eq-detail__badge--teal { background: #0d9488; }
.eq-detail__badge--gray { background: #6b7280; }

.eq-detail__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--burgundy-900);
  margin-bottom: 10px;
  line-height: 1.15;
  padding-right: 44px;
}

.eq-detail__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.eq-detail__section-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.eq-detail__section-title.is-hidden,
.eq-card__highlights {
  display: none;
}

.eq-detail__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.eq-detail__spec {
  background: #f5f2ef;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.eq-detail__spec svg {
  width: 20px;
  height: 20px;
  color: var(--burgundy-700);
}

.eq-detail__spec span {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--gray-700);
}

.eq-detail__features {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.eq-detail__feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--gray-600);
}

.eq-detail__feature svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.eq-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.eq-detail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.eq-detail__btn svg {
  width: 16px;
  height: 16px;
}

.eq-detail__btn--primary {
  background: var(--burgundy-800);
  color: var(--white);
}

.eq-detail__btn--primary:hover {
  background: var(--burgundy-700);
  transform: translateY(-1px);
}

.eq-detail__btn--ghost {
  background: var(--white);
  color: var(--burgundy-800);
  border: 1px solid var(--gray-200);
}

.eq-detail__btn--ghost:hover {
  border-color: var(--burgundy-600);
  background: var(--gray-50);
}

.eq-detail__btn.is-hidden {
  display: none;
}

.eq-detail__note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gray-500);
}

body.eq-detail-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .eq-detail__layout {
    grid-template-columns: 1fr;
  }

  .eq-detail__gallery {
    position: static;
  }

  .eq-detail__scroll {
    padding: 20px 18px 32px;
  }

  .eq-detail__specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .eq-detail__spec {
    padding: 12px 8px;
    gap: 6px;
  }

  .eq-detail__spec svg {
    width: 18px;
    height: 18px;
  }

  .eq-detail__spec span {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .eq-detail__actions {
    flex-direction: column;
  }

  .eq-detail__btn {
    width: 100%;
  }
}

.equipos-help {
  padding: 0 0 28px;
}

.equipos-help__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #e8e5e1;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3.5vw, 40px);
}

.equipos-help__text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.equipos-help__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(74, 21, 40, 0.08);
  color: var(--burgundy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equipos-help__icon svg {
  width: 24px;
  height: 24px;
}

.equipos-help__text p {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 640px;
}

.equipos-help__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--burgundy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.equipos-help__btn svg {
  width: 16px;
  height: 16px;
}

.equipos-help__btn:hover {
  background: var(--burgundy-700);
  transform: translateY(-2px);
}

.equipos-trust {
  padding: 8px 0 72px;
}

.equipos-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #eae7e3;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 28px);
}

.equipos-trust__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 8px;
}

.equipos-trust__item svg {
  width: 28px;
  height: 28px;
  color: var(--burgundy-700);
}

.equipos-trust__item strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-700);
}

.equipos-trust__item span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--gray-500);
}

@media (max-width: 1100px) {
  .equipos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .equipos-hero__media {
    width: 46%;
    opacity: 0.85;
  }

  .equipos-hero__media--cubiscan,
  .equipos-hero__media--agh,
  .equipos-hero__media--conlida,
  .equipos-hero__media--cubetape {
    width: min(55%, 720px);
    left: auto;
    right: 0;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .equipos-hero__media {
    display: none;
  }

  .equipos-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .equipos-filters__sort {
    margin-left: 0;
    justify-content: space-between;
    padding: 4px 8px 0;
  }

  .equipos-help__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .equipos-help__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .equipos-grid {
    grid-template-columns: 1fr;
  }

  .equipos-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding: 18px 14px;
  }

  .equipos-trust__item {
    padding: 2px 4px;
    gap: 8px;
  }

  .equipos-trust__item svg {
    width: 24px;
    height: 24px;
  }

  .equipos-trust__item strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .equipos-trust__item span {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .eq-card__specs {
    gap: 6px;
  }
}

.dim-cta__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--burgundy-800);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

.dim-cta__text {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
}

.dim-cta__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dim-cta__icon svg {
  width: 22px;
  height: 22px;
}

.dim-cta__text p {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}

.dim-cta__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Dimensionadores scroll reveal */
.dim-reveal {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease),
    transform 0.75s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.dim-reveal--left {
  transform: translateX(-36px);
}

.dim-reveal--right {
  transform: translateX(36px);
}

.dim-reveal:not(.dim-reveal--left):not(.dim-reveal--right) {
  transform: translateY(28px);
}

.dim-reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .header__inner {
    padding-right: 136px;
  }

  .lang-switch--corner {
    right: 28px;
  }

  .dim-brands-stack .dim-brand {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 20px 0;
  }

  .dim-brand__layout {
    min-height: calc(100svh - var(--header-height) - 48px);
    gap: 24px;
  }

  .dim-brand__brandmark-logo {
    height: 56px;
  }

  .dim-brand__headline {
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    margin-bottom: 12px;
  }

  .dim-brand__desc {
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .dim-brand__features {
    gap: 10px;
    margin-bottom: 28px;
  }

  .dim-brand__feature strong {
    font-size: 0.62rem;
  }

  .dim-brand__feature span {
    font-size: 0.68rem;
  }

  .dim-brand__btn {
    font-size: 0.68rem;
    padding: 11px 18px;
  }

  .dim-brand__product {
    max-height: calc(100svh - var(--header-height) - 120px);
  }

  #agh .dim-brand__product {
    max-height: calc(100svh - var(--header-height) - 20px);
    transform: scale(1.75);
  }

  .dim-brand__product--conlida {
    max-height: calc(100svh - var(--header-height) - 24px);
    transform: scale(1.5);
  }

  .dim-brand__float-card {
    padding: 12px 14px;
    min-width: 160px;
  }

  .dim-hero {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 28px) 0 24px;
  }

  .dim-hero__title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 16px;
  }

  .dim-hero__text {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .dim-hero__features {
    gap: 16px;
    margin-bottom: 24px;
  }

  .dim-hero__stats-wrap {
    margin-top: 28px;
  }

  .dim-hero__stats {
    padding: 18px 8px;
  }

  .dim-hero__stat-num {
    font-size: 1.45rem;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) and (max-height: 820px) {
  .dim-brand__desc {
    margin-bottom: 14px;
  }

  .dim-brand__features {
    margin-bottom: 24px;
  }

  .dim-brand__product {
    max-height: calc(100svh - var(--header-height) - 140px);
  }
}

@media (max-width: 1024px) {
  .dim-hero {
    padding: calc(var(--header-height) + 28px) 0 40px;
    min-height: auto;
  }

  .dim-hero__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .dim-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .dim-hero__stat:nth-child(2)::after {
    display: none;
  }

  .dim-brands-intro {
    padding: 36px 0 28px;
  }

  .dim-brands-intro__header {
    margin-bottom: 40px;
  }

  .dim-brands-intro__title {
    font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  }

  .dim-brands-intro__logo img {
    height: 40px;
    max-width: 140px;
  }

  .dim-brands-intro__logo[href="#agh"] img,
  .dim-brands-intro__logo[href="#cubetape"] img {
    height: 48px;
    max-width: 160px;
  }

  .dim-brands-intro__logo[href="#conlida"] img {
    height: 30px;
    max-width: 110px;
  }

  .dim-brand {
    padding: 40px 0;
    overflow: hidden;
  }

  .dim-brand__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "visual"
      "bottom";
    min-height: auto;
    gap: 22px;
    row-gap: 22px;
  }

  .dim-brand__top {
    justify-content: flex-start;
  }

  .dim-brand__visual {
    min-height: 0;
    overflow: hidden;
    justify-content: center;
  }

  .dim-brand__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.94) 55%,
      rgba(255, 255, 255, 0.78) 100%
    );
  }

  .dim-brand__headline {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }

  .dim-brand__desc {
    margin-bottom: 22px;
    max-width: none;
  }

  .dim-brand__brandmark-logo {
    height: 44px;
    max-width: 200px;
  }

  #conlida .dim-brand__brandmark-logo {
    height: 34px;
    max-width: 160px;
  }

  #agh .dim-brand__brandmark-logo,
  #cubetape .dim-brand__brandmark-logo {
    height: 52px;
    max-width: 220px;
  }

  .dim-brand__product {
    max-height: min(300px, 48vw);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .dim-brand__product--conlida {
    max-height: min(360px, 78vw);
    transform: scale(1.28);
    transform-origin: center center;
  }

  .dim-brand__floats {
    display: none;
  }

  #agh .dim-brand__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "visual"
      "bottom";
  }

  #agh .dim-brand__visual {
    flex-direction: column;
    min-height: auto;
    gap: 14px;
    overflow: visible;
  }

  #agh .dim-brand__product {
    max-height: min(340px, 70vw);
    transform: scale(1.15);
    max-width: 100%;
  }

  .dim-brand__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }

  .dim-brand__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .dim-brand__btn {
    width: 100%;
    justify-content: center;
  }

  .dim-cta {
    padding: 0 0 48px;
  }

  .dim-cta__bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 24px 20px;
  }

  .dim-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .empresa-hero__grid {
    max-width: min(480px, 46%);
  }

  .empresa-hero__media {
    width: min(54vw, 700px);
    right: 3vw;
  }

  .empresa-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
    column-gap: 28px;
  }
}

/* ── RESPONSIVE ── */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section--welcome {
    padding: 48px 0 40px;
  }

  .welcome-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 3vw, 40px);
    align-items: center;
    margin-bottom: 40px;
    /* Intro + servicios ocupan el viewport; las stats quedan debajo */
    min-height: calc(100svh - var(--header-height) - 48px);
  }

  .welcome-intro__line {
    margin-bottom: 18px;
  }

  .welcome-intro__title {
    font-size: clamp(2rem, 2.3vw, 2.35rem);
    margin-bottom: 20px;
  }

  .welcome-intro__text {
    font-size: clamp(1rem, 0.35vw + 0.95rem, 1.08rem);
    line-height: 1.68;
    margin-bottom: 14px;
  }

  .welcome-intro__btn {
    margin-top: 12px;
  }

  .welcome-services-panel {
    padding: 30px 28px;
    margin-left: clamp(28px, 4vw, 52px);
  }

  .welcome-services-panel__label {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .welcome-services-panel__grid {
    gap: 18px 16px;
  }

  .empresa-hero {
    padding-bottom: 40px;
  }

  .empresa-hero__layout {
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px);
  }

  .empresa-hero__grid {
    padding-bottom: 32px;
  }

  .empresa-hero__eyebrow {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .empresa-hero__title {
    font-size: clamp(2.05rem, 2.8vw, 2.5rem);
    margin-bottom: 12px;
  }

  .empresa-hero__line {
    width: 40px;
    margin-bottom: 16px;
  }

  .empresa-hero__text {
    font-size: clamp(0.92rem, 0.3vw + 0.88rem, 0.98rem);
    line-height: 1.62;
    margin-bottom: 10px;
  }

  .empresa-hero__cta {
    margin-top: 12px;
  }

  .empresa-hero__media {
    top: calc(var(--header-height) + 4px);
    right: 2vw;
    min-height: 0;
    height: calc(100% + 12px);
    max-height: calc(100svh - var(--header-height) - 8px);
    width: min(54vw, 680px);
  }

  .empresa-bar {
    margin-top: 32px;
    z-index: 1;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) and (max-height: 820px) {
  .section--welcome {
    padding-top: 36px;
  }

  .welcome-split {
    min-height: calc(100svh - var(--header-height) - 36px);
    gap: 24px;
  }

  .welcome-intro__line {
    margin-bottom: 14px;
  }

  .welcome-intro__title {
    margin-bottom: 16px;
  }

  .welcome-intro__text {
    line-height: 1.62;
    margin-bottom: 12px;
  }

  .welcome-intro__btn {
    margin-top: 10px;
  }

  .welcome-services-panel {
    padding: 26px 24px;
  }

  .welcome-services-panel__label {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .welcome-services-panel__grid {
    gap: 14px 14px;
  }

  .empresa-hero__layout {
    padding-top: calc(var(--header-height) + 28px);
  }

  .empresa-hero__eyebrow {
    font-size: 0.76rem;
    margin-bottom: 8px;
  }

  .empresa-hero__title {
    font-size: clamp(1.95rem, 2.5vw, 2.2rem);
    margin-bottom: 8px;
  }

  .empresa-hero__line {
    margin-bottom: 12px;
  }

  .empresa-hero__text {
    line-height: 1.55;
    margin-bottom: 8px;
  }

  .empresa-hero__cta {
    margin-top: 8px;
  }

  .empresa-hero__media {
    max-height: calc(100svh - var(--header-height) - 16px);
  }
}

@media (min-width: 769px) and (max-width: 1440px) {
  .hero-panel__content {
    padding: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(40px, 5vw, 64px);
    max-width: 460px;
  }

  .hero-panel__title {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
  }
}

@media (max-width: 1024px) {
  .section--welcome {
    padding: 48px 0 24px;
  }

  .welcome-split { grid-template-columns: 1fr; gap: 40px; }
  .welcome-services-panel { margin-left: 0; }
  .welcome-services-panel__grid { grid-template-columns: 1fr; gap: 18px; }
  .welcome-stats { grid-template-columns: repeat(2, 1fr); }

  .welcome-svc-reveal {
    opacity: 0;
    transform: translateX(-28px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .welcome-svc-reveal:nth-child(even) {
    transform: translateX(28px);
  }

  .welcome-svc-reveal .welcome-svc-item__icon {
    transform: scale(0.55);
    opacity: 0;
    transition:
      transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) 0.12s,
      opacity 0.35s var(--ease) 0.08s;
  }

  .welcome-svc-reveal.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .welcome-svc-reveal.visible .welcome-svc-item__icon {
    transform: scale(1);
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .welcome-svc-reveal,
    .welcome-svc-reveal:nth-child(even),
    .welcome-svc-reveal .welcome-svc-item__icon {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  .welcome-cards-wide {
    width: calc(100% - 32px);
    margin-bottom: 0;
  }
  .welcome-cards { flex-direction: column; min-height: auto; }
  .welcome-card { min-height: 320px; }
  .welcome-card__content { min-height: 320px; padding: 36px 28px; }

  .section--logistics {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .empresa-hero__layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: calc(var(--header-height) + 32px);
  }

  .empresa-hero__grid {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 24px;
  }

  .empresa-hero__media {
    order: -1;
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    min-height: 280px;
    height: 320px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .empresa-hero__media::before {
    display: none;
  }

  .empresa-hero__media img {
    object-fit: contain;
    object-position: center;
  }

  .empresa-bar {
    margin-top: 0;
  }

  .empresa-mv__shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .empresa-mv__panel {
    padding: 32px 24px;
  }

  .empresa-mv__gallery {
    min-height: auto;
    grid-template-columns: repeat(3, 1fr);
  }

  .empresa-mv__gallery img {
    min-height: 140px;
    height: 140px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .features-bar { grid-template-columns: repeat(2, 1fr); }

  .feature-pill-reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.88);
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.6s cubic-bezier(0.34, 1.35, 0.64, 1);
  }

  .feature-pill-reveal .feature-pill__icon {
    transform: rotate(-18deg) scale(0.7);
    opacity: 0;
    transition:
      transform 0.55s cubic-bezier(0.34, 1.5, 0.64, 1) 0.1s,
      opacity 0.35s var(--ease) 0.08s;
  }

  .feature-pill-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .feature-pill-reveal.visible .feature-pill__icon {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .feature-pill-reveal,
    .feature-pill-reveal .feature-pill__icon {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  .cubiscan-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .cubiscan-top {
    padding: 36px 0 20px;
  }

  .section--cubiscan {
    padding: 0;
    overflow: visible;
  }

  .cubiscan-copy {
    max-width: none;
    text-align: left;
    padding-bottom: 0;
  }

  .cubiscan-highlights {
    flex-direction: column;
    gap: 12px;
  }

  .cubiscan-highlights li {
    max-width: none;
  }

  .cubiscan-visual {
    margin-right: 0;
    margin-bottom: 0;
    min-height: 0;
  }

  .cubiscan-visual__img {
    max-height: min(320px, 65vw);
    transform: scale(1.02);
    transform-origin: center bottom;
    object-position: center bottom;
  }

  .cubiscan-bridge {
    height: auto;
    margin: -8px 0 -20px;
    padding: 0;
    z-index: 4;
  }

  .cubiscan-panel {
    top: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 14px 8px;
  }

  .cubiscan-panel__item {
    border-right: 1px solid var(--gray-100);
    border-bottom: none;
    padding: 4px 6px;
  }

  .cubiscan-panel__item:last-child {
    border-right: none;
    border-bottom: none;
  }

  .cubiscan-panel__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .cubiscan-panel__icon svg {
    width: 15px;
    height: 15px;
  }

  .cubiscan-panel__item strong {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .cubiscan-panel__item p {
    font-size: 0.68rem;
    line-height: 1.35;
    max-width: none;
  }

  .cubiscan-bottom {
    padding: 48px 0 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 0;
  }

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

  .about-visual,
  .about-media {
    min-height: 360px;
  }

  .about-media__cards {
    width: min(240px, 62%);
    right: 16px;
  }

  .about-cta {
    margin-top: 48px;
    padding: 32px 0;
  }

  .about-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 20px;
  }

  .about-cta__btn {
    align-self: flex-start;
  }

  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .dim-hero {
    padding: calc(var(--header-height) + 20px) 0 32px;
  }

  .dim-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 14px;
  }

  .dim-hero__text {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .dim-hero__features {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .dim-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dim-hero__btn {
    justify-content: space-between;
    width: 100%;
  }

  .dim-hero__stats-wrap {
    display: none;
  }

  .dim-brands-intro {
    padding: 28px 0 24px;
  }

  .dim-brands-intro__header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    text-align: center;
  }

  .dim-brands-intro__line {
    width: 32px;
  }

  .dim-brands-intro__title {
    text-align: center;
    width: 100%;
    letter-spacing: 0.1em;
  }

  .dim-brands-intro__marquee {
    margin-top: 8px;
  }

  .dim-brands-intro__group {
    gap: 40px;
    padding-right: 40px;
  }

  .dim-brands-intro__track {
    animation-duration: 14s;
  }

  .dim-brand {
    padding: 32px 0;
  }

  .dim-brand__layout {
    gap: 18px;
    row-gap: 18px;
  }

  .dim-brand__headline {
    font-size: clamp(1.4rem, 6.5vw, 1.75rem);
    margin-bottom: 12px;
  }

  .dim-brand__desc {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .dim-brand__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    margin-bottom: 22px;
  }

  .dim-brand__feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .dim-brand__feature-icon {
    width: 36px;
    height: 36px;
  }

  .dim-brand__feature strong {
    font-size: 0.78rem;
  }

  .dim-brand__feature span {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .dim-brand__product {
    max-height: min(260px, 62vw);
  }

  .dim-brand__product--conlida {
    max-height: min(320px, 85vw);
    transform: scale(1.22);
    transform-origin: center center;
  }

  #agh .dim-brand__product {
    max-height: min(280px, 72vw);
    transform: scale(1.08);
  }

  .dim-cta__text {
    flex-direction: column;
    gap: 12px;
  }

  .dim-cta__text p {
    font-size: 0.92rem;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding-right: 88px;
  }

  .header__inner .logo__img {
    height: 32px;
    max-width: min(150px, 38vw);
  }

  .header__phone,
  .header__pill { display: none; }

  .lang-switch--corner {
    right: 56px;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    margin: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    padding: 12px;
    gap: 4px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transform: translateY(-12px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 999;
  }

  .nav--open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    color: var(--gray-700) !important;
    border-radius: var(--radius-sm);
  }

  .nav a:hover,
  .nav a.nav__active {
    background: var(--green-light);
    color: var(--burgundy-800) !important;
  }

  .nav a.nav__mobile-cta {
    display: block !important;
    margin-top: 6px;
    background: var(--burgundy-800) !important;
    color: var(--white) !important;
    text-align: center !important;
    font-weight: 600;
  }

  .nav a.nav__mobile-cta:hover {
    background: var(--burgundy-700) !important;
    color: var(--white) !important;
  }

  .menu-toggle { display: flex; }

  .menu-toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle--active span:nth-child(2) { opacity: 0; }
  .menu-toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero:hover .hero-panel:not(:hover) {
    filter: none;
  }

  .hero-panel {
    min-height: min(72vh, 560px);
    align-items: flex-end;
  }

  .hero-panel__content {
    padding: 36px 28px 40px;
    max-width: 100%;
  }

  .hero-panel__title {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }

  .hero-panel__chips {
    margin-bottom: 22px;
  }

  .hero-pill-btn { width: 100%; justify-content: space-between; }

  .section {
    padding: 56px 0;
  }

  .section--cubiscan {
    padding: 0;
  }

  .section--about {
    padding-top: 36px;
    padding-bottom: 0;
  }

  .about-grid {
    gap: 28px;
    padding-bottom: 0;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 24px;
  }

  .value-item {
    padding: 12px 8px;
    text-align: center;
  }

  .value-item__icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
  }

  .value-item__icon svg {
    width: 16px;
    height: 16px;
  }

  .value-item strong {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }

  .value-item p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .about-visual,
  .about-media {
    min-height: 320px;
  }

  .about-media__cards {
    width: calc(100% - 28px);
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 14px;
    transform: none;
    gap: 14px;
  }

  .about-card {
    padding: 14px 16px;
  }

  .about-card__title {
    font-size: 1.05rem;
  }

  .about-card p {
    max-width: none;
    font-size: 0.74rem;
  }

  .about-card__deco {
    width: 40px;
  }

  .about-cta {
    margin-top: 56px;
    padding: 40px 0;
  }

  .about-cta__inner {
    gap: 24px;
  }

  .about-cta__text {
    gap: 12px;
    align-items: flex-start;
  }

  .about-cta__text p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .about-cta__btn {
    width: 100%;
    justify-content: space-between;
  }

  .section--welcome {
    padding: 36px 0 16px;
  }

  .section--logistics {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .welcome-intro .hero-pill-btn {
    width: auto;
    justify-content: flex-start;
  }

  .features-bar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 24px 36px;
  }

  .footer__brand .logo {
    margin-bottom: 10px;
  }

  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .contact-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .welcome-stats { grid-template-columns: 1fr; padding: 20px 16px; }

  .container { padding: 0 20px; }

  .container.footer__inner {
    padding: 36px 24px 32px;
  }

  .footer__bottom .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .empresa-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
  }

  .empresa-stat__icon {
    width: 36px;
    height: 36px;
  }

  .empresa-stat__icon svg {
    width: 17px;
    height: 17px;
  }

  .empresa-stat strong {
    font-size: 0.74rem;
  }

  .empresa-stat span {
    font-size: 0.7rem;
  }

  .empresa-mv__row { grid-template-columns: 1fr; }
  .empresa-mv__card {
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .empresa-mv__card:last-child {
    padding: 20px 0 0;
    border-bottom: none;
  }
  .empresa-mv__presence {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .empresa-mv__presence-text {
    order: 1;
  }

  .empresa-mv__map {
    order: 2;
    min-height: 96px;
    justify-content: flex-start;
  }

  .empresa-mv__map img {
    max-width: 180px;
    max-height: 110px;
  }
  .empresa-mv__gallery {
    display: none;
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-float.is-visible:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe57;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.55);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ── SERVICIOS: capacidades con ícono ── */
.page-servicios .svc-ops__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-servicios .svc-ops__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green-500);
  flex-shrink: 0;
}

.page-servicios .svc-ops__icon svg {
  width: 18px;
  height: 18px;
}

.page-servicios .svc-ops__item-body {
  padding-top: 2px;
}

.page-servicios .svc-ops__index {
  display: none;
}
