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

body {
  font-family: 'Lora', serif;
  background: #000;
  overflow-x: hidden;

  /* Esto mejora el renderizado de las fuentes con serifa en pantallas de alta resolución */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* --- MENÚ SUPERIOR FIXED --- */
#menu-superior {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5%;
  z-index: 9999999;
  /* AÑADIDO: background-color a la transición */
  transition: opacity 0.4s ease, background-color 0.1s ease;
}

.logo-container {
  position: relative;
  height: 3.2dvh;
  /* Altura del logo */
  width: 180px;
}

.logo-container img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  transition: opacity 0.3s ease;
  /* Fundido suave entre el logo blanco y rojo */
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-links a.activo {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

/* === TEMAS DEL MENÚ (Controlados por GSAP) === */
/* TEMA OSCURO (Escena 1 - Fondo Rojo) */
#menu-superior.tema-oscuro .logo-blanco {
  opacity: 1;
}

#menu-superior.tema-oscuro .logo-rojo {
  opacity: 0;
}

#menu-superior.tema-oscuro .nav-links a {
  color: #ffffff;
}

/* TEMA CLARO (Resto de escenas - Fondos Claros) */
#menu-superior.tema-claro .logo-blanco {
  opacity: 0;
}

#menu-superior.tema-claro .logo-rojo {
  opacity: 1;
}

#menu-superior.tema-claro .nav-links a {
  color: #333333;
}

.onlymobile {
  display: none;
}

/* El escenario que se fijará (Pin) */
#escenario-principal {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* Ocupa exactamente la pantalla */
  overflow: hidden;
  background: #f7f7f7;
}

/* Estructura Base de todas las escenas */
.escena {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* GSAP controlará la visibilidad */
}

.underlined {
  text-decoration: underline;
  color: #ffffff;
}

/* --- ESTILOS ESCENA 1 --- */
#escena-1 {
  opacity: 1;
  /* La primera escena sí es visible al inicio */
  background-color: #611122;
  color: #fff;
  z-index: 99;


}

/* NUEVO: Contenedor base del vídeo */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Se queda al fondo, por debajo de los textos y flechas que tienen z-index 5 y 6 */
  overflow: hidden;
}

/* El vídeo ocupando toda la pantalla sin deformarse */
.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Hace que el vídeo actúe como un background-size: cover */
}

/* El filtro de color corporativo */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #5c000c;
  /* Vuestro rojo corporativo */
  opacity: 0.7;
  /* 50% de opacidad como pediste */
  z-index: 2;
  /* Se coloca por encima del vídeo pero por debajo del texto */
}

#escena-1 .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.hero-title {
  z-index: 6;
  text-align: center;
  font-size: 3rem;
  position: relative;

}

.circulo-blanco {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 8;
  opacity: 1;
}

.logo-global {
  position: absolute;

  bottom: 3%;
  right: 3%;

  z-index: 8;
  opacity: 1;
}

.gotoweb {
  position: absolute;

  top: 91%;
  left: 5%;
  z-index: 80;
  opacity: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -1.2px;
}

.logo-global-home {


  max-width: 300px;
}

/* Contenedor del texto de la Escena 1 */
.hero-text-container {
  z-index: 6;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: normal;
  letter-spacing: -0.18rem;
}

.hero-subtitle {
  font-size: 3rem;
  line-height: 1.2;
  color: #fff;
  opacity: 0;
  letter-spacing: -0.18rem;
}

/* El truco del Stack de Palabras */
.palabras-stack {
  position: relative;
  display: inline-block;
  width: 240px;
  height: 1.2em;
  vertical-align: bottom;
  text-align: left;
}

.palabra {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-weight: bold;
}

.palabra.activa {
  opacity: 1;
  /* La primera palabra (EMPRESA) empieza visible */
}

.patrimonio {
  margin-left: 17%;
}

.fiscalidad {
  margin-left: 13%;
}

.inversion {
  margin-left: 10%;
}

.familia {
  margin-left: -5%;
}

.expansion {
  margin-left: 10%;
}

/* --- ESCENA 1: Flechas --- */
.flecha-v {
  position: absolute;
  z-index: 5;
}

.flecha-arriba {
  top: 23%;
  left: 40%;
  opacity: 0;

}

.flecha-izq {
  bottom: 30%;
  left: 29%;
  opacity: 0;
}

.flecha-der {
  bottom: 30%;
  right: 34%;
  opacity: 0;

}

/* --- ESTILOS ESCENA 2 --- */
#escena-2 {
  background: transparent;

}

.asterisco-transicion-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brazo-asterisco-fondo {
  width: 100vw;
  /* Gigante para que parezca un fondo blanco con huecos */
  opacity: 0.9;
}

/* Recorte diagonal en la imagen de la izquierda (Espacio negativo) */
.imagen-stack-recorte {
  position: relative;
  width: 100%;
  height: 80vh;

}

.mitad-der {
  z-index: 10;
  position: relative;
}

.titulo-dimension {
  font-size: 2.1rem;
  /* Tamaño proporcional a la imagen */
  font-weight: 300;
  text-align: right;
  /* Alineación fundamental para igualar la captura */
  margin-bottom: 40px;
  line-height: 1.2;
  color: #333;
}

.titulo-dimension strong {
  font-weight: 700;

  text-transform: uppercase;
  font-size: 3.5rem;
  letter-spacing: -2.1px;
  color: #5c000c;
}

/* El recorte de las etiquetas (Corte en la izquierda) */
.etiqueta-dimension {
  background: #8b736c;
  /* Color topo exacto de tu captura */
  color: #fff;
  padding: 1.4vw;
  font-size: 1.1rem;
  font-weight: 300;
  /* LA MAGIA GEOMÉTRICA: Corta 15px de la esquina inferior izquierda */
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.4;
  transition: opacity 0.3s ease;
  margin-bottom: 10px;
}

.etiqueta-dimension.etiqueta-activa {
  opacity: 1;
  font-weight: 500;
}










/* --- ESCENA 2: Layout Corregido --- */

/* 1. MATAMOS EL FLEX GLOBAL PARA ESTA ESCENA */
#escena-2 {
  display: block;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  /*background-image: url(./assets/fondo_cruces_3.png);
  background-size: cover;*/
}

/* 2. TITULAR LIBRE Y ANCLADO ARRIBA A LA DERECHA */
.header-escena-2 {
  position: absolute;
  top: 17%;
  right: 7%;
  /* Margen derecho alineado con las cajas */
  width: 50%;
  /* Le damos espacio para crecer hacia la izquierda */
  z-index: 30;
}

.titulo-dimension {
  font-size: 2.4vw;
  font-weight: 400;
  text-align: right;
  /* Texto alineado a la derecha */
  line-height: 1.2;
  color: #333;
  margin: 0;
}

.titulo-dimension strong {
  font-weight: 600;
  font-size: 2.8rem;
  text-transform: uppercase;
}

/* 3. CONTENEDOR DE FOTO Y CAJAS */
.layout-mitades {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 4. COLUMNA IZQUIERDA: FOTO PEGADA AL BORDE */
.mitad-izq {
  width: 53%;
  height: 100%;
  position: absolute;
  bottom: -10%;
  left: 0px;
  /* Sin espacios */
}

.imagen-stack-recorte {
  width: 100%;
  height: 100vh;

}

/* Forzamos a la imagen a llenar el espacio sin huecos blancos */
.imagen-stack-recorte img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  /* El ancla visual se queda a la izquierda */
}

/* 5. COLUMNA DERECHA: CAJAS APILADAS ABAJO */
#escena-2 .mitad-der {

  position: absolute;
  top: 38%;
  right: 10%;
  width: 40%;
  z-index: 20;
}

/* 6. DISEÑO DE LAS CAJAS */
.etiquetas-contenedor {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 35vw;
  margin-left: auto;
  /* Las empuja totalmente a la derecha */
}

.etiqueta-dimension {
  background: #8b736c;
  color: #fff;
  padding: 1.4vw 3vw;
  font-size: 1.3vw;
  font-weight: 300;
  border: none;
  border-radius: 0;
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100%), 0 15px);

  /* Inicialización para GSAP */
  opacity: 0;
  transform: translateX(40px);
}

.etiqueta-dimension strong {
  font-weight: 600;
}

.etiqueta-dimension:hover {
  opacity: 1;
  background-color: #5c000c;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.imagen-stack {
  position: relative;
  width: 100%;
  height: 80vh;
  border-radius: 8px;
  overflow: hidden;
}

.img-dinamica {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Todas ocultas... */
  z-index: 1;
}

.img-dinamica.img-activa {
  opacity: 1;
  /* ...excepto la primera */
  z-index: 2;
}

/* --- LA FLECHA MAESTRA --- */
.flecha-maestra {
  position: absolute;
  top: 16%;
  /* Posición superior izquierda como en la captura */
  left: 8%;
  z-index: 999999;
  /* Siempre por encima */
  opacity: 1;
  transform-origin: center;
}






.textorojobold {
  font-weight: 600;
  color: #5c000c;
  text-transform: uppercase;
  font-size: 3.5rem;
  letter-spacing: -2.1px;

}



/* --- ESCENA 3 AJUSTADA --- */
#escena-3 {
  z-index: 50;
  background: #ffffff;
  background-image: url(./assets/fondo_cruces_1.png);
  background-size: cover;

}

.header-escena-3 {
  position: absolute;
  top: 20%;
  left: 25%;
  /* Alineado a la derecha de la flecha */
}

.titulo-ecosistema {
  font-size: 1.6rem;
  font-weight: 300;
  color: #333;
}

.grid-cajas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  width: 100%;
  margin-top: 15%;
  margin-left: 10%;
}

/* El recorte de "Documento" en la esquina superior derecha */
.caja-mavens {
  background: #ded7d7;
  padding: 20px 21px;
  min-height: 183px;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
  position: relative;
  min-width: 100px;
  background-image: url(./assets/miniestrellablanca.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 5rem;
}

.caja-mavens h3 {
  font-size: 1.3rem;
  color: #000;
  line-height: 1.2;
}


.caja-mavens h4 {
  font-size: 0.8rem;
  color: #333333;
  line-height: 0.9rem;
  font-weight: 400;
  margin-top: 5px;
}



/* Coordenadas X e Y exactas para recrear la irregularidad del diseño */
#escena-3 .caja-mavens:nth-child(1) {
  top: 10%;
  left: -55%;
}

#escena-3 .caja-mavens:nth-child(2) {
  top: 10%;
  left: -20%;
}

/* Desplazada hacia abajo */
#escena-3 .caja-mavens:nth-child(3) {
  top: 10%;
  right: 28%;
}

#escena-3 .caja-mavens:nth-child(4) {
  top: 25%;
  left: -30%;
}

#escena-3 .caja-mavens:nth-child(5) {
  top: 25%;
  left: -20%
}

/* Desplazada hacia abajo */
#escena-3 .caja-mavens:nth-child(6) {
  top: 25%;
  right: 28%;
}


/* --- ESCENA 4 AJUSTADA --- */
#escena-4 {
  z-index: 3000;
}

.logo-texto-wrapper {
  position: absolute;
  top: 29%;
  /* Subimos un poco el logo para dejar espacio a los textos */
  left: 43%;
  transform: translateX(-50%);
}

.texto-logo-mavens {
  width: 26vw;
  height: 90px;
}

.texto-filosofia-wrapper {
  position: absolute;
  top: 45%;
  width: 70%;
  max-width: 900px;
  text-align: center;
  left: 61%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;

}

.texto-filosofia {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.texto-filosofia.p2 {
  margin-top: 20px;

}

.texto-filosofia strong {
  font-weight: 700;
  font-size: 1.7rem;
}

.texto-rojo {
  color: #611122;
  /* El rojo corporativo de Mavens */
}

/* Menú Inferior */
.menu-inferior-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  background: #c7bcbc;
  /* Gris base */
}

.menu-item {
  flex: 1;
  text-align: center;
  padding: 20px 10px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-item.activo {
  background: #611122;
  /* Rojo activo */
}

/* --- Menú Inferior (Escena 4) --- */
.menu-inferior-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 20;
}

.menu-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 10px;
  font-weight: 600;
  font-size: 1.0rem;
  color: #fff;
  border: none;
  line-height: 1.2;
}

/* Colores exactos de la captura (De izquierda a derecha) */
.menu-item.c-1 {
  background-color: #5c000c;
}

/* Rojo oscuro */
.menu-item.c-2 {
  background-color: #91796e;
}

/* Corporate */
.menu-item.c-3 {
  background-color: #b5a59f;
}

/* Patrimonial */
.menu-item.c-4 {
  background-color: #d1c8c5;
}

/* Governance */
.menu-item.c-5 {
  background-color: #f4f1f0;
  color: #8b736c;
}

/* Movilidad (Fondo claro, texto oscuro) */
.menu-item.c-6 {
  background-color: #c4c4c4;
}

/* Estrategia */



#escena-5 {
  z-index: 50;
}

.tarjeta-servicios {
  width: 94%;
  max-width: 1243px;
  height: 88vh;
  margin: 0 auto;
  background-color: #dcd6d4;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%, 0 80px);
  padding: 4%;
  display: flex;
  flex-direction: column;
  position: absolute;

  top: 91px;
}

.texto-fijo-servicios {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
  margin-bottom: 21px;
}

.texto-fijo-servicios strong {
  font-weight: 700;
  font-size: 2.2rem;
}

.layout-servicios {
  display: flex;
  flex: 1;
  gap: 15px;
}

/* Columna Izquierda */
.menu-servicios {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.item-servicio {
  font-size: 1.3rem;
  font-weight: 600;
  color: #9e9593;
  /* Gris apagado cuando no está activo */
  display: flex;
  align-items: center;
  gap: 15px;
  transition: color 0.3s ease;
}

.icono-asterisco {
  font-size: 2rem;
  font-weight: normal;
  opacity: 0;
  /* El asterisco solo se ve cuando está activo */
  transform: rotate(-90deg);
  width: 2rem;
  /* Preparado para animarse rotando */
}

/* Estados Activos (GSAP manipulará esto, pero dejamos la base CSS) */
.item-servicio.item-activo {
  color: #000;
}

.item-servicio.item-activo .icono-asterisco {
  opacity: 1;
  transform: rotate(0deg);
}

/* Columna Derecha (Cajas Rojas) */
.detalle-servicios {
  flex: 1;
  position: relative;
  margin-top: 8%;
}

.caja-roja {
  position: absolute;
  top: 50%;
  left: 10%;
  /* Margen para asegurar que no toca la izquierda */
  width: 90%;

  /* NUEVO ALTO SOLICITADO */
  height: 310px;

  background-color: #4a0d17;
  color: #fff;
  padding: 40px;
  box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;

  background-image: url(./assets/logo_mavens_flechaderecha_blanco_bg.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 8rem;
}

.caja-roja.caja-activa {
  opacity: 1;
  z-index: 2;
}

.caja-roja ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caja-roja li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.caja-roja li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #fff;
}



#escena-6 {
  z-index: 60;
  background-color: #ffffff;
  /* Fondo blanco limpio */
  color: #333;
}

.layout-internacional {
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
}

/* Textos Izquierda */
.columna-texto-internacional {
  flex: 1;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
}

.titulo-internacional {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
}

.titulo-internacional .texto-rojo {
  color: #611122;
  font-weight: 700;
}

.parrafos-internacionales {
  margin-bottom: 50px;
}

.parrafos-internacionales p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

/* Grid de Logos Partners */
.logos-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  opacity: 1;
}

.logo-partner {
  max-width: 120px;
  height: auto;
  opacity: 0;
  /* Preparado para GSAP */
}

/* El Globo Derecha */
.columna-globo {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Lo pegamos a la derecha como en tus capturas */
  overflow: hidden;
}

#globo-canvas {
  width: 140%;
  /* Puedes jugar con este porcentaje para hacerlo más grande o pequeño */
  height: auto;
  /* CRÍTICO: Esto hace que mantenga la proporción real del PNG */
  max-width: 1200px;

  /* Con object-fit nos aseguramos de que el navegador lo escale con suavidad */
  object-fit: contain;
  transform: scale(1.8);
}





/* --- ESCENA 7: El Equipo --- */
#escena-7 {
  z-index: 70;
  /* background-color: #ede8e6; <- Quitamos el fondo sólido de toda la pantalla */
  background: transparent;
  color: #333;
  opacity: 0;
  /* Empezará oculta y GSAP la encenderá */

  /* Quitamos el transform: translateY(100%); porque ya no entra desde abajo */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contenido-equipo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0px;
}

.header-equipo {
  padding: 28px 10%;
  text-align: left;
}

.titulo-equipo {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
}

.titulo-equipo strong {
  font-weight: 700;
  font-size: 2rem;
}

/* El Contenedor del Carrusel Horizontal */
.carrusel-equipo-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #b2a29a;
  /* El tono cálido va aquí */
  padding: 0px 0;

  background-image: url(./assets/logo_mavens_flechaizquierda_blanco.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 10rem;
  background-position-x: -34px;
}

.carrusel-equipo-track {
  display: flex;
  width: max-content;
  /* El track mide lo que midan todas las fotos juntas */
  padding: 0 10%;
  gap: 0px;
  cursor: pointer;
}

/* --- ESCENA 7: El Equipo (Fotos y Transiciones) --- */
.foto-wrapper {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  opacity: 0.3;
  /* Estado inactivo: desvanecido */
  transform: scale(1);
  /* Ligeramente más pequeño */
  transition: opacity 0.5s ease, transform 0.5s ease;
  background-color: #fff;
  /* Fondo blanco por si la foto es transparente */
}

/* EL ESTADO ACTIVO (Lo controlará GSAP) */
.foto-wrapper.foto-activa {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* Ligera sombra para destacarlo */
}

.foto-equipo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  /* Ya NO hay filter: grayscale */
}

/* El Cajetín del Nombre */
.nombre-equipo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  color: #333;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;

  /* 1. Lo escondemos con opacidad 0 y un leve desplazamiento de 15px hacia abajo */
  opacity: 0.3;
  transform: translateY(5px);
  cursor: pointer;

  /* 2. Transición sedosa y paralela para la opacidad y el movimiento */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Cuando el wrapper está activo, el texto se ilumina y sube a su sitio */
.foto-wrapper.foto-activa .nombre-equipo {
  opacity: 0.9;
  transform: translateY(0);
  cursor: pointer;
}

/* ========================================== */
/* PASO 8: SCROLL LIBRE (SIN PIN)             */
/* ========================================== */
#contenido-estandar {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* --- CONTACTO --- */
.seccion-contacto {
  background-color: #464443;
  /* Gris oscuro corporativo */
  color: #fff;
  padding: 80px 10%;
}

.contacto-wrapper {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 50px;
}

.contacto-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #a19c9c;
  margin-bottom: 20px;
}

.contacto-titulo {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.contacto-texto {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 40px;
}

.contacto-acciones {
  display: flex;
  align-items: center;
  gap: 40px;
}

.btn-blanco {
  background: #fff;
  color: #000;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.contacto-telefono span {
  display: block;
  font-size: 0.7rem;
  color: #a19c9c;
  letter-spacing: 1px;
}

.contacto-telefono strong {
  font-size: 1.2rem;
}

.asterisco-contacto {
  width: 150px;
  opacity: 0.8;
}

.icono-pin img {
  max-width: 70px;
}

.contacto-direcciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 50px;
}

.direccion-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: 300;
  line-height: 1.6;
}

/* --- ACTUALIDAD --- */
.seccion-actualidad {
  background-color: #f4f2f1;
  /* Beige */
  color: #333;
  padding: 80px 10%;
}

.seccion-actualidad a {

  color: #333;
  text-decoration: none;

}

.actualidad-titulo {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 60px;
}

.grid-noticias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
  margin-bottom: 50px;
}

.tarjeta-noticia {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

.noticia-meta {
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #666;
}

.tag-rojo {
  color: #611122;
  font-weight: bold;
  margin-right: 15px;
}

.tarjeta-noticia h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.tarjeta-noticia p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.actualidad-enlace {
  text-align: right;
  font-weight: bold;
  color: #611122;
}

/* --- PREMIOS Y RSC --- */
.seccion-premios-rsc {
  background: #fff;
  padding: 80px 10%;
}

.bloque-premios, .bloque-rsc {
  margin-bottom: 60px;
}

.titulo-oscuro {
  font-size: 2rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 40px;
}

.grid-logos {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.grid-logos img {
  max-width: 100%;
  max-height: initial;
  object-fit: contain;
  filter: grayscale(100%);
}

/* --- FOOTER --- */
.footer-mavens {
  background-color: #8f7d78;
  color: #fff;
  padding: 80px 10% 30px;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.logo-footer {
  width: 180px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.telf {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  margin-left: 20px;
}