/* Pulido de todo el sitio · criterio emil-design-eng.
   Sin cambios de contenido, destinos, validación, medición o comportamiento. */
:root {
  --polish-ease-out: cubic-bezier(.23, 1, .32, 1);
  --polish-duration-fast: 160ms;
  --page-title-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
  --page-section-title-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --page-card-title-size: clamp(1.25rem, 1.05rem + .45vw, 1.5rem);
  --page-card-radius: 20px;
  --page-layout-gap: clamp(20px, 2.4vw, 32px);
}
body { text-rendering: optimizeLegibility; }
h1, h2 { text-wrap: balance; letter-spacing: -.025em; }
h3, h4, p, li, label, figcaption { text-wrap: pretty; }
:where(.section-lead, .hero-copy > p, .industry-detail-hero__lead, .svc-hero__desc) { max-width: 65ch; }
.article-body > p { max-width: 65ch; line-height: 1.85; }
input, select, textarea, button { font-family: inherit; }
:where(table, .stat-value, .metric-value) { font-variant-numeric: tabular-nums; }
/* No esconder errores ni texto largo; los contenedores pueden encoger dentro
   de sus columnas sin imponer un tamaño nuevo a las imágenes o galerías. */
:where(.card, .related-card, .svc-caso, .svc-dif__item, .field, .form-grid > *, .industry-card) { min-width: 0; }
:where(.card, .related-card, .svc-caso) p { overflow-wrap: break-word; }
:where(a, button, input, textarea, select, summary, [role="button"]),
.transition-all, .hover-card, .hover-tilt, .card, .svc-caso, .svc-relacionado {
  transition-property: transform, opacity, color, background-color, border-color, box-shadow !important;
  transition-duration: var(--polish-duration-fast);
  transition-timing-function: var(--polish-ease-out);
}
:where(button, summary, [role="button"], .btn, .tower-primary, .tower-secondary, .bc-cta) { touch-action: manipulation; }
:where(.btn, .tower-primary, .tower-secondary, .bc-cta, .bc-cta-fantasma) { min-height: 44px; line-height: 1.4; }
:where(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]) { min-height: 44px; }
:where(button, input, select, textarea):disabled { cursor: not-allowed; }
/* Anillo doble: visible sobre blanco, fotografía, rojo y azul. */
html body :where(a, button, input, textarea, select, summary, [role="button"]):focus-visible {
  outline: 2px solid var(--esgari-blue, #2a2f70) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
  transition-duration: 0s !important;
}
/* Información estática estable; los enlaces y controles conservan respuesta. */
.svc-caso:hover, :is(.hover-card, .hover-tilt):not(a):not(button):not([role="button"]):hover { transform: none; }
:where(.btn, .bc-cta, .tower-primary):active:not(:disabled):not(:focus-visible) { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  :where(.btn, .bc-cta, .tower-primary):hover:not(:disabled):not(:focus-visible) { transform: translateY(-1px); }
  :where(.btn, .bc-cta, .tower-primary):active:not(:disabled):not(:focus-visible) { transform: scale(.98); }
}
@media (hover: none), (pointer: coarse) {
  .hover-tilt:hover, .hover-card:hover, .hover-card:hover img,
  .industry-card:hover, .industry-card:hover img, .related-card:hover,
  .ruta:hover, .svc-caso:hover, .svc-relacionado:hover, .card:hover,
  .btn:hover:not(:active), .tower-primary:hover:not(:active) { transform: none !important; }
  .tower-secondary:hover > i, .industry-card:hover .industry-card__visual img { transform: none; }
}
@media (max-width: 768px) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  select, textarea { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html, html * { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .hover-tilt:hover, .hover-card:hover, .industry-card:hover, .related-card:hover,
  .ruta:hover, .svc-caso:hover, .svc-relacionado:hover, .card:hover,
  .btn:hover, .btn:active, .tower-primary:hover, .tower-primary:active { transform: none !important; }
}

/* Una respuesta común para las acciones ya existentes del sitio. Los adornos
   persistentes no compiten con el contenido ni con los estados de carga. */
:where(.btn-glow, .hero-foto__cta, .contacto-vivo__enviar, .nav-cta) {
  min-height: 44px;
  touch-action: manipulation;
}
:where(.btn-glow, .hero-foto__cta, .contacto-vivo__enviar, .nav-cta):active:not(:disabled):not(:focus-visible) {
  transform: scale(.98);
}
.animate-float, .animate-float-slow, .animate-float-x, .icon-pulse { animation: none; }
.btn-glow::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  :where(.btn-glow, .hero-foto__cta, .contacto-vivo__enviar, .nav-cta):active { transform: none; }
}
.contacto-vivo--anima.contacto-vivo--visible .revela {
  transition-duration: 220ms;
  transition-timing-function: var(--polish-ease-out);
  transition-delay: 0ms;
}
@media (hover: none), (pointer: coarse) {
  .contacto-vivo__redes a:hover, .contacto-vivo__whatsapp:hover,
  #contacto-form .contacto-vivo__enviar:hover:not([disabled]),
  #contacto-form .contacto-vivo__enviar:hover:not([disabled]) i { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .contacto-vivo--anima.contacto-vivo--visible .revela { transition-duration: 0ms; }
}

#newsCarouselTrack { transition-duration: 220ms; transition-timing-function: var(--polish-ease-out); }
@media (prefers-reduced-motion: reduce) {
  #newsCarouselTrack { transition-duration: 0ms; }
}

/* Una sola escala para encabezados de páginas hermanas. Home y artículos
   conservan sus propias composiciones; no se alteran textos ni claves i18n. */
body :is(.hero-main, .industry-detail-hero) h1 {
  font-size: var(--page-title-size);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  max-width: 24ch;
  overflow-wrap: anywhere;
}
body .main > .section > .section-head h2,
body .industry-section__head h2 {
  font-size: var(--page-section-title-size);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
}
@media (max-width: 359px) {
  :root { --page-title-size: 1.625rem; }
}
/* Las páginas de industria ya tienen una acción fija en móvil. Los accesos
   flotantes existentes reservan ese espacio y no tapan su texto ni botón. */
@media (max-width: 980px) {
  body[data-industry] { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  body[data-industry] .industry-sticky-cta { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  body[data-industry] .industry-sticky-cta a { min-height: 44px; display: inline-flex; align-items: center; }
  body[data-industry] :is(#esgari-chat-bubble, #social-float) { bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Homologación editorial · referencia: catálogo de Industrias.
   Una escala y un ritmo; los módulos especializados conservan sus controles.
   Esta hoja ya está enlazada por todas las páginas públicas del sitio. */
:root {
  --page-content-width: 1200px;
  --page-shell-width: 1240px;
  --page-section-space: clamp(40px, 5vw, 64px);
  --page-body-size: 16px;
  --page-border: #e8ecf4;
  --page-surface: #fafbff;
}
html body h1 {
  font-size: var(--page-title-size) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
body :is(.hero, .about-hero, .contact-hero, .sustain-hero, .industry-detail-hero,
  .partners-hero, .noticias-hero, .article-hero, .inf-hero, .bc-hero, .legal-hero) h1 {
  max-width: 26ch;
}
body :is(main, .main, .industry-detail-main) h2,
body :is(.section-title, .about-section-head h2, .partners-section h2,
  .partners-proof-card h2, .partners-form-card h2) {
  font-size: var(--page-section-title-size);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
body :is(.card, .svc-card, .pillar-card, .policy-card, .industry-card,
  .partners-profile-card, .partners-profile-top, .partners-benefit-card, .partners-aside,
  .mv-card, .dna-card, .security-card, .udb-feature, .svc-step, .channel,
  .story-copy, .value-copy) h3 {
  font-size: var(--page-card-title-size);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.025em;
}
html[data-esgari-theme] body { background: var(--page-surface) !important; }
body :is(.hero, .about-hero, .contact-hero, .sustain-hero) {
  padding: clamp(32px, 5vw, 64px) 20px 48px;
  background: #fff;
}
body :is(.hero, .contact-hero)::before,
body :is(.hero, .contact-hero)::after,
body .partners-panel::before { content: none; }
body :is(.hero-wrap, .contact-hero-wrap, .sustain-wrap) {
  max-width: var(--page-content-width);
  gap: var(--page-layout-gap);
  align-items: center;
}
body .about-hero-wrap {
  max-width: var(--page-content-width);
  padding: 0;
  gap: var(--page-layout-gap);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}
body .about-lead p { font-size: var(--page-body-size); line-height: 1.7; }
body .about-kpi { min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: left; }
body .about-kpi i { font-size: 16px; }
body .about-kpi strong { font-size: clamp(24px, 2vw, 32px); }
body .about-kpi span { font-size: 11px; line-height: 1.5; }
body :is(.hero-main, .services-banner, .about-panel, .contact-copy,
  .sustain-copy, .partners-panel, .industry-detail-hero__copy) {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
}
body :is(.hero-main, .services-banner, .about-panel, .contact-copy,
  .sustain-copy, .partners-panel) h1 { margin: 16px 0 20px; }
body :is(.hero-main, .services-banner, .about-panel, .contact-copy,
  .sustain-copy, .partners-panel) > p {
  font-size: var(--page-body-size);
  line-height: 1.7;
  max-width: 65ch;
}
body :is(.about-hero-img, .contact-visual, .sustain-media) {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.05;
  border: 0;
  border-radius: var(--page-card-radius);
  box-shadow: none;
  overflow: hidden;
}
body :is(.about-hero-img, .contact-visual, .sustain-media) > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .main { max-width: var(--page-shell-width); padding: 0 20px 72px; }
html[data-esgari-theme] body .main > .section[data-theme-band],
html[data-esgari-theme] body .partners-section[data-theme-band] {
  background: transparent !important;
}
body .main > .section {
  margin: 0 0 var(--page-section-space);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body .main > .section:first-child { padding-top: 32px; }
body :is(.section-head, .about-section-head) { margin-bottom: 28px; }
body :is(.section-head, .about-section-head) > p { font-size: 15px; line-height: 1.7; }
body :is(.card, .svc-card, .pillar-card, .policy-card, .story-copy, .value-copy,
  .partners-profile-card, .partners-proof-card, .partners-form-card, .partners-aside,
  .contact-form-shell, .contact-info-shell, .industry-card, .svc-caso, .svc-fit__col,
  .mv-card, .dna-card, .security-card, .partners-benefit-card, .value-chip, .hero-side) {
  min-width: 0;
  border-radius: var(--page-card-radius);
  border-color: var(--page-border);
  box-shadow: 0 6px 18px -16px rgba(42, 47, 112, .2);
}
body :is(.svc-grid, .dna-grid, .pillar-grid, .docs-grid, .mv-grid,
  .partners-profile-grid, .partners-benefits-grid, .industry-card-grid) {
  gap: var(--page-layout-gap);
}
body :is(.card, .svc-card, .pillar-card, .policy-card, .mv-card, .dna-card,
  .industry-card, .partners-profile-card, .partners-benefit-card) p {
  font-size: 14px;
  line-height: 1.7;
}
@media (min-width: 720px) {
  body .svc-card h3 { min-height: 2.5em; }
}
body :is(.services-kpis, .about-kpis, .contact-points) {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--page-border);
}
/* Descripciones de las capacidades en una fila discreta, no otra tarjeta. */
body .industry-proof { max-width: var(--page-content-width); gap: 20px; }
body .industry-proof__item {
  min-width: 0;
  padding: 18px 0 0;
  grid-template-columns: 40px minmax(0, 1fr);
  border: 0;
  border-top: 1px solid var(--page-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body .industry-proof__item i { width: 40px; height: 40px; border-radius: 10px; }
body .industry-detail-hero {
  padding: 40px 20px;
  background: #fff;
}
body .industry-detail-hero__grid {
  max-width: var(--page-content-width);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--page-layout-gap);
  align-items: center;
}
body .industry-detail-hero__copy { overflow: visible; }
body .industry-detail-hero__media {
  min-height: 0;
  aspect-ratio: 1.05;
  border: 0;
  border-radius: var(--page-card-radius);
  box-shadow: none;
}
body .industry-detail-hero__media > img { display: block; }
body .industry-detail-hero__caption {
  inset: auto 0 0;
  padding: 48px 24px 24px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, .88));
  backdrop-filter: none;
}
body .industry-detail-main { max-width: var(--page-shell-width); padding: 0 20px 72px; }
body .industry-section { padding: var(--page-section-space) 0; }
/* Las mismas fotos de servicios pasan de fondo a una columna real.
   No se duplican imágenes ni se cambian sources, URLs o generadores. */
body .svc-breadcrumb { max-width: var(--page-shell-width); padding: 24px 20px 0; }
body .industry-detail-hero.svc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 28px var(--page-layout-gap);
  max-width: var(--page-shell-width);
  margin: 0 auto;
  padding: 40px 20px;
  overflow: visible;
  background: transparent;
}
body .svc-hero::before { content: none; }
body .svc-hero__foto {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.05;
  height: auto;
  border-radius: var(--page-card-radius);
}
body .svc-hero__foto img { display: block; object-position: center; }
body .svc-hero .industry-detail-hero__grid {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 0;
  width: 100%;
}
body .svc-hero .industry-detail-hero__copy { border-radius: 0; box-shadow: none; }
body .svc-hero .industry-proof { grid-column: 1 / -1; margin-top: 0; width: 100%; }
body .partners-shell { max-width: var(--page-shell-width); padding-inline: 20px; }
body .partners-page { padding-top: clamp(32px, 5vw, 64px); padding-inline: 0; background: var(--page-surface); }
body .partners-hero { gap: var(--page-layout-gap); align-items: start; }
body .partners-visual { border-radius: var(--page-card-radius); box-shadow: none; }
body .partners-panel h1 { max-width: 26ch; }
body .partners-section { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
html[data-esgari-theme] body .partners-hero[data-theme-band] { background: transparent !important; }
body[data-page="bolsa"] :is(p, a) { overflow-wrap: anywhere; }
body .contact-main { max-width: var(--page-shell-width); padding: 0 20px 72px; }
html[data-esgari-theme] body .contact-main > .section[data-theme-band] { background: transparent !important; }
body .contact-main > .section {
  margin: 0 0 var(--page-section-space);
  padding: 32px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--page-layout-gap); }
body .channels { min-width: 0; grid-template-columns: minmax(0, 1fr); }
body .channel { min-width: 0; }
body .channel :is(p, a) { overflow-wrap: anywhere; }
body .contact-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--page-border);
}
body .contact-proof .proof { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
body .contact-proof .proof strong { font-size: 14px; overflow-wrap: anywhere; }
body .contact-proof .proof span { font-size: 12px; line-height: 1.5; }
body .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .inf-shell { max-width: var(--page-shell-width); }
body .inf-datos, body .inf-metas { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
body .inf-logros { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
body .gracias-hero { padding-top: 64px; padding-bottom: 40px; }
body .inf-hero, body .bc-hero { padding-block: 64px; }
body :is(.noticias-hero, .article-hero, .legal-hero) { padding: 64px 20px; }
body :is(.noticias-hero, .article-hero, .legal-hero) h1 { margin-inline: auto; }
body .article-body { max-width: 800px; padding: 40px 20px 64px; font-size: 16px; line-height: 1.85; }
body .article-body h2 { font-size: 26px; }
body .article-body h3 { font-size: 22px; }
body .article-body :is(p, li, a) { overflow-wrap: break-word; }
/* Las tablas editoriales conservan sus columnas y se recorren dentro del
   artículo, sin ensanchar toda la página en un teléfono. */
body .article-body table { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
body .survey-shell h1 { font-size: clamp(24px, 3vw, 32px) !important; }
body :is(.partners-btn, .industry-sticky-cta a, #mobile-menu-btn, #menu-btn) { min-height: 44px; }
body :is(.hero-main, .about-panel, .contact-copy, .partners-panel,
  .industry-detail-hero__copy, .article-body, .survey-shell) :is(input, select, textarea) { max-width: 100%; }
/* La misma reserva de controles se usa también en las siete landings de servicio. */
@media (max-width: 980px) {
  body[data-service] { padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  body[data-service] .industry-sticky-cta { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  body[data-service] .industry-sticky-cta a { display: inline-flex; align-items: center; }
  body[data-service] :is(#esgari-chat-bubble, #social-float) { bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 959px) {
  body :is(.hero-wrap, .about-hero-wrap, .contact-hero-wrap, .sustain-wrap,
    .industry-detail-hero__grid, .industry-detail-hero.svc-hero) { grid-template-columns: minmax(0, 1fr); }
  body :is(.about-hero-img, .contact-visual, .sustain-media, .industry-detail-hero__media) {
    aspect-ratio: 16 / 9;
    max-height: 420px;
  }
  body .svc-hero__foto { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; max-height: 420px; }
  body .svc-hero .industry-detail-hero__grid { grid-column: 1; grid-row: 1; }
  body .svc-hero .industry-proof { grid-row: 3; }
  body .services-banner { order: -1; }
  body .contact-grid { grid-template-columns: minmax(0, 1fr); }
  body .about-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 719px) {
  body :is(.hero, .about-hero, .contact-hero, .sustain-hero, .industry-detail-hero) { padding: 32px 20px 40px; }
  body :is(.noticias-hero, .article-hero, .legal-hero) { padding: 40px 20px; }
  body :is(.svc-grid, .dna-grid, .pillar-grid, .docs-grid, .mv-grid,
    .partners-profile-grid, .partners-benefits-grid, .industry-card-grid) { grid-template-columns: minmax(0, 1fr); }
  body .industry-proof { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .industry-proof__item { padding-top: 14px; }
  body :is(.about-hero-img, .contact-visual, .sustain-media, .industry-detail-hero__media, .svc-hero__foto) {
    aspect-ratio: 5 / 4;
    max-height: 360px;
  }
  body .industry-detail-hero.svc-hero { padding: 28px 20px 40px; }
  body .partners-hero { grid-template-columns: minmax(0, 1fr); }
  body :is(.hero-main, .about-panel, .contact-copy, .partners-panel) > p { font-size: 16px; }
  body .article-body { font-size: 16px; }
  body .value-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body .value-chip { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; text-align: left; padding: 20px; }
  body .value-chip i { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  body .value-chip strong, body .value-chip span { grid-column: 2; margin: 0; }
  body .form-grid { grid-template-columns: minmax(0, 1fr); }
  body :is(.inf-hero, .bc-hero) { padding-block: 40px; }
}
@media (max-width: 760px) {
  body .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Menú móvil legible sobre cualquier portada; el estado accesible lo dirige site.js. */
html[data-esgari-theme] body #mobile-menu {
  background: var(--theme-surface, #fff) !important;
  overscroll-behavior-y: contain;
}
body:has(:is(#mobile-menu-btn, #menu-btn)[aria-expanded="true"]) :is(#social-float, #esgari-chat-bubble) {
  visibility: hidden;
}

/* Identidad de las ocho industrias: la misma familia en portada, catálogo y detalle.
   Decoración sobre los controles existentes; no introduce botones ni texto nuevo. */
.industry-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(42, 47, 112, .12);
  border-radius: 15px;
  background: #fff;
  color: var(--esgari-blue, #2a2f70);
  box-shadow: 0 4px 14px rgba(15, 21, 48, .09);
  line-height: 1;
  pointer-events: none;
  transition: transform 160ms var(--polish-ease-out), color 160ms ease, background-color 160ms ease;
}
.industry-mark > i { font-size: 23px; line-height: 1; }
#industrias .industry-card__visual { position: relative; }
#industrias .industry-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(42, 47, 112, .26);
  mix-blend-mode: multiply;
  pointer-events: none;
}
#industrias .industry-card__visual::after { z-index: 1; }
#industrias .industry-card__visual > .industry-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  z-index: 2;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 22px rgba(15, 21, 48, .2);
}
#industrias .industry-mark > i { font-size: 28px; }
#industrias a .industry-card__visual > img {
  transition: transform 220ms var(--polish-ease-out);
}
body .industry-head > .industry-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f2fa;
  box-shadow: none;
}
body .industry-head > .industry-mark > i { font-size: 20px; }
body[data-industry] .industry-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
body[data-industry] .industry-identity .industry-mark {
  background: #f0f2fa;
  box-shadow: none;
}
body[data-industry] .industry-identity .eyebrow { margin: 0; line-height: 1.5; }
body[data-industry] .industry-detail-hero__copy > h1 { margin-top: 0; }
body[data-industry] :is(.industry-card__icon, .industry-proof__item > i) {
  border-radius: 12px;
  font-size: 19px;
}
body[data-industry] .industry-card__link { min-height: 44px; align-items: center; }
body[data-industry] .industry-card__link > i {
  transition: transform 160ms var(--polish-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  #industrias a:hover { transform: none; }
  #industrias a:hover .industry-card__visual > img { transform: scale(1.025); }
  #industrias a:hover .industry-mark {
    color: #fff;
    background: var(--esgari-blue, #2a2f70);
  }
  body[data-industry] .industry-card__link:hover:not(:focus-visible) > i { transform: translateX(2px); }
}
#industrias a:active:not(:focus-visible) .industry-mark { transform: scale(.96); }
#industrias a:focus-visible .industry-mark { color: #fff; background: var(--esgari-blue, #2a2f70); transition: none; }
@media (max-width: 639px) {
  #industrias .industry-card__visual > .industry-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  #industrias .industry-mark > i { font-size: 21px; }
  body[data-industry] .industry-identity { gap: 12px; margin-bottom: 18px; }
  body[data-industry] .industry-identity .industry-mark { width: 46px; height: 46px; border-radius: 13px; }
  body[data-industry] .industry-identity .industry-mark > i { font-size: 21px; }
}
/* Entrada al aparecer cada foto. Dos movimientos breves al llegar,
   sin bucle permanente, sin mover la foto, el texto ni la zona clicable. */
@media (prefers-reduced-motion: no-preference) {
  #industrias .industry-mark--entered > i {
    animation: industry-icon-float 1600ms ease-in-out 2;
  }
}
@keyframes industry-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .industry-mark, #industrias .industry-card__visual > img,
  body[data-industry] .industry-card__link > i { transition: none !important; transform: none !important; }
  #industrias .industry-mark > i { animation: none !important; transform: none !important; }
}
