* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}
/* ===== Scrollbar (Chromium/Safari/Edge) ===== */
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: #f1f4f8;        /* pista */
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background: #d94b2b;        /* pulgar (naranja) */
  border-radius: 10px;
  border: 3px solid #f1f4f8;  /* “padding” visual */
}

*::-webkit-scrollbar-thumb:hover {
  background: #b83f22;        /* hover */
}

*::-webkit-scrollbar-corner {
  background: #f1f4f8;
}

/* ===== Scrollbar (Firefox) ===== */
* {
  scrollbar-width: thin;                      /* auto | thin | none */
  scrollbar-color: #d94b2b #f1f4f8;           /* pulgar pista */
}

/* Opcional: modo oscuro del iframe */
@media (prefers-color-scheme: dark) {
  *::-webkit-scrollbar-track { background: #1e2937; }
  *::-webkit-scrollbar-thumb  { border-color: #1e2937; }
  * { scrollbar-color: #d94b2b #1e2937; }
}

:root {
  --acento: #bddb6b;
  --card-bg: #1c2c39;
  /* combina con tu botón verde */
  --text: #051937;
}


h2 {
  font-size: 4rem;
  font-weight: 700;
  color: white;
}

p {
  font-size: 1.2rem;
  color: white;
}

strong {
  font-family: inherit;
}

.section {
  padding: 0 150px;
}

#spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00496b;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

#spinner-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  position: absolute;
  width: 9px;
  height: 9px;
}

.spinner div {
  position: absolute;
  width: 50%;
  height: 150%;
  background: #bddb6b;
  transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
  animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
}

.spinner div:nth-child(1) {
  --delay: 0.1;
  --rotation: 36;
  --translation: 150;
}

.spinner div:nth-child(2) {
  --delay: 0.2;
  --rotation: 72;
  --translation: 150;
}

.spinner div:nth-child(3) {
  --delay: 0.3;
  --rotation: 108;
  --translation: 150;
}

.spinner div:nth-child(4) {
  --delay: 0.4;
  --rotation: 144;
  --translation: 150;
}

.spinner div:nth-child(5) {
  --delay: 0.5;
  --rotation: 180;
  --translation: 150;
}

.spinner div:nth-child(6) {
  --delay: 0.6;
  --rotation: 216;
  --translation: 150;
}

.spinner div:nth-child(7) {
  --delay: 0.7;
  --rotation: 252;
  --translation: 150;
}

.spinner div:nth-child(8) {
  --delay: 0.8;
  --rotation: 288;
  --translation: 150;
}

.spinner div:nth-child(9) {
  --delay: 0.9;
  --rotation: 324;
  --translation: 150;
}

.spinner div:nth-child(10) {
  --delay: 1;
  --rotation: 360;
  --translation: 150;
}

@keyframes spinner-fzua35 {

  0%,
  10%,
  20%,
  30%,
  50%,
  60%,
  70%,
  80%,
  90%,
  100% {
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
  }

  50% {
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1.5%));
  }
}

#contenido {
  display: none;
  padding: 20px;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  background-color: #1c2c3900;
  z-index: 999;
}

.login {
  width: 100%;
  height: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0.5rem 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #20B0C3;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #153748;
  font-weight: 700;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #D2491B;
}


/* Sidebar base */
.sidebar {
  position: fixed;
  top: 50%;
  left: -70px;
  /* fuera de la pantalla */
  transform: translateY(-50%);
  width: 60px;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  transition: left 0.4s ease;
  z-index: 999;
}

/* Mostrar el menú */
.sidebar.show {
  left: 0;
}

/* Logo */
.sidebar-logo img {
  width: 40px;
}

/* Lista de iconos */
.sidebar-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-icons li {
  position: relative;
  margin: 10px 0;
}

.sidebar-icons a {
  color: #062735;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  text-decoration: none;
}

/* Tooltip desplegable */
.icon-label {
  position: absolute;
  left: 50px;
  background: #062735;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

/* Mostrar el tooltip al hover */
.sidebar-icons a:hover .icon-label {
  opacity: 1;
  transform: translateX(0);
}

/* Animación de hover en iconos */
.sidebar-icons a:hover {
  color: #bddb6b;
}

/* Ocultar header cuando está scrolleado */
.header.hide {
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.bottom-nav {
  display: none;
}

h1 {
  color: #0d2d4d; /* color general del h1 */
  font-family: "Raleway", sans-serif;
  font-size: 9rem;
  font-weight: 700;
}

h1 span {
  color: inherit; /* hereda el color del h1 */
  font-style: italic;
  font-weight: 400;
}

h1 .ciudad {
  font-style: normal;
  font-weight: 800;
  color: #d94b2b; /* color diferente solo para "Ciudad" */
}

.principal {
  width: 100%;
  height: 100vh;
  background: #FBF9F3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.principal-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.principal-title {
  width: 60%;
  height: 100%;
  position: relative;
  z-index: 99;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  background: #2A7B9B;
  background: linear-gradient(0deg, rgba(42, 123, 155, 0) 0%, rgba(87, 199, 133, 0) 50%, rgba(237, 221, 83, 0) 100%),url(/assets/image/ciudad-bg\ \(3\).png);
  background-position: bottom right;
  background-size: contain;
  background-size: 60%;
  background-repeat: no-repeat;
}
.principal-logins{
  width: 100%;
  height: auto;
  display: flex;
  gap: 40px;
}
.principal-logins a{
  width: 200px;
  height: 40px;
  background-color: #00364b;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
}
.principal-logins a:hover{
  text-decoration: none;
}
.principal-img{
  width: 40%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}
.principal-img img{
  width: 800px;
  height: auto;
  object-fit: contain;
}

.waves-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #ffffff;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 9%, rgba(0, 0, 0, 0) 9%, rgba(0, 0, 0, 0) 100%);
  top: 00px;
  display: none;
}

.wave {
  position: absolute;
  transform: rotate(180deg);
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.thar-one i {
  padding-left: 10px;
}



.acciones-flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  /* permite que los elementos bajen a la siguiente línea */
  justify-content: center;
  /* centra horizontalmente */
  gap: 20px;
  /* separación entre items */
}

.accion {
  flex: 1 1 calc(25% - 20px);
  /* 4 columnas: 100% / 4 = 25%, menos el gap */
  background: #00364b;
  height: 100px;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  place-items: center;
  gap: 14px;
  transition: transform 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.accion:hover {
  transform: translateY(-10px);
  color: white;
  text-decoration: none;
}
.accion i{
  font-size: 2rem;
}

  /* Paleta base (ajustá a tu tema) */
  :root{
    --cx-azul:#0d2d4d;     /* color titular */
    --cx-naranja:#d94b2b;  /* acento */
    --cx-text:#25323e;
    --cx-bg:#ffffff;       /* muy claro cálido */
    --cx-line:#e9edf2;
  }

  .cx-flow{ 
    width: 100%;
    height: auto;
    background:var(--cx-bg);
    padding-top: 80px;
    padding-bottom: 80px;
    border-top: 20px solid #bddb6b;
  }
  .cx-wrap{ margin:0 auto; }

  .cx-flow h2{
    color:var(--cx-azul);
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    margin:0 0 .4rem;
    line-height:1.2;
  }
  .cx-lead{
    margin:0 0 1.8rem;
    color:var(--cx-text);
    max-width: 60ch;
  }

  .cx-steps{
    display:grid;
    gap:1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    counter-reset: step;
    margin:0;
    padding:0;
    list-style:none;
  }

  .cx-step{
    background:#fff;
    border:1px solid var(--cx-line);
    border-radius: 16px;
    padding:1rem;
    display:flex;
    flex-direction:column;
    gap:.4rem;
    position:relative;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
  }
  .cx-step::before{
    counter-increment: step;
    content: counter(step);
    position:absolute; top:.8rem; right:.8rem;
    width:32px; height:32px; border-radius:50%;
    display:grid; place-items:center;
    font-weight:700;
    color:#fff; background:var(--cx-azul);
  }
  .cx-icon{ color:var(--cx-naranja); }
  .cx-step h3{
    margin:.2rem 0;
    font-size:1.05rem;
    color:var(--cx-azul);
  }
  .cx-step p{ margin:0 0 .4rem; color:var(--cx-text); }

  .cx-btn{
    display:inline-block;
    padding:.6rem .9rem;
    border-radius:12px;
    border:1px solid var(--cx-azul);
    text-decoration:none;
    color:var(--cx-azul);
    font-weight:600;
    transition:transform .06s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }
  .cx-btn:hover{ transform: translateY(-1px); }
  .cx-btn.primary{
    background:var(--cx-naranja);
    border-color:var(--cx-naranja);
    color:#fff;
  }
  .cx-cta{ margin-top:1.4rem; display:flex; gap:.8rem; flex-wrap:wrap; }
.secondary {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column-reverse;
  gap: 80px;
}

.secondary-grid {
  width: 100%;
  height: 50vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-template-areas: "div1 div3 div3";
}

.div1 {
  height: 100%;
  grid-area: div1;
  background-color: #D2491B;
  display: flex;
  flex-direction: row-reverse;
  border-radius: 24px 0 0 24px;
}

.div1-title {
  width: 100%;
  height: 80%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.div1-btn {
  width: 100%;
  height: 20%;
  padding: 10px;
}

.div1-btn a {
  text-decoration: none;
}

.div1-btn button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-style: none;
  background-color: #252525;
  border-radius: 24px;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 5%;
}

.div1-title h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
}

.div3 {
  grid-area: div3;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noticia-slider-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 0 24px 24px 0;
}

.noticia-slider-container h2 {
  font-size: 2.2rem;
}

.noticia-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.noticia-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.noticia-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(6, 39, 53, 0.8),
      rgba(6, 39, 53, 0.4));
  z-index: 0;
}

.noticia-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.noticia-slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.noticia-slide-content a {
  background-color: #252525;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
}

.noticia-slide-content a:hover {
  background-color: #fff;
  color: #062735;
}

.noticia-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.noticia-btn.prev {
  left: 10px;
}

.noticia-btn.next {
  right: 10px;
}


.rank {
  width: 100%;
  height: auto;
  background-color: #252525;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-right: 0;
}

.rank-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.rank-content h2 {
  font-size: 6rem;
  font-weight: 700;
  text-align: start;
}

.rank-content h4 {
  font-size: 3rem;
  font-weight: 500;
  text-align: start;
  color: white;
}

.rank-content li {
  font-size: 1.3rem;
  font-weight: 300;
  color: white;
}

.rank-btn {
  width: 100%;
  background-color: #02002400;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 100px);
  grid-column-gap: 10px;
  grid-row-gap: 0;
}

.medal {
  width: 300px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}

.medal h3 {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: 3rem;
}

.bronce {
  grid-area: 1 / 1 / 3 / 3;
  background-color: #b83f22;
  color: white;
}

.bronce:hover {
  background-color: white;
  color: #b83f22;
}

.silver {
  grid-area: 1 / 3 / 3 / 5;
  background-color: #00496b;
  color: white;
}

.silver:hover {
  background-color: white;
  color: #00496b;
}

.gold {
  grid-area: 1 / 5 / 3 / 7;
  background: linear-gradient(135deg, #f98f05, #f98f05);
  color: white;
}

.gold:hover {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: #f98f05;
}

/* Contenedor de imagen y panel */
.rank-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Imagen visible por defecto */
.rank-img img {
  width: 800px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.4s ease;
}


/* Panel de info oculto por defecto */
.rank-info-panel {
  position: absolute;
  width: 100%;
  max-width: 700px;
  height: 70%;
  background-color: #092c3d;
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: slideIn 0.5s ease forwards;
  transition: background-color 0.4s ease, background 0.4s ease;
  border-radius: 20px 0 0 20px;
}

.rank-info-panel.active {
  display: flex;
}

/* Ocultar todas las secciones internas por defecto */
.rank-info-panel .info-content {
  display: none;
}

.rank-info-panel .info-content.active {
  display: block;
  padding: 0 40px;
}

.rank-info-panel h3 {
  font-size: 4rem;
  font-family: "Anton", sans-serif;
  margin-bottom: 1rem;
}

.rank-info-panel .info-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rank-info-panel .info-content.active {
  display: block;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  position: relative;
}

/* Fondos personalizados para cada nivel */
.rank-info-panel.bronce-bg {
  background-color: #b83f22;
  /* o un gradiente suave */
  color: #ffffff;
}

.rank-info-panel.silver-bg {
  background-color: #00496b;
  color: #ffffff;
}

.rank-info-panel.gold-bg {
  background: linear-gradient(135deg, #f98f05, #f98f05);
  color: #ffffff;
}

#info-bronce p {
  color: #ffffff;
}

#info-silver p {
  color: #ffffff;
}

#info-gold p {
  color: #ffffff;
}

/* Botón cerrar */
.close-panel {
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

/* Animación */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.agenda {
  width: 100%;
  height: auto;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.agenda-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  background: #2A7B9B;
background: linear-gradient(0deg, rgba(42, 123, 155, 0) 0%, rgba(87, 199, 133, 0) 50%, rgba(237, 221, 83, 0) 100%), url(/assets/image/cordillera-bg.png);
background-size: 900px;
background-repeat: no-repeat;
background-position: bottom right;
}

.agenda-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.agenda-title h2,
.agenda-title p {
  color: #00364b;
}


.agenda-content {
  width: 100%;
  height: auto;
}

.agenda-content iframe {
  width: 100%;
  min-height: 600px;
}

.mapa {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #252525;
}

.mapa-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #00364b00;
  gap: 20px;
}

.mapa-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 10px;
}

.mapa-title span {
  font-size: 2rem;
  font-weight: 600;
  color: white;
}

.mapa-frame {
  width: 100%;
  height: 700px;
  background-color: wheat;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 8px 8px 8px rgba(75, 75, 75, 0.5);
}

.mapa-frame iframe {
  width: 100%;
  height: 100%;
}

.flow-steps {
  width: 100%;
  height: auto;
  background: #ffffff;
  background: linear-gradient(0deg, #ffffff 25%, #252525 25%, #252525 100%);
  color: #fff;
}

.flow-steps__inner {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  margin: 0 auto;
}

.flow-steps__title {
  margin: 0 0 28px;
  font-weight: 700;
}

/* Contenedor de pasos */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

/* Línea conectora (solo en pantallas anchas) */
@media (min-width: 900px) {
  .steps::before {
    content: "";
    position: absolute;
    left: 40px;
    /* arranca después de la primera medalla */
    right: 40px;
    top: 42px;
    /* alineada con las medallas */
    height: 2px;
    background: linear-gradient(90deg, var(--acento), #fff);
    opacity: .6;
    z-index: 0;
  }
}

.step {
  flex: 1 1 calc(25% - 20px);
  min-width: 320px;
  height: 300px;
  background: #252525;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  text-align: center;
  padding: 20px 16px 18px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* Medalla numérica */
.step__badge {
  position: absolute;
  left: 16px;
  top: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--acento);
  color: #051937;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  z-index: 1;
}

/* Ícono (reemplazá por tus PNG/SVG) */
.step__icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin: 10px auto 15px;
}

.step__title {
  font-size: 1rem;
  margin: 8px 0 6px;
  line-height: 1.3;
}

.step__text {
  font-size: .95rem;
  opacity: .85;
  margin: 0;
}

/* Responsive: 2 columnas en tablet, 1 en móvil */
@media (max-width: 899px) {
  .step {
    flex: 1 1 calc(50% - 20px);
  }

  .steps::before {
    display: none;
  }

  /* ocultamos línea conectora */
}

@media (max-width: 560px) {
  .step {
    flex: 1 1 100%;
  }
}

.faq-section {
  width: 100%;
  margin: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #00496b;
  display: flex;
  flex-direction: row-reverse;
}

.faqs-main {
  width: 70%;
}

.faq-title {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.faq-title h2 {
  color: #ffffff;
}

.faq-title p {
  color: #ffffff;
}

.faq-title a {
  font-weight: 700;
  color: #ffffff;
}

.faq-title img {
  position: absolute;
  left: 0;
  width: 600px;
  height: auto;
  padding: 0;
}

.faq-category {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 30px;
  color: #ffffff;
  border-bottom: 2px solid #00496b;
  padding-bottom: 5px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-top: 10px;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  padding: 12px;
  background-color: #f0f0f0;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #e0e0e0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #fafafa;
  padding: 0 12px;
}

.faq-answer p {
  font-size: 1rem;
  color: #000;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* suficiente para la mayoría */
  padding: 12px;
}

.faq-answer p,
.faq-answer ul {
  margin: 10px 0;
}

footer {
  width: 100%;
  height: 250px;
  display: flex;
  padding: 20px;
  padding-left: 10%;
  padding-right: 10%;
  background-color: #062735;
}

.footer-container {
  width: 100%;
  height: 80%;
  margin: 20px;
  background-color: #00aebe00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social {
  display: flex;
  flex-direction: column;
  color: white;
}

.social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: white;
  margin: 10px;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
}

#btn-back-to-top {
  position: fixed;
  bottom: 120px;
  right: 40px;
  display: none;
  background-color: #062735;
  border-color: #062735;
  border-radius: 50%;
}

/* Estilo del contenedor */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Centrar la lupa */
  padding-left: 20px;
  /* Sin desplazamiento extra */
}

/* Estilo de la lupa */
.search-icon {
  background: none;
  /* Sin fondo */
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.search-icon i {
  color: white;
  /* Color blanco para la lupa */
}

/* Contenedor del input */
.search-input-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Input */
#searchInput {
  width: 0;
  opacity: 0;
  padding: 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-right: 30px;
  /* Espacio para la equis */
  transition: all 0.3s ease;
}

/* Mostrar input cuando se activa */
#searchInput.active {
  width: 200px;
  opacity: 1;
  padding: 10px;
}

/* Botón de la equis dentro del input */
.clear-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
  display: none;
}

.clear-icon:hover {
  color: #555;
}

/* Contenedor de resultados */
.search-results {
  position: absolute;
  top: 100%;
  /* Aparecen justo debajo del input */
  left: 20%;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 200px;
  /* Ajuste según el ancho del input */
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Sombra para destacar */
}

.search-results a {
  text-decoration: none;
  display: block;
  padding: 10px;
  color: black;
  border-bottom: 1px solid #eee;
}

.search-results a:hover {
  background-color: #f0f0f0;
}