html {
  font-family: "Nunito Sans", sans-serif;
  /* font-optical-sizing: auto; */
  font-weight: 400;
  font-style: normal;
  /* font-variation-settings:
    "wdth" 100,
    "YTLC" 500; */
}

/*------COLORS--------*/
:root {
  --blue: #3055a1;
  --orange: #e9571e;
  --green: #b7d635;
  --primary: #3055a1;
  --text: #000000;
  --link: #000000;
  --swiper-navigation-color: #000000;
  --swiper-navigation-size: 20px;
}

/*---- FONT -----*/

html {
  font-size: 22px;
  /* font-size:clamp(22px, 1.1vw, 24px) */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0.1em 0;
}
h1 {
  font-size: 2.2rem;
  line-height: 1em;
  font-weight: 400;
  /* text-transform: uppercase; */
}
h2 {
  font-size: 2rem;
  line-height: 1em;
  /* text-transform: uppercase; */
}

a {
  text-decoration: none;
  color: var(--link);
}

::selection {
  background: var(--orange);
  color: #ffffff;
}

.button {
  background: var(--orange);
  padding: 0.5em 1em;
  border-radius: 0.4rem;
  color: #ffffff;
  font-size: 1.1rem;
}
.button:hover {
  /* background-color: hsl(from var(--orange) h 90% 55%); */
}
.button-blue {
  background: var(--blue);
  padding: 0.5em 1em;
  border-radius: 0.4rem;
  color: #ffffff;
}
.button-blue:hover {
  /* background-color: hsl(from var(--blue) h 90% 55%); */
}

/* -------------------------
 *        STYLES          
  * ---------------------- */
/* HEADER */

header .logo {
  width: auto;
  height: 58px;
}

header .desktop-nav,
header .mobile-nav nav {
  gap: 0.4em;
}

header .desktop-nav a,
header .mobile-nav nav a {
  padding: 0.4em 1em;
  border-radius: 100px;
}

header .mobile-nav nav a {
  padding: 0.9em 1.5em;
  border-radius: 100px;
}

header .desktop-nav a[active],
header .mobile-nav nav a[active] {
  background: var(--orange);
  color: #ffffff;
}

/* BANNER */
#banner {
  justify-content: stretch;
  /* background: var(--blue); */
  background-image: url("../img/bg-hero-banner.webp");
  background-repeat: no-repeat;
  background-position: 0% 100%;
  background-size: 100% 48%;
}

#banner .row {
  padding: 0rem;
  padding-top: 80px;
}

#banner .column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
}

#banner .column.col1 {
  /* flex-basis: 65%; */
  padding: 2rem 0;
  justify-content: center;
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
}

#banner .column.col1 > * {
  padding: 1rem 0;
}

#banner .column.col2 {
  flex-basis: 65%;
  align-items: end;
  display: flex;
  justify-content: flex-end;
}

#banner .column.col2 img {
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

#banner .text-orange {
  color: var(--orange);
}

#banner h1 {
  color: var(--blue);
}

#banner h2 {
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1.1em;
}

#banner p {
  font-size: 0.8rem;
  color: #ffffff;
  max-width: 30ch;
}

@media screen and (max-width: 800px) {
  #banner .row {
    flex-direction: column;
  }

  #banner .column.col2 img {
    display: none;
  }
}

@media screen and (width < 1000px) {
  h1 {
    color: #ffffff;
  }
}

/* ENCUENTROS */
#encuentros {
  background: var(--orange) url("../img/blue-circle.svg") no-repeat;
  background-position: calc(100% + 300px) -350px;
  padding: 4rem 0;
}

#encuentros .col1 {
  /* flex: 1 1 60%; */
}

#encuentros .col2 {
  display: flex;
  padding-top: 3rem;
  justify-content: center;
  align-items: center;
}

#encuentros ul {
  list-style: none; /* Elimina el estilo predeterminado de los bullets */
  padding-left: 0; /* Elimina el padding izquierdo */
}

#encuentros ul li {
  color: #ffffff;
  position: relative;
  padding-left: 20px; /* Ajusta según sea necesario */
}

#encuentros ul li::before {
  content: "•";
  color: var(--blue);
  position: absolute;
  left: 0;
  top: 0;
}
#encuentros h2 {
  margin-bottom: 1rem;
}
#encuentros h2,
#encuentros p,
#encuentros small {
  color: #ffffff;
}

#encuentros .featured-text {
  color: var(--text);
}

/* JORNADAS */
#jornadas {
  padding: 4rem 0;
}

#jornadas .row {
  align-items: center;
}

/* PONENTES */
#ponentes {
  background: var(--blue);
  padding: 4rem 0;
}

#ponentes .row1 .column {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-basis: 100%;
  text-align: center;
}

#ponentes .row1 .column p {
  max-width: 50ch;
}

#ponentes .row.grilla-ponentes {
  width: calc(100% - 2rem);
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* background: #5f40be; */
}

#ponentes .ficha {
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
}
#ponentes .ficha > img {
  width: 100%;
}
#ponentes .ficha .content{
  padding: 0.5rem 1rem;
}

#ponentes .ficha .company {
  color: var(--orange);
  margin-bottom: 0.5rem;
}

#ponentes .ficha p {
  color: #ffffff;
  line-height: 1em;
  margin: 0;
  font-size: 0.9rem;
  /* font-size: 0.9rem; */
}

/* PRUEBA DOBLE CARD */
#ponentes .row.grilla-ponentes {
  width: calc(100% - 2rem);
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#ponentes .ficha {
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
#ponentes .ficha > img {
  width: 100%;
}
#ponentes .ficha .content {
  padding: 0.5rem 1rem;
}
#ponentes .ficha .company {
  color: var(--orange);
  margin-bottom: 0.5rem;
}
#ponentes .ficha p {
  color: #000000; 
  line-height: 1em;
  margin: 0;
  font-size: 0.9rem;
}
#ponentes .ficha .back-content {
  padding: 2rem 1rem;
}
#ponentes .ficha .back-content p {
  color: #000000;
  line-height: 1.4em;
  margin-bottom: 1rem;
  font-size: 0.7rem;
}
.cont {
  perspective: 800px;
  width: 100%;
  max-width: 550px;
  height: 450px;
  margin: 0 auto;
}
.doubleCard {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.cont:hover .doubleCard {
  transform: rotateY(180deg);
}
.frontCard, .backCard {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}
.backCard {
  transform: rotateY(180deg);
}
@media (max-width: 768px) {
  .cont {
    height: 465px; 
    max-width: 100%;
  }
  .doubleCard {
    height: 100%;
  }
  .frontCard, .backCard {
    height: 100%;
  }
}
#ponentes h2 {
  color: #ffffff;
}

#ponentes p {
  color: #ffffff;
  /* font-size: 0.9rem; */
}
/* CALENDARIO */
#calendario {
  padding: 4rem 0;
  justify-content: center;
}

#calendario .row.eventos {
  width: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  height: 400px;
  position: relative;
}

#calendario .evento-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
  background: #f1f1f1;
  border-radius: 1rem;
  width: calc(100% - 4rem);
  padding: 1rem 2rem;
}

#calendario .evento-inner .icon {
  display: flex;
  gap: 0.5em;
  align-items: center;
  width: 6rem;
  /* border: 1px solid red; */
}

#calendario .evento-inner .dia::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/ico-calendar.svg") no-repeat;
}

#calendario .evento-inner .hora::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/ico-clock.svg") no-repeat;
}

#calendario .swiper {
  width: 100%;
  height: 100%;
}

#calendario .swiper-button {
  background: rgb(0, 0, 0);
  right: 0%;
  left: 94%;
  width: 30px;
  height: 30px;
  padding: 0.3rem;
  border-radius: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#calendario .swiper-button:hover {
  background: rgb(29, 29, 29);
}

#calendario .swiper-button:after {
  font-size: 20px;
  display: grid;
  place-items: center;
  color: rgb(255, 255, 255);
}

#calendario .swiper-button-prev {
  transform: rotate(90deg);
  transform-origin: 0%;
  top: 33%;
}

#calendario .swiper-button-next {
  transform: rotate(90deg);
  transform-origin: 0%;
  top: 53% !important;
}

@media (width > 768px) {
  #calendario .row.eventos {
    height: 450px;
  }
}

@media (width < 768px) {
  #calendario .evento-inner {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* TABS */
#tabs {
  padding: 4rem 0;
}

#tabs .programaHeader {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#tabs .tab-buttons {
  background: #ebebeb;
  padding: 0.3rem;
  border-radius: 0.7rem;
  gap: 0.3rem;
  display: flex;
}

#tabs .tab-btn {
  /* background: #e2e2e2; */
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5em 1.5em;
  border-radius: 0.4rem;
}

#tabs .tab-btn:before {
  content: "";
  width: 32px;
  height: 32px;
  background: url("../img/ico-calendar.svg") no-repeat;
}

#tabs .tab-btn[active] {
  color: #ffffff;
  background: var(--primary);
}

#tabs .tab-btn[active]:before {
  background: url("../img/ico-calendar-w.svg") no-repeat;
}

#tabs .tab-btn:not([active]):hover {
  background-color: #e6e6e6;
}

#tabs .tab-content {
  display: none;
  width: 100%;
}

#tabs .tab-content[active] {
  display: block;
}

#tabs .row {
  /* width: 100vw; */
  /* max-width: 100%; */
}

#tabs .column {
  flex-basis: 100%;
  /* background: green; */
}

#tabs .evento-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
  /* background: #f1f1f1; */
  border-radius: 1rem;
  /* width: calc(100% - 6rem); */
  padding: 1rem 2rem;
}

#tabs .evento-inner .hora {
  color: var(--orange);
}

#tabs .evento-inner .info p {
  margin: 0;
  max-width: 60ch;
}

#tabs .evento-inner .icon {
  display: flex;
  gap: 0.5em;
  align-items: center;
  /* width: 6rem; */
  /* border: 1px solid red; */
}

#tabs .evento-inner .dia::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/ico-calendar.svg") no-repeat;
}

#tabs .evento-inner .hora::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/ico-clock.svg") no-repeat;
}

#tabs .evento-inner i {
  display: block;
  font-size: 0.9em;
}

#tabs .evento-inner.ExportTalks {
  background: var(--blue) url("../img/orange-circle.svg") no-repeat;
  background-position: calc(100% + 300px) -350px;
  padding-top: 3rem;
  padding-bottom: 4rem;
  align-items: flex-start;
}

#tabs .evento-inner.ExportTalks p,
#tabs .evento-inner.ExportTalks h3,
#tabs .evento-inner.ExportTalks h4 {
  color: #ffffff;
}

#tabs .evento-inner.ExportTalks h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#tabs .evento-inner.ExportTalks h4 {
  margin-top: 1.5em;
}

#tabs .evento-inner.ExportTalks .hora::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("../img/ico-clock-w.svg") no-repeat;
}

@media (width < 768px) {
  #tabs .evento-inner {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  #tabs .evento-inner.ExportTalks {
    background: var(--blue) url("../img/orange-circle.svg") no-repeat;
    background-size: 60%;
    background-position: calc(100% + 80px) -80px;
  }
}

@media (width > 1000px) {
  #tabs .evento-inner .hora {
    flex: 0 0 120px;
  }
}
/* ANUNCIANTES */
#anunciantes {
  padding: 4rem 0;
  background: #fafafa;
  min-height: 60vh;
}

#anunciantes .grilla-anunciantes {
  gap: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (width > 768px) {
  #anunciantes .grilla-anunciantes {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* CONTACT */
#contacto {
  /* padding: 4rem 0; */
  /* background: #5f40be; */
  background: #fafafa;
}

#contacto .row {
  align-items: end;
}

#contacto .mapa {
  background: #e8eaed;
  border-radius: 0.5rem;
  overflow: hidden;
}

#contacto .mapa iframe {
  max-width: 100%;
  overflow: hidden;
}

#contacto .registro {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: baseline;
  gap: 0.5rem;
  padding: 2rem;
  min-height: calc(450px - 4rem);
  border-radius: 0.5rem;
  color: #ffffff;
}

#contacto .registro h2 {
  font-size: 0.8rem;
}

#contacto .registro h4 {
  font-size: 1.6rem;
  line-height: 1em;
}
@media screen and (max-width: 768px) {
  #contacto .registro {
    padding: 1rem;
  }
}

/* UBICACION */
#ubicacion {
  padding: 0rem 0;
  padding-bottom: 5rem;
  background: #fff;
}

#ubicacion .column {
  min-height: 30vh;
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#ubicacion .mapa {
  background: #e8eaed;
  border-radius: 0.5rem;
  overflow: hidden;
}

#ubicacion .mapa iframe {
  max-width: 100%;
  overflow: hidden;
}

/* CONOCE */
#conoce {
  padding: 4rem 0;
  background: #fafafa;
}

#conoce .column {
  gap: 1.5rem;
  min-height: 30vh;
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

footer {
  /* background: var(--blue); */
  color: var(--text);
  padding: 1rem 0;
}

footer nav {
  display: flex;
  gap: 1.2em;
}

footer nav a {
  color: var(--text);
}

footer .column {
  display: flex;
  align-items: center;
}

footer .column.col1 {
  /* display: none; */
}

@media screen and (max-width: 1000px) {
  footer .column.col1 {
    display: none;
  }
  footer .column.col2 {
    flex-basis: 100%;
  }
}

footer .logos {
  display: grid;
  grid-auto-flow: column;
  justify-items: center;
  /* max-width: 130px; */
}

footer .logos img {
  height: min(70px, 12vw);
}
