@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
  /* NUEVA PALETA DE COLORES SEGÚN ESPECIFICACIONES */
  --azul-institucional: #1B263B;       /* Oxford Blue */
  --dorado-mate: #C5A059;              /* Champagne Gold */
  --crema-suave: #F8F5F2;              /* Antique White */
  --gris-carbon: #333333;              /* Charcoal */
  --blanco: #FFFFFF;
  
  /* Colores adicionales para fondos */
  --bg-strong: #070708;
  --bg-soft: #0f1720;
  --card-bg: rgba(255,255,255,0.03);
  --gold-soft: rgba(197, 160, 89, 0.12);
  --glass: rgba(255,255,255,0.02);
  --shadow-1: 0 6px 22px rgba(2,6,23,0.6);
  --radius-lg: 16px;
  --radius-sm: 10px;
}

/* ------------------------------ RESET Y BASE ---------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--crema-suave);
  color: var(--gris-carbon);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--azul-institucional);
  letter-spacing: 0.5px;
}

/* Contenedor general */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------ HEADER STICKY ---------------------------------*/
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 38, 59, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-center img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-center img:hover {
  transform: scale(1.05);
}

/* ------------------------------ NAVEGACIÓN COMPLETA ---------------------------------*/
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--azul-institucional);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--dorado-mate);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--dorado-mate);
}

/* Dropdown menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(27, 38, 59, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown-submenu {
  position: relative;
}

.submenu-level-2 {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(27,38,59,0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.dropdown-submenu:hover .submenu-level-2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-level-2 li {
  border-bottom: 1px solid rgba(27,38,59,0.05);
}

.submenu-level-2 li:last-child {
  border-bottom: none;
}

.submenu-level-2 a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gris-carbon);
  transition: all 0.3s ease;
}

.submenu-level-2 a:hover {
  background-color: var(--crema-suave);
  color: var(--azul-institucional);
  padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); 
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(27, 38, 59, 0.05);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--gris-carbon);
  text-transform: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--crema-suave);
  color: var(--azul-institucional);
  padding-left: 25px;
}


/* Botón Portal del Socio */
.btn-socio {
  background-color: var(--azul-institucional);
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  border: 2px solid var(--azul-institucional);
  transition: all 0.3s ease;
}

.btn-socio:hover {
  background-color: transparent;
  color: var(--azul-institucional) !important;
}

.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher form {
  display: flex;
  gap: 8px;
}

.language-switcher button {
  background: transparent;
  border: 1px solid rgba(27, 38, 59, 0.15);
  border-radius: 6px;
  width: 42px;
  height: 42px;

  cursor: pointer;

  font-size: 18px;
  line-height: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: all 0.3s ease;
}

.language-switcher button:hover {
  border-color: var(--dorado-mate);
  background: rgba(197, 160, 89, 0.08);
  transform: translateY(-2px);
}

.language-switcher button:active {
  transform: scale(0.95);
}
/* ------------------------------ BOTÓN HAMBURGUESA (SOLO VISIBLE EN MÓVIL) ---------------------------------*/
.menu-toggle {
  display: none; /* Oculto por defecto en PC */
  position: absolute;
  top: 25px;
  right: 20px;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}


.mobile-language-switcher {
  margin-top: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-language-switcher form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-language-switcher button {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 8px;
  padding: 14px 16px;

  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.3s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mobile-language-switcher button:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--dorado-mate);
  color: var(--dorado-mate);
}

.mobile-language-switcher button:active {
  transform: scale(0.98);
}

.mobile-language-title {
  display: block;
  color: var(--dorado-mate);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.menu-toggle:hover {
  background: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.menu-toggle .bar {
  width: 28px;
  height: 2.5px;
  background-color: var(--azul-institucional);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ------------------------------ MENÚ MÓVIL (OCULTO POR DEFECTO) ---------------------------------*/
.mobile-menu-container {
  display: none !important; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(27, 38, 59, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  flex-direction: column;
  padding: 30px 25px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nested-submenu {
  margin-left: 15px;
  border-left: 2px solid rgba(197, 160, 89, 0.5);
  padding-left: 10px;
}

.nested-dropdown > a {
  font-size: 15px !important;
  color: rgba(255,255,255,0.85);
}

.mobile-menu-container.active {
  display: flex !important;
  transform: translateX(0);
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--dorado-mate);
  font-size: 20px;
  cursor: pointer;
  padding: 12px;
  margin-bottom: 30px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-menu:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--dorado-mate);
  transform: rotate(90deg);
}

.mobile-logo {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-logo img {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) hue-rotate(-5deg);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.mobile-nav-links > li {
  margin-bottom: 5px;
}

.mobile-nav-links > li > a {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mobile-nav-links > li > a:hover,
.mobile-nav-links > li > a:focus {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dorado-mate);
  border-color: rgba(197, 160, 89, 0.2);
  padding-left: 20px;
}

.mobile-dropdown-toggle .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 20px;
  display: none;
  border-left: 2px solid var(--dorado-mate);
  padding-left: 15px;
}

.mobile-submenu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-submenu li {
  margin-bottom: 8px;
}

.mobile-submenu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-submenu a:hover {
  color: var(--dorado-mate);
  background: rgba(197, 160, 89, 0.08);
  padding-left: 20px;
}

.mobile-language-title {
  color: var(--dorado-mate);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.btn-socio-mobile {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100%;
  background: linear-gradient(135deg, var(--dorado-mate), #d4b56a);
  color: var(--azul-institucional) !important;
  padding: 16px 25px !important;
  border-radius: 8px;
  margin: 25px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600 !important;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
  transition: all 0.3s ease;
}

.btn-socio-mobile:hover {
  background: linear-gradient(135deg, #d4b56a, var(--dorado-mate));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* ------------------------------ BOTÓN FLOTANTE ---------------------------------*/
.floating-membership-btn {
  position: fixed;
  bottom: 75px;
  right: 30px;
  background-color: var(--azul-institucional);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(27, 38, 59, 0.3);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.floating-membership-btn:hover {
  background-color: var(--dorado-mate);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
}

/* ------------------------------ HERO SECTION ---------------------------------*/
.hero-video-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 90px;
}

.hero-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
}

.hero-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(27, 38, 59, 0.4), rgba(27, 38, 59, 0.7));
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  text-align: center;
  color: white;
  z-index: 3;
  width: 90%;
  max-width: 1000px;
  animation: none !important;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.hero-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background-color: transparent;
  color: white;
  border: 2px solid var(--dorado-mate);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--dorado-mate);
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-cta-btn:hover {
  color: var(--azul-institucional);
}

.hero-cta-btn:hover::before {
  left: 0;
}

.hero-cta-secondary {
  background-color: var(--gold-soft);
  border: 2px solid var(--dorado-mate);
  color: white;
}

/* Hover más elegante que el principal */
.hero-cta-secondary:hover {
  background-color: var(--dorado-mate);
  color: var(--azul-institucional);
}

/* Ajuste opcional: un poco menos ancho */
.hero-cta-secondary {
  padding: 14px 40px;
  font-size: 13px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}


.aniversario-section {
  padding: 140px 0;
  background: linear-gradient(to bottom, var(--crema-suave), #f2eee9);
  text-align: center;
}

.aniversario-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.aniversario-subtitle {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado-mate);
  margin-bottom: 60px;
  font-size: 0.9rem;
}

.aniversario-video-cover {
  position: relative;
  width: 70%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}

.aniversario-video-cover:hover {
  transform: scale(1.02);
}

.aniversario-video-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-institucional);
  font-size: 28px;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #e6c27e;
}

/* ================== MODAL VIDEO ================== */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 80%;
  max-width: 1100px;
}

.video-modal video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.close-video {
  position: absolute;
  top: 40px;
  right: 50px;
  background: none;
  border: 1px solid var(--dorado-mate);
  color: var(--dorado-mate);
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-video:hover {
  background: var(--dorado-mate);
  color: var(--azul-institucional);
}

/* ------------------------------ SECCIÓN "LA HERENCIA" ---------------------------------*/
.herencia-section {
  padding: 120px 0;
  background-color: var(--crema-suave);
}

.herencia-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}

.herencia-image {
  flex: 1;
  position: relative;
}

.herencia-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.herencia-content {
  flex: 1;
  position: relative;
}

.text-box-flotante {
  background-color: var(--crema-suave);
  padding: 50px;
  margin-left: -100px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--dorado-mate);
  position: relative;
  z-index: 2;
}

.text-box-flotante h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--azul-institucional);
}

.text-box-flotante p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gris-carbon);
  margin-bottom: 30px;
}

.acuarela-seal {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  opacity: 0.3;
}

.acuarela-seal img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* ------------------------------ CUADRÍCULA DE EXPERIENCIAS - MEJORADA ---------------------------------*/
.experiencias-section {
  padding: 100px 0;
  background-color: var(--crema-suave);
}

.experiencias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TARJETA INDIVIDUAL - MEJORADA PARA RESPONSIVE */
.experiencia-card {
  height: 270px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.experiencia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* CONTENEDOR DE IMAGEN */
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 60%;
  overflow: hidden;
  flex-shrink: 0;
}

/* IMAGEN NORMAL - AJUSTADA PARA MEJOR VISIBILIDAD */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: all 0.5s ease;
}

/* AL HACER HOVER: Imagen se ve mejor */
.experiencia-card:hover .card-image {
  filter: brightness(1);
  transform: scale(1.05);
}

/* CAPA OSCURA MEJORADA - MENOS OPACA */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  transition: all 0.5s ease;
}

.experiencia-card:hover .image-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.2));
}

/* CONTENIDO DE TEXTO - MEJORADO PARA VISIBILIDAD */
.card-content {
  height: 40%;
  padding: 15px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  flex-grow: 1;
}

/* TÍTULO - SIEMPRE VISIBLE Y MEJOR CONTRASTE */
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--azul-institucional);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  line-height: 1.2;
}

/* DESCRIPCIÓN PERMANENTE - VISIBLE EN TODOS LOS DISPOSITIVOS */
.card-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--gris-carbon);
  line-height: 1.6;
  margin-bottom: 5px;
  opacity: 0.9;
  flex-grow: 1;
  display: block; /* Siempre visible */
}

/* TEXTO HOVER ADICIONAL (para desktop) */
.card-hover-text {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  padding: 0 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: none; /* Oculto en móviles/tablets */
}

.card-hover-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--dorado-mate);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* EN DISPOSITIVOS MÓVILES Y TABLETS - MEJOR VISIBILIDAD */
@media (max-width: 1024px) {
  .experiencia-card {
    height: auto;
    min-height: 500px;
  }
  
  .card-image-wrapper {
    height: 50%;
  }
  
  .card-content {
    height: 50%;
  }
  
  .card-title {
    font-size: 2rem;
  }

  .card-description {
    font-size: 1.1rem;
    opacity: 1; /* Texto completamente visible */
  }
  
  .image-overlay {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
  }
  
  /* Mostrar texto hover siempre en móviles/tablets */
  .card-hover-text {
    position: relative;
    opacity: 1;
    transform: none;
    display: block;
    margin-top: 15px;
    padding: 15px 0 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
  }
  
  .card-hover-text p {
    font-weight: 500;
    text-align: center;
    font-size: 1.5rem;
  }
}

/* AL HACER HOVER EN DESKTOP: Aparece el texto adicional */
@media (min-width: 1025px) {
  .experiencia-card:hover .card-hover-text {
    opacity: 1;
    transform: translateY(0);
    display: block;
  }

  .experiencia-card:hover .card-title {
    transform: translateY(-10px);
    margin-bottom: 25px;
  }
}

/* ETIQUETA VISUAL PARA MÓVILES */
.card-mobile-label {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--dorado-mate);
  color: var(--azul-institucional);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .card-mobile-label {
    display: block;
  }
}

.ubicacion-section {
  background: #f8f6f2;
  padding: 80px 20px;
}

.ubicacion-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.ubicacion-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-top: 15px;
}

.direccion {
  margin-top: 10px;
  color: #555;
  font-size: 1rem;
}

.map-wrapper {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ------------------------------ FOOTER COMPLETO ---------------------------------*/
.main-footer {
  background-color: var(--azul-institucional);
  color: white;
  padding: 80px 0 30px;
}

.footer-top {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--dorado-mate);
}

.footer-logo img {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) sepia(1) saturate(1.5) hue-rotate(-5deg);
  opacity: 0.9;
}

.footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--dorado-mate);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--dorado-mate);
  margin-top: 3px;
}

/* Redes sociales del footer */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.footer-social a {
  color: var(--dorado-mate);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border: none !important;
}

.footer-social i {
  font-size: 24px;
  -webkit-text-stroke: 1px var(--dorado-mate);
  color: transparent;
  text-shadow: 
      0.5px 0.5px 0 var(--dorado-mate),
      -0.5px -0.5px 0 var(--dorado-mate),
      0.5px -0.5px 0 var(--dorado-mate),
      -0.5px 0.5px 0 var(--dorado-mate);
  transition: all 0.3s ease;
}

/* Hover: dorado más claro */
.footer-social a:hover i {
  -webkit-text-stroke: 1px #e6c27e;
  text-shadow: 
      0.5px 0.5px 0 #e6c27e,
      -0.5px -0.5px 0 #e6c27e,
      0.5px -0.5px 0 #e6c27e,
      -0.5px 0.5px 0 #e6c27e;
  transform: translateY(-3px);
}

/* Instagram - Foco visual (más grande) */
.footer-social a:first-child i {
  font-size: 26px;
  -webkit-text-stroke: 1.2px var(--dorado-mate);
}

/* LinkedIn - Foco profesional */
.footer-social a:last-child i {
  font-size: 22px;
}

.footer-bottom {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--dorado-mate);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ------------------------------ ANIMACIONES AL SCROLL ---------------------------------*/
.scroll-animation {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animation.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Para la sección "La Herencia" */
.herencia-container.scroll-animation {
  transform: translateY(50px) scale(0.98);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.herencia-container.scroll-animation.visible {
  transform: translateY(0) scale(1);
}

/* Para las tarjetas de experiencia */
.experiencia-card.scroll-animation {
  transform: translateY(50px) rotateX(10deg);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.experiencia-card.scroll-animation.visible {
  transform: translateY(0) rotateX(0);
  opacity: 1;
}

/* Para el footer */
.footer-column.scroll-animation {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.footer-column.scroll-animation.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Delays personalizados */
.scroll-animation[data-delay="0.1"] { transition-delay: 0.1s; }
.scroll-animation[data-delay="0.2"] { transition-delay: 0.2s; }
.scroll-animation[data-delay="0.3"] { transition-delay: 0.3s; }
.scroll-animation[data-delay="0.4"] { transition-delay: 0.4s; }
.scroll-animation[data-delay="0.5"] { transition-delay: 0.5s; }
.scroll-animation[data-delay="0.6"] { transition-delay: 0.6s; }

/* Efecto en el botón flotante */
.floating-membership-btn {
  animation: floatIn 0.8s ease-out 1s both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.body-no-scroll {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
}

/* ============================== RESPONSIVE BREAKPOINTS ============================== */

/* Tablet y móviles grandes (768px - 1024px) */
@media (max-width: 1024px) {
  .language-switcher {
    display: none;
  }
  /* Header y navegación */
  .nav-menu {
    gap: 20px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .aniversario-section {
    padding: 100px 20px;
  }

  .aniversario-title {
    font-size: 2.6rem;
  }

  .aniversario-subtitle {
    font-size: 0.85rem;
    margin-bottom: 40px;
  }

  .aniversario-video-cover {
    width: 75%;
    max-width: 460px;
  }

  .play-button {
    width: 75px;
    height: 75px;
    font-size: 22px;
  }

  .video-modal-content {
    width: 90%;
  }
  
  /* Sección La Herencia */
  .herencia-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .text-box-flotante {
    margin-left: 0;
    margin-top: -60px;
  }
  
  .herencia-image img {
    height: 500px;
  }
  
  /* Experiencias - 2 columnas en tablet */
  .experiencias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .experiencia-card {
    height: 420px;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

/* Móviles (480px - 767px) */
@media (max-width: 767px) {
  /* Header */
  .header-content {
    width: 95%;
  }
  
  .logo-center img {
    height: 50px;
    bottom: 50px;
  }

  .floating-membership-btn {
    position: fixed;
    bottom: 50px;
    right: 30px;
    background-color: var(--azul-institucional);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(27, 38, 59, 0.3);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  
  .floating-membership-btn:hover {
    background-color: var(--dorado-mate);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
  }

  .aniversario-section {
    padding: 80px 15px;
  }

  .aniversario-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .aniversario-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .aniversario-video-cover {
    width: 90%;
    max-width: none;
    border-radius: 12px;
  }

  .play-button {
    width: 65px;
    height: 65px;
    font-size: 20px;
  }

  .close-video {
    top: 20px;
    right: 20px;
  }
  
  /* Hero section */
  .hero-video-section {
    height: 80vh;
    min-height: 500px;
    margin-top: 70px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
  }
  
  .hero-cta-btn {
    padding: 14px 30px;
    font-size: 13px;
  }
  
  /* Sección La Herencia */
  .herencia-section {
    padding: 80px 0;
  }
  
  .text-box-flotante {
    padding: 30px;
  }
  
  .text-box-flotante h2 {
    font-size: 2.2rem;
  }
  
  .text-box-flotante p {
    font-size: 1rem;
  }
  
  .herencia-image img {
    height: 350px;
  }
  
  /* Experiencias - 1 columna en móvil */
  .experiencias-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .experiencia-card {
    height: auto;
    min-height: 450px;
  }
  
  .card-image-wrapper {
    height: 200px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.6rem;
  }
  
  .card-description {
    font-size: 1rem;
  }

  .ubicacion-header h2 {
    font-size: 1.8rem;
  }

  .map-wrapper iframe {
    height: 300px;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Botón flotante */
  .floating-membership-btn {
    bottom: 30px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* Móviles pequeños (menos de 480px) */
@media (max-width: 479px) {

  .floating-membership-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    max-width: 48px;
  }

  .floating-membership-btn i {
    font-size: 10px;
  }
  
  .floating-membership-btn span:not(:first-child) {
    display: none;
  }
  
  .floating-membership-btn i {
    font-size: 16px;
    margin: 0;
  }

  /* Hero section */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .aniversario-section {
    padding: 70px 12px;
  }

  .aniversario-title {
    font-size: 1.9rem;
  }

  .aniversario-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .play-button {
    width: 55px;
    height: 55px;
    font-size: 16px;
  }

  .video-modal-content {
    width: 95%;
  }
  
  /* Sección La Herencia */
  .text-box-flotante h2 {
    font-size: 1.8rem;
  }
  
  /* Experiencias */
  .experiencias-section {
    padding: 60px 0;
  }
  
  .experiencia-card {
    min-height: 400px;
  }
  
  .card-image-wrapper {
    height: 180px;
  }
  
  /* Footer */
  .footer-social {
    gap: 20px;
  }
  
  .footer-social i {
    font-size: 20px;
  }
}

/* Desktop grandes (más de 1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .experiencias-grid {
    max-width: 1400px;
  }

  .aniversario-section {
    padding: 120px 0;
  }

  .aniversario-title {
    font-size: 3rem;
  }

  .aniversario-video-cover {
    width: 65%;
    max-width: 480px;
  }

  .video-modal-content {
    width: 85%;
  }
}

/* Optimización para orientación landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-video-section {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }

  .aniversario-section {
    padding: 60px 20px;
  }

  .aniversario-title {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .aniversario-subtitle {
    margin-bottom: 20px;
  }

  .aniversario-video-cover {
    width: 50%;
    max-width: 380px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .video-modal video {
    max-height: 80vh;
    object-fit: contain;
  }
  
  .experiencia-card {
    height: 350px;
  }
  
  .card-image-wrapper {
    height: 50%;
  }
}


