/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-color: #1a5276;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f5f5f5;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
}

body {
  background-color: white;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  color: var(--dark-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 10px auto;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent {
  background-color: var(--secondary-color);
}
.btn-accent:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

.card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Header */
header {
  //background-color: white;
  //padding: 0px 0;
  //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.university-logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark-color);
}

.candidate-name {
  font-size: 20px;
  color: var(--dark-color);
  text-align: right;
}

.candidate-name span {
  display: block;
  font-size: 16px;
  color: var(--text-light);
}

// estilos hero 
       

.cont-hero {
  margin-bottom: -300px;
}

.texto-contenedor {
  position: relative;
  top: -600px;
  left: 930px;
  width: fit-content; /* Se ajusta al contenido */
  height: fit-content; /* Se ajusta al contenido */
  display: flex;
  justify-content: center;
  color: white;
  text-align: justify;
  padding: 20px;
  z-index: 2;
}

.texto-hero {
  text-transform: uppercase;
  line-height: 1;
  max-width: 800px;
}
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/Anton/Anton-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Pantallas grandes - centrado */
.texto-hero div:nth-child(1) {
  font-family: "Anton", sans-serif;
  font-size: 7.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.texto-hero div:nth-child(2) {
  font-family: "Anton", sans-serif;
  font-size: 7.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto/static/Roboto-Black.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.texto-hero div:nth-child(3) {
  font-family: "Roboto", sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding-top: 20px;
}

@media (max-width: 1800px) {
  .cont-hero {
    margin-bottom: -300px;
  }
  .cont-hero::before {
    background-color: #f1f1ef;
  }
}

@media (max-width: 1520px) {
  .cont-hero {
    margin-bottom: -300px;
  }
  .texto-contenedor {
    top: -520px;
    left: 780px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 6rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 6rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 3rem;
  }
}

@media (max-width: 1420px) {
  .texto-contenedor {
    top: -480px;
    left: 750px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 6rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 6rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 3rem;
  }
}

@media (max-width: 1340px) {
  .texto-contenedor {
    top: -440px;
    left: 660px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 5.5rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 5.5rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2.8rem;
  }
}

@media (max-width: 1240px) {
  .texto-contenedor {
    top: -415px;
    left: 680px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 5.5rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 5.5rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2.2rem;
  }
}

@media (max-width: 1135px) {
  .cont-hero {
    margin-bottom: -255px;
  }

  .texto-contenedor {
    top: -385px;
    left: 600px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 4.5rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 4.5rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2.2rem;
  }
}

@media (max-width: 1035px) {
  .texto-contenedor {
    top: -360px;
    left: 570px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 4rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 4rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2.2rem;
  }

  .cont-hero {
    margin-bottom: -220px;
  }
}

@media (max-width: 1025px) {
  .texto-contenedor {
    top: -400px;
    left: 600px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 4rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 4rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2.2rem;
  }

  .cont-hero {
    margin-bottom: -185px;
  }
}

@media (max-width: 985px) {
  .texto-contenedor {
    top: -385px;
    left: 580px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 3.5rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 3.5rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2rem;
  }
}

@media (max-width: 860px) {
  .texto-contenedor {
    top: -340px;
    left: 485px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2rem;
  }
}

@media (max-width: 765px) {
  .cont-hero {
    margin-bottom: -140px;
  }
  .texto-contenedor {
    top: -335px;
    left: 460px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 2rem;
  }
}

@media (max-width: 715px) {
  .texto-contenedor {
    top: -330px;
    left: 415px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 1.5rem;
  }
}

@media (max-width: 660px) {
  .texto-contenedor {
    top: -315px;
    left: 350px;
  }
}

@media (max-width: 610px) {
  .texto-contenedor {
    top: -300px;
    left: 330px;
  }

  .texto-hero div:nth-child(1) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 3rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 1.5rem;
  }
}

@media (max-width: 580px) {
  .texto-contenedor {
    top: -275x;
    left: 345px;
  }
  .texto-hero div:nth-child(1) {
    font-size: 2rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 2rem;
  }

  .texto-hero div:nth-child(3) {
    font-size: 1rem;
  }
}

@media (max-width: 545px) {
  .texto-contenedor {
    top: -255px;
    left: 280px;
  }
}

@media (max-width: 460px) {
  .texto-contenedor {
    top: -195px;
    left: 250px;
    padding: 0;
  }

  .texto-hero div:nth-child(1) {
    font-size: 2rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .texto-contenedor {
    top: -195px;
    left: 220px;
    padding: 0;
  }

  .cont-hero {
    margin-bottom: -95px;
  }
}

@media (max-width: 365px) {
  .texto-contenedor {
    top: -180px;
    left: 210px;
    padding: 0;
  }

  .texto-hero div:nth-child(1) {
    font-size: 1.5rem;
  }

  .texto-hero div:nth-child(2) {
    font-size: 1.5rem;
  }
}

.cont-hero::before {
  background: gray;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  //background-im: url("../images/2.png");

  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,170.7C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');

  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 24px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Main Content */
.main-content {
  display: flex;
  margin: 40px 0;
  gap: 30px;
}

.content-left {
  flex: 2;
}

.content-right {
  flex: 1;
}

/* Agenda Section */
.agenda-section {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.agenda-title {
  font-size: 24px;
  color: var(--dark-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.agenda-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.agenda-date {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  margin-right: 20px;
  min-width: 80px;
}

.agenda-date .day {
  font-size: 24px;
  font-weight: bold;
  display: block;
}

.agenda-date .month {
  font-size: 14px;
  text-transform: uppercase;
}

.agenda-details h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.agenda-details p {
  color: var(--text-light);
}

/* News Section */
.news-section {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-title {
  font-size: 24px;
  color: var(--dark-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.news-item p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-date {
  font-size: 14px;
  color: #95a5a6;
}

/* Quote Section */
.quote-section {
  background-color: var(--dark-color);
  color: white;
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
  text-align: center;
  font-style: italic;
  font-size: 20px;
  position: relative;
}

.quote-section:before,
.quote-section:after {
  content: '"';
  font-size: 60px;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
}

.quote-section:before {
  top: 10px;
  left: 20px;
}

.quote-section:after {
  bottom: 10px;
  right: 20px;
}

/* Challenges Section */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.grid-flower-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin: 60px 0;
}

.flower-grid-center {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.grid-card {
  width: 100%;
  max-width: 350px;
}

.top-left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.top-right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.bottom-left {
  grid-column: 1;
  grid-row: 3;
  justify-self: end;
}

.bottom-right {
  grid-column: 3;
  grid-row: 3;
  justify-self: start;
}

.grid-flower {
  width: min(80vw, 350px);
  height: auto;
}

.flower-part.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.flower-part.clickable:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.flower-part.clickable:active {
  transform: scale(0.98);
}

.card-avanza:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 5px rgba(244, 25, 91, 0.7));
}

.card-innova:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 5px rgba(244, 25, 91, 0.7));
}

.card-cuida:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 5px rgba(244, 25, 91, 0.7));
}

.card-conta:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 5px rgba(244, 25, 91, 0.7));
}

/* .challenge-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
} */

/* Responsive */
@media (max-width: 1024px) {
  .grid-flower-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .flower-grid-center {
    grid-column: 1 / span 2;
    grid-row: 2;
    margin: 30px 0;
  }

  .top-left,
  .top-right {
    grid-row: 1;
  }

  .bottom-left,
  .bottom-right {
    grid-row: 3;
  }

  .top-left,
  .bottom-left {
    grid-column: 1;
    justify-self: end;
  }

  .top-right,
  .bottom-right {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .grid-flower-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .grid-card {
    max-width: 100%;
    width: 100%;
  }

  .grid-flower {
    width: min(90vw, 300px);
    margin: 30px 0;
  }
}

.challenge-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.challenge-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.challenge-card:nth-child(1)::before {
  background: #ec407a;
}
.challenge-card:nth-child(2)::before {
  background: #ec407a;
}

.challenge-card:nth-child(3)::before {
  background: #ec407a;
}

.challenge-card:nth-child(4)::before {
  background: #ec407a;
}
.challenge-card:nth-child(5)::before {
  background: #ec407a;
}

.challenge-icon {
  margin-bottom: 25px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.challenge-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
}

.challenge-card p {
  font-size: 16px;
  color: #666;
  max-width: 300px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-container {
  background: white;
  border-radius: 25px 5px 5px 25px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.4s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.rosa-modal-header {
  padding: 50px 50px 30px;
  text-align: center;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rosa-modal-header h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.rosa-modal-header .tagline {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

.modal-content {
  padding: 40px 50px 50px;
}

.modal-content h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-content h4 i {
  font-size: 20px;
}

.modal-content p {
  font-size: 17px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.key-point {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid;
}

.key-point h5 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.key-point p {
  font-size: 15px;
  color: #666;
  margin: 0;
}

/* Modal specific colors */
.modal-container.avanza .rosa-modal-header {
  background: linear-gradient(135deg, #ec407a 0%, #e91e63 100%);
}
.modal-container.innova .rosa-modal-header {
  background: linear-gradient(135deg, #ec407a 0%, #e91e63 100%);
}
.modal-container.cuida .rosa-modal-header {
  background: linear-gradient(135deg, #ec407a 0%, #e91e63 100%);
}
.modal-container.conta .rosa-modal-header {
  background: linear-gradient(135deg, #ec407a 0%, #e91e63 100%);
}

.modal-container.avanza .key-point {
  border-left-color: #ec407a;
}
.modal-container.innova .key-point {
  border-left-color: #ec407a;
}
.modal-container.cuida .key-point {
  border-left-color: #ec407a;
}
.modal-container.conta .key-point {
  border-left-color: #ec407a;
}

.modal-container.avanza .modal-close:hover {
  color: #ec407a;
}
.modal-container.innova .modal-close:hover {
  color: #ec407a;
}
.modal-container.cuida .modal-close:hover {
  color: #ec407a;
}
.modal-container.conta .modal-close:hover {
  color: #ec407a;
}

.rosa-modal-header-content {
  color: white;
}

.rosa-modal-header h3,
.rosa-modal-header .tagline {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .challenges-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }

  .modal-container {
    max-height: 95vh;
  }

  .rosa-modal-header,
  .modal-content {
    padding: 30px 25px;
  }

  .rosa-modal-header h3 {
    font-size: 26px;
  }

  .key-points {
    grid-template-columns: 1fr;
  }
}

/* Scrollbar styling */
.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 25px 25px 0;
}

.modal-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Candidate Section */
.candidate-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.candidate-info {
  flex: 1;
}

.candidate-media {
  flex: 1;
}

.video-container {
  position: relative;
  padding-bottom: 1%;
  /* 16:9 aspect ratio */
  //height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container a[title="Free Instagram Feed Widget"] {
  display: none !important;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.gallery-item {
  height: 120px;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Form Section */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--dark-color);
}

.form-control-ray {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border 0.3s ease;
  background: #e3e3e3;
  color: gray;
}

.form-control-ray:focus {
  border-color: var(--secondary-color);
  outline: none;
}

textarea.form-control-ray {
  min-height: 150px;
  resize: vertical;
}

/* Campaign Diary */
.diary-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.diary-timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background-color: var(--secondary-color);
}

.diary-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
}

.diary-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.diary-date .day {
  font-size: 18px;
  line-height: 1;
}

.diary-date .month {
  font-size: 12px;
  text-transform: uppercase;
}

.diary-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.diary-content h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 20px;
  }

  .candidate-content {
    flex-direction: column;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Estilos para la sección de equipo - Manteniendo coherencia con style-ray.css */
.team-section {
  padding: 60px 0;
}

.team-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-card:hover {
  cursor: pointer;
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-photo {
  height: 200px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 25px;
}

.team-info h3 {
  font-size: 22px;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 16px;
}

.team-bio {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}

.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-expertise span {
  background-color: #f0f7ff;
  color: var(--secondary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .team-photo {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-subtitle {
    font-size: 16px;
    padding: 0 15px;
  }
}

#antes_hero {
  background-color: white;
  margin-bottom: 10rem;
  margin-top: 10rem;
  position: relative;
}

#antes_hero::after {
  background: url("../images/curve-white.min.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#antes_hero::before {
  bottom: 100%;
}

#antes_hero::after {
  top: 100%;
  transform: scaleY(-1);
}

/* #cont-hero {
  background: url("../images/fondook5.png") center bottom no-repeat;

  margin-bottom: 5rem;
  margin-top: 5rem;
  position: relative;

  height: 90vh;

  width: 100%;
}

#cont-hero::before {
  bottom: 100%;
}

#cont-hero::after {
  top: 100%;
  transform: scaleY(-1);
} */
#cont_retos {
  background-color: white;
  margin-bottom: 10rem;
  margin-top: 0rem;
  position: relative;
}

#cont_retos::after {
  background: url("../images/curve-white.min.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#cont_retos::before {
  bottom: 100%;
}

#cont_retos::after {
  top: 100%;
  transform: scaleY(-1);
}

#cont_agenda {
  background-color: #14264b;
  margin-bottom: 10rem;
  margin-top: 10rem;
  position: relative;
}

#cont_agenda::before,
#cont_agenda::after {
  background: url("../images/curve.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#cont_agenda::before {
  bottom: 100%;
}

#cont_agenda::after {
  top: 100%;
  transform: scaleY(-1);
}

#intermedio {
  background-color: white;
  margin-bottom: 10rem;
  margin-top: 10rem;
  position: relative;
}

#intermedio::after {
  background: url("../images/curve-white.min.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#intermedio::before {
  bottom: 100%;
}

#intermedio::after {
  top: 100%;
  transform: scaleY(-1);
}

#cont_conoce {
  background-color: #14264b;
  margin-bottom: 10rem;
  margin-top: 10rem;
  position: relative;
}

#cont_conoce::before,
#cont_conoce::after {
  background: url("../images/curve.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#cont_conoce::before {
  bottom: 100%;
}

#cont_conoce::after {
  top: 100%;
  transform: scaleY(-1);
}

#diario {
  background-color: #14264b;
  margin-bottom: 5rem;
  margin-top: 10rem;
  position: relative;
}

#diario::before,
#diario::after {
  background: url("../images/curve.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#diario::before {
  bottom: 100%;
}

#diario::after {
  top: 100%;
  transform: scaleY(-1);
}

#cont_footer {
  background-color: #14264b;

  margin-top: 10rem;
  position: relative;
}

#cont_footer::before {
  background: url("../images/curve.min.svg") center bottom no-repeat;
  content: "";
  height: 103px;
  position: absolute;
  width: 100%;
}

#cont_footer::before {
  bottom: 100%;
}

/* Estilos para los modales del equipo */
.team-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.team-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.team-modal-container {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-modal-overlay.active .team-modal-container {
  transform: translateY(0);
  opacity: 1;
}

.team-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.team-modal-close:hover {
  background: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.team-modal-content {
  padding: 40px;
}

.team-modal-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.team-modal-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 5px solid #f8f9fa;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal-title h2 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 2.2rem;
}

.team-modal-role {
  color: #007bff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.team-modal-body {
  color: #555;
  line-height: 1.7;
}

.team-modal-section {
  margin-bottom: 30px;
}

.team-modal-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.4rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.team-modal-section p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.team-modal-expertise {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.expertise-tags span {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #495057;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.expertise-tags span:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
}

/* Botón "Ver más información" en las cards */
.team-more-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  font-weight: 600;
  width: 100%;
}

.team-more-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .team-modal-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .team-modal-photo {
    width: 120px;
    height: 120px;
  }

  .team-modal-title h2 {
    font-size: 1.8rem;
  }

  .team-modal-content {
    padding: 30px 20px;
  }

  .team-modal-container {
    max-height: 80vh;
  }
}

/* Animaciones para el modal */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.team-modal-container {
  animation: modalSlideIn 0.4s ease-out;
}

/* Estilos de la galería */

/* Estilos del modal/lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #ccc;
}

.prev-modal,
.next-modal {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.next-modal {
  right: 20px;
}

.prev-modal {
  left: 20px;
}

.prev-modal:hover,
.next-modal:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

#modalCaption {
  text-align: center;
  color: #ccc;
  padding: 10px 20px;
  height: 50px;
  font-size: 16px;
  margin-top: 20px;
}

/* Para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* Estilos para mensajes y validación */
.form-control-ray.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control-ray.success {
  border-color: #28a745 !important;
}

.error-text {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 5px;
  display: none;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* diario de campana */
.accordion-timeline-c3 {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Efecto hover en el item */
.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Línea decorativa que aparece al hacer hover */
.accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #667eea, #3498db);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  border-radius: 4px 0 0 4px;
}

.accordion-item:hover::before {
  transform: scaleY(1);
}

.accordion-header {
  width: 100%;
  padding: 20px;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto hover en el header */
.accordion-header:hover {
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(52, 152, 219, 0.05) 100%
  );
}

/* Efecto de brillo que se mueve */
.accordion-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
}

.accordion-header:hover::after {
  left: 100%;
}

.accordion-date {
  background: linear-gradient(135deg, #667eea 0%, #3498db 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Efecto hover en la fecha */
.accordion-header:hover .accordion-date {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Animación de partículas en la fecha */
.accordion-date::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accordion-header:hover .accordion-date::before {
  opacity: 1;
}

.accordion-date .day {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.accordion-header:hover .accordion-date .day {
  transform: translateY(-2px);
}

.accordion-date .month {
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.accordion-header:hover .accordion-date .month {
  transform: translateY(2px);
}

.accordion-title {
  flex-grow: 1;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

/* Efecto hover en el título */
.accordion-header:hover .accordion-title {
  color: #667eea;
  transform: translateX(5px);
}

/* Subrayado animado del título */
.accordion-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #667eea, #3498db);
  transition: width 0.4s ease;
}

.accordion-header:hover .accordion-title::after {
  width: 100px;
}

.accordion-icon {
  font-size: 24px;
  color: #667eea;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  flex-shrink: 0;
  position: relative;
}

/* Efecto hover en el icono */
.accordion-header:hover .accordion-icon {
  color: #3498db;
  transform: scale(1.2) rotate(90deg);
  text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-content p {
  padding: 0 0 20px 80px; /* 80px = 60px (ancho fecha) + 20px (gap) */
  color: #666;
  line-height: 1.6;
  transition: transform 0.3s ease;
}

/* Efecto hover en el contenido (cuando está expandido) */
.accordion-item.active .accordion-content p:hover {
  transform: translateX(10px);
  color: #333;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Efecto especial para el item activo */
.accordion-item.active {
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.accordion-item.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
}

/* Animación de pulsación en el item */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

.accordion-item:hover {
  animation: pulse-glow 2s infinite;
}

/* Estilos para el checkbox de privacidad */
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff;
  cursor: pointer;
}

.form-group input[type="checkbox"]:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.form-group a {
  color: #007bff;
  text-decoration: underline;
}

.form-group a:hover {
  text-decoration: none;
}

/* Estilos Generales - Prefijo legal- */
.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Botón para abrir el modal */
.legal-btn-open {
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.legal-btn-open:hover {
  background-color: #1a252f;
}

/* Modal Styles */
.legal-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.legal-modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.legal-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: legal-modalFadeIn 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes legal-modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-modal-header {
  background-color: #b52572;
  color: white;
  padding: 20px 30px;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-modal-title {
  //font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.legal-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.legal-modal-body {
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

/* Pestañas de navegación */
.legal-nav-tabs {
  display: flex;
  border-bottom: 2px solid #dee2e6;
  padding: 0 30px;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.legal-tab-btn {
  padding: 15px 25px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #495057;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
  position: relative;
}

.legal-tab-btn:hover {
  color: #2c3e50;
}

.legal-tab-btn.active {
  color: #2c3e50;
  font-weight: 600;
  border-bottom: 3px solid #2c3e50;
  background-color: white;
}

/* Contenido de las pestañas */
.legal-tab-content {
  padding: 30px;
  display: none;
}

.legal-tab-content.active {
  display: block;
  animation: legal-tabFadeIn 0.3s ease;
}

@keyframes legal-tabFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Secciones del contenido */
.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section-title {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.legal-sub-section {
  margin-left: 1rem;
  margin-top: 0.75rem;
}

.legal-highlight {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 5px;
  border-left: 4px solid #007bff;
  margin: 1rem 0;
}

.legal-contact-info {
  background-color: #e8f4fd;
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
}

.legal-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.legal-btn-secondary {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.legal-btn-secondary:hover {
  background-color: #5a6268;
}

.legal-btn-primary {
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.legal-btn-primary:hover {
  background-color: #1a252f;
}

/* Listas */
.legal-list {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-modal-overlay.active {
    padding: 20px 10px;
  }

  .legal-modal-content {
    width: 95%;
  }

  .legal-nav-tabs {
    flex-direction: column;
    padding: 0;
  }

  .legal-tab-btn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
  }

  .legal-tab-btn.active {
    border-bottom: 3px solid #2c3e50;
  }

  .legal-modal-header,
  .legal-tab-content,
  .legal-modal-footer {
    padding: 15px 20px;
  }

  .legal-modal-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .legal-modal-footer {
    flex-direction: column;
  }

  .legal-btn-secondary,
  .legal-btn-primary {
    width: 100%;
  }
}

/* Estilos específicos para código */
.legal-code {
  background-color: #f1f1f1;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

/* Scrollbar personalizado */
.legal-modal-body::-webkit-scrollbar {
  width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Popup Cookies */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: white;
  padding: 15px 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cookie-bar.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: cookie-slide-up 0.3s ease;
}

@keyframes cookie-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-link {
  color: #3498db;
  text-decoration: underline;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 5px;
}

.cookie-link:hover {
  color: #2980b9;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: #3498db;
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #2980b9;
}

.cookie-btn-reject {
  background-color: #7f8c8d;
  color: white;
}

.cookie-btn-reject:hover {
  background-color: #6c7b7d;
}

.cookie-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.cookie-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-bar {
    padding: 15px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-text {
    text-align: left;
    margin-bottom: 10px;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .cookie-close {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .cookie-bar {
    padding: 15px 10px;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}
