/* ==========================================================================
   ETECME MÉXICO — Hoja de estilos
   Construida sobre el sistema de diseño oficial:
   colores, tipografía, iconos, espacios, radio/sombras, botones y jerarquía.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fuentes
   --------------------------------------------------------------------------
   TITULARES: TT Norms (TypeType). Archivos propios convertidos a WOFF2 desde
   los .otf de la carpeta «tt norms» de la empresa. Se sirven en local, no
   dependen de ningún CDN.
   BODY: Roboto desde Google Fonts.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'TT Norms';
  src: url('../fonts/TTNorms-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../fonts/TTNorms-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../fonts/TTNorms-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../fonts/TTNorms-MediumItalic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../fonts/TTNorms-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens del sistema de diseño
   -------------------------------------------------------------------------- */
:root {

  /* ---- Colores primarios ------------------------------------------------ */
  --naranja:  #ED802A;  /* botones, rutas de navegación, iconos, enlaces      */
  --azul-01:  #001D42;  /* títulos                                           */
  --azul-02:  #133D6C;  /* textos, botones, iconos, menús, fondos de imagen  */
  --gris-01:  #5A7798;  /* botones, fondos de imagen                         */
  --gris-02:  #A1B1C4;  /* botones, fondos de imagen                         */
  --gris-03:  #E7ECF0;  /* fondos de sección y tarjeta, textos, footer       */
  --gris-04:  #5F6977;  /* líneas divisoras                                  */

  /* ---- Colores secundarios ---------------------------------------------- */
  --fondo-01: #FFFFFF;  /* tarjetas                                          */
  --fondo-02: #F8F9FC;  /* fondo del sitio                                   */

  /* ---- Derivados de uso ------------------------------------------------- */
  --naranja-oscuro: #D96F1C;   /* estado presionado del botón naranja        */
  --divisor:        rgba(95, 105, 119, .25);
  --verde-wa:       #25D366;

  /* ---- Tipografía ------------------------------------------------------- */
  --font-titulos: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --h1: 64px;   /* Título de página      */
  --h2: 48px;   /* Título de sección     */
  --h3: 40px;   /* Título de subsección  */
  --h4: 36px;   /* Títulos de tarjeta L  */

  --body-l:  24px;  /* títulos de tarjeta, menú superior */
  --body-m:  20px;  /* subtítulos de tarjeta             */
  --body-s:  16px;  /* párrafos, botones, listas, footer */
  --body-xs: 14px;  /* rutas de navegación               */

  --lh: 1.5;    /* line-height 150% en todo el sistema */

  /* ---- Espacios --------------------------------------------------------- */
  --sp-4:  4px;
  --sp-8:  8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-30: 30px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-60: 60px;
  --sp-64: 64px;

  /* ---- Radio y sombras -------------------------------------------------- */
  --radio: 8px;
  --sombra-s: 0 1px 7px rgba(0, 0, 0, .15);
  --sombra-m: 0 1px 7px rgba(0, 0, 0, .25);

  /* ---- Iconos ----------------------------------------------------------- */
  --ico-16: 16px;
  --ico-24: 24px;
  --ico-30: 30px;
  --ico-36: 36px;
  --ico-50: 50px;
  --ico-60: 60px;
  --ico-80: 80px;

  /* ---- Layout ----------------------------------------------------------- */
  --container: 1180px;
  --header-h: 112px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-s);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--azul-02);
  background: var(--fondo-02);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a   { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }

/* --------------------------------------------------------------------------
   3. Jerarquía tipográfica
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-titulos);
  line-height: var(--lh);
  color: var(--azul-01);
}

.h1, h1 { font-size: var(--h1); font-weight: 300; }
.h2, h2 { font-size: var(--h2); font-weight: 300; }
.h3, h3 { font-size: var(--h3); font-weight: 300; }
.h4, h4 { font-size: var(--h4); font-weight: 300; }

/* La guía marca los titulares como «Bold, Light»: la primera línea en Light
   y la segunda —el remate— en Bold. <strong> hace de segunda línea. */
h1 strong, h2 strong, h3 strong, h4 strong,
.h1 strong, .h2 strong, .h3 strong, .h4 strong {
  display: block;
  font-weight: 700;
}

/* Escalones de body */
.body-l  { font-size: var(--body-l);  line-height: var(--lh); }
.body-m  { font-size: var(--body-m);  line-height: var(--lh); }
.body-s  { font-size: var(--body-s);  line-height: var(--lh); }
.body-xs { font-size: var(--body-xs); font-weight: 500; line-height: var(--lh); }

/* --------------------------------------------------------------------------
   4. Utilidades
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}

.section        { padding: var(--sp-64) 0; }
.section--tight { padding: var(--sp-48) 0; }
.section--gray  { background: var(--gris-03); }
.section--soft  { background: var(--fondo-02); }
.section--white { background: var(--fondo-01); }

/* Encabezado de página principal: Título light + Título bold + subtítulo */
.encabezado-principal { font-size: var(--h1); font-weight: 300; }
.encabezado-pagina    { font-size: var(--h1); font-weight: 700; }
.titulo-seccion       { font-size: var(--h2); font-weight: 300; }
.titulo-subseccion    { font-size: var(--h3); font-weight: 300; }

.subtitulo {
  margin-top: var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--body-m);
  font-weight: 400;
  color: var(--gris-01);
}
.descripcion {
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--gris-01);
}

.text-center { text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: var(--sp-12); left: var(--sp-12);
  z-index: 200;
  width: auto; height: auto;
  margin: 0; padding: var(--sp-12) var(--sp-20);
  clip: auto;
  background: var(--azul-02);
  color: var(--fondo-01);
  border-radius: var(--radio);
}

/* Latido decorativo */
.pulse-line { width: 140px; height: 56px; flex: none; }
.pulse-line path { fill: none; stroke: var(--azul-02); stroke-width: 3; }

.pulse-line--lg { width: 260px; height: 96px; }
.pulse-line--lg path { stroke-width: 2.5; }

/* --------------------------------------------------------------------------
   5. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  height: 52px;                 /* Medium */
  padding: 14px var(--sp-20);
  border: 2px solid transparent;
  border-radius: var(--radio);
  font-family: var(--font-body);
  font-size: var(--body-s);
  font-weight: 500;
  line-height: var(--lh);
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn--l { height: 72px; padding-inline: var(--sp-30); }
.btn--s { height: 40px; padding-inline: var(--sp-16); }
.btn--block { width: 100%; }

.btn svg { width: var(--ico-20, 20px); height: 20px; flex: none; }

/* Botón azul — Activo / Hover / Presionado / Deshabilitado */
.btn--navy {
  background: var(--azul-02);
  border-color: var(--azul-02);
  color: var(--fondo-01);
}
.btn--navy:hover  { background: var(--gris-01); border-color: var(--gris-01); }
.btn--navy:active { background: var(--azul-01); border-color: var(--azul-01); }

/* Botón naranja */
.btn--orange {
  background: var(--naranja);
  border-color: var(--naranja);
  color: var(--fondo-01);
}
.btn--orange:hover  { background: var(--gris-01); border-color: var(--gris-01); }
.btn--orange:active { background: var(--naranja-oscuro); border-color: var(--naranja-oscuro); }

/* Botón de contorno */
.btn--outline {
  background: var(--fondo-01);
  border-color: var(--azul-02);
  color: var(--azul-02);
}
.btn--outline:hover  { background: var(--gris-01); border-color: var(--gris-01); color: var(--fondo-01); }
.btn--outline:active { background: var(--azul-01); border-color: var(--azul-01); color: var(--fondo-01); }

/* Deshabilitado */
.btn:disabled,
.btn.is-disabled {
  background: var(--gris-03);
  border-color: var(--gris-03);
  color: var(--gris-02);
  cursor: not-allowed;
  pointer-events: none;
}

/* Botones circulares — L 100 / M 60 / S 40 */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--azul-02);
  color: var(--fondo-01);
  flex: none;
  transition: background-color .2s ease, transform .2s ease;
}
.arrow-btn--l { width: 100px; height: 100px; }
.arrow-btn--s { width: 40px;  height: 40px; }
.arrow-btn:hover  { background: var(--gris-01); transform: scale(1.1); }
.arrow-btn:active { background: var(--azul-01); }
.arrow-btn--white  { background: var(--fondo-01); color: var(--azul-02); }
.arrow-btn--white:hover { background: var(--gris-03); }
.arrow-btn--orange { background: var(--naranja); color: var(--fondo-01); }
.arrow-btn--orange:hover { background: var(--gris-01); }
.arrow-btn svg { width: var(--ico-24); height: var(--ico-24); transition: transform .22s ease; }
.arrow-btn:hover svg { transform: translateX(4px); }

/* Lista con palomita */
.check-list li {
  position: relative;
  padding-left: var(--sp-28);
  margin-bottom: var(--sp-8);
  font-size: var(--body-s);
  line-height: var(--lh);
  color: var(--azul-02);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--azul-02);
  border-bottom: 2.5px solid var(--azul-02);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Campos de formulario  (alto 48px, radio 8px)
   -------------------------------------------------------------------------- */
.form-field { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--body-s);
  color: var(--azul-02);
}
.form-field label .req { color: var(--naranja); }

.form-field input,
.form-field select,
.form-field textarea {
  height: 48px;
  padding: 0 var(--sp-16);
  background: var(--fondo-01);
  border: 1px solid var(--divisor);
  border-radius: var(--radio);
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--azul-02);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea {
  height: auto;
  min-height: 96px;
  padding: var(--sp-12) var(--sp-16);
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gris-02); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(237, 128, 42, .16);
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fondo-01);
  border-bottom: 1px solid var(--divisor);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  min-height: var(--header-h);
  padding-block: var(--sp-12);
}

.brand { display: flex; align-items: center; gap: var(--sp-16); }
.brand__logo { width: 88px; height: auto; flex: none; }
.brand__name {
  display: block;
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .3px;
  color: var(--azul-01);
}
.brand__tagline {
  display: block;
  font-size: var(--body-s);
  font-weight: 400;
  color: var(--gris-01);
}

/* Menú superior — Body/L */
.nav { display: flex; align-items: center; gap: var(--sp-32); }
.nav__item { position: relative; }
.nav__link {
  font-size: var(--body-l);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--azul-02);
  transition: color .2s ease;
}
.nav__link:hover,
.nav__item.is-active > .nav__link { color: var(--naranja); }

.nav__submenu {
  position: absolute;
  top: calc(100% + var(--sp-16));
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  padding: var(--sp-8) 0;
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-m);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__submenu::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0; height: 16px;
}
.nav__submenu a {
  display: block;
  padding: var(--sp-8) var(--sp-24);
  font-size: var(--body-s);
  color: var(--azul-02);
  transition: background-color .18s ease, color .18s ease;
}
.nav__submenu a:hover { background: var(--gris-03); color: var(--naranja); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--azul-02);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero de portada  (Encabezado Página Principal)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--sp-32) 0 var(--sp-64);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-48);
}
.hero__title {
  font-size: var(--h1);
  font-weight: 300;
  line-height: 1.15;
  color: var(--azul-01);
}
.hero__title strong { display: block; font-weight: 700; }
.hero__subtitle {
  margin-top: var(--sp-16);
  font-family: var(--font-body);
  font-size: var(--body-m);
  color: var(--gris-01);
}
.hero__actions {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--sp-48);
}
.hero__badge {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  min-width: 400px;
  max-width: 100%;
  padding: var(--sp-20) var(--sp-30);
  background: var(--naranja);
  border-radius: var(--radio);
  color: var(--fondo-01);
}
.hero__badge span { font-size: var(--body-s); font-weight: 700; }
.hero__badge img  { height: 34px; width: auto; }

@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 38px rgba(231,236,240,.85), 0 0 0 0   rgba(19,61,108,.3); }
  65%  { box-shadow: 0 0 0 38px rgba(231,236,240,.85), 0 0 0 28px rgba(19,61,108,0); }
  100% { box-shadow: 0 0 0 38px rgba(231,236,240,.85), 0 0 0 0   rgba(19,61,108,0); }
}
@keyframes heroCtaIn {
  from { opacity:0; transform: scale(.7); }
  to   { opacity:1; transform: scale(1); }
}
.hero__cta {
  position: absolute;
  left: 352px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--azul-02);
  color: var(--fondo-01);
  font-size: var(--body-s);
  box-shadow: 0 0 0 38px rgba(231,236,240,.85);
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  animation: heroCtaIn .5s .3s both, heroPulse 2.6s 1s ease-out infinite;
}
.hero__cta:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 50px rgba(231,236,240,.6);
  animation: none;
}
.hero__cta svg {
  width: var(--ico-24); height: var(--ico-24);
  transition: transform .3s ease;
}
.hero__cta:hover svg { transform: translateX(5px); }

.hero__media img {
  width: 100%;
  border-radius: var(--radio);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. Encabezado de página interior
   -------------------------------------------------------------------------- */
.page-hero { padding: var(--sp-48) 0 var(--sp-30); }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: var(--sp-48);
}
.page-hero__title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.15;
  color: var(--azul-01);
}
.page-hero__text {
  margin-top: var(--sp-16);
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--gris-01);
  max-width: 340px;
}
.page-hero__media img { width: 100%; border-radius: var(--radio); }

/* Título secundario en pantalla */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-30);
  flex-wrap: wrap;
}
.page-head__title {
  font-size: var(--h2);
  font-weight: 300;
  line-height: 1.2;
  color: var(--azul-01);
}
.page-head__title strong { display: block; font-weight: 700; }
.page-head__title--lg { font-size: var(--h1); }

/* --------------------------------------------------------------------------
   10. Barra de servicios
   -------------------------------------------------------------------------- */
.service-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-16) var(--sp-48);
  padding: var(--sp-20) var(--sp-28);
  background: var(--gris-03);
  border-radius: var(--radio);
}
.service-strip li {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--body-s);
  font-weight: 500;
  color: var(--azul-02);
}
.service-strip svg { width: var(--ico-16); height: var(--ico-16); color: var(--azul-02); flex: none; }

/* --------------------------------------------------------------------------
   11. Bento de productos destacados
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: var(--sp-30);
}
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-28);
  border-radius: var(--radio);
  overflow: hidden;
  color: var(--fondo-01);
  transition: box-shadow .28s ease, transform .28s ease;
}
.bento__card:hover { box-shadow: var(--sombra-m); transform: translateY(-6px); }
.bento__card h3 {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.3;
  max-width: 260px;
  color: inherit;
}
.bento__card p {
  position: relative;
  z-index: 2;
  margin-top: var(--sp-12);
  font-family: var(--font-body);
  font-size: var(--body-s);
  max-width: 210px;
}
.bento__card img {
  position: absolute;
  right: 0; bottom: 0;
  width: 66%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  transition: transform .4s ease;
}
.bento__card:hover img { transform: translateY(-10px) scale(1.04); }
.bento__card--navy img {
  width: 90%;
  max-width: 320px;
  right: auto;
  left: -20px;
  bottom: -30px;
}
.bento__card--navy:hover img { transform: translateY(-10px) scale(1.04); }
.bento__card--orange img {
  width: 75%;
  max-width: 300px;
  right: auto;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.bento__card--orange:hover img { transform: translateX(-50%) translateY(-10px) scale(1.04); }
.bento__row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  position: relative;
  z-index: 2;
  margin-top: var(--sp-12);
}
.bento__row p { margin-top: 0; }
.bento__row .arrow-btn { margin-top: 0; flex-shrink: 0; }
.bento__card--gray img {
  width: 115%;
  max-width: 440px;
  right: -30px;
  bottom: 80px;
  left: auto;
  top: auto;
  transform: none;
}
.bento__card--gray:hover img { transform: translateY(-10px) scale(1.04); }
.bento__card--soft img {
  width: 52%;
  max-width: 320px;
  max-height: none;
  bottom: -102px;
  right: 0;
  left: auto;
  transform: none;
}
.bento__card--soft:hover img { transform: translateY(-10px) scale(1.04); }
.bento__card .arrow-btn {
  width: 40px; height: 40px;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
.bento__card .arrow-btn svg { width: var(--ico-16); height: var(--ico-16); }

.bento__card--navy   { background: var(--azul-02);  grid-row: span 2; }
.bento__card--orange { background: var(--naranja);  grid-row: span 2; }
.bento__card--gray   { background: var(--gris-03); color: var(--azul-02); grid-row: span 3; }
.bento__card--soft   { background: var(--gris-02); grid-column: span 2; }
.bento__card--gray h3 { color: var(--azul-01); }

/* Catálogo Completo link */
.catalogo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1.5px solid var(--naranja);
  border-radius: 100px;
  color: var(--naranja);
  font-weight: 600;
  font-size: var(--body-s);
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
}
.catalogo-link:hover { background: var(--naranja); color: #fff; }
.catalogo-link:hover .catalogo-link__ecg path { stroke: #fff; }
.catalogo-link__ecg {
  width: 64px;
  height: 22px;
  flex-shrink: 0;
  opacity: 1;
}
.catalogo-link__ecg path {
  fill: none;
  stroke: var(--naranja);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: ecgLoop 2.6s 0.5s ease-in-out infinite;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   12. Tarjetas de marca  (Tarjeta L)
   -------------------------------------------------------------------------- */
.brand-strip {
  display: flex;
  flex: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--sp-28);
  padding: var(--sp-16) var(--sp-28);
  background: var(--gris-03);
  border-radius: var(--radio);
}
.brand-strip img { width: auto; flex: none; }

.brand-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 720px;
  margin: 0 auto var(--sp-32);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--gris-03);
  box-shadow: var(--sombra-s);
  transition: box-shadow .25s ease, transform .25s ease;
}
.brand-card:hover { box-shadow: var(--sombra-m); transform: translateY(-4px); }
.brand-card__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  padding: var(--sp-24);
  min-height: 220px;
}
.brand-card__media--navy   { background: var(--azul-02); }
.brand-card__media--orange { background: var(--naranja); }
.brand-card__media--soft   { background: var(--gris-02); }
.brand-card__logo    { max-height: 54px; width: auto; }
.brand-card__product { max-height: 170px; width: auto; }
.brand-card__media--navy   .brand-card__product { max-height: 240px; }
.brand-card__media--orange .brand-card__logo    { max-height: 90px; }
.brand-card__body {
  display: flex;
  flex-direction: column;
  padding: var(--sp-28);
}
.brand-card__title {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.35;
  color: var(--azul-01);
}
.brand-card__sub {
  font-family: var(--font-body);
  font-size: var(--body-m);
  font-weight: 400;
  color: var(--gris-01);
}
.brand-card__desc {
  margin: var(--sp-20) 0;
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--azul-02);
}
.brand-card .arrow-btn { margin-top: auto; align-self: flex-end; }

/* --------------------------------------------------------------------------
   13. Rejillas de producto y categoría
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-30);
}
.product-grid--2 { grid-template-columns: repeat(2, 1fr); }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--fondo-01);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
  transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: var(--sombra-m); transform: translateY(-5px); }
.product-card__media img { transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  padding: var(--sp-16);
  background: var(--fondo-01);
}
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__body { padding: var(--sp-20) var(--sp-24) var(--sp-24); display: flex; flex-direction: column; flex: 1; }
.product-card__title {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.3;
  color: var(--azul-01);
}
.product-card__text {
  margin-top: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--gris-01);
}
.product-card .btn { margin-top: auto; }

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--fondo-01);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
  transition: box-shadow .25s ease;
}
.category-card:hover { box-shadow: var(--sombra-m); }
.category-card img { width: 100%; height: 155px; object-fit: cover; }
.category-card__body { padding: var(--sp-20) var(--sp-24) var(--sp-24); }
.category-card__title {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.3;
  color: var(--azul-01);
}
.category-card__text {
  margin-top: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--gris-01);
}

/* --------------------------------------------------------------------------
   14. Ficha de producto
   -------------------------------------------------------------------------- */
/* Ruta de navegación — Body/XS Medium, naranja */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--body-xs);
  font-weight: 500;
  line-height: var(--lh);
  color: var(--azul-02);
}
.breadcrumb a { color: var(--naranja); text-decoration: underline; }
.breadcrumb a:hover { color: var(--naranja-oscuro); }
.breadcrumb span.sep { color: var(--naranja); }
.breadcrumb .current { color: var(--azul-02); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--sp-48);
  align-items: start;
}
.product-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: var(--sp-30);
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-s);
}
.product-detail__media img { max-height: 360px; width: auto; object-fit: contain; }

.product-detail__panel {
  padding: var(--sp-32);
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-s);
}
/* Título de producto: Título bold + subtítulo */
.product-detail__category {
  font-size: var(--h4);
  font-weight: 700;
  line-height: 1.25;
  color: var(--azul-01);
}
.product-detail__model {
  margin-top: var(--sp-4);
  font-family: var(--font-titulos);
  font-size: var(--h4);
  font-weight: 300;
  line-height: 1.25;
  color: var(--azul-02);
}
.product-detail__label {
  margin-top: var(--sp-28);
  padding-bottom: var(--sp-8);
  font-size: var(--body-l);
  font-weight: 700;
  color: var(--azul-01);
  border-bottom: 1px solid var(--divisor);
}
.product-detail__desc {
  margin-top: var(--sp-16);
  font-family: var(--font-body);
  font-size: var(--body-s);
  color: var(--azul-02);
}
.product-detail__features { margin-top: var(--sp-16); }
.product-detail__features li {
  position: relative;
  padding-left: var(--sp-20);
  margin-bottom: var(--sp-8);
  font-size: var(--body-s);
  line-height: var(--lh);
  color: var(--azul-02);
}
.product-detail__features li::before {
  content: '';
  position: absolute;
  left: 4px; top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--naranja);
}
.product-detail__panel .btn { margin-top: var(--sp-24); }

.warranty-note {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  max-width: 320px;
  margin-top: var(--sp-24);
  padding: var(--sp-16) var(--sp-20);
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-s);
  font-size: var(--body-s);
  color: var(--azul-02);
}
.warranty-note svg { width: var(--ico-36); height: var(--ico-36); color: var(--azul-02); flex: none; }

/* Ficha técnica */
.specs__title {
  padding-bottom: var(--sp-12);
  font-size: var(--h3);
  font-weight: 700;
  color: var(--azul-01);
  border-bottom: 1px solid var(--divisor);
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--sp-48);
  margin-top: var(--sp-24);
}
.specs__item { padding: var(--sp-16) var(--sp-4); border-bottom: 1px solid var(--divisor); }
.specs__key  { font-family: var(--font-titulos); font-size: var(--body-m); font-weight: 700; color: var(--azul-01); }
.specs__val  { margin-top: var(--sp-4); font-size: var(--body-s); color: var(--azul-02); }
.specs__val ul li { position: relative; padding-left: var(--sp-16); }
.specs__val ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: .65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gris-01);
}

.includes { margin-top: var(--sp-48); }
.includes__title { font-size: var(--h4); font-weight: 700; color: var(--azul-01); }
.includes ul { margin-top: var(--sp-16); }
.includes li {
  position: relative;
  padding-left: var(--sp-24);
  margin-bottom: var(--sp-8);
  font-size: var(--body-s);
  color: var(--azul-02);
}
.includes li::before {
  content: '';
  position: absolute;
  left: 4px; top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--naranja);
}

/* --------------------------------------------------------------------------
   15. Bloques CTA
   -------------------------------------------------------------------------- */
/* Tarjeta N: Título bold + subtítulo */
.helper-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-28);
  flex-wrap: wrap;
  padding: var(--sp-28) var(--sp-32);
  background: var(--gris-03);
  border-radius: var(--radio);
}
.helper-band__text {
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.35;
  color: var(--azul-01);
}
.helper-band__text small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--body-m);
  font-weight: 400;
  color: var(--gris-01);
}

.dual-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-48);
  max-width: 900px;
  margin-inline: auto;
}
.dual-cta__card {
  padding: var(--sp-32);
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-s);
}
.dual-cta__title { font-size: var(--h3); font-weight: 700; color: var(--azul-01); }
.dual-cta__lead {
  margin-top: var(--sp-20);
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-weight: 700;
  color: var(--azul-01);
}
.dual-cta__text { font-size: var(--body-s); color: var(--gris-01); }
.dual-cta .btn  { margin-top: var(--sp-28); }

/* Bloque final «Líder en equipos» */
.leader {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  align-items: stretch;
}
.leader__media {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--naranja);
  min-height: 340px;
}
.leader__media img { width: 100%; height: 100%; object-fit: cover; }
.leader__caption {
  position: absolute;
  top: var(--sp-24); right: var(--sp-28);
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-style: italic;
  font-weight: 400;          /* TT Norms Italic — no existe Light Italic */
  line-height: 1.4;
  color: var(--fondo-01);
  text-align: right;
}
.leader__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-48);
  background: var(--gris-03);
  border-radius: var(--radio);
}
.leader__text  { font-size: var(--body-m); color: var(--azul-02); }
.leader__hours {
  margin-top: var(--sp-20);
  font-family: var(--font-titulos);
  font-size: var(--body-m);
  font-weight: 700;
  color: var(--azul-01);
}
.leader__panel .btn { margin-top: var(--sp-28); align-self: flex-start; }

/* --------------------------------------------------------------------------
   16. «¿Por qué confiar?», clientes y noticias
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: var(--sp-48);
  align-items: center;
}
.trust__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-30);
}
/* Tarjeta M: Título bold + subtítulo */
.trust__card {
  padding: var(--sp-24);
  background: var(--fondo-01);
  border-radius: var(--radio);
  box-shadow: var(--sombra-s);
}
.trust__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
}
.trust__card-title {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.3;
  max-width: 190px;
  color: var(--azul-01);
}
.trust__card-head img,
.trust__card-head span { width: var(--ico-50); height: var(--ico-50); flex: none; }
.trust__card-text {
  margin-top: var(--sp-16);
  font-size: var(--body-s);
  color: var(--gris-01);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-30);
  margin-top: var(--sp-32);
}
.clients-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: var(--sp-16);
  background: var(--gris-03);
  border-radius: var(--radio);
}
.clients-grid__item img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Tarjeta P */
.news-card {
  display: grid;
  grid-template-columns: 1fr 205px;
  max-width: 560px;
  margin-inline: auto;
  background: var(--fondo-01);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
}
.news-card__body { padding: var(--sp-28); }
.news-card__title { font-size: var(--body-l); font-weight: 700; color: var(--azul-01); }
.news-card__body p {
  margin-top: var(--sp-12);
  font-size: var(--body-s);
  color: var(--azul-02);
}
.news-card__body p strong { font-weight: 700; color: var(--azul-01); }
.news-card img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   17. Servicios
   -------------------------------------------------------------------------- */
.service-card {
  display: grid;
  grid-template-columns: 238px 1fr;
  max-width: 660px;
  margin: 0 auto var(--sp-48);
  background: var(--gris-03);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
}
.service-card__media { min-height: 300px; background: var(--azul-02); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: var(--sp-30) var(--sp-32); }
.service-card__title {
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.35;
  color: var(--azul-01);
}
.service-card__sub {
  font-family: var(--font-body);
  font-size: var(--body-m);
  font-weight: 400;
  color: var(--gris-01);
}
.service-card__text { margin: var(--sp-20) 0; font-size: var(--body-s); color: var(--azul-02); }
.service-card .btn  { margin-top: var(--sp-24); }

/* --------------------------------------------------------------------------
   18. Contacto
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
}
.contact-form-wrap { padding: var(--sp-48); background: var(--gris-03); }
.contact-form__lead {
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-weight: 700;
  line-height: 1.4;
  color: var(--azul-01);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-20) var(--sp-24);
  margin-top: var(--sp-28);
}
.contact-form .btn { margin-top: var(--sp-24); }
.form-note { margin-top: var(--sp-12); font-size: var(--body-xs); color: var(--gris-01); }

.contact-aside {
  padding: var(--sp-48) var(--sp-32);
  background: var(--azul-02);
  color: var(--fondo-01);
  text-align: center;
}
.contact-aside__title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--fondo-01);
}
.contact-aside__icon { width: var(--ico-80); height: var(--ico-80); margin: var(--sp-24) auto; color: var(--fondo-01); }
.contact-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  margin-bottom: var(--sp-16);
  padding: var(--sp-16) var(--sp-20);
  background: var(--fondo-01);
  border-radius: var(--radio);
  text-align: left;
  color: var(--azul-02);
  transition: box-shadow .2s ease;
}
.contact-chip:hover { box-shadow: var(--sombra-m); }
.contact-chip svg { width: var(--ico-30); height: var(--ico-30); color: var(--azul-02); flex: none; }
.contact-chip strong { display: block; font-size: var(--body-s); font-weight: 700; color: var(--azul-01); }
.contact-chip span   { font-size: var(--body-s); color: var(--gris-01); }
.contact-aside__social-label { margin-top: var(--sp-28); font-size: var(--body-s); }
.contact-aside__social {
  display: flex;
  justify-content: center;
  gap: var(--sp-24);
  margin-top: var(--sp-16);
}
.contact-aside__social a { color: var(--fondo-01); transition: opacity .2s ease; }
.contact-aside__social a:hover { opacity: .75; }
.contact-aside__social svg { width: var(--ico-30); height: var(--ico-30); }

/* --------------------------------------------------------------------------
   19. Blog
   -------------------------------------------------------------------------- */
.blog-tabs {
  display: flex;
  gap: var(--sp-28);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--divisor);
  font-size: var(--body-s);
  color: var(--gris-01);
}
.blog-tabs .is-active { color: var(--azul-02); font-weight: 700; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-30);
  margin-top: var(--sp-32);
}
.blog-card {
  background: var(--fondo-01);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-s);
  transition: box-shadow .25s ease;
}
.blog-card:hover { box-shadow: var(--sombra-m); }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-card__body { padding: var(--sp-20) var(--sp-24) var(--sp-24); }
.blog-card__title { font-size: var(--body-l); font-weight: 700; color: var(--azul-01); }
.blog-card__meta  { margin-top: var(--sp-8); font-size: var(--body-xs); color: var(--gris-01); }

.post { max-width: 780px; margin-inline: auto; }
.post__title { font-size: var(--h3); font-weight: 700; color: var(--azul-01); }
.post__meta  { margin-top: var(--sp-8); font-size: var(--body-xs); color: var(--gris-01); }
.post img    { margin: var(--sp-28) 0; border-radius: var(--radio); }
.post p      { margin-bottom: var(--sp-16); font-size: var(--body-s); color: var(--azul-02); }

/* --------------------------------------------------------------------------
   20. Footer  (fondo Gris 03, textos Body/S)
   -------------------------------------------------------------------------- */
.site-footer { padding: var(--sp-60) 0 var(--sp-48); background: var(--gris-03); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 210px 1fr 1fr 1.1fr;
  gap: var(--sp-48);
  align-items: start;
}
.site-footer__logo { width: 118px; height: auto; }
.footer-nav a {
  display: block;
  margin-bottom: var(--sp-12);
  font-size: var(--body-s);
  font-weight: 700;
  color: var(--azul-02);
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--naranja); }
.footer-nav--light a { font-weight: 400; color: var(--gris-01); }

.footer-contact__row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer-contact__row svg { width: var(--ico-24); height: var(--ico-24); color: var(--naranja); flex: none; }
.footer-contact__row strong { font-size: var(--body-s); font-weight: 700; color: var(--azul-02); }
.footer-contact__row a { font-size: var(--body-s); color: var(--azul-02); text-decoration: underline; }
.footer-contact__row a:hover { color: var(--naranja); }

.footer-social { display: flex; gap: var(--sp-16); margin-top: var(--sp-16); }
.footer-social a { color: var(--naranja); transition: opacity .2s ease; }
.footer-social a:hover { opacity: .7; }
.footer-social svg { width: var(--ico-30); height: var(--ico-30); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  flex-wrap: wrap;
  margin-top: var(--sp-48);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--gris-04);
  font-size: var(--body-xs);
  color: var(--gris-01);
}

/* --------------------------------------------------------------------------
   21. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: var(--sp-28); bottom: var(--sp-28);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-wa);
  color: var(--fondo-01);
  box-shadow: var(--sombra-m);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: var(--ico-30); height: var(--ico-30); }

/* --------------------------------------------------------------------------
   22. Animación de entrada
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   23. Animaciones y movimiento global
   -------------------------------------------------------------------------- */

/* Entrada del hero — slide-up escalonado */
@keyframes slideUpFade {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:none; }
}
.hero__title    { animation: slideUpFade .65s .05s both; }
.hero__subtitle { animation: slideUpFade .65s .22s both; }
.hero__actions  { animation: slideUpFade .65s .40s both; }
.hero__media img{ animation: slideUpFade .7s  .18s both; }

/* ECG loop — monitor en vivo (todas las líneas) */
@keyframes ecgLoop {
  0%   { stroke-dashoffset: 300; }
  60%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -300; opacity: 0; }
}
.pulse-line path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: ecgLoop 2.8s 0.3s ease-in-out infinite;
  opacity: 1;
}

/* Stagger — grids de productos */
.product-grid   .reveal:nth-child(2),
.product-grid--4 .reveal:nth-child(2) { transition-delay:.09s; }
.product-grid   .reveal:nth-child(3),
.product-grid--4 .reveal:nth-child(3) { transition-delay:.18s; }
.product-grid   .reveal:nth-child(4),
.product-grid--4 .reveal:nth-child(4) { transition-delay:.27s; }

/* Category cards */
.category-card { transition: box-shadow .25s ease, transform .25s ease; overflow:hidden; }
.category-card:hover { box-shadow: var(--sombra-m); transform: translateY(-6px); }
.category-card > img { transition: transform .4s ease; }
.category-card:hover > img { transform: scale(1.08); }

/* Service cards */
.service-card { transition: box-shadow .25s ease, transform .25s ease; }
.service-card:hover { box-shadow: var(--sombra-m); transform: translateY(-5px); }

/* Blog / news cards */
.news-card { transition: box-shadow .25s ease, transform .25s ease; overflow:hidden; }
.news-card:hover { box-shadow: var(--sombra-m); transform: translateY(-5px); }
.news-card img { transition: transform .4s ease; }
.news-card:hover img { transform: scale(1.06); }

/* Trust cards + icono rebota */
.trust__card { transition: box-shadow .22s ease, transform .22s ease; }
.trust__card:hover { box-shadow: var(--sombra-m); transform: translateY(-3px); }
@keyframes iconBounce {
  0%,100% { transform:translateY(0); }
  40%     { transform:translateY(-6px); }
  70%     { transform:translateY(-2px); }
}
.trust__card:hover .trust__icon { animation: iconBounce .4s ease; }

/* Dual CTA */
.dual-cta__card { transition: box-shadow .25s ease, transform .25s ease; }
.dual-cta__card:hover { box-shadow: var(--sombra-m); transform: translateY(-5px); }

/* Client logos */
.clients-grid__item { transition: box-shadow .25s ease, transform .25s ease; }
.clients-grid__item:hover { box-shadow: var(--sombra-m); transform: translateY(-4px) scale(1.04); }
.clients-grid__item img { transition: filter .25s ease; }
.clients-grid__item:hover img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.15)); }

/* Nav link — subrayado naranja deslizante */
.nav__link { position:relative; }
.nav__link::after {
  content:'';
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--naranja);
  border-radius:2px;
  transition: width .25s ease;
}
.nav__link:hover::after,
.nav__item.is-active .nav__link::after { width:100%; }

/* BTN — sube levemente */
.btn { transition: background-color .2s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn:active { transform: none; box-shadow: none; }

/* WA float — latido */
@keyframes waHeartbeat {
  0%,100% { transform:scale(1); }
  14%     { transform:scale(1.12); }
  28%     { transform:scale(1); }
  42%     { transform:scale(1.07); }
  60%     { transform:scale(1); }
}
.wa-float { animation: waHeartbeat 3.2s 2.5s infinite; }
.wa-float:hover { animation:none; transform:scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__subtitle, .hero__actions, .hero__media img { animation:none; }
  .pulse-line path { animation:none; stroke-dashoffset:0; opacity:1; }
  .wa-float { animation:none; }
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --h1: 52px; --h2: 40px; --h3: 34px; --h4: 30px; }
  .nav { gap: var(--sp-24); }
  .nav__link { font-size: var(--body-m); }
}

@media (max-width: 1080px) {
  .trust { grid-template-columns: 1fr; }
  .trust__media { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero__grid,
  .page-hero__grid,
  .leader,
  .contact-layout,
  .product-detail { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: flex-start; gap: var(--sp-20); }
  .hero__cta { position: static; box-shadow: none; }
  .hero__badge { min-width: 0; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--gray, .bento__card--soft { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .bento__card--navy, .bento__card--orange { grid-row: span 2; }

  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .specs__grid { grid-template-columns: 1fr; }
  .product-detail__media { min-height: 300px; }
  .leader__caption { position: static; padding: var(--sp-20) var(--sp-24) 0; text-align: left; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-16) var(--sp-24) var(--sp-28);
    background: var(--fondo-01);
    box-shadow: var(--sombra-m);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__item { border-bottom: 1px solid var(--divisor); }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-16) 0;
    width: 100%;
  }

  /* Chevron para items con submenu */
  .nav__chevron {
    display: inline-block;
    width: 9px; height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
    flex-shrink: 0;
  }
  .nav__item--has-sub.is-open .nav__chevron {
    transform: rotate(-135deg) translateY(2px);
  }

  /* Submenu: oculto por defecto, visible al abrir */
  .nav__submenu {
    display: none;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 var(--sp-12) var(--sp-16);
    box-shadow: none;
    background: transparent;
  }
  .nav__item--has-sub.is-open .nav__submenu { display: block; }
  .nav__submenu a {
    display: block;
    padding: var(--sp-10, 10px) 0;
    color: var(--azul-02);
    font-size: var(--body-s);
  }
  .nav .btn { margin-top: var(--sp-20); }

  .brand-strip { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .brand-strip img { max-width: 100%; }

  .brand-card, .service-card, .news-card { grid-template-columns: 1fr; }
  .brand-card__media { min-height: 180px; }
  .service-card__media { min-height: 220px; }
  .news-card img { height: 240px; }
  .dual-cta { grid-template-columns: 1fr; gap: var(--sp-28); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .trust__cards { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Chevron solo visible en móvil */
.nav__chevron { display: none; }
@media (max-width: 860px) { .nav__chevron { display: inline-block; } }

@media (max-width: 620px) {
  :root { --h1: 32px; --h2: 26px; --h3: 23px; --h4: 21px; --body-l: 18px; --body-m: 16px; }
  .section { padding: var(--sp-48) 0; }

  /* Hero */
  .hero { padding: var(--sp-24) 0 var(--sp-48); }
  .hero__badge { min-width: 0; width: 100%; }
  .hero__cta { width: 90px; height: 90px; font-size: 13px; }

  /* Bento: imagen no sobrepone texto */
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__card {
    min-height: 0;
    padding-bottom: calc(var(--sp-28) + 160px);
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .bento__card img {
    width: 70% !important;
    max-width: 220px !important;
    left: 50% !important;
    right: auto !important;
    bottom: var(--sp-16) !important;
    top: auto !important;
    transform: translateX(-50%) !important;
  }
  .bento__card--orange img,
  .bento__card--navy img,
  .bento__card--gray img,
  .bento__card--soft img {
    width: 65% !important;
    max-width: 200px !important;
  }

  .product-grid, .product-grid--2, .product-grid--4, .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-aside { padding: var(--sp-30) var(--sp-24); }
  .product-detail__panel { padding: var(--sp-24); }
  .leader__panel { padding: var(--sp-30) var(--sp-24); }
  .brand__logo { width: 70px; }
  .btn--l { height: 52px; }
}

/* ==========================================================================
   Barra de cookies & Modal aviso de privacidad
   ========================================================================== */

/* ---- Barra de cookies --------------------------------------------------- */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--azul-01);
  color: #fff;
  padding: var(--sp-16) var(--sp-24);
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .3);
  transform: translateY(0);
  transition: transform .35s ease;
}
.cookie-bar.is-hidden { transform: translateY(110%); }

.cookie-bar__text {
  flex: 1;
  font-size: var(--body-xs);
  line-height: 1.55;
  margin: 0;
}

.cookie-bar__actions {
  display: flex;
  gap: var(--sp-8);
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--naranja);
  color: #fff;
  border: none;
  border-radius: var(--radio);
  padding: var(--sp-8) var(--sp-20);
  font-size: var(--body-xs);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--naranja-oscuro); }

.btn-cookie-privacy {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: var(--radio);
  padding: var(--sp-8) var(--sp-20);
  font-size: var(--body-xs);
  cursor: pointer;
  transition: border-color .2s;
  white-space: nowrap;
}
.btn-cookie-privacy:hover { border-color: #fff; }

@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .cookie-bar__actions { width: 100%; }
  .btn-cookie-accept,
  .btn-cookie-privacy { flex: 1; text-align: center; }
}

/* ---- Modal aviso de privacidad ----------------------------------------- */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 29, 66, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-16);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.privacy-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-modal {
  background: var(--fondo-01);
  border-radius: var(--radio);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .22);
  transform: translateY(20px);
  transition: transform .25s;
}
.privacy-overlay.is-open .privacy-modal { transform: translateY(0); }

.privacy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-20) var(--sp-24);
  border-bottom: 1px solid var(--divisor);
  flex-shrink: 0;
}
.privacy-modal__header h2 {
  font-family: var(--font-titulos);
  font-size: var(--body-l);
  font-weight: 700;
  color: var(--azul-01);
  margin: 0;
}

.privacy-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gris-04);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.privacy-modal__close:hover {
  background: var(--gris-03);
  color: var(--azul-01);
}

.privacy-modal__body {
  padding: var(--sp-24);
  overflow-y: auto;
  flex: 1;
  font-size: var(--body-xs);
  line-height: 1.7;
  color: var(--azul-02);
}
.privacy-modal__body h3 {
  font-family: var(--font-titulos);
  font-size: var(--body-s);
  font-weight: 700;
  color: var(--azul-01);
  margin: var(--sp-20) 0 var(--sp-8);
}
.privacy-modal__body h3:first-child { margin-top: 0; }
.privacy-modal__body p { margin-bottom: var(--sp-12); }
.privacy-modal__body a { color: var(--naranja); text-decoration: underline; }

.privacy-modal__footer {
  padding: var(--sp-16) var(--sp-24);
  border-top: 1px solid var(--divisor);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
