/* --- 1. VARIABLES & RESET GENERAL --- */
:root {
  --bg-dark: #0d0d0d;
  --bg-paper: #faf8f5;
  --text-light: #f5f5f7;
  --text-dark: #111111;
  --accent: #c6a366;
  --gold-gradient: linear-gradient(135deg, #c6a366 0%, #f3e5ab 50%, #c6a366 100%);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* --- 2. PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #070707;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

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

.logo-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  letter-spacing: 6px;
  font-weight: 400;
}

.logo-loader .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  animation: logoLetterIn 0.8s forwards cubic-bezier(0.215, 0.61, 0.355, 1);
}

.logo-loader .letter:nth-child(1) { animation-delay: 0.1s; }
.logo-loader .letter:nth-child(2) { animation-delay: 0.2s; }
.logo-loader .letter:nth-child(3) { animation-delay: 0.3s; }
.logo-loader .letter:nth-child(4) { animation-delay: 0.4s; }
.logo-loader .letter:nth-child(5) { animation-delay: 0.5s; }
.logo-loader .letter:nth-child(6) { animation-delay: 0.6s; }

.logo-loader .dot {
  color: var(--accent);
  opacity: 0;
  animation: logoLetterIn 0.8s forwards 0.7s;
}

@keyframes logoLetterIn { 
  to { opacity: 1; transform: translateY(0) scale(1); } 
}

.loader-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--accent);
  margin-top: 15px;
  opacity: 0;
  animation: fadeIn 1s forwards 0.9s;
}

.loader-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto 0;
  animation: lineExpand 1.2s forwards 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes lineExpand { to { width: 180px; } }
@keyframes fadeIn { to { opacity: 1; } }

/* --- 3. TRANSICIÓN FIRMA --- */
.signature-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.signature-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.signature-stage {
  position: relative;
  width: 600px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(198, 163, 102, 0.4));
}

.long-pen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform-origin: 20px 240px;
  transform: translate(-20px, -240px) rotate(-35deg);
  filter: drop-shadow(5px 15px 15px rgba(0, 0, 0, 0.7));
  transition: opacity 0.2s ease;
}

.long-pen.visible {
  opacity: 1;
}

/* --- 4. HEADER FLOTANTE & NAVEGACIÓN --- */
.navbar-mega {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.logo-mega {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 4px;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logo-mega span { 
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

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

.nav-link-mega {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link-mega:hover, 
.nav-link-mega.active {
  transform: translateY(-2px);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.nav-link-mega::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-link-mega:hover::after, 
.nav-link-mega.active::after {
  width: 100%;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- 5. HERO SHOWCASE --- */
.hero-mega-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
}

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

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.8s ease-out;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.7) 100%);
  z-index: 2;
}

.hero-mega-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  margin-top: 40px;
}

.hero-subtitle-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-mega-title {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-mega-title .small-title {
  font-size: 3.2rem;
  display: block;
  margin-top: 10px;
  line-height: 1.2;
}

.hero-mega-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.hero-mega-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-action-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.btn-hero-primary {
  background: var(--text-light);
  color: var(--text-dark);
  border: none;
  padding: 18px 40px;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-hero-primary:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-bottom-bar {
  position: absolute;
  bottom: 40px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 3;
}

.hero-thumbnails {
  display: flex;
  gap: 30px;
}

.thumb-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.4s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 8px;
}

.thumb-item.active, 
.thumb-item:hover {
  opacity: 1;
  border-bottom-color: var(--accent);
}

.thumb-idx {
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* --- 6. CATÁLOGO & TIENDA --- */
.books-store-section {
  padding: 100px 8%;
  background: var(--bg-paper);
  color: var(--text-dark);
}

.store-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.catalog-tag {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.store-header h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 10px 0;
  font-weight: 400;
}

.store-header p {
  color: #666;
  font-size: 0.95rem;
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.catalog-select {
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-family: var(--font-sans);
}

.btn-toggle-view {
  padding: 8px 16px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-toggle-view.active, .btn-toggle-view:hover {
  background: var(--accent);
  color: #fff;
}

.strip-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* VISTA DE GRID CUANDO SE CAMBIA DE MODO */
.strip-carousel-container.grid-view .strip-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  overflow-x: visible;
  width: 100%;
}

.strip-carousel-container.grid-view .strip-arrow {
  display: none;
}

.strip-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 30px;
  scrollbar-width: none;
}

.strip-track::-webkit-scrollbar {
  display: none;
}

.strip-book-card {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
}

.strip-cover-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.strip-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strip-book-card:hover .strip-cover-wrapper img {
  transform: scale(1.05);
}

.strip-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(13, 13, 13, 0.8);
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  text-transform: uppercase;
  z-index: 2;
}

.strip-badge.accent {
  background: var(--accent);
}

.strip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 0 15px;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.strip-book-card:hover .strip-overlay {
  opacity: 1;
}

.btn-strip-synopsis, 
.btn-strip-buy {
  width: 100%;
  padding: 10px;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
}

.btn-strip-synopsis {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-strip-synopsis:hover {
  background: #ffffff;
  color: var(--text-dark);
}

.btn-strip-buy {
  background: var(--accent);
  color: #ffffff;
}

.btn-strip-buy:hover {
  background: #ffffff;
  color: var(--text-dark);
}

.strip-book-info {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip-author {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.strip-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.strip-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
}

.strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.strip-arrow:hover {
  background: var(--text-dark);
  color: #fff;
}

.strip-arrow.left { left: -20px; }
.strip-arrow.right { right: -20px; }

/* --- 7. MODALES GENERALES & SINOPSIS --- */
.synopsis-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

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

.modal-content {
  position: relative;
  background: #ffffff;
  color: var(--text-dark);
  max-width: 650px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.synopsis-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.modal-body {
  display: flex;
  gap: 25px;
  padding: 30px;
}

.modal-cover {
  width: 180px;
  height: 260px;
  flex-shrink: 0;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-author {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 5px 0 15px;
  line-height: 1.2;
}

.modal-text {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eeeeee;
}

.modal-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* --- 8. CARRUSEL DE SPONSORS / PATROCINADORES CON IMÁGENES --- */
.sponsors-banner-block {
  margin-top: 80px;
  text-align: center;
}

.sponsors-tagline {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 25px;
}

.sponsors-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.sponsors-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scrollSponsors 25s linear infinite;
}

.sponsors-carousel:hover .sponsors-track {
  animation-play-state: paused;
}

/* --- ESTILOS OPTIMIZADOS PARA PATROCINADORES --- */
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;        /* Ancho fijo e igual para todas las cajas */
  height: 80px;        /* Alto fijo para alinear verticalmente */
  padding: 12px;
  flex-shrink: 0;      /* Evita que las cajas se aplasten en el carrusel */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Garantiza que la imagen no se deforme ni se estire */
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.sponsor-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

.sponsor-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

@keyframes scrollSponsors {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 9. SECCIÓN AUTORES SHOWCASE --- */
.authors-showcase-section {
  padding: 120px 8%;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.authors-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 70px;
}

.authors-header h2 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  margin: 10px 0 15px;
  font-weight: 400;
}

.authors-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

.authors-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.author-portrait-card {
  position: relative;
  height: 520px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.author-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.7);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.7s ease;
}

.author-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.1) 0%, rgba(13, 13, 13, 0.95) 85%);
  transition: background 0.5s ease;
}

.author-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.author-card-num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.author-card-genre {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.author-card-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.author-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 25px;
  font-weight: 300;
}

.author-card-action {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.author-card-action .arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.author-portrait-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.author-portrait-card:hover .author-card-bg {
  filter: grayscale(20%) brightness(0.85);
  transform: scale(1.06);
}

.author-portrait-card:hover .author-card-action {
  color: #ffffff;
}

.author-portrait-card:hover .author-card-action .arrow {
  transform: translateX(6px);
}

/* Modal Expediente de Autor */
.author-modal-wrapper {
  max-width: 850px;
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.author-modal-wrapper .modal-close {
  color: #ffffff;
}

.author-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 35px;
}

.author-modal-media {
  height: 100%;
  min-height: 400px;
  background: #000;
}

.author-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.author-modal-body {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
}

.modal-header-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.modal-author-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.author-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.author-bio-paragraphs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.author-works-section {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.works-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  font-weight: 600;
}

.works-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.work-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  font-size: 0.75rem;
  border-radius: 20px;
  color: var(--accent);
}

/* --- 10. SECCIÓN RADIO & EVENTOS CON VIDEO --- */
.radio-events-section {
  position: relative;
  padding: 120px 8%;
  background-color: #080808 !important;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  isolation: isolate;
}

.section-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
  filter: grayscale(30%) contrast(105%);
}

.section-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.65);
  z-index: -1;
  pointer-events: none;
}

.section-content-wrapper {
  position: relative;
  z-index: 1;
}

.radio-events-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 70px;
}

.radio-events-header h2 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  margin: 10px 0 15px;
  font-weight: 400;
}

.radio-events-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.radio-events-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.radio-card-block {
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.radio-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.live-indicator {
  color: #e54b4b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #e54b4b;
  border-radius: 50%;
  box-shadow: 0 0 10px #e54b4b;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.radio-freq {
  color: rgba(255, 255, 255, 0.4);
}

.radio-display {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-left: 3px solid var(--accent);
  margin-bottom: 25px;
  border-radius: 2px;
}

.program-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 5px 0;
}

.program-host {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
}

.equalizer-bars .bar {
  width: 3px;
  background: var(--accent);
  height: 10%;
  animation: equalize 1.2s infinite ease-in-out alternate;
}

.equalizer-bars.playing .bar:nth-child(1) { animation-duration: 0.8s; }
.equalizer-bars.playing .bar:nth-child(2) { animation-duration: 1.1s; }
.equalizer-bars.playing .bar:nth-child(3) { animation-duration: 0.6s; }
.equalizer-bars.playing .bar:nth-child(4) { animation-duration: 1.3s; }
.equalizer-bars.playing .bar:nth-child(5) { animation-duration: 0.9s; }

@keyframes equalize {
  0% { height: 15%; }
  100% { height: 100%; }
}

.radio-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 30px;
}

.radio-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-radio-play {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-radio-play:hover {
  background: #ffffff;
  color: #000;
}

.listeners-count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.events-list-block {
  display: flex;
  flex-direction: column;
}

.events-block-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.events-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.event-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 163, 102, 0.4);
  transform: translateX(6px);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(198, 163, 102, 0.15);
  border: 1px solid rgba(198, 163, 102, 0.3);
  border-radius: 2px;
  flex-shrink: 0;
}

.event-date-badge .day {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.event-date-badge .month {
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.event-type {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 4px 0;
  color: #ffffff;
}

.event-location {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* --- 11. SECCIÓN CONTACTO --- */
.contacto-section {
  padding: 120px 8%;
  background: var(--bg-paper);
  color: var(--text-dark);
}

.contacto-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section-tagline {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 10px 0 20px;
  font-weight: 400;
}

.contacto-intro {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-top: 5px;
}

.info-value a {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.contacto-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #444;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--accent);
}

.btn-submit {
  width: 100%;
  background: var(--text-dark);
  color: #ffffff;
  border: none;
  padding: 15px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: var(--accent);
}

/* --- 12. MODAL MANUSCRITO --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

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

.modal-container {
  position: relative;
  background: #ffffff;
  color: var(--text-dark);
  max-width: 650px;
  width: 100%;
  padding: 40px;
  border-radius: 4px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.modal-header p {
  color: #666;
  font-size: 0.88rem;
  margin-bottom: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.error-msg {
  color: #e54b4b;
  font-size: 0.75rem;
  display: none;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
  .hero-mega-title { font-size: 3.5rem; }
  .radio-events-grid, .contacto-container, .author-modal-grid { grid-template-columns: 1fr; }
  .author-modal-body { padding: 30px; }
  .mega-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #0d0d0d;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s ease;
  }
  .mega-nav-links.mobile-open { right: 0; }
  .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal-body { flex-direction: column; }
  .modal-cover { width: 100%; height: 200px; }
}

/* ==========================================================================
   TARJETAS DE EVENTOS CON FLYER GRANDE
   ========================================================================== */

.events-list-block {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 25px;
}

.event-card-featured {
    display: flex;
    flex-direction: row;
    background: rgba(18, 18, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent, #e63946); /* Línea de acento al borde */
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.event-card-featured:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Columna del Flyer (Tamaño Generoso) */
.event-flyer-wrapper {
    position: relative;
    width: 320px; /* Ancho fijo para mantener la proporción del flyer */
    min-width: 320px;
    background: #000;
    overflow: hidden;
}

.event-flyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.event-card-featured:hover .event-flyer-img {
    transform: scale(1.04);
}

/* Botón flotante para expandir el flyer */
.flyer-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.event-flyer-wrapper:hover .flyer-zoom-btn {
    opacity: 1;
}

.flyer-zoom-btn:hover {
    background: var(--accent, #e63946);
}

/* Columna de Detalles de Información */
.event-card-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.event-type {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent, #e63946);
    margin-top: 12px;
    text-transform: uppercase;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 8px 0 16px 0;
    line-height: 1.3;
}

.event-details-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.event-details-meta p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.event-details-meta svg {
    stroke: var(--accent, #e63946);
}

.btn-event-action {
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-event-action:hover {
    background: var(--accent, #e63946);
    border-color: var(--accent, #e63946);
}

/* Adaptación para Pantallas Pequeñas / Móviles */
@media (max-width: 768px) {
    .event-card-featured {
        flex-direction: column;
    }

    .event-flyer-wrapper {
        width: 100%;
        min-width: 100%;
        max-height: 400px;
    }

    .event-flyer-img {
        object-fit: contain; /* En celular se ajusta para mostrar todo el cartel sin recortar */
        background: #0d0d0d;
    }

    .flyer-zoom-btn {
        opacity: 1; /* Siempre visible en móviles */
    }

    .event-card-info {
        padding: 20px;
    }
}

/* --- SECCIÓN RADIO & EVENTOS HORIZONTAL --- */
.radio-events-section {
  position: relative;
  padding: 100px 8%;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.section-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.section-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.88);
  z-index: 2;
}

.section-content-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.radio-events-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.radio-events-header h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 10px 0;
  font-weight: 400;
}

/* --- CARRUSEL DE EVENTOS --- */
.events-carousel-block {
  width: 100%;
}

.events-block-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.events-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.events-carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px 25px;
  scrollbar-width: none;
  width: 100%;
}

.events-carousel-track::-webkit-scrollbar {
  display: none;
}

.event-card-featured {
  flex: 0 0 520px;
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.event-card-featured:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.event-flyer-wrapper {
  position: relative;
  width: 200px;
  flex-shrink: 0;
}

.event-flyer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flyer-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.event-date-badge {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-weight: 600;
  color: var(--accent);
}

.event-date-badge .day {
  font-size: 1.4rem;
}

.event-date-badge .month {
  font-size: 0.8rem;
}

.event-type {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 5px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 8px 0;
  line-height: 1.3;
}

.event-details-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.event-details-meta p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-event-action {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-align: center;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-event-action:hover {
  background: var(--accent);
  color: #fff;
}

.events-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(13, 13, 13, 0.8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.events-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.events-arrow.left { left: -20px; }
.events-arrow.right { right: -20px; }

/* --- SECCIÓN RADIO (INFERIOR/HORIZONTAL) --- */
.radio-card-block.horizontal-layout {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 30px;
}

.radio-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.live-indicator {
  color: #e74c3c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #e74c3c;
  border-radius: 50%;
  box-shadow: 0 0 8px #e74c3c;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.radio-freq {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.radio-content-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.facebook-stream-wrapper {
  flex: 0 0 50%;
  max-width: 560px;
  border-radius: 4px;
  overflow: hidden;
}

.facebook-stream-wrapper iframe {
  width: 100%;
  display: block;
}

.radio-details-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.radio-display {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.program-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 5px 0;
}

.program-host {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.radio-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.radio-player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-radio-play {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-radio-play:hover {
  background: #fff;
  color: var(--text-dark);
}

.listeners-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .radio-content-row {
    flex-direction: column;
  }
  .facebook-stream-wrapper {
    flex: 0 0 100%;
    width: 100%;
  }
  .event-card-featured {
    flex: 0 0 85vw;
  }
}

@media (max-width: 576px) {
  .event-card-featured {
    flex-direction: column;
    flex: 0 0 280px;
  }
  .event-flyer-wrapper {
    width: 100%;
    height: 200px;
  }
}

/* --- MODAL BIENVENIDA & SWITCH --- */
/* --- CONTROL DE VISIBILIDAD DE MODALES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Esta regla faltaba para mostrar el modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- ESTRUCTURA DEL MODAL CON IMAGEN --- */
.welcome-modal-container {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--accent);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
}

/* Columna Izquierda: Imagen */
.welcome-image-col {
    width: 40%;
    position: relative;
    background: var(--bg-dark);
    min-height: 100%;
}

.welcome-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-image-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.welcome-tag {
    font-size: 0.65rem;
    letter-spacing: 2px;
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 8px;
    font-weight: 600;
}

/* Columna Derecha: Formulario */
.welcome-content-col {
    width: 60%;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.welcome-header h2 {
    font-family: var(--font-serif);
    color: #111;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.welcome-lead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.welcome-text {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.4;
}

/* Estilos de Campos */
.welcome-form .form-group {
    margin-bottom: 12px;
}

.welcome-form label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #333;
}

.welcome-form input[type="text"],
.welcome-form input[type="email"],
.welcome-form input[type="tel"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    background: #fdfdfd;
    font-size: 0.85rem;
    border-radius: 2px;
}

.welcome-form input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Switch Interactivo */
.switch-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    padding: 10px 12px;
    border-radius: 4px;
    margin: 15px 0;
}

.switch-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #222;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(22px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* Botón y Respuestas */
.welcome-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-btn:hover {
    background: var(--accent);
    color: #ffffff;
}

.form-response-msg {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 10px;
    display: none;
}
.form-response-msg.success { color: #27ae60; }
.form-response-msg.error { color: #c0392b; }

/* Adaptación Móvil */
@media (max-width: 768px) {
    .welcome-modal-container {
        flex-direction: column;
        max-height: 95vh;
        overflow-y: auto;
    }
    .welcome-image-col {
        width: 100%;
        height: 160px;
        min-height: 160px;
    }
    .welcome-content-col {
        width: 100%;
        padding: 20px;
    }
}