/* ==========================================================================
   AVENTURAS QUE VALEN ORO - DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Brand Palette */
  --forest-dark: #153833;
  --forest: #1F4E46;
  --forest-light: #2D6B60;
  --forest-soft: #EBF3F1;

  --gold: #F5A623;
  --gold-dark: #D48810;
  --gold-light: #FDEBC8;
  --gold-glow: rgba(245, 166, 35, 0.35);

  --orange: #F9642D;
  --orange-dark: #D64612;
  --orange-soft: #FDEFEA;

  --sand-bg: #FCF9F2;
  --sand-card: #F7F3EA;
  --white: #FFFFFF;

  --text-dark: #172B28;
  --text-body: #415A55;
  --text-muted: #7C948F;

  --yt-red: #FF0000;
  --yt-red-dark: #D90000;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacings & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(23, 43, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 43, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 43, 40, 0.12);
  --shadow-glow: 0 10px 30px rgba(245, 166, 35, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--sand-bg);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  position: relative;
  white-space: nowrap;
}

.btn-large {
  padding: 16px 34px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(249, 100, 45, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(249, 100, 45, 0.45);
  background: linear-gradient(135deg, #f7b23c 0%, #fa713f 100%);
}

.btn-secondary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(31, 78, 70, 0.25);
}

.btn-secondary:hover {
  background: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(31, 78, 70, 0.35);
}

.btn-outline {
  border: 2px solid var(--forest);
  color: var(--forest);
  background: transparent;
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.btn-yt-header {
  background: var(--yt-red);
  color: var(--white);
  padding: 9px 20px;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
}

.btn-yt-header:hover {
  background: var(--yt-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35);
}

.btn-yt-action {
  background: var(--yt-red);
  color: var(--white);
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.btn-yt-action:hover {
  background: var(--yt-red-dark);
  transform: translateY(-2px);
}

.btn-yt-giant {
  background: linear-gradient(135deg, #FF0000 0%, #D80000 100%);
  color: var(--white);
  padding: 18px 36px;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.btn-yt-giant:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 0, 0, 0.5);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(252, 249, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 78, 70, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold);
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--forest);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: transparent;
  cursor: pointer;
  z-index: 102;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--forest);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 50px 0 170px;
  background: linear-gradient(180deg, #FCF9F2 0%, #F5EFE0 100%);
  overflow: hidden;
}

.hero-background-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-gold {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ffd27d 0%, rgba(245, 166, 35, 0.2) 70%);
  top: -80px;
  right: 5%;
}

.orb-green {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #b9e3d9 0%, rgba(45, 107, 96, 0.15) 70%);
  bottom: 50px;
  left: -50px;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.08); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.15);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(249, 100, 45, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249, 100, 45, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(249, 100, 45, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249, 100, 45, 0); }
}

.hero-badge .badge-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--forest);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--forest-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.highlight-gold {
  color: var(--gold-dark);
  position: relative;
}

.highlight-orange {
  color: var(--orange);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 78, 70, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--forest);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(31, 78, 70, 0.15);
}

/* Floating Hero Card */
.hero-media {
  position: relative;
}

.hero-card-floating {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(31, 78, 70, 0.16);
  border: 1px solid rgba(245, 166, 35, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-card-floating:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(31, 78, 70, 0.22);
}

.hero-card-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.badge-new {
  background: #FFF3E0;
  color: #E65100;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.badge-yt-channel {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--forest);
}

.preview-thumbnail-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #172B28;
}

.preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-card-floating:hover .preview-thumb {
  transform: scale(1.04);
}

.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.hero-play-btn svg {
  margin-left: 4px;
}

.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--yt-red);
  color: var(--white);
}

.hero-card-footer {
  padding: 16px 8px 8px;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.hero-card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 12px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}

.meta-tag {
  background: var(--forest-soft);
  color: var(--forest);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.meta-date {
  color: var(--text-muted);
}

.wave-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  color: var(--sand-bg);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 80px 0;
  position: relative;
}

.section-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--forest-dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* ==========================================================================
   GALERÍA DE VIDEOS (AUTOMÁTICA)
   ========================================================================== */
.gallery-section {
  background-color: var(--sand-bg);
}

.sync-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 78, 70, 0.08);
  margin-top: 10px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: #2ECC71;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: pulseGreen 2s infinite;
}

.live-dot.syncing {
  background-color: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.6);
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.status-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--orange);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--orange-soft);
  transition: all var(--transition-fast);
}

.btn-refresh:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-refresh.spinning svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Gallery Controls */
.gallery-controls {
  margin: 36px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 15px 45px 15px 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(31, 78, 70, 0.12);
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

.search-clear-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear-btn:hover {
  color: var(--text-dark);
  background: #eee;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text-body);
  border: 1px solid rgba(31, 78, 70, 0.12);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-count {
  font-size: 0.78rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(31, 78, 70, 0.08);
  color: var(--forest);
}

.filter-tab:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 4px 14px rgba(31, 78, 70, 0.25);
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 78, 70, 0.08);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.4);
}

.video-thumb-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #172B28;
  overflow: hidden;
}

.video-card.is-short .video-thumb-container {
  aspect-ratio: 9 / 16;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  background: rgba(23, 43, 40, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  z-index: 2;
}

.badge-song {
  background: rgba(249, 100, 45, 0.95);
  color: var(--white);
}

.badge-short {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.35);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(21, 56, 51, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-card:hover .video-play-overlay,
.video-play-overlay:focus-visible {
  opacity: 1;
}

.video-play-overlay:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
  pointer-events: none;
}

.play-circle svg {
  margin-left: 3px;
  pointer-events: none;
}

.video-card:hover .play-circle {
  transform: scale(1.08);
}

.video-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card:hover .video-title {
  color: var(--orange);
}

.video-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.video-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(31, 78, 70, 0.06);
}

.yt-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--forest);
  font-weight: 700;
}

/* Skeletons */
.video-card-skeleton {
  background: var(--white);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 15;
  animation: pulseSkeleton 1.5s ease-in-out infinite;
  border: 1px solid rgba(31, 78, 70, 0.08);
}

@keyframes pulseSkeleton {
  0% { background-color: #f0ebe0; }
  50% { background-color: #e4ddd0; }
  100% { background-color: #f0ebe0; }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--forest-dark);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Gallery Footer CTA Banner */
.gallery-footer-cta {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.yt-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.yt-banner-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yt-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
}

.yt-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.yt-banner-text p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ==========================================================================
   YOUTUBE SHORTS SECTION
   ========================================================================== */
.shorts-section {
  padding-top: 10px;
  background-color: var(--sand-bg);
}

.shorts-subtitle-tag {
  background: rgba(255, 0, 0, 0.08);
  color: #CC0000;
}

.shorts-subtitle-tag .icon-shorts {
  color: #FF0000;
  vertical-align: -2px;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.shorts-grid .video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.shorts-grid .video-thumb-container {
  aspect-ratio: 9 / 16 !important;
  background-color: #0c1a17;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.shorts-grid .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
}

.shorts-grid .video-card:hover .video-thumbnail {
  transform: scale(1.08);
}

.shorts-grid .video-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shorts-grid .video-title {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-grid .video-desc {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  opacity: 0.88;
}

.shorts-grid .video-footer-meta {
  padding-top: 8px;
  font-size: 0.8rem;
  margin-top: auto;
}

.shorts-footer-cta .shorts-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.12);
  color: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsividad equilibrada para 4 o 5 columnas según el ancho de pantalla */
@media (max-width: 1200px) {
  .shorts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (max-width: 920px) {
  .shorts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shorts-grid .video-card-body {
    padding: 10px 10px 12px;
  }

  .shorts-grid .video-title {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .shorts-grid .video-desc {
    display: none; /* En pantallas pequeñas se oculta la descripción para mantener el formato vertical estilizado */
  }

  .shorts-grid .video-footer-meta {
    padding-top: 6px;
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   PERSONAJES
   ========================================================================== */
.characters-section {
  background-color: #F7F3EA;
}

/* Buho Spotlight - Rol Adulto y Consejero */
.buho-spotlight-wrapper {
  max-width: 920px;
  margin: 0 auto 46px;
}

.buho-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 16px 40px rgba(29, 53, 87, 0.08);
  border: 2px solid rgba(29, 53, 87, 0.16);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  transition: all var(--transition-normal);
}

.buho-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(29, 53, 87, 0.15);
  border-color: #1D3557;
}

.buho-img-wrap {
  position: relative;
  text-align: center;
  background: radial-gradient(circle, rgba(230, 240, 250, 0.95) 0%, transparent 75%);
  border-radius: var(--radius-lg);
  padding: 16px 10px 24px;
}

.buho-img {
  width: 175px;
  height: 175px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform var(--transition-smooth);
}

.buho-card:hover .buho-img {
  transform: scale(1.08) rotate(-2deg);
}

.buho-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #1D3557;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.25);
  white-space: nowrap;
}

.buho-content {
  display: flex;
  flex-direction: column;
}

.buho-tagline {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.buho-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #1D3557;
  line-height: 1.15;
  margin-bottom: 12px;
}

.buho-role {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.buho-quote {
  font-style: italic;
  font-size: 0.96rem;
  color: #1D3557;
  background: #F4F7FB;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid #1D3557;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.character-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.character-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--char-accent);
}

.char-image-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 16px;
  background: radial-gradient(circle, rgba(245, 241, 230, 0.8) 0%, transparent 70%);
  border-radius: var(--radius-md);
  padding: 16px;
}

.char-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform var(--transition-smooth);
}

.character-card:hover .char-img {
  transform: scale(1.1) rotate(2deg);
}

.char-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--char-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.char-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.char-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--forest-dark);
  margin-bottom: 8px;
  text-align: center;
}

.char-lesson {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
}

.char-quote {
  font-style: italic;
  font-size: 0.86rem;
  color: var(--forest);
  background: var(--sand-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--char-accent);
  margin-top: auto;
}

/* ==========================================================================
   COLECCIÓN EL BOSQUE DE LOS SABIOS
   ========================================================================== */
.collection-section {
  background-color: var(--sand-bg);
  padding: 100px 0;
}

.collection-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.collection-mockup-wrapper {
  position: relative;
}

.mockup-img {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(31, 78, 70, 0.18);
  border: 4px solid var(--white);
  transition: transform var(--transition-smooth);
}

.collection-mockup-wrapper:hover .mockup-img {
  transform: scale(1.02);
}

.collection-pill-floating {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--forest-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.4);
  white-space: nowrap;
}

.collection-lead {
  font-size: 1.2rem;
  color: var(--forest-dark);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 28px;
}

.collection-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.45;
}

.collection-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PROPUESTA PEDAGÓGICA (DOCENTES Y FAMILIAS)
   ========================================================================== */
.pedagogy-section {
  background-color: #F7F3EA;
}

.pedagogy-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31, 78, 70, 0.08);
}

.pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.pedagogy-box {
  background: var(--sand-bg);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 78, 70, 0.06);
  transition: transform var(--transition-fast);
}

.pedagogy-box:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.box-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.pedagogy-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin-bottom: 10px;
}

.pedagogy-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
}

.pedagogy-cta {
  padding-top: 30px;
  border-top: 1px solid rgba(31, 78, 70, 0.1);
}

.lead-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest);
  max-width: 780px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(180deg, #F7F3EA 0%, #EBF3F1 100%);
  padding: 90px 0;
}

.final-cta-box {
  background: linear-gradient(135deg, #173D38 0%, #245B50 100%);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(23, 61, 56, 0.3);
  position: relative;
  overflow: hidden;
}

.final-cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.final-logo-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta-desc {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 34px;
  opacity: 0.9;
  line-height: 1.6;
}

.final-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.subtext-yt {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--forest-dark);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-yt-badge a {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold);
}

.footer-yt-badge a:hover {
  text-decoration: underline;
}

.footer-links-col h4, .footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a, .footer-links-col span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--gold);
}

/* Redes Sociales en el pie */
.footer-social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-link svg {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--white) !important;
  transform: translateX(4px);
}

.footer-social-link:hover svg {
  transform: scale(1.2);
}

/* Miniformulario de contacto */
.footer-contact-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin-bottom: 14px;
}

.footer-contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-form-group {
  margin: 0;
}

.footer-input, .footer-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.footer-input:focus, .footer-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.footer-input::placeholder, .footer-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-textarea {
  resize: vertical;
  min-height: 52px;
}

.btn-footer-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: var(--gold);
  color: var(--forest-dark);
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: 4px;
}

.btn-footer-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}

.footer-form-status {
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  line-height: 1.35;
  transition: all 0.3s ease;
}

.footer-form-status.success {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ECC71;
}

.footer-form-status.error {
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #FF7675;
}

.footer-form-status.warning {
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.5);
  color: #F5A623;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   MODAL REPRODUCTOR DE VIDEO
   ========================================================================== */
.video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 33, 29, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

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

.video-modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-normal);
}

.video-modal-backdrop.active .video-modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--yt-red);
  transform: scale(1.1);
}

.modal-player-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.modal-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-file-notice {
  background: #FFF9E6;
  border-left: 4px solid var(--gold-dark);
  padding: 12px 20px;
  margin: 14px 24px 0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #6D4C41;
  line-height: 1.5;
}

.modal-file-notice code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
}

.modal-info {
  padding: 20px 28px 28px;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-badge {
  background: var(--orange-soft);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.modal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 22px;
  max-height: 90px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Modal adaptativo para YouTube Shorts en 9:16 vertical */
.video-modal-backdrop.modal-is-short .video-modal-dialog {
  max-width: 420px;
}

.video-modal-backdrop.modal-is-short .modal-player-wrapper {
  aspect-ratio: 9 / 16;
  max-height: 68vh;
  margin: 0 auto;
}

.video-modal-backdrop.modal-is-short .modal-header-meta {
  display: none !important; /* Ocultar badges y fecha en modal de Shorts */
}

.video-modal-backdrop.modal-is-short .modal-file-notice {
  display: none !important; /* Ocultar aviso en modal de Shorts para mantenerlo minimalista */
}

.video-modal-backdrop.modal-is-short .modal-info {
  padding: 16px 20px 22px;
  text-align: center;
}

.video-modal-backdrop.modal-is-short .modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
  text-align: center;
}

.video-modal-backdrop.modal-is-short .modal-description {
  display: none !important; /* Sin descripción en el modal de Shorts */
}

.video-modal-backdrop.modal-is-short .modal-actions {
  justify-content: center;
  gap: 0;
}

.video-modal-backdrop.modal-is-short #modal-open-yt-link {
  display: none !important; /* Ocultar enlace secundario y dejar únicamente el botón de suscripción */
}

.video-modal-backdrop.modal-is-short #modal-subscribe-btn {
  width: 100%;
  max-width: 290px;
  justify-content: center;
  background: var(--yt-red);
  color: var(--white);
  border-color: var(--yt-red);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.video-modal-backdrop.modal-is-short #modal-subscribe-btn:hover {
  background: var(--yt-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--forest-dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MÓVILES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .collection-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(31, 78, 70, 0.1);
    padding: 24px 20px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
  }

  .btn-yt-header span {
    display: none;
  }

  .btn-yt-header {
    padding: 8px 12px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .yt-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .yt-banner-text {
    flex-direction: column;
  }

  .pedagogy-card {
    padding: 36px 20px;
  }

  .final-cta-box {
    padding: 40px 20px;
  }

  .final-cta-title {
    font-size: 2rem;
  }

  .final-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .btn-yt-giant {
    width: 100%;
    max-width: 460px;
    padding: 16px 20px;
    font-size: 1.05rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    border-radius: var(--radius-pill);
    box-sizing: border-box;
  }

  .btn-yt-giant svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .buho-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 26px 18px;
    gap: 22px;
  }

  .buho-name {
    font-size: 1.65rem;
  }

  .buho-quote {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .final-cta-box {
    padding: 34px 16px;
    border-radius: var(--radius-lg);
  }

  .final-cta-title {
    font-size: 1.65rem;
  }

  .final-cta-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .btn-yt-giant {
    padding: 13px 16px;
    font-size: 0.95rem;
    gap: 8px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
  }

  .btn-yt-giant svg {
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   SECCIÓN BOLETÍN DE NOVEDADES
   ========================================================================== */
.boletin-section {
  position: relative;
  padding: 85px 0 65px;
  overflow: hidden;
}

.boletin-decor-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.boletin-orb-gold {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22) 0%, rgba(245, 166, 35, 0) 70%);
  filter: blur(50px);
}

.boletin-orb-emerald {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(45, 107, 96, 0.24) 0%, rgba(45, 107, 96, 0) 70%);
  filter: blur(50px);
}

.boletin-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(150deg, #ffffff 0%, #FAF5EC 100%);
  border: 1.5px solid rgba(245, 166, 35, 0.45);
  border-radius: var(--radius-xl);
  padding: 56px 44px;
  box-shadow: 0 16px 44px rgba(21, 56, 51, 0.08), 0 0 35px rgba(245, 166, 35, 0.15);
  text-align: center;
}

.boletin-header {
  margin-bottom: 32px;
}

.boletin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--forest-dark);
  border: 1px solid rgba(245, 166, 35, 0.5);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.boletin-badge svg {
  color: var(--gold-dark);
}

.boletin-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--forest-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.boletin-description {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.6;
}

.boletin-description strong {
  color: var(--forest-dark);
}

.boletin-form {
  max-width: 900px;
  margin: 0 auto;
}

.boletin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 18px;
  margin-bottom: 24px;
}

.boletin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.boletin-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: 0.3px;
}

.boletin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.boletin-input-icon {
  position: absolute;
  left: 14px;
  color: var(--forest-light);
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 2;
}

.boletin-input,
.boletin-select {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid #D6E4E0;
  background-color: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.boletin-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D6B60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px;
}

.boletin-input:focus,
.boletin-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.boletin-submit-row {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.btn-boletin-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #F5A623 0%, #F9642D 100%);
  color: #ffffff !important;
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(249, 100, 45, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-boletin-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(249, 100, 45, 0.45);
  filter: brightness(1.04);
}

.btn-boletin-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-boletin-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-boletin-icon {
  display: flex;
  align-items: center;
  animation: bellShake 3s ease-in-out infinite;
}

@keyframes bellShake {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(14deg); }
  90% { transform: rotate(-14deg); }
  95% { transform: rotate(8deg); }
}

.boletin-status {
  padding: 16px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.98rem;
  animation: boletinFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

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

.boletin-status.success {
  background: #E8F7F3;
  color: #0E6251;
  border: 1.5px solid #64D1BE;
}

.boletin-status.error {
  background: #FDF2E9;
  color: #9C2718;
  border: 1.5px solid #F9855C;
}

.boletin-guarantees {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px dashed rgba(21, 56, 51, 0.14);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.guarantee-item strong {
  color: var(--forest-dark);
}

.guarantee-icon {
  font-size: 1.15rem;
}

@media (max-width: 860px) {
  .boletin-card {
    padding: 40px 24px;
  }

  .boletin-title {
    font-size: 1.85rem;
  }

  .boletin-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn-boletin-submit {
    width: 100%;
    padding: 15px 24px;
    font-size: 1.02rem;
  }

  .boletin-guarantees {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

