/* ==========================================================================
   MURILLO RIVERA ABOGADOS LABORALES (MRAL)
   Sistema de Diseño Editorial y Arquitectónico
   Inspirado en la estructura, tipografía y sobriedad de De La Vega & Martínez Rojas (dlvmr.com.mx)
   ========================================================================== */

:root {
  /* ========================================================================
     PALETA OFICIAL DEL MANUAL DE MARCA MRAL (12 COLORES MANDATORIOS)
     ======================================================================== */
  /* Fila 1: Primarios Institucionales */
  --mral-petroleo: #093648;
  --mral-rojo: #E20E18;
  --mral-gris-claro: #E6EAEC;

  /* Fila 2: Azules Profundos y Acero */
  --mral-noche: #111124;
  --mral-indigo: #1F254A;
  --mral-acero: #62829D;

  /* Fila 3: Rojos Terracota/Vino y Pizarra */
  --mral-vino: #901913;
  --mral-bermellon: #C82C18;
  --mral-pizarra: #70788B;

  /* Fila 4: Neutros Cálidos, Carbón y Granate */
  --mral-piedra: #C7C1BD;
  --mral-carbon: #2B1D27;
  --mral-granate: #931919;

  /* Alias semánticos del sistema editorial */
  --blanco: #f7f9fd;
  --azul: var(--mral-petroleo);
  --gris: var(--mral-gris-claro);
  --azul-claro: var(--mral-acero);
  --rojo: var(--mral-rojo);
  --rojo-oscuro: var(--mral-granate);
  --texto-oscuro: var(--mral-carbon);

  /* Interpolación perceptual para degradados modernos */
  --in-oklab: ;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

@media (forced-colors: active) {
  :root {
    --azul: CanvasText;
    --blanco: Canvas;
    --azul-claro: Highlight;
    --rojo: LinkText;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.reset {
  background-color: var(--blanco);
  color: var(--mral-petroleo);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 22px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Barra superior de progreso de lectura (3px con degradado oficial MRAL) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(
    90deg var(--in-oklab),
    var(--mral-rojo) 0%,
    var(--mral-bermellon) 45%,
    var(--mral-acero) 100%
  );
  z-index: 200;
  transition: width 0.08s linear;
}

/* Lienzos dinámicos vectoriales en secciones (.ambient-canvas) */
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.firma-wrapper,
.liderazgo-wrapper {
  position: relative;
  overflow: hidden;
}

/* Animación de aparición arquitectónica al hacer scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================================================
   SISTEMA TIPOGRÁFICO DLVMR (Lora 400 + Public Sans 300/400/600/700)
   ========================================================================== */
.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 116%;
  color: var(--azul);
}

.hero-title.white {
  color: var(--blanco);
}

.hero-title.quo {
  font-size: 46px;
  line-height: 122%;
  color: var(--azul);
}

.body-title {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 117%;
  color: var(--azul);
}

.body-title.white {
  color: var(--blanco);
}

.heading-foot {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 140%;
}

.medium-head {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Public Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 117%;
  color: var(--azul);
}

.medium-head.altas {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bold-heading {
  font-size: 22px;
  font-weight: 600;
  line-height: 138%;
  color: var(--azul);
  margin-bottom: 16px;
}

.mini-heading {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 142%;
  color: var(--azul);
}

.text-altas {
  letter-spacing: -0.8px;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 300;
  line-height: 140%;
  color: var(--azul);
}

.text-altas.white {
  color: var(--blanco);
}

.text-altas.sp-b {
  padding-bottom: 22px;
}

.text-span {
  color: var(--azul-claro);
  font-weight: 700;
}

.tagline {
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
  color: var(--azul);
  margin-bottom: 12px;
}

.tagline.white {
  color: var(--blanco);
}

.hero-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 14px;
}

.hero-body {
  font-size: 20px;
  font-weight: 300;
  line-height: 144%;
  display: block;
  margin-bottom: 24px;
  color: rgba(247, 249, 253, 0.92);
}

.paragraph {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 155%;
  color: var(--azul);
  font-weight: 400;
}

.white {
  color: var(--blanco);
}

.light {
  font-weight: 300;
  line-height: 155%;
}

.bold {
  font-weight: 700;
}

.small-text {
  font-size: 14px;
}

.mb-m {
  padding-bottom: 30px;
}

.mb-l {
  padding-bottom: 40px;
}

/* ==========================================================================
   ENLACES Y BOTONES ARQUITECTÓNICOS (SIN BORDES REDONDEADOS NI NEÓN)
   ========================================================================== */
.primary-link {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  color: var(--azul-claro);
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.primary-link:hover {
  color: var(--blanco);
}

.primary-link.dark {
  color: var(--azul);
}

.primary-link.dark:hover {
  color: var(--azul-claro);
}

.primary-link.white {
  color: var(--blanco);
}

.primary-link.white:hover {
  color: var(--azul-claro);
}

.primary-link.white.top {
  justify-content: flex-start;
  align-items: flex-start;
  display: block;
  line-height: 150%;
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.primary-link:hover .circle-arrow {
  transform: translateX(4px);
}

.secondary-link {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  color: var(--azul);
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.secondary-link:hover {
  color: var(--azul-claro);
}

.secondary-link svg {
  transition: transform 0.25s ease;
}

.secondary-link:hover svg {
  transform: translate(2px, -2px);
}

.underline-link {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  color: var(--azul);
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-flex;
}

.underline-link:hover {
  color: var(--azul-claro);
}

.force-bottom {
  margin-top: auto;
  margin-bottom: 0;
}

/* ==========================================================================
   SISTEMA DE REJILLA Y CONTENEDORES (.boxed-section, .full-section, .flex)
   ========================================================================== */
.full-section {
  width: 100%;
  position: relative;
}

.full-section.bg-gris {
  background-color: var(--gris);
  position: relative;
  overflow: hidden;
}

.boxed-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 10dvh 25px;
  position: relative;
  z-index: 2;
}

.boxed-section.line-top {
  border-top: 1px solid var(--azul);
}

.boxed-section.lines-section {
  border-top: 1px solid var(--azul);
  border-bottom: 1px solid var(--azul);
  padding-top: 6dvh;
  padding-bottom: 6dvh;
}

.boxed-section.simple-box {
  margin-top: -225px;
  padding-top: 0;
  padding-bottom: 0;
  transform: translate(0);
  z-index: 3;
}

.flex {
  grid-row-gap: 30px;
  flex-flow: wrap;
  width: 100%;
  display: flex;
}

.flex.inter {
  padding-top: 30px;
  padding-bottom: 30px;
}

.flex.bg-gris {
  background-color: var(--gris);
}

.flex.space-bet {
  justify-content: space-between;
  padding-top: 40px;
}

.flex.space-bet.white {
  background-color: transparent;
}

.full {
  width: 100%;
}

.col20 {
  width: 20%;
}

.col33 {
  width: 33.333%;
}

.col40 {
  width: 40%;
}

.col50 {
  width: 50%;
  padding-bottom: 0;
}

.col60 {
  width: 60%;
}

.col70 {
  width: 75%;
}

.col80 {
  width: 80%;
}

.col50.vertical {
  flex-flow: column;
  justify-content: flex-start;
  display: flex;
}

.col50.vertical.col-der {
  padding-left: 60px;
}

.col50.col-center {
  justify-content: center;
  align-items: center;
  display: flex;
}

.col50.foot-s {
  padding-top: 25px;
}

.main-lay {
  flex-flow: column;
  flex: 1;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: 60px;
  display: flex;
}

.main-lay.left {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  padding-left: 0;
  padding-right: 60px;
}

.main-lay.full-height {
  padding-top: 0;
  padding-bottom: 0;
}

.main-lay.foot {
  width: 420px;
  max-width: 100%;
}

.coverimage {
  object-fit: cover;
  object-position: 50% 20%;
  width: 100%;
  height: 100%;
  display: block;
}

.coverimage.top {
  object-position: 50% 0%;
}

.coverimage.areas-img {
  height: 570px;
}

/* ==========================================================================
   NAVEGACIÓN SUPERIOR (.nav-section)
   Logotipo MRAL más grande, nítido y recortado sin márgenes vacíos
   ========================================================================== */
.nav-section {
  z-index: 100;
  width: 100%;
  padding: 24px 36px 18px;
  position: fixed;
  inset: 0% 0% auto;
  transition: all 0.45s ease;
}

.nav-section.active {
  background-color: rgba(9, 54, 72, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 36px;
  box-shadow: 0 10px 30px rgba(17, 17, 36, 0.28);
  border-bottom: 1px solid rgba(199, 193, 189, 0.22);
}

.navbar {
  background-color: transparent;
  width: 100%;
}

.navcontainer {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  max-width: 280px;
  display: block;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s ease, transform 0.25s ease;
}

.nav-section.active .logo-img {
  height: 54px;
}

.logo-container:hover .logo-img {
  transform: translateY(-1px);
}

.darknav #logo-blanco {
  display: block;
}

.darknav #logo-azul {
  display: none;
}

.nav-wrap {
  justify-content: flex-end;
  align-items: center;
  display: flex;
  gap: 4px;
}

.nav-item {
  color: var(--blanco);
  padding: 16px 15px;
  font-size: 14px;
  line-height: 100%;
  position: relative;
  font-weight: 400;
}

.nav-item:hover {
  color: var(--mral-piedra);
}

.nav-item.drop {
  padding: 0;
}

.dropdown-toggle {
  grid-column-gap: 5px;
  color: var(--blanco);
  padding: 16px 15px;
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.dropdown-toggle:hover,
.dropdown-toggle .link:hover {
  color: var(--mral-piedra);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--mral-noche);
  border-top: 2px solid var(--mral-rojo);
  box-shadow: 0 18px 40px rgba(17, 17, 36, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  z-index: 120;
}

.nav-item.drop:hover .dropdown-list,
.nav-item.drop:focus-within .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-item {
  color: var(--blanco);
  padding: 14px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(199, 193, 189, 0.12);
}

.drop-item:hover {
  background-color: rgba(98, 130, 157, 0.22);
  color: var(--mral-piedra);
}

.locales-list {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.nav-item-local {
  color: var(--mral-piedra);
  padding: 16px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0.02em;
}

.nav-item-local:hover {
  color: var(--blanco);
}

.btn-contacto {
  background-color: var(--mral-rojo);
  color: var(--blanco);
  border-radius: 0;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 100%;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mral-rojo);
}

.btn-contacto:hover {
  background-color: var(--mral-bermellon);
  border-color: var(--mral-bermellon);
  color: var(--blanco);
}

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

.hamb-line {
  width: 24px;
  height: 2px;
  background-color: var(--blanco);
  transition: transform 0.25s ease;
}

/* ==========================================================================
   1. HERO SLIDER CON BLOQUE TRANSLÚCIDO COMPACTO (.slider-hero)
   Permite apreciar con total nitidez las fotografías editoriales de fondo
   ========================================================================== */
.slider-hero {
  background-color: var(--mral-noche);
  position: relative;
  height: auto;
  margin-bottom: 65px;
}

.hero-three-layer {
  position: absolute;
  inset: 0 0 65px 0;
  pointer-events: none;
  z-index: 3;
}

#mral-three-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mask-hero {
  width: 100%;
  position: relative;
}

.slide-hero {
  display: none;
  width: 100%;
}

.slide-hero.active {
  display: block;
  animation: fadeSlide 0.65s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0.42;
  }
  to {
    opacity: 1;
  }
}

.hero {
  width: 100%;
  height: 86dvh;
  min-height: 760px;
  padding-bottom: 65px;
  position: relative;
  overflow: visible;
}

.fondo-image {
  background-position: 50% 32%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Fotografías editoriales generadas a medida para cada servicio MRAL */
.fondo-image.slide-bg-1 {
  background-image: url("assets/images/hero-mral-1.jpg");
}

.fondo-image.slide-bg-2 {
  background-image: url("assets/images/hero-mral-2.jpg");
}

.fondo-image.slide-bg-3 {
  background-image: url("assets/images/hero-mral-3.jpg");
}

.fondo-image.slide-bg-4 {
  background-image: url("assets/images/hero-mral-4.jpg");
}

.fondo-image.slide-bg-5 {
  background-image: url("assets/images/hero-mral-5.jpg");
}

/* Velo sutil que deja despejado el 75% central y superior de la fotografía */
.hero-deg {
  background-image: linear-gradient(
    180deg var(--in-oklab),
    rgba(17, 17, 36, 0.44) 0%,
    rgba(9, 54, 72, 0.04) 28%,
    rgba(9, 54, 72, 0.08) 66%,
    rgba(9, 54, 72, 0.56) 100%
  );
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  display: flex;
}

/* Cuadro de texto translúcido y más compacto para lucir las imágenes del carrusel */
.hero-text {
  background: linear-gradient(
    135deg var(--in-oklab),
    rgba(9, 54, 72, 0.62) 0%,
    rgba(17, 17, 36, 0.54) 65%,
    rgba(31, 37, 74, 0.52) 100%
  );
  backdrop-filter: blur(9px) saturate(125%);
  -webkit-backdrop-filter: blur(9px) saturate(125%);
  width: 720px;
  max-width: 88%;
  color: var(--blanco);
  padding: 34px 44px 34px 52px;
  display: block;
  transform: translate(0, 52px);
  position: relative;
  z-index: 4;
  border-left: 3px solid var(--mral-rojo);
  border-top: 1px solid rgba(230, 234, 236, 0.34);
  border-right: 1px solid rgba(199, 193, 189, 0.18);
  border-bottom: 1px solid rgba(98, 130, 157, 0.25);
  box-shadow: 0 22px 54px rgba(17, 17, 36, 0.32);
}

.hero-text .hero-kicker {
  color: var(--mral-piedra);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-text .hero-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  background-color: var(--mral-bermellon);
  display: inline-block;
}

.hero-text .hero-title.white {
  font-size: 40px;
  line-height: 118%;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(17, 17, 36, 0.35);
}

.hero-text .hero-body {
  font-size: 17px;
  line-height: 145%;
  margin-bottom: 18px;
  color: rgba(247, 249, 253, 0.95);
}

.hero-slider-controls {
  position: absolute;
  right: 40px;
  bottom: 88px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(17, 17, 36, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 18px;
  border: 1px solid rgba(230, 234, 236, 0.24);
}

.hero-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mral-gris-claro);
  margin-right: 4px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(9, 54, 72, 0.72);
  border: 1px solid rgba(230, 234, 236, 0.3);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hero-arrow:hover {
  background-color: var(--mral-bermellon);
  border-color: var(--mral-bermellon);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: rgba(230, 234, 236, 0.38);
  transition: all 0.25s ease;
}

.hero-dot.active {
  background-color: var(--mral-rojo);
  transform: scale(1.3);
}

.hero-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: rgba(230, 234, 236, 0.18);
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mral-rojo), var(--mral-bermellon));
  transition: width 0.1s linear;
}

.right-arrow-navigation {
  transform: rotate(180deg);
}

/* ==========================================================================
   2. MANIFIESTO & TARJETAS DE PILARES (.grid-cards)
   ========================================================================== */
.manifiesto-brand-seal {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mral-piedra);
}

.manifiesto-brand-seal img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.image-col {
  width: 100%;
  position: relative;
}

.portrait-col {
  background-color: var(--mral-gris-claro);
  overflow: hidden;
  border-top: 3px solid var(--mral-vino);
}

.portrait-col img {
  height: 540px;
  object-position: 50% 15%;
}

.portrait-caption {
  background: linear-gradient(90deg var(--in-oklab), var(--mral-petroleo) 0%, var(--mral-noche) 100%);
  color: var(--blanco);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--mral-rojo);
}

.portrait-caption strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.portrait-caption span {
  font-size: 12.5px;
  color: var(--mral-piedra);
  line-height: 140%;
}

/* 4 Tarjetas Interactivas de Pilares (Patrón DLVMR .grid-cards) */
.grid-cards {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding-top: 65px;
  display: grid;
}

.grid-cards-item {
  height: 350px;
  padding: 28px;
  transition: all 0.35s ease;
  background-blend-mode: multiply;
  background-color: rgba(9, 54, 72, 0.48);
  background-position: 50% 50%;
  background-size: cover;
  position: relative;
  border-top: 2px solid var(--mral-acero);
}

.grid-cards-item.uno {
  background-image: linear-gradient(0deg, var(--mral-petroleo), rgba(9, 54, 72, 0.12) 70%),
    url("assets/images/area-inspecciones.jpg");
  border-top-color: var(--mral-rojo);
}

.grid-cards-item.dos {
  background-image: linear-gradient(0deg, var(--mral-indigo), rgba(31, 37, 74, 0.14) 70%),
    url("assets/images/area-repse.jpg");
  border-top-color: var(--mral-acero);
}

.grid-cards-item.tres {
  background-image: linear-gradient(0deg, var(--mral-carbon), rgba(43, 29, 39, 0.14) 70%),
    url("assets/images/area-preventiva.jpg");
  border-top-color: var(--mral-bermellon);
}

.grid-cards-item.cuatro {
  background-image: linear-gradient(0deg, var(--mral-noche), rgba(17, 17, 36, 0.14) 70%),
    url("assets/images/hero-mral-1.jpg");
  border-top-color: var(--mral-piedra);
}

.grid-cards-item:hover {
  background-color: var(--mral-petroleo);
  border-top-color: var(--mral-rojo);
}

.grid-cards:has(.grid-cards-item:hover) .grid-cards-item:not(:hover) {
  background-color: var(--mral-pizarra);
}

.card-info {
  width: 100%;
  height: 100%;
  color: var(--blanco);
  flex-flow: column;
  transition: transform 0.6s ease;
  display: flex;
}

.card-title {
  text-transform: uppercase;
  margin-top: auto;
  font-size: 21px;
  font-weight: 400;
  line-height: 135%;
  transition: all 0.45s ease;
}

.card-body {
  opacity: 0;
  max-height: 0;
  font-weight: 300;
  font-size: 14.5px;
  line-height: 150%;
  color: rgba(247, 249, 253, 0.92);
  transition: all 0.45s ease;
  overflow: hidden;
}

.grid-cards-item:hover .card-title {
  padding-bottom: 12px;
}

.grid-cards-item:hover .card-body {
  max-height: 240px;
  opacity: 1;
}

/* ==========================================================================
   3A. RECONOCIMIENTOS Y LIDERAZGO (.premios-grid)
   ========================================================================== */
.premios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.premio-box {
  background-color: var(--blanco);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 150px;
  border-top: 1px solid var(--mral-piedra);
  border-bottom: 2px solid var(--mral-petroleo);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.premio-box:hover {
  transform: translateY(-3px);
  border-bottom-color: var(--mral-rojo);
  box-shadow: 0 12px 28px rgba(9, 54, 72, 0.08);
}

.premio-box img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.premio-box span {
  font-size: 12.5px;
  line-height: 140%;
  color: var(--mral-petroleo);
  font-weight: 500;
}

.stat-cred .cred-num {
  font-family: 'Lora', Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--mral-vino);
  line-height: 1;
  margin-bottom: 12px;
}

/* ==========================================================================
   3B. SERVICIOS: ACORDEÓN 60% + IMAGEN SINCRONIZADA 40%
   ========================================================================== */
.servicios {
  width: 100%;
}

.serv-wf-item {
  border-bottom: 1px solid var(--mral-pizarra);
}

.servicios-head {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 4px;
  display: flex;
  position: relative;
}

.servicios-head:hover .medium-head {
  color: var(--mral-bermellon);
}

.servicios-mas {
  background-color: var(--mral-petroleo);
  border-radius: 100%;
  flex: none;
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease, background-color 0.25s ease;
  position: relative;
  margin-bottom: 16px;
}

.servicios-mas::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--mral-gris-claro);
}

.servicios-mas.active {
  background-color: var(--mral-bermellon);
  transform: rotate(90deg);
}

.servicios-body {
  max-height: 0;
  opacity: 0;
  padding-right: 50px;
  overflow: hidden;
  transform: translateY(-5px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

.servicios-body.abierto {
  opacity: 1;
  max-height: 520px;
  transform: translateY(0);
}

.text-block {
  margin-bottom: 15px;
  padding-top: 8px;
  font-size: 16px;
  line-height: 150%;
  color: var(--mral-carbon);
}

.w-richtext ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 22px;
}

.w-richtext li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 150%;
  color: var(--mral-petroleo);
}

.servicios-image-wrap {
  width: 100%;
  height: 570px;
  overflow: hidden;
  position: relative;
  background-color: var(--mral-noche);
  border-top: 3px solid var(--mral-rojo);
}

.service-visual {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-visual.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  pointer-events: auto;
}

.service-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 26px;
  background: linear-gradient(0deg, rgba(17, 17, 36, 0.94) 0%, rgba(9, 54, 72, 0.72) 55%, rgba(9, 54, 72, 0) 100%);
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-visual-caption span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mral-piedra);
  font-weight: 600;
}

.service-visual-caption strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.float {
  width: 160px;
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.float.bottom-right {
  inset: auto 0% 0% auto;
}

/* ==========================================================================
   4. PRESIDENCIA FUNDADORA AMTID (.amtid-flagship-section)
   Sección Insignia Monumental — Discreta pero Muy Destacable
   Emplea la paleta oficial: #111124, #1F254A, #093648, #C82C18, #62829D, #C7C1BD
   ========================================================================== */
.full-section.bg-le.amtid-flagship-section {
  background: linear-gradient(
    135deg var(--in-oklab),
    var(--mral-noche) 0%,
    var(--mral-indigo) 46%,
    var(--mral-petroleo) 100%
  );
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--mral-bermellon);
  border-bottom: 1px solid rgba(199, 193, 189, 0.25);
}

.amtid-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(199, 193, 189, 0.22);
}

.amtid-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mral-piedra);
}

.amtid-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--mral-bermellon);
  box-shadow: 0 0 0 4px rgba(200, 44, 24, 0.26);
  animation: amtidPulse 2.4s infinite ease-in-out;
}

@keyframes amtidPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(200, 44, 24, 0.26);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 8px rgba(200, 44, 24, 0.08);
  }
}

.amtid-code-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mral-gris-claro);
  background-color: rgba(9, 54, 72, 0.65);
  border: 1px solid rgba(98, 130, 157, 0.45);
  border-left: 3px solid var(--mral-bermellon);
  padding: 7px 14px;
}

.amtid-showcase-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.92fr;
  gap: 52px;
  align-items: stretch;
}

.amtid-narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.amtid-main-title {
  font-size: 40px;
  line-height: 118%;
  margin-bottom: 22px;
  color: var(--blanco);
}

.amtid-lead {
  font-size: 18.5px;
  line-height: 154%;
  font-weight: 300;
  color: var(--mral-gris-claro);
  margin-bottom: 16px;
}

.amtid-lead strong {
  color: var(--blanco);
  font-weight: 600;
}

.amtid-sublead {
  font-size: 15.5px;
  line-height: 158%;
  color: rgba(230, 234, 236, 0.82);
  margin-bottom: 30px;
}

.amtid-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.amtid-pillar-card {
  background: linear-gradient(
    180deg,
    rgba(9, 54, 72, 0.68) 0%,
    rgba(17, 17, 36, 0.62) 100%
  );
  border: 1px solid rgba(199, 193, 189, 0.18);
  border-top: 2px solid var(--mral-acero);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.28s ease, border-top-color 0.28s ease, background-color 0.28s ease;
}

.amtid-pillar-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--mral-bermellon);
  background: rgba(9, 54, 72, 0.85);
}

.amtid-pillar-num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mral-piedra);
}

.amtid-pillar-card strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--blanco);
}

.amtid-pillar-card p {
  font-size: 13px;
  line-height: 146%;
  color: rgba(230, 234, 236, 0.82);
}

.amtid-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 6px;
}

.btn-amtid-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--mral-bermellon);
  color: var(--blanco);
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--mral-bermellon);
  transition: all 0.25s ease;
}

.btn-amtid-primary:hover {
  background-color: var(--mral-rojo);
  border-color: var(--mral-rojo);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(226, 14, 24, 0.28);
}

.amtid-monolith-col {
  display: flex;
  flex-direction: column;
}

.amtid-monolith-card {
  background: linear-gradient(
    160deg var(--in-oklab),
    rgba(17, 17, 36, 0.9) 0%,
    rgba(31, 37, 74, 0.82) 52%,
    rgba(9, 54, 72, 0.88) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 193, 189, 0.26);
  border-top: 3px solid var(--mral-bermellon);
  padding: 34px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 28px 68px rgba(17, 17, 36, 0.48);
  position: relative;
}

.amtid-monolith-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mral-piedra);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(230, 234, 236, 0.14);
}

.amtid-status-tag {
  color: var(--blanco);
  background-color: rgba(200, 44, 24, 0.24);
  border: 1px solid rgba(200, 44, 24, 0.55);
  padding: 4px 10px;
  font-size: 10.5px;
}

.amtid-logo-stage {
  margin: 26px 0;
  padding: 42px 32px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(98, 130, 157, 0.22) 0%,
    rgba(17, 17, 36, 0.58) 100%
  );
  border: 1px solid rgba(230, 234, 236, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.amtid-logo-stage:hover {
  border-color: var(--mral-piedra);
  transform: scale(1.01);
}

.amtid-white-hero {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.36));
}

.amtid-monolith-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 152%;
  color: var(--mral-gris-claro);
  padding-left: 18px;
  border-left: 2px solid var(--mral-acero);
  margin-bottom: 26px;
}

.amtid-monolith-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(230, 234, 236, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.amtid-president-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amtid-president-info strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--blanco);
}

.amtid-president-info span {
  font-size: 12px;
  color: var(--mral-piedra);
  line-height: 135%;
}

/* Regla del Manual de Marca MRAL (pág. 13):
   "También podemos usar transparencias al 30% en caso de requerir mayor discreción,
    aplicable en blanco sobre fondos de alto contraste" */
.mral-watermark-30 {
  height: 38px;
  width: auto;
  opacity: 0.3;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.amtid-monolith-card:hover .mral-watermark-30 {
  opacity: 0.48;
}

/* ==========================================================================
   5. VOZ DEL LIDERAZGO: SLIDER DE FRASES (.slider-frases)
   ========================================================================== */
.slider-frases {
  background-color: transparent;
  position: relative;
  padding-bottom: 50px;
}

.mask-frases {
  position: relative;
}

.quote-slide {
  display: none;
}

.quote-slide.active {
  display: block;
  animation: fadeSlide 0.45s ease forwards;
}

.slider-text {
  padding: 20px 35px 20px 0;
}

.nombreflex {
  grid-column-gap: 4px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.slidername {
  margin-top: 28px;
  font-size: 16px;
  color: var(--azul);
}

.quotes-arrows-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-nav-left,
.slider-nav-right {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slider-nav-left:hover,
.slider-nav-right:hover {
  opacity: 0.65;
}

/* ==========================================================================
   6. EXPERIENCIA Y METODOLOGÍA DE BLINDAJE (.doble-section)
   ========================================================================== */
.full-section.doble-section {
  padding-bottom: 60px;
}

.bg-experiencia {
  background-color: var(--mral-petroleo);
  background-image: linear-gradient(
      135deg var(--in-oklab),
      rgba(17, 17, 36, 0.86) 0%,
      rgba(9, 54, 72, 0.78) 55%,
      rgba(43, 29, 39, 0.82) 100%
    ),
    url("assets/images/hero-mral-3.jpg");
  background-position: 50%;
  background-size: cover;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--mral-acero);
}

.slider-casos {
  background-color: transparent;
  justify-content: flex-end;
  align-items: center;
  width: 65%;
  height: auto;
  margin-left: auto;
  display: flex;
  position: relative;
}

.casos-arrows {
  position: absolute;
  left: -115px;
  top: 42%;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.left-arrow,
.right-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.left-arrow:hover,
.right-arrow:hover {
  opacity: 0.7;
}

.casos-mask {
  width: 100%;
  overflow: hidden;
}

.casos-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.scasos-item {
  width: 50%;
  flex: 0 0 50%;
}

.casos-space {
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
}

.casos-content {
  background-color: var(--mral-gris-claro);
  flex-flow: column;
  height: 375px;
  padding: 40px 35px;
  display: flex;
  position: relative;
  border-top: 3px solid var(--mral-bermellon);
  border-bottom: 1px solid var(--mral-piedra);
  box-shadow: 0 18px 42px rgba(17, 17, 36, 0.14);
}

.casos-content p {
  font-size: 15px;
  line-height: 152%;
  color: var(--mral-carbon);
}

.info-casos-tag {
  grid-column-gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mral-vino);
  display: flex;
}

/* ==========================================================================
   7. RECURSOS Y HERRAMIENTAS INTERACTIVAS (Patrón DLVMR Industrias)
   ========================================================================== */
.cms-industrias {
  width: 100%;
}

.industrias-list-wrap {
  width: 100%;
  padding-top: 45px;
}

.industrias-item {
  border-bottom: 1px solid var(--mral-piedra);
  width: 100%;
  color: var(--mral-petroleo);
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  text-decoration: none;
  display: flex;
  gap: 20px;
  transition: border-color 0.25s ease;
}

.industrias-item .medium-head {
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.ind-sub {
  font-size: 14px;
  color: var(--mral-pizarra);
  line-height: 145%;
}

.industrias-item.active,
.industrias-item:hover {
  border-bottom-color: var(--mral-rojo);
}

.industrias-item.active .medium-head,
.industrias-item:hover .medium-head {
  font-weight: 600;
  color: var(--mral-vino);
}

.industrias-item.active svg path,
.industrias-item:hover svg path {
  fill: var(--mral-rojo);
}

.industrias-image-wrap {
  width: 100%;
  height: 620px;
  position: relative;
  overflow: hidden;
  background-color: var(--mral-gris-claro);
  border-top: 3px solid var(--mral-petroleo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industria-img {
  opacity: 0;
  filter: blur(4px);
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease, opacity 0.35s ease, filter 0.35s ease;
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.industria-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 20px 45px rgba(9, 54, 72, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industria-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  width: auto;
  text-decoration: none;
  cursor: pointer;
}

.industria-img-link:hover img,
.industria-img-link:focus img {
  box-shadow: 0 26px 56px rgba(9, 54, 72, 0.32);
  transform: translateY(-3px);
}

.industria-img.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ==========================================================================
   8. PERSPECTIVA LABORAL (.perspectiva-section)
   Estética Editorial de Firma Global (Top 5 US Law Firm Insights)
   Conserva el color rojo institucional (#901913 Vino, #E20E18 Rojo, #931919 Granate, #C82C18 Bermellón)
   ========================================================================== */
.perspectiva-section {
  position: relative;
}

.perspectiva-top-split {
  border-top: 3px solid var(--mral-rojo);
  border-bottom: 1px solid var(--mral-piedra);
}

.bg-perspectiva {
  background-color: var(--mral-vino);
  background-image: linear-gradient(
      145deg var(--in-oklab),
      rgba(147, 25, 25, 0.92) 0%,
      rgba(144, 25, 19, 0.86) 48%,
      rgba(43, 29, 39, 0.90) 82%,
      rgba(9, 54, 72, 0.94) 100%
    ),
    url("assets/images/hero-mral-4.jpg");
  background-blend-mode: multiply;
  background-position: 0 0, 50% 35%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.col-special {
  width: 600px;
  max-width: 100%;
  height: 100%;
  padding-top: 76px;
  padding-bottom: 76px;
  position: relative;
  z-index: 2;
}

.col-special.left.perspectiva-masthead {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 44px;
  padding-right: 60px;
  display: flex;
}

.perspectiva-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background-color: rgba(17, 17, 36, 0.34);
  border-left: 2px solid var(--mral-piedra);
}

.perspectiva-kicker-row .tagline.white {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
}

.perspectiva-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mral-piedra);
  box-shadow: 0 0 0 3px rgba(230, 234, 236, 0.22);
}

.perspectiva-hero-heading {
  font-size: clamp(2.25rem, 1.6rem + 1.6vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 22px;
  text-wrap: balance;
}

.perspectiva-lead-copy {
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(247, 249, 253, 0.94);
  max-width: 56ch;
  margin-bottom: 30px;
  text-wrap: pretty;
}

.perspectiva-editorial-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  padding: 18px 0;
  margin-bottom: 30px;
  border-top: 1px solid rgba(230, 234, 236, 0.22);
  border-bottom: 1px solid rgba(230, 234, 236, 0.22);
}

.perspectiva-metric-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.perspectiva-metric-item strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blanco);
  line-height: 1.2;
}

.perspectiva-metric-item span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mral-piedra);
}

.perspectiva-metric-sep {
  width: 1px;
  height: 30px;
  background-color: rgba(230, 234, 236, 0.22);
}

.btn-perspectiva-archive {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background-color: rgba(17, 17, 36, 0.42);
  border: 1px solid rgba(230, 234, 236, 0.42);
  color: var(--blanco);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.btn-perspectiva-archive:hover {
  background-color: var(--blanco);
  border-color: var(--blanco);
  color: var(--mral-vino);
  transform: translateY(-2px);
}

/* Columna Derecha: Informe Principal Destacado (Estilo Client Alert Global) */
.col-special.right.perspectiva-featured-col {
  padding-left: 64px;
  padding-right: 64px;
  display: flex;
  align-items: center;
}

.blog-featured {
  width: 100%;
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  border-top: 3px solid var(--mral-vino);
  padding: 28px 30px 30px;
  box-shadow: 0 20px 48px rgba(9, 54, 72, 0.08);
}

.pub-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mral-gris-claro);
}

.pub-badge-primary {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  background-color: var(--mral-vino);
  padding: 4px 10px;
}

.pub-meta-info {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mral-pizarra);
}

.ftb-img {
  width: 100%;
  height: 225px;
  overflow: hidden;
  background-color: var(--mral-petroleo);
  position: relative;
  display: block;
}

.ftb-img.featured-img-frame {
  height: 250px;
}

.ftb-img img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-featured:hover .ftb-img img,
.normal-blog:hover .ftb-img img {
  transform: scale(1.045);
}

.ftb-texts {
  padding-top: 22px;
}

.pub-featured-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.32;
  color: var(--mral-petroleo);
  margin-bottom: 14px;
  text-wrap: balance;
}

.pub-featured-title a:hover {
  color: var(--mral-vino);
}

.pub-featured-excerpt {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--mral-carbon);
  max-width: 66ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.pub-byline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--mral-gris-claro);
}

.pub-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pub-author-meta strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mral-petroleo);
}

.pub-author-meta span {
  font-size: 0.75rem;
  color: var(--mral-pizarra);
}

.pub-read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mral-vino);
  transition: color 0.22s ease, transform 0.22s ease;
}

.pub-read-link svg {
  transition: transform 0.22s ease;
}

.pub-read-link:hover {
  color: var(--mral-rojo);
}

.pub-read-link:hover svg {
  transform: translateX(4px);
}

/* Cuerpo Editorial Inferior: Grid de 9 Publicaciones con Lienzo Dinámico */
.perspectiva-editorial-body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg var(--in-oklab),
    var(--blanco) 0%,
    rgba(230, 234, 236, 0.45) 50%,
    var(--blanco) 100%
  );
}

.blog-filter-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mral-piedra);
}

.blog-filter-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-filter-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.blog-filter-sub {
  font-size: 0.9375rem;
  color: var(--mral-pizarra);
  line-height: 1.45;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter-btn {
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mral-petroleo);
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  transition: all 0.22s ease;
}

.blog-filter-btn:hover {
  border-color: var(--mral-vino);
  color: var(--mral-vino);
}

.blog-filter-btn.active {
  background-color: var(--mral-vino);
  border-color: var(--mral-vino);
  color: var(--blanco);
}

.grid-blog {
  grid-column-gap: 24px;
  grid-row-gap: 28px;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.normal-blog {
  background-color: var(--blanco);
  border: 1px solid rgba(199, 193, 189, 0.75);
  border-top: 3px solid var(--mral-vino);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(9, 54, 72, 0.04);
}

.normal-blog:hover {
  transform: translateY(-4px);
  border-top-color: var(--mral-rojo);
  box-shadow: 0 18px 40px rgba(9, 54, 72, 0.11);
}

.normal-blog.hidden-card {
  display: none;
}

.pub-doc-type {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(17, 17, 36, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-left: 2px solid var(--mral-rojo);
}

.normal-blog-texts {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-cat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mral-vino);
  text-transform: uppercase;
  display: inline-block;
}

.pub-reading-time {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mral-pizarra);
  flex-shrink: 0;
}

.pub-card-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--mral-petroleo);
  margin-bottom: 12px;
  text-wrap: balance;
}

.pub-card-title a:hover {
  color: var(--mral-vino);
}

.pub-card-excerpt {
  font-size: 0.9125rem;
  line-height: 1.6;
  color: var(--mral-carbon);
  margin-bottom: 22px;
  text-wrap: pretty;
}

.pub-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--mral-gris-claro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pub-index-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mral-pizarra);
}

/* Estado activo en las tarjetas cuando su artículo está desplegado */
.blog-featured.is-reading,
.normal-blog.is-reading {
  border-color: var(--mral-rojo);
  box-shadow: 0 18px 42px rgba(144, 25, 19, 0.14);
}

.blog-featured.is-reading .pub-read-link,
.normal-blog.is-reading .pub-read-link {
  color: var(--mral-rojo);
}

/* ==========================================================================
   8B. SUBSECCIÓN DESPLEGABLE DE LECTURA EDITORIAL (#perspectiva-lector)
       Formato de Informe Jurídico (Client Alert) Top-5 US Law Firm
   ========================================================================== */
.perspectiva-lector-wrapper {
  position: relative;
  background-color: var(--blanco);
  border-top: 4px solid var(--mral-vino);
  border-bottom: 3px solid var(--mral-petroleo);
  overflow: clip;
  scroll-margin-top: 78px;
}

.perspectiva-lector-wrapper[hidden] {
  display: none !important;
}

/* Barra superior de progreso de lectura */
.reader-progress-track {
  position: sticky;
  top: 76px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(199, 193, 189, 0.35);
  z-index: 45;
}

.reader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg var(--in-oklab),
    var(--mral-vino) 0%,
    var(--mral-rojo) 60%,
    var(--mral-bermellon) 100%
  );
  transition: width 0.12s linear;
}

/* Barra de Control Editorial Sticky */
.perspectiva-reader-toolbar {
  position: sticky;
  top: 80px;
  z-index: 44;
  background: linear-gradient(
    90deg var(--in-oklab),
    rgba(43, 29, 39, 0.96) 0%,
    rgba(144, 25, 19, 0.96) 55%,
    rgba(9, 54, 72, 0.96) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(199, 193, 189, 0.28);
  box-shadow: 0 10px 28px rgba(17, 17, 36, 0.16);
}

.boxed-section.reader-toolbar-inner,
.reader-toolbar-inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reader-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(230, 234, 236, 0.35);
  color: var(--blanco);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.reader-back-btn:hover {
  background-color: var(--mral-rojo);
  border-color: var(--blanco);
  transform: translateX(-2px);
}

.reader-quick-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reader-switcher-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mral-piedra);
  text-transform: uppercase;
}

.reader-pills-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.reader-pill-btn {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mral-gris-claro);
  background-color: rgba(17, 17, 36, 0.45);
  border: 1px solid rgba(199, 193, 189, 0.28);
  transition: all 0.2s ease;
}

.reader-pill-btn:hover {
  border-color: var(--blanco);
  color: var(--blanco);
  background-color: rgba(226, 14, 24, 0.45);
}

.reader-pill-btn.is-active {
  background-color: var(--blanco);
  color: var(--mral-vino);
  border-color: var(--blanco);
  font-weight: 700;
}

.reader-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reader-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mral-gris-claro);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(199, 193, 189, 0.3);
  transition: all 0.2s ease;
}

.reader-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--blanco);
}

.reader-action-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blanco);
  background-color: var(--mral-rojo);
  border: 1px solid var(--mral-rojo);
  transition: background-color 0.2s ease;
}

.reader-action-cta:hover {
  background-color: var(--mral-bermellon);
}

/* Escenario contenedor de los 10 artículos */
.perspectiva-articles-stage {
  position: relative;
  z-index: 2;
  padding-top: 48px !important;
  padding-bottom: 64px !important;
}

.perspectiva-article-subsection {
  display: none;
  animation: articleFadeIn 0.38s ease forwards;
}

.perspectiva-article-subsection.is-active {
  display: block;
}

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

/* Cabecera Editorial del Informe */
.article-subsection-header {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--mral-piedra);
}

.article-header-top-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.article-badge-num {
  background-color: var(--mral-vino);
  color: var(--blanco);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.article-meta-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mral-petroleo);
}

.article-meta-time,
.article-meta-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mral-pizarra);
}

.article-meta-divider {
  color: var(--mral-piedra);
  font-weight: 700;
}

.article-subsection-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--mral-petroleo);
  margin-bottom: 20px;
  max-width: 28ch;
  text-wrap: balance;
}

.article-subsection-lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--mral-noche);
  max-width: 72ch;
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--mral-rojo);
  text-wrap: pretty;
}

.article-byline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 24px;
  background-color: var(--mral-gris-claro);
  border-left: 4px solid var(--mral-petroleo);
  margin-bottom: 32px;
}

.article-author-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-author-monogram {
  width: 44px;
  height: 44px;
  background-color: var(--mral-petroleo);
  color: var(--blanco);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--mral-rojo);
  flex-shrink: 0;
}

.article-author-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.article-author-details strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mral-petroleo);
}

.article-author-details span {
  font-size: 0.8rem;
  color: var(--mral-pizarra);
}

.article-normativa-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.normativa-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.article-normativa-pill strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mral-noche);
}

/* Fotografía Editorial Panorámica del Artículo */
.article-hero-figure {
  margin: 0;
  border: 1px solid var(--mral-piedra);
  background-color: var(--mral-noche);
}

.article-hero-img-wrap {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 460px;
  overflow: hidden;
  position: relative;
}

.article-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background-color: var(--mral-noche);
  color: var(--mral-gris-claro);
  font-size: 0.78rem;
  line-height: 1.45;
}

.caption-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  background-color: var(--mral-vino);
  padding: 3px 8px;
  flex-shrink: 0;
}

/* Layout Asimétrico de 2 Columnas: Sidebar Sticky + Columna de Lectura 68ch */
.article-subsection-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.article-subsection-sidebar {
  position: sticky;
  top: 148px;
}

.article-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-toc-card {
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  border-top: 3px solid var(--mral-vino);
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(9, 54, 72, 0.05);
}

.article-toc-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mral-gris-claro);
}

.article-toc-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-vino);
  margin-bottom: 4px;
}

.article-toc-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--mral-petroleo);
  margin: 0;
}

.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 46vh;
  overflow-y: auto;
}

.article-toc-item {
  margin: 0;
}

.article-toc-item.toc-sub-item {
  padding-left: 14px;
}

.article-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--mral-noche);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.article-toc-link:hover,
.article-toc-link.is-active {
  background-color: var(--mral-gris-claro);
  border-left-color: var(--mral-rojo);
  color: var(--mral-vino);
  font-weight: 600;
}

.toc-idx {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mral-acero);
  margin-top: 1px;
  flex-shrink: 0;
}

.article-toc-link:hover .toc-idx,
.article-toc-link.is-active .toc-idx {
  color: var(--mral-rojo);
}

.article-Practice-card {
  background: linear-gradient(
    160deg var(--in-oklab),
    var(--mral-petroleo) 0%,
    var(--mral-noche) 100%
  );
  color: var(--blanco);
  padding: 24px 22px;
  border-top: 3px solid var(--mral-rojo);
}

.practice-card-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-piedra);
  margin-bottom: 8px;
}

.practice-card-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--blanco);
  margin-bottom: 10px;
}

.practice-card-copy {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--mral-gris-claro);
  margin-bottom: 18px;
}

.article-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 15px;
  background-color: var(--mral-vino);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--blanco);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: background-color 0.22s ease;
}

.article-sidebar-cta:hover {
  background-color: var(--mral-rojo);
}

.article-sidebar-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 193, 189, 0.28);
  color: var(--mral-gris-claro);
  font-size: 0.76rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.article-sidebar-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--blanco);
}

/* Columna Principal de Lectura Editorial (Prosa Legal 68ch) */
.article-subsection-prose {
  max-width: 68ch;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--mral-noche);
}

.article-subsection-prose p {
  margin-top: 0;
  margin-bottom: 1.4em;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--mral-noche);
  text-wrap: pretty;
}

.article-subsection-prose strong {
  font-weight: 700;
  color: var(--mral-petroleo);
}

.article-subsection-prose em {
  font-family: 'Lora', Georgia, serif;
  color: var(--mral-pizarra);
}

.article-heading-h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.38rem, 2vw, 1.72rem);
  font-weight: 500;
  line-height: 1.28;
  color: var(--mral-petroleo);
  margin-top: 2.3em;
  margin-bottom: 0.85em;
  padding-left: 16px;
  border-left: 3px solid var(--mral-vino);
  scroll-margin-top: 150px;
  text-wrap: balance;
}

.article-subsection-prose > .article-heading-h2:first-child {
  margin-top: 0;
}

.article-heading-h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.14rem, 1.45vw, 1.32rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--mral-vino);
  margin-top: 1.75em;
  margin-bottom: 0.65em;
  scroll-margin-top: 150px;
  text-wrap: balance;
}

.article-section-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg var(--in-oklab),
    var(--mral-vino) 0%,
    var(--mral-piedra) 50%,
    transparent 100%
  );
  margin: 2.4em 0;
}

/* Listas dentro de los artículos */
.article-subsection-prose ul,
.article-subsection-prose ol {
  margin-top: 0.5em;
  margin-bottom: 1.65em;
  padding-left: 1.45rem;
}

.article-subsection-prose li {
  margin-bottom: 0.75em;
  line-height: 1.72;
  color: var(--mral-noche);
  text-wrap: pretty;
}

.article-subsection-prose ul li::marker {
  color: var(--mral-rojo);
}

.article-subsection-prose ol li::marker {
  color: var(--mral-vino);
  font-weight: 700;
}

/* Enlaces inline y CTAs dentro de la prosa */
.article-subsection-prose a {
  color: var(--mral-vino);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-subsection-prose a:hover {
  color: var(--mral-rojo);
}

/* Tablas Ejecutivas Legales (ej. Triple Cumplimiento ICSOE / SISUB / REPSE) */
.article-table-wrapper {
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--mral-piedra);
  box-shadow: 0 8px 24px rgba(9, 54, 72, 0.05);
}

.article-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.55;
  background-color: var(--blanco);
}

.article-legal-table thead th {
  background-color: var(--mral-petroleo);
  color: var(--blanco);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--mral-rojo);
}

.article-legal-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--mral-gris-claro);
  color: var(--mral-noche);
  vertical-align: top;
}

.article-legal-table tbody tr:nth-child(even) td {
  background-color: rgba(230, 234, 236, 0.45);
}

/* Cajas de Descarga de Recursos Técnicos PDF */
.article-download-box {
  margin: 2.2em 0;
  padding: 24px 26px;
  background-color: var(--mral-gris-claro);
  border: 1px solid var(--mral-piedra);
  border-left: 4px solid var(--mral-vino);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.article-download-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-download-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.article-download-info strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem;
  color: var(--mral-petroleo);
}

.article-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background-color: var(--mral-vino);
  color: var(--blanco) !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.article-download-btn:hover {
  background-color: var(--mral-rojo);
  transform: translateY(-2px);
}

/* Caja de Firma Editorial al Cierre del Artículo */
.article-signature-box {
  margin-top: 3em;
  padding: 28px 30px;
  background-color: var(--mral-gris-claro);
  border-top: 3px solid var(--mral-petroleo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.signature-box-left {
  max-width: 48ch;
}

.signature-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-vino);
  margin-bottom: 6px;
}

.signature-box-left h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--mral-petroleo);
  margin: 0 0 8px;
}

.signature-box-left p {
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  color: var(--mral-pizarra) !important;
  margin: 0 !important;
}

.btn-signature-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--mral-petroleo);
  color: var(--blanco) !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.22s ease;
}

.btn-signature-contact:hover {
  background-color: var(--mral-vino);
}

/* Pie de Navegación Secuencial Entre Publicaciones (Anterior / Listado / Siguiente) */
.article-subsection-footer {
  max-width: 1120px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--mral-piedra);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.article-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  border-top: 3px solid var(--mral-petroleo);
  text-align: left;
  transition: all 0.25s ease;
}

.article-nav-card.next {
  text-align: right;
  align-items: flex-end;
}

.article-nav-card:hover {
  border-top-color: var(--mral-rojo);
  background-color: var(--mral-gris-claro);
  transform: translateY(-2px);
}

.article-nav-dir {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.article-nav-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--mral-petroleo);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-nav-center-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  background-color: var(--mral-vino);
  color: var(--blanco);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.22s ease;
}

.article-nav-center-btn:hover {
  background-color: var(--mral-rojo);
}

/* ==========================================================================
   BOTONES DINÁMICOS (.btn-dynamic) — barrido cromático con la paleta oficial
   Petróleo #093648 → Vino #901913 → Rojo #E20E18 → Bermellón #C82C18
   ========================================================================== */
.btn-dynamic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blanco);
  background-color: var(--mral-petroleo);
  border: 1px solid var(--mral-petroleo);
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
}

.btn-dynamic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg var(--in-oklab),
    var(--mral-vino) 0%,
    var(--mral-rojo) 55%,
    var(--mral-bermellon) 100%
  );
  background-size: 200% 100%;
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-dynamic svg {
  flex: none;
  transition: transform 0.3s ease;
}

.btn-dynamic:hover,
.btn-dynamic:focus-visible {
  border-color: var(--mral-rojo);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(144, 25, 19, 0.28);
}

.btn-dynamic:hover::before,
.btn-dynamic:focus-visible::before {
  transform: translateX(0);
  animation: btnColorShift 3.2s ease-in-out infinite alternate;
}

.btn-dynamic:hover svg,
.btn-dynamic:focus-visible svg {
  transform: translateX(4px);
}

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

/* Variante roja: parte en Vino y barre hacia Petróleo/Índigo */
.btn-dynamic--red {
  background-color: var(--mral-vino);
  border-color: var(--mral-vino);
}

.btn-dynamic--red::before {
  background: linear-gradient(
    100deg var(--in-oklab),
    var(--mral-petroleo) 0%,
    var(--mral-indigo) 50%,
    var(--mral-rojo) 100%
  );
  background-size: 200% 100%;
}

.btn-dynamic--red:hover,
.btn-dynamic--red:focus-visible {
  border-color: var(--mral-petroleo);
  box-shadow: 0 14px 30px rgba(9, 54, 72, 0.3);
}

/* Variante contorno */
.btn-dynamic--outline {
  background-color: transparent;
  color: var(--mral-petroleo);
  border-color: var(--mral-petroleo);
}

.btn-dynamic--outline:hover,
.btn-dynamic--outline:focus-visible {
  color: var(--blanco);
}

@keyframes btnColorShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ==========================================================================
   9. ASESORÍAS EN LÍNEA (#asesorias) — Petróleo/Noche + lienzo dinámico
   ========================================================================== */
.asesorias-section {
  position: relative;
  overflow: hidden;
  color: var(--blanco);
  background: linear-gradient(
    135deg var(--in-oklab),
    var(--mral-noche) 0%,
    var(--mral-petroleo) 55%,
    var(--mral-indigo) 100%
  );
  border-top: 4px solid var(--mral-rojo);
}

.asesorias-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg var(--in-oklab), var(--mral-vino), var(--mral-rojo), var(--mral-bermellon));
}

.asesorias-inner {
  position: relative;
  z-index: 2;
}

.asesorias-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.asesorias-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(199, 193, 189, 0.28);
  box-shadow: 0 30px 60px rgba(17, 17, 36, 0.45);
}

.asesorias-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.asesorias-photo:hover img {
  transform: scale(1.04);
}

.asesorias-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 36, 0.78) 100%);
  pointer-events: none;
}

.asesorias-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blanco);
  background-color: rgba(17, 17, 36, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--mral-rojo);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mral-rojo);
  box-shadow: 0 0 0 0 rgba(226, 14, 24, 0.6);
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 14, 24, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(226, 14, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 14, 24, 0); }
}

.asesorias-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(199, 193, 189, 0.25);
}

.asesorias-facts li {
  padding: 18px 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.asesorias-facts strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--blanco);
}

.asesorias-facts span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--mral-piedra);
}

.asesorias-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mral-piedra);
  margin-bottom: 18px;
}

.asesorias-kicker.dark {
  color: var(--mral-vino);
}

.kicker-line {
  width: 36px;
  height: 2px;
  background-color: var(--mral-rojo);
}

.asesorias-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--blanco);
  margin-bottom: 18px;
  max-width: 20ch;
  text-wrap: balance;
}

.asesorias-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--mral-gris-claro);
  max-width: 58ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.session-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  background-color: rgba(247, 249, 253, 0.06);
  border: 1px solid rgba(199, 193, 189, 0.22);
  border-left: 3px solid var(--mral-acero);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.session-card:hover {
  background-color: rgba(247, 249, 253, 0.11);
  border-left-color: var(--mral-rojo);
  transform: translateX(6px);
  box-shadow: 0 18px 40px rgba(17, 17, 36, 0.35);
}

.session-card.is-recommended {
  background-color: rgba(144, 25, 19, 0.22);
  border-color: rgba(226, 14, 24, 0.45);
  border-left-color: var(--mral-rojo);
}

.session-badge {
  position: absolute;
  top: -10px;
  right: 22px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blanco);
  background-color: var(--mral-rojo);
}

.session-duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 193, 189, 0.35);
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.session-card:hover .session-duration {
  border-color: var(--mral-rojo);
  background-color: rgba(226, 14, 24, 0.12);
}

.session-duration strong {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--blanco);
}

.session-duration span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mral-piedra);
  margin-top: 4px;
}

.session-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--blanco);
  margin-bottom: 6px;
}

.session-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mral-gris-claro);
  margin-bottom: 10px;
  text-wrap: pretty;
}

.session-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.session-tags li {
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mral-piedra);
  border: 1px solid rgba(199, 193, 189, 0.28);
}

.session-cta {
  white-space: nowrap;
}

.asesorias-section .btn-dynamic:not(.btn-dynamic--red) {
  background-color: transparent;
  border-color: rgba(230, 234, 236, 0.55);
}

.asesorias-footnote {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--mral-piedra);
}

.inline-dynamic-link {
  color: var(--blanco);
  font-weight: 600;
  background-image: linear-gradient(90deg var(--in-oklab), var(--mral-rojo), var(--mral-bermellon));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  border-bottom: 1px solid rgba(230, 234, 236, 0.4);
  transition: background-size 0.4s ease, color 0.3s ease;
}

.inline-dynamic-link:hover {
  background-size: 100% 2px;
  color: var(--mral-piedra);
}

/* ==========================================================================
   10. PREGUNTAS FRECUENTES (#faqs) — acordeón editorial numerado
   ========================================================================== */
.faqs-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg var(--in-oklab),
    var(--blanco) 0%,
    var(--mral-gris-claro) 100%
  );
}

.faqs-inner {
  position: relative;
  z-index: 2;
}

.faqs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: start;
}

.faqs-aside-sticky {
  position: sticky;
  top: 120px;
}

.faqs-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--mral-petroleo);
  margin-bottom: 18px;
}

.faqs-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mral-pizarra);
  max-width: 42ch;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.faqs-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  margin-bottom: 28px;
}

.faqs-contact-card {
  max-width: 340px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  border-top: 3px solid var(--mral-petroleo);
}

.faqs-contact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.faqs-contact-card a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mral-petroleo);
  transition: color 0.25s ease;
}

.faqs-contact-card a:hover {
  color: var(--mral-rojo);
}

.faqs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faqs-wf-item {
  width: 100%;
  background-color: var(--blanco);
  border: 1px solid rgba(199, 193, 189, 0.8);
  border-left: 3px solid var(--mral-piedra);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.faqs-wf-item:hover {
  border-left-color: var(--mral-vino);
  box-shadow: 0 12px 28px rgba(9, 54, 72, 0.08);
}

.faqs-wf-item:has(.faqs-answer.abierto) {
  border-left-color: var(--mral-rojo);
  box-shadow: 0 18px 40px rgba(144, 25, 19, 0.12);
}

.faqs-item {
  width: 100%;
}

.faqs-head {
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  position: relative;
}

.faqs-head:focus-visible {
  outline: 2px solid var(--mral-rojo);
  outline-offset: -2px;
}

.faqs-num {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--mral-acero);
  transition: color 0.3s ease;
}

.faqs-head:hover .faqs-num,
.faqs-head[aria-expanded="true"] .faqs-num {
  color: var(--mral-rojo);
}

.faqs-quest-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faqs-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mral-vino);
}

.faqs-quest {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mral-petroleo);
  transition: color 0.25s ease;
  text-wrap: pretty;
}

.faqs-quest.abierto {
  font-weight: 600;
  color: var(--mral-vino);
}

.faqs-mas {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background-color: var(--mral-petroleo);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.faqs-mas::before,
.faqs-mas::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: var(--blanco);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
  border: 0;
}

.faqs-mas::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faqs-head:hover .faqs-mas {
  background-color: var(--mral-vino);
  box-shadow: 0 0 0 6px rgba(144, 25, 19, 0.12);
}

.faqs-mas.active {
  background-color: var(--mral-rojo);
  transform: rotate(180deg);
}

.faqs-mas.active::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faqs-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 24px 0 84px;
  transform: translateY(-5px);
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.faqs-answer.abierto {
  opacity: 1;
  max-height: 420px;
  transform: translateY(0);
  padding-bottom: 24px;
}

.faqs-answer .text-block {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--mral-carbon);
  padding-left: 16px;
  border-left: 2px solid var(--mral-piedra);
  text-wrap: pretty;
}

/* Botón de envío del formulario con el mismo barrido dinámico */
.btn-submit {
  background-image: linear-gradient(100deg var(--in-oklab), var(--mral-rojo) 0%, var(--mral-vino) 50%, var(--mral-petroleo) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  transition: background-position 0.55s ease, transform 0.25s ease, box-shadow 0.3s ease !important;
}

.btn-submit:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(9, 54, 72, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .btn-dynamic,
  .btn-dynamic::before,
  .session-card,
  .faqs-wf-item,
  .faqs-answer,
  .asesorias-photo img {
    transition: none !important;
    animation: none !important;
  }
  .live-dot {
    animation: none;
  }
}

/* ==========================================================================
   11. CONTACTO GENERAL (.contacto-bg + .form-wrap)
   ========================================================================== */
.full-section.contacto-bg.bg-gris {
  background-color: var(--mral-gris-claro);
  border-top: 1px solid var(--mral-piedra);
}

.contact-direct-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 150%;
}

.contact-direct-meta a:hover {
  color: var(--mral-bermellon);
}

.form-container {
  padding-left: 15px;
  padding-right: 15px;
}

.form-wrap {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  padding-top: 10px;
  padding-bottom: 10px;
  display: grid;
}

.input-field {
  background-color: var(--blanco);
  border: 1px solid var(--mral-piedra);
  border-radius: 0;
  padding: 14px 16px;
  font-family: 'Public Sans', sans-serif;
  font-size: 14.5px;
  color: var(--mral-petroleo);
  width: 100%;
  transition: border-color 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--mral-rojo);
}

.input-field.full-field {
  grid-column: 1 / -1;
}

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

.btn-submit {
  background-color: var(--mral-rojo);
  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 0;
  display: inline-block;
  transition: background-color 0.25s ease;
}

.btn-submit:hover {
  background-color: var(--mral-petroleo);
}

.form-feedback {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mral-petroleo);
}

/* ==========================================================================
   12. FOOTER INSTITUCIONAL (.full-section.footer)
   ========================================================================== */
.full-section.footer {
  background: linear-gradient(
    180deg var(--in-oklab),
    var(--mral-petroleo) 0%,
    var(--mral-noche) 100%
  );
  border-top: 3px solid var(--mral-rojo);
  position: relative;
  overflow: hidden;
}

.logo-footer {
  width: 280px;
  max-width: 100%;
  padding-top: 40px;
  padding-bottom: 20px;
}

.foot-item {
  padding-left: 60px;
  margin-bottom: 28px;
}

.links-rrss {
  grid-column-gap: 30px;
  grid-row-gap: 16px;
  display: flex;
  flex-wrap: wrap;
}

.foot-links {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  display: flex;
}

.flex.foots-space {
  padding-left: 5dvw;
  padding-right: 5dvw;
  border-top: 1px solid rgba(199, 193, 189, 0.18);
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.legal-links {
  grid-column-gap: 30px;
  grid-row-gap: 16px;
  color: var(--blanco);
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 45px;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
}

.legal-links.right {
  justify-content: flex-end;
  text-align: right;
}

.legal-link {
  color: var(--mral-piedra);
  line-height: 125%;
  text-decoration: none;
}

.legal-link:hover {
  color: var(--blanco);
}

.footer-alliance-badge img {
  height: 28px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.footer-alliance-badge:hover img {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE — OPTIMIZACIÓN EDITORIAL MRAL)
   ========================================================================== */
@media screen and (max-width: 991px) {
  .menu-button {
    display: flex;
  }

  .nav-wrap {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--mral-noche);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 48px;
    border-top: 1px solid rgba(199, 193, 189, 0.18);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    z-index: 999;
  }

  .nav-wrap.open {
    display: flex;
  }

  .nav-wrap .nav-item {
    font-size: 1.05rem;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(199, 193, 189, 0.1);
    width: 100%;
  }

  .dropdown-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .dropdown-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 16px;
    width: 100%;
  }

  .drop-item {
    padding: 10px 0;
    font-size: 0.95rem;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .btn-contacto {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .hero-text {
    padding: 28px 30px;
    width: 680px;
  }

  .amtid-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slider-casos {
    width: 100%;
  }

  .casos-arrows {
    position: static;
    margin-bottom: 16px;
  }

  .boxed-section.simple-box {
    margin-top: -80px;
  }

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

  .article-subsection-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-subsection-sidebar {
    position: static;
  }

  .article-toc-list {
    max-height: none;
  }

  .article-subsection-footer {
    grid-template-columns: 1fr;
  }

  .article-nav-card.next {
    text-align: left;
    align-items: flex-start;
  }

  .asesorias-grid,
  .faqs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .asesorias-photo {
    aspect-ratio: 16 / 9;
  }

  .faqs-aside-sticky {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  .nav-section {
    padding: 14px 18px;
  }

  .nav-section.active {
    padding: 10px 18px;
  }

  .logo-img {
    height: 44px;
  }

  .nav-section.active .logo-img {
    height: 38px;
  }

  .boxed-section {
    padding-top: 5dvh;
    padding-bottom: 5dvh;
  }

  .col33,
  .col40,
  .col50,
  .col60,
  .col70,
  .col80,
  .col20 {
    width: 100%;
  }

  .col50.vertical.col-der {
    padding-left: 0;
  }

  .main-lay,
  .main-lay.left {
    padding-left: 0;
    padding-right: 0;
  }

  /* Hero Móvil: La Fotografía Editorial es la Protagonista Absoluta */
  .slider-hero {
    margin-bottom: 30px;
  }

  .hero {
    height: 90svh;
    min-height: 570px;
    max-height: 780px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .fondo-image {
    background-position: center 22%;
    background-size: cover;
  }

  .hero-three-layer {
    inset: 0;
    opacity: 0.32;
  }

  /* Velo sutil que mantiene 100% visible el 65% superior de la fotografía */
  .hero-deg {
    background: linear-gradient(
      180deg,
      rgba(17, 17, 36, 0.28) 0%,
      rgba(17, 17, 36, 0.04) 28%,
      rgba(9, 54, 72, 0.18) 54%,
      rgba(17, 17, 36, 0.76) 80%,
      rgba(17, 17, 36, 0.94) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 16px 20px 16px;
    width: 100%;
    height: 100%;
  }

  /* Tarjeta de texto ejecutiva compacta, translúcida y anclada al fondo */
  .hero-text {
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px 18px 18px 18px;
    background: rgba(17, 17, 36, 0.52);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border-radius: 4px;
    border-left: 3px solid var(--mral-rojo);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }

  .hero-text .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
    margin-bottom: 6px;
  }

  .hero-text .hero-kicker::before {
    width: 12px;
    height: 2px;
  }

  .hero-text .hero-title.white,
  .hero-title,
  .hero-title.white,
  .hero-title.quo {
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    line-height: 1.24;
    margin-bottom: 8px;
    font-weight: 600;
    text-wrap: balance;
  }

  .hero-text .hero-body,
  .hero-body {
    font-size: 0.85rem;
    line-height: 1.42;
    margin-bottom: 14px;
    color: rgba(247, 249, 253, 0.92);
  }

  .hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    flex: 1 1 auto;
    text-align: center;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Controles de diapositivas reposicionados en la esquina superior derecha */
  .hero-slider-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: auto;
    left: auto;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(17, 17, 36, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 8px;
    z-index: 15;
  }

  .hero-counter {
    font-size: 11px;
    margin-right: 2px;
  }

  .hero-arrow {
    width: 28px;
    height: 28px;
  }

  /* Sección AMTID en Móvil */
  .body-title,
  .amtid-main-title {
    font-size: 26px;
    line-height: 122%;
  }

  .amtid-pillars-row {
    grid-template-columns: 1fr;
  }

  .amtid-monolith-card {
    padding: 24px 20px;
  }

  .amtid-logo-stage {
    padding: 24px 16px;
    margin: 18px 0;
  }

  .amtid-white-hero {
    max-width: 250px;
  }

  .amtid-monolith-quote {
    font-size: 15px;
    line-height: 1.5;
  }

  .text-altas {
    font-size: 17px;
  }

  .medium-head {
    font-size: 19px;
  }

  .grid-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scasos-item {
    width: 100%;
    flex: 0 0 100%;
  }

  .slider-casos {
    flex-direction: column;
    align-items: flex-start;
  }

  .servicios-image-wrap,
  .coverimage.areas-img {
    height: 260px;
  }

  .industrias-image-wrap {
    height: 420px;
  }

  .industria-img {
    padding: 18px;
  }

  .col-special.left,
  .col-special.right {
    padding: 34px 20px;
  }

  .grid-blog,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .input-field,
  .textarea-field {
    font-size: 16px !important; /* Previene auto-zoom molesto en iOS Safari */
  }

  .article-normativa-pill {
    text-align: left;
  }

  .session-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }

  .session-cta {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .asesorias-facts {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .faqs-head {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 16px 14px;
  }

  .faqs-answer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .article-hero-img-wrap {
    aspect-ratio: 16 / 9;
  }

  .article-hero-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .reader-progress-track {
    top: 60px;
  }

  .perspectiva-reader-toolbar {
    top: 64px;
  }

  .reader-toolbar-inner {
    padding: 8px 14px !important;
    gap: 8px;
  }

  .reader-quick-switcher {
    max-width: 100%;
    overflow: hidden;
    gap: 6px;
  }

  .reader-pills-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 2px;
  }

  .reader-pills-row::-webkit-scrollbar {
    display: none;
  }

  .reader-pill-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }

  .article-toc-card {
    padding: 16px 18px;
    margin-bottom: 20px;
  }

  .article-toc-list {
    max-height: 180px;
    overflow-y: auto;
  }

  .article-table-wrapper {
    -webkit-overflow-scrolling: touch;
  }

  .article-legal-table thead th,
  .article-legal-table tbody td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .foot-item {
    padding-left: 0;
  }

  .legal-links.right {
    justify-content: flex-start;
    text-align: left;
  }
}

@media screen and (max-width: 479px) {
  .industrias-image-wrap {
    height: 380px;
  }

  .industria-img {
    padding: 14px;
  }

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

  .amtid-monolith-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .asesorias-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .session-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .session-duration {
    display: inline-flex;
    width: auto;
    padding: 4px 10px;
    border-radius: 2px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }
}
