/* ==============================
   HERO SECTION - ENTRADA ÉPICA
================================ */

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.15), transparent 50%),
    linear-gradient(180deg, #0a0000, #000, #1a0000);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
      transparent 0deg 20deg,
      rgba(212, 175, 55, 0.03) 20deg 40deg);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: '★';
  position: absolute;
  font-size: 20px;
  color: var(--gold);
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.3;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s ease forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #ffd700, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.3);
  line-height: 1.1;
  animation: shine 3s ease-in-out infinite;
}

.hero p {
  color: #e8e8e8;
  font-size: 1.4rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.hero .btn-gold {
  font-size: 1.1rem;
  padding: 18px 45px;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ==============================
   HIGHLIGHT SECTION
================================ */

.highlight {
  padding: 120px 40px;
  background:
    linear-gradient(180deg, #000, #0a0000, #000);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight::before,
.highlight::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  background: repeating-linear-gradient(180deg,
      var(--red) 0px,
      var(--red) 30px,
      #6b0000 30px,
      #6b0000 60px);
  opacity: 0.1;
}

.highlight::before {
  left: 0;
  transform: skewX(-5deg);
}

.highlight::after {
  right: 0;
  transform: skewX(5deg);
}

.highlight h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  animation: fadeInScale 1s ease forwards;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.highlight h2::before {
  content: '✨';
  position: absolute;
  left: -70px;
  font-size: 2.5rem;
  animation: swing 3s ease-in-out infinite;
}

.highlight h2::after {
  content: '✨';
  position: absolute;
  right: -70px;
  font-size: 2.5rem;
  animation: swing 3s ease-in-out infinite reverse;
}

.highlight p {
  color: #d0d0d0;
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ==============================
   PÁGINA: CONGRESO
================================ */

.congreso-hero {
  min-height: 80vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url('/assets/img/congreso-bg.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
}

.congreso-hero h1 {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 1s ease;
}

.congreso-hero p {
  font-size: 1.3rem;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto;
}

.congreso-details {
  padding: 100px 40px;
  background: var(--black);
}

.congreso-details .grid {
  margin-top: 80px;
}

/* ==============================
   PÁGINA: CRONOGRAMA
================================ */

.cronograma-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, #000, #0a0000);
}

.timeline {
  max-width: 900px;
  margin: 80px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--red));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
  padding-left: 60%;
  opacity: 0;
  animation: fadeInRight 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
  padding-left: 0;
  padding-right: 60%;
  text-align: right;
  animation: fadeInLeft 0.8s ease forwards;
}

.timeline-item::before {
  content: '★';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--gold);
  border: 4px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.timeline-item h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--gray);
  line-height: 1.6;
}

.section-description {
  max-width: 800px;
  margin: 30px auto 80px;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.8;
}

.subsection-title {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  margin-bottom: 50px;
}

/* ==============================
   PÁGINA: PONENTES
================================ */

.speakers-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 120px;
}

.speaker-horizontal {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(20,0,0,0.8), rgba(11,11,11,0.9));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 25px;
  padding: 40px;
}

.speaker-horizontal img {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  border: 3px solid var(--gold);
  object-fit: cover;
}

.speaker-info h4 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.speaker-info span {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--red);
  font-weight: 600;
}

.speaker-info p {
  color: #ccc;
  line-height: 1.8;
  font-size: 1rem;
}

/* ==============================
   PÁGINA: EMBAJADORES
================================ */

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-top: 80px;
}

.speaker-card {
  background: linear-gradient(135deg, rgba(20,0,0,0.8), rgba(11,11,11,0.9));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: all 0.4s ease;
}

.speaker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(212,175,55,0.4);
}

.speaker-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px auto;
  border: 4px solid var(--gold);
  box-shadow: 0 0 30px rgba(212,175,55,0.5);
}

.speaker-card h4 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.speaker-card span {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==============================
   PÁGINA: NOSOTROS / ABOUT
================================ */

.nosotros-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, #0a0000, #000);
}

.about {
  padding: 120px 40px;
  background: linear-gradient(180deg, #000, #0a0000);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/grain.png');
  opacity: 0.04;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-image {
  width: 100%;
  height: 640px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.6)
  );
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  max-width: 520px;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 25px;
}

.about-content p {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content .highlight {
  display: block;
  margin: 30px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-top: 80px;
}

.team-member {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 25px;
  border: 4px solid var(--gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
  transition: all 0.4s ease;
}

.team-member:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

.team-member h3 {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.team-member p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==============================
   PÁGINA: CONTACTO
================================ */

.contacto-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, #000, #0a0000);
}

.contacto-container {
  max-width: 700px;
  margin: 60px auto 0;
  background: linear-gradient(135deg, rgba(20, 0, 0, 0.6), rgba(11, 11, 11, 0.8));
  padding: 60px;
  border-radius: 30px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.contacto-container form {
  animation: fadeIn 1s ease;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.info-card {
  background: linear-gradient(135deg, rgba(20,0,0,0.7), rgba(11,11,11,0.9));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.info-card h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

.info-card p {
  color: #d0d0d0;
  line-height: 1.6;
}

/* ==============================
   UTILIDADES
================================ */

.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* 
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(37,211,102,0.7);
} */

/* ==============================
   ANIMACIONES
================================ */

@keyframes rotate {
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes swing {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    height: 420px;
    max-width: 420px;
    margin: 0 auto 40px;
  }

  .about-content {
    margin: auto;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .highlight h2 {
    font-size: 2.5rem;
  }

  .highlight h2::before,
  .highlight h2::after {
    display: none;
  }

  .highlight p {
    font-size: 1.1rem;
  }

  .congreso-hero h1 {
    font-size: 2.8rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 70px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item::before {
    left: 20px;
    transform: translateX(0);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacto-container {
    padding: 40px 30px;
  }

  .speaker-horizontal {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .speaker-horizontal img {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .btn-gold {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .highlight h2 {
    font-size: 2rem;
  }

  .highlight p {
    font-size: 1rem;
  }
}