﻿/**
 * Variables CSS del tema Puerto Sostenible
 * 
 * @package Puerto_Sostenible
 */

:root {
  /* Fuentes */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Open Sans', system-ui, sans-serif;
  
  /* Pesos de fuente */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Colores principales */
  --color-primary: #1D70B7;
  --color-primary-rgb: rgb(29, 112, 183);
  --color-primary-rgb--70: rgba(29, 112, 183, 0.7);
  --color-primary-rgb--80: rgba(29, 112, 183, 0.8);
  --color-accent: #E30613;
  --color-secondary: #061828;
  --color-dark: #061828;
  --accent-glow: rgba(227, 6, 19, 0.5);
  
  /* Colores de fondo */
  --bg-light: #F8FAFB;
  --bg-card: #E5EFF7;
  --bg-sponsors: #E5EFF7;
  
  /* Colores adicionales */
  --color-text: #061828;
  --color-text-light: #666;
  
  /* TamaÃ±os */
  --menu-font-size: 18px;
}
/**
 * Reset y estilos base
 * 
 * @package Puerto_Sostenible
 */

/* Reset bÃ¡sico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
}

main {
  position: relative;
}

/* TÃ­tulos con Inter */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/**
 * Sistema de animaciones
 * 
 * @package Puerto_Sostenible
 */

/* Animaciones base */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para animaciones escalonadas */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }
.delay-10 { transition-delay: 1s; }

/* Animaciones inmediatas (para Hero y Header) */
.animate-immediate {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-immediate.delay-1 { animation-delay: 0.1s; }
.animate-immediate.delay-2 { animation-delay: 0.2s; }
.animate-immediate.delay-3 { animation-delay: 0.3s; }
.animate-immediate.delay-4 { animation-delay: 0.4s; }

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/**
 * Estilos del componente Button
 * 
 * @package Puerto_Sostenible
 */

.btn {
  padding: 0.75rem 2.5rem;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Iconos sin animaciÃ³n de rotaciÃ³n */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 250px;
  height: 250px;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: 1px solid white;
}

.btn-primary:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-primary:hover svg path {
  fill: var(--color-primary);
}

.btn-secondary {
  background: none;
  color: white;
  border: 1px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary:hover svg path {
  fill: var(--color-primary);
}

.btn-outline {
  background: none;
  color: white;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
/**
 * Estilos del componente Header
 * 
 * @package Puerto_Sostenible
 */
 
header {
  background-color: var(--color-primary-rgb--70);
  color: white;
  padding: 1.5em 5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 100%;
  top: var(--tx-wp-admin-bar-height) !important;
  z-index: 999;
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.logo {
  display: block;
}

.logo img {
  display: block;
}

.event-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 100;
  color: white;
  margin-top: -0.25rem;
}

.event-date,
.event-location {
  white-space: nowrap;
}

.separator {
  color: #E74C3C;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  user-select: none;
}

.menu {
  display: flex;
  gap: 2.5rem;
  font-size: var(--menu-font-size);
}

.menu * {
  color: white;
  text-decoration: none;
}

.menu a {
  padding-bottom: 1rem;
  padding-top: 1rem;
  position: relative;
  transition: all 0.2s;
  display: inline-block;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease-out, left 0.3s ease-out;
}

.menu a:hover {
  transform: translateY(-2px);
}

.menu a:hover::after {
  width: 100%;
  left: 0;
}

.menu .btn {
  padding: 0.75rem 2.5rem;
}

.menu .btn::after {
  display: none;
}

.menu .btn:hover {
  transform: translateY(-2px);
}

.sel-idioma {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sel-idioma a {
  transition: all 0.2s ease-out;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #E5EFF7;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.close-menu svg path {
  stroke: var(--color-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--color-accent);
  transform: translateX(10px);
}

.mobile-lang {
  display: flex;
  gap: 0.75rem;
  font-size: 14px;
  margin-top: -0.5rem;
}

.mobile-lang a {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  font-weight: 400;
  opacity: 0.8;
  font-size: 14px;
}

.mobile-lang a:hover {
  opacity: 1;
  background: var(--color-primary);
  color: white;
  transform: none;
}

@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1.5rem;
    position: fixed;
  }

  .logo-container {
    gap: 0.35rem;
  }

  .logo img {
    max-width: 170px;
    height: auto;
  }

  .event-info {
    font-size: 14px;
    gap: 0.5rem;
    margin-top: 0;
  }

  .separator {
    font-size: 14px;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu-overlay {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }
}
/**
 * Landing Page Styles
 */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section - Usar los estilos del hero existente */
.landing-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.landing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Recorte ondulado en la parte inferior del hero */
.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: white;
    z-index: 5;
    clip-path: polygon(
        0% 30%,
        5% 25%, 10% 20%, 15% 18%, 20% 20%, 25% 25%, 30% 30%,
        35% 32%, 40% 30%, 45% 25%, 50% 20%, 55% 18%, 60% 20%,
        65% 25%, 70% 30%, 75% 32%, 80% 30%, 85% 25%, 90% 20%,
        95% 18%, 100% 20%,
        100% 100%, 0% 100%
    );
}

.landing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.landing-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.landing-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.landing-hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.landing-hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
}

/* Destacados en Landing - Fondo blanco */
.page-template-front-page .destacados-section {
    background: white;
}

.page-template-front-page .destacados-section h2 {
    text-align: center;
    color: var(--color-dark);
}

.page-template-front-page .destacados-card h3 {
    color: var(--color-dark);
}

.page-template-front-page .destacados-card p {
    color: var(--color-dark);
}

/* Tracks Section */
.landing-tracks {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4rem;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.track-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.track-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.track-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.track-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Stats Section */
.landing-stats {
    padding: 6rem 0;
    background: var(--bg-card);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.stats-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.stats-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-image {
    position: relative;
    aspect-ratio: 521 / 579;
}

.stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stats-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 248px;
    height: 63px;
}

/* Venue Section */
.landing-venue {
    padding: 6rem 0;
    background: var(--bg-light);
}

.venue-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.venue-image {
    border-radius: 24px;
    overflow: hidden;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card {
    background: var(--color-dark);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.venue-card h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.venue-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
}

.venue-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-dark);
}

/* Sponsors Section */
.landing-sponsors {
    padding: 4rem 0;
    background: var(--bg-sponsors);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.sponsor-logo {
    width: 100%;
    max-width: 180px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sponsor-logo:hover {
    opacity: 1;
}

.sponsor-logo img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sponsor-logo:hover img {
    filter: grayscale(0%);
}

/* Newsletter Section */
.landing-newsletter {
    padding: 4rem 0;
    background: var(--color-primary);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .landing-hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-text h2 {
        font-size: 2rem;
    }
    
    .venue-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .venue-card h2 {
        font-size: 1.5rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
/**
 * Estilos del componente Hero
 * 
 * @package Puerto_Sostenible
 */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 1;
  --parallax-offset: 0px;
  animation: slowPanUp 60s linear infinite;
  will-change: transform;
}

@keyframes slowPanUp {
  0% {
    transform: translateY(calc(0% + var(--parallax-offset))) scale(1.15);
  }
  100% {
    transform: translateY(calc(-10% + var(--parallax-offset))) scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.hero-content h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-waves {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  z-index: 4;
  width: 300px;
  height: auto;
  opacity: 0.9;
}

#Ondas path {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
  opacity: 1;
}

#Trazado_1660,
#Trazado_1661,
#Trazado_1662 {
  clip-path: inset(0 100% 0 0);
  animation: revelar-onda 1.5s cubic-bezier(.65,.50,.50,1) forwards;
}

#Trazado_1660 {
  animation-delay: 0s;
}

#Trazado_1661 {
  animation-delay: .35s;
}

#Trazado_1662 {
  animation-delay: .7s;
}

@keyframes revelar-onda {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-waves {
    width: 200px;
    bottom: 1rem;
    right: 1rem;
  }
}
/**
 * Estilos del componente Agenda
 * 
 * @package Puerto_Sostenible
 */

.agenda {
  padding: 6rem 2rem;
  background: #F8FAFB;
}

.agenda-container {
  max-width: 900px;
  margin: 0 auto;
}

.agenda-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 3rem 0;
  letter-spacing: -0.02em;
}

.agenda-days-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.day-nav {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: none;
}

.day-nav:hover {
  background: rgba(29, 112, 183, 0.1);
}

.day-nav svg {
  display: block;
}

.agenda-days {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.day-tab {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  background: none;
  border: none;
  color: #9ABFDF;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.day-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.day-tab.active {
  color: var(--color-primary);
}

.day-tab.active::after {
  transform: scaleX(1);
}

.day-tab:hover {
  color: var(--color-primary);
}

.agenda-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.agenda-location svg {
  width: 14px;
  height: 14px;
}

.agenda-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.agenda-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(29, 112, 183, 0.08);
}

.agenda-item:hover {
  box-shadow: 0 4px 16px rgba(29, 112, 183, 0.15);
  transform: translateY(-2px);
}

.agenda-item.coffee-break {
  background: #E5EFF7;
}

.item-time {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.item-content {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.coffee-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.agenda-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  background: none;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  color: var(--color-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.agenda-more:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 112, 183, 0.3);
}

.agenda-more .more-icon {
  width: 18px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.agenda-more .loading-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.agenda-more:hover .more-icon {
  transform: translateY(3px);
}

.agenda-more.loading .more-icon {
  display: none;
}

.agenda-more.loading .loading-icon {
  display: block !important;
  animation: spin 1s linear infinite;
}

.agenda-more.hidden {
  display: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agenda-item.fade-in {
  animation: fadeInUp 0.5s ease-out forwards;
}

@media (max-width: 768px) {
  .agenda {
    padding: 4rem 1.5rem;
  }

  .agenda-title {
    font-size: 36px;
    margin-bottom: 2rem;
  }

  .agenda-days-wrapper {
    margin-bottom: 2rem;
  }

  .day-nav {
    display: block;
  }

  .agenda-days {
    overflow: hidden;
    flex: 1;
  }

  .day-tab {
    font-size: 16px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .day-tab:not(.active) {
    display: none;
  }

  .agenda-location {
    font-size: 14px;
    padding: 0.6rem 1.2rem;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .item-time {
    font-size: 14px;
    font-weight: 700;
  }

  .item-content {
    font-size: 14px;
  }

  .coffee-icon {
    width: 20px;
    height: 20px;
  }
}
/**
 * Estilos del componente Destacados
 * 
 * @package Puerto_Sostenible
 */

.destacados {
  background: #1D70B7;
  padding: 5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Destacados en front-page con fondo blanco */
.page-template-front-page .destacados,
.home .destacados {
  background: white;
}

.waves-decoration {
  position: absolute;
  top: 6rem;
  right: 6rem;
  z-index: 10;
  pointer-events: none;
}

.destacados-container {
  max-width: 1600px;
  margin: 0 auto;
}

.destacados-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 62px;
  font-weight: 700;
  color: white;
  margin: 0 0 4rem 0;
  line-height: 1.2;
}

/* TÃ­tulo centrado y azul oscuro en front-page */
.page-template-front-page .destacados-title,
.home .destacados-title {
  text-align: center;
  color: var(--color-dark);
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  justify-content: center;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 0 1 calc(20% - 2rem);
  min-width: 280px;
  max-width: 320px;
  perspective: 1000px;
  animation: float 4s ease-in-out infinite;
}

.card-wrapper:nth-child(2) {
  animation-delay: 0.5s;
}

.card-wrapper:nth-child(3) {
  animation-delay: 1s;
}

.card-wrapper:nth-child(4) {
  animation-delay: 1.5s;
}

.card-wrapper:nth-child(5) {
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-8px);
  }
}

.card {
  background: #E5EFF7;
  border-radius: 51px;
  width: 100%;
  min-height: 222px;
  position: relative;
  transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
  display: flex;
  align-items: start;
  flex-direction: column;
  padding: 2em;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: visible;
  transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
}

.card.card-in-view {
  transform: translateY(0) rotateX(0deg) rotateY(0deg); 
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(29, 112, 183, 0.1), rgba(15, 56, 92, 0.1));
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: 51px;
  z-index: 1;
  pointer-events: none;
}

.card-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
  transform: translate3d(0, 0, 50px);
}

.card.card-in-view .card-icon {
  transform: translate3d(0, 0, 0px);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-inline: 0.2rem;
}

.card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #09253D;
  margin: 0;
  line-height: 1.2;
  text-align: left;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.card-subtitle {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #E5EFF7;
  margin: 0;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* Textos en azul oscuro en front-page */
.page-template-front-page .card-subtitle,
.home .card-subtitle {
  color: var(--color-dark);
}

.card-description {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #E5EFF7;
  line-height: 1.4;
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-template-front-page .card-description,
.home .card-description {
  color: var(--color-dark);
}

@media (max-width: 1400px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .destacados {
    padding: 3rem 1.5rem;
  }

  .destacados-title {
    font-size: 36px;
    margin-bottom: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .waves-decoration {
    top: 2rem;
    right: 2rem;
    width: 150px;
  }
}
/**
 * Estilos del componente Ponentes
 * 
 * @package Puerto_Sostenible
 */

.ponentes {
  background: #F8FAFB;
  padding: 5rem 5rem;
  position: relative;
}

.ponentes-container {
  max-width: 1400px;
  margin: 0 auto;
}

.ponentes-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 62px;
  font-weight: 700;
  color: #1D70B7;
  margin: 0 0 4rem 0;
  line-height: 1.2;
  text-align: center;
}

.ponentes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.ponente-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(29, 112, 183, 0.08);
  position: relative;
}

.ponente-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(29, 112, 183, 0.15);
}

.ponente-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #E5EFF7;
}

.ponente-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ponente-card:hover .ponente-image {
  transform: scale(1.05);
}

.ponente-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(9, 37, 61, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ponente-card:hover .ponente-overlay {
  opacity: 1;
}

.ponente-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ponente-nombre {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #09253D;
  margin: 0;
  line-height: 1.3;
}

.ponente-cargo {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1D70B7;
  margin: 0;
  line-height: 1.4;
}

.ponente-empresa {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.ponente-link-text {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1D70B7;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ponente-card:hover .ponente-link-text {
  opacity: 1;
  transform: translateY(0);
}

.ponentes-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  border: 2px solid #1D70B7;
  border-radius: 50px;
  color: #1D70B7;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ver-todos-btn:hover {
  background: #1D70B7;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(29, 112, 183, 0.2);
}

.ver-todos-btn svg {
  transition: transform 0.3s ease;
}

.ver-todos-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .ponentes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ponentes {
    padding: 3rem 2rem;
  }

  .ponentes-title {
    font-size: 42px;
    margin-bottom: 2.5rem;
  }

  .ponentes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .ponentes-title {
    font-size: 32px;
  }

  .ponentes-grid {
    grid-template-columns: 1fr;
  }
}
/**
 * Estilos del ponente individual
 * 
 * @package Puerto_Sostenible
 */

.ponente-detail {
  background: #F8FAFB;
  min-height: 100vh;
  padding: 2rem 0;
}

.ponente-header {
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1D70B7;
  text-decoration: none;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.back-link:hover {
  gap: 0.75rem;
}

.ponente-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.ponente-main {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(29, 112, 183, 0.08);
}

.ponente-image-container {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 24px rgba(29, 112, 183, 0.15);
}

.ponente-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ponente-bio {
  text-align: center;
}

.ponente-name {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #09253D;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.ponente-position {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1D70B7;
  margin: 0 0 0.5rem 0;
}

.ponente-company {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin: 0 0 2rem 0;
}

.ponente-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E5EFF7;
  color: #1D70B7;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #1D70B7;
  color: white;
  transform: translateY(-4px);
}

.ponente-biografia {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin-top: 2rem;
}

.ponente-biografia p {
  margin-bottom: 1rem;
}

.ponente-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ponente-stats,
.ponente-expertise,
.ponente-logros {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(29, 112, 183, 0.08);
}

.stats-title,
.expertise-title,
.logros-title {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #09253D;
  margin: 0 0 1.5rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-number {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1D70B7;
  line-height: 1;
}

.stat-label {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin-top: 0.5rem;
}

.expertise-list,
.logros-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-list li,
.logros-list li {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  color: #333;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E5EFF7;
  position: relative;
  padding-left: 1.5rem;
}

.expertise-list li:last-child,
.logros-list li:last-child {
  border-bottom: none;
}

.expertise-list li::before,
.logros-list li::before {
  content: 'â€¢';
  position: absolute;
  left: 0;
  color: #1D70B7;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .ponente-content {
    grid-template-columns: 1fr;
  }

  .ponente-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    display: grid;
  }
}

@media (max-width: 768px) {
  .ponente-main {
    padding: 2rem 1.5rem;
  }

  .ponente-image-container {
    width: 200px;
    height: 200px;
  }

  .ponente-name {
    font-size: 32px;
  }

  .ponente-position {
    font-size: 18px;
  }

  .ponente-sidebar {
    grid-template-columns: 1fr;
  }
}
