:root {
  /* Tipografías */
  --font-primary: "Manrope", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  /* Colores SIMI */
  --color-primary: #3261EA;
  --color-primary-light: #32ABEA;
  --color-bg: #E9EFF2;
  --color-black: #000000;
  --color-white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  transition: .3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  position: relative;
}

/* ==================================================
   TYPOGRAPHY
================================================== */
.h1-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.h2-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
}

.h3-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.h4-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.h5-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.p-text {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* ==================================================
   TEXT COLORS
================================================== */
.txt-white {
  color: var(--color-white);
}

.txt-blue {
  color: var(--color-primary);
}

.txt-light-blue {
  color: var(--color-primary-light);
}

.txt-black {
  color: var(--color-black);
}

/* ==================================================
   BACKGROUNDS
================================================== */
.bg-blue {
  background-color: var(--color-primary);
}

.bg-light-blue {
  background-color: var(--color-primary-light);
}

.bg-gray {
  background-color: var(--color-bg);
}

.bg-white {
  background-color: var(--color-white);
}

/* ==================================================
   BUTTONS
================================================== */
.btn-simi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(90deg,
      var(--color-primary) 0%,
      var(--color-primary-light) 100%);
  background-size: 200% auto;
  text-decoration: none;
  transition: all .4s ease;
}

.btn-simi:hover {
  color: var(--color-white);
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(50, 97, 234, .25);
}

.btn-simi-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 32px;
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  text-decoration: none;
  transition: all .3s ease;
}

.btn-simi-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ==================================================
   CARDS
================================================== */
.card-simi {
  background: var(--color-white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 991.98px) {
  .h1-title {
    font-size: 48px;
  }

  .h2-title {
    font-size: 40px;
  }

  .h3-title {
    font-size: 34px;
  }

  .h4-title {
    font-size: 26px;
  }

  .h5-title {
    font-size: 18px;
  }

  .p-text {
    font-size: 12px;
  }

  .btn-simi,
  .btn-simi-outline {
    font-size: 18px;
    min-height: 50px;
    padding: 12px 24px;
  }

  .card-simi {
    padding: 24px;
  }
}

/* ==================================================
   HEADER
================================================== */
.site-header {
  background: var(--color-bg);
  padding: 20px 0;
}

.navbar {
  padding: 0;
}

.nav-item {
  text-align: center;
}

.navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  padding-bottom: 15px;
}

.navbar-nav {
  gap: 12px;
}

.nav-link {
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: .3px;
  transition: .3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary) !important;
}

.nav-divider {
  color: #9a9a9a;
  font-size: 11px;
}

/* Desktop Flags */
.header-languages {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-languages img {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Mobile Button */
.navbar-toggler {
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler i {
  font-size: 34px;
  color: var(--color-primary);
}

/* Mobile Languages */
.mobile-languages {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d6dde2;
}

.mobile-languages-title {
  display: block;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
}

.mobile-languages-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-languages-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-black);
  font-size: 14px;
  font-weight: 600;
}

.mobile-languages-list img {
  width: 22px !important;
  height: 22px !important;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .site-header {
    padding: 15px;
  }

  .navbar-brand img {
    height: 46px;
    padding-bottom: 10px;
  }

  .navbar-collapse {
    padding-top: 25px;
  }

  .navbar-nav {
    gap: 0;
    align-items: flex-start !important;
  }

  .nav-link {
    padding: 12px 0;
    font-size: 14px;
  }

  .navbar-toggler i {
    font-size: 30px;
  }

  .mobile-languages-list img {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    min-height: 22px;
    flex: 0 0 22px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
  }
}

/* ==================================================
   FOOTER
================================================== */
.site-footer {
  background: var(--color-primary);
  padding: 18px 0;
}

.footer-produced {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-produced span {
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer-produced img {
  height: 22px;
  width: auto;
}

.footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-partners img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 42px;
  width: auto;
  padding-bottom: 10px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  color: var(--color-white);
  font-size: 16px;
  transition: .3s;
}

.footer-social a:hover {
  opacity: .8;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .site-footer {
    padding: 30px 0;
  }

  /* PRODUCED BY */
  .footer-produced {
    justify-content: center;
    margin-bottom: 25px;
  }

  /* LOGOS CENTRALES */
  .footer-partners {
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
  }

  .footer-partners img {
    height: 24px;
    max-width: 22%;
  }

  /* SIMI + REDES */
  .footer-right {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .footer-logo {
    height: 34px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    font-size: 15px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }

  .footer-left {
    margin-bottom: 0;
  }

  .footer-center {
    margin-bottom: 0;
  }
}

/* ==================================================
   HERO
================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 100px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 50px !important;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -100px;
  width: 110%;
  height: 180px;
  background: linear-gradient(90deg,
      var(--color-primary),
      var(--color-primary-light));
  transform: rotate(5deg);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 20px 0 70px;
  }

  .hero-section::after {
    height: 120px;
    bottom: -80px;
  }
}

/* ==================================================
   INTRO SECTION
================================================== */
.home-intro {
  background: linear-gradient(90deg,
      var(--color-primary),
      var(--color-primary-light));
  padding: 100px 0 140px;
  margin-top: 0;
}

.intro-card {
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  padding: 35px;
  backdrop-filter: blur(4px);
}

.home-intro a {
  color: #ffffff !important;
  text-decoration: none;
}
.home-intro a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .home-intro {
    padding: 60px 0 100px;
  }

  .intro-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .intro-content .h4-title {
    margin-bottom: 25px !important;
  }

  .intro-content .p-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .intro-card {
    padding: 30px 25px;
    border-radius: 15px;
  }

  .intro-card .h4-title {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 25px !important;
  }

  .intro-card .p-text {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* ==================================================
 metricas
================================================== */
.stats-section {
  background: var(--color-bg);
  padding: 0 0 80px;
}

.stats-item {
  text-align: center;
}

.stats-circle {
  width: 110px;
  margin: -55px auto 20px;
}

.stats-circle img {
  display: block;
  width: 100%;
  height: auto;
}

.stats-item h5 {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 150px;
  margin: auto;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .stats-section {
    padding-bottom: 80px;
  }

  .stats-item {
    margin-bottom: 85px;
  }

  .stats-circle {
    width: 90px;
    height: 90px;
    margin: -45px auto 15px;
  }

  .stats-circle span {
    font-size: 20px;
  }

  .stats-circle strong {
    font-size: 22px;
  }

  .stats-item h5 {
    font-size: 11px;
    line-height: 1.2;
    max-width: 140px;
    margin: 0 auto;
  }
}

/* ==================================================
   Slide
================================================== */
.scientific-program {
  background: var(--color-bg);
  padding: 100px 0;
}

.program-label {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
}

#programCarousel {
  position: relative;
  padding: 0 50px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  opacity: 1;
}

.carousel-control-prev {
  left: -10px;
}

.carousel-control-next {
  right: -10px;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: var(--color-primary);
  font-size: 30px;
}

.carousel-indicators-custom {
  display: flex;
  gap: 8px;
  margin-top: 25px;
  padding: 0 20px;
  position: relative;
  margin: 1rem 0;
  justify-content: start;
}

.carousel-indicators-custom button {
  all: unset;
  margin: 0 !important;
  width: 10px !important;
  height: 10px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #a3a7a9 !important;
}

.carousel-indicators-custom button.active {
  background: var(--color-primary) !important;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .scientific-program {
    padding: 70px 0;
  }

  .scientific-program .col-lg-5 {
    margin-bottom: 40px;
  }

  #programCarousel {
    padding: 0 35px;
  }
}

/* ==================================================
  Cierre
================================================== */
.congress-format {
  background: var(--color-bg);
  padding: 100px 0;
}

.congress-format .row {
  --bs-gutter-x: 14rem;
}

.section-label {
  display: block;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.format-item {
  margin-bottom: 25px;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.audience-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.countdown-box {
  margin-top: 35px;
  border: 1px solid rgba(50, 97, 234, .35);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.countdown-box strong {
  display: block;
  color: var(--color-primary);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.countdown-box span {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.separator {
  font-size: 28px;
  font-weight: 800;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .congress-format .row {
    --bs-gutter-x: 1.5rem;
  }

  .format-list {
    max-width: 100%;
  }

  .audience-list {
    margin: 20px 0 30px;
  }

  .countdown-box {
    margin-top: 30px;
  }
}

/* ==================================================

    PAGINA
   REGISTRACION

================================================== */
.registration-page {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 100px - 78px);
  padding: 60px 0;
}

.registration-logo {
  max-width: 320px;
  margin: 0 auto;
}

.registration-hotel {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.registration-form {
  max-width: 420px;
  margin-left: auto;
}

.registration-form h5 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.registration-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.registration-form .form-control {
  height: 42px;
  border: 0;
  background: #fff;
  border-radius: 1rem;
  font-size: 14px;
  box-shadow: none;
}

.registration-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(50, 97, 234, .10);
}

.registration-form .btn-simi {
  width: fit-content;
  margin-top: 10px;
}

/* ---------------MOBILE--------------- */
@media (max-width: 991.98px) {
  .registration-page {
    padding: 70px 0;
  }

  .registration-info {
    margin-bottom: 50px;
  }

  .registration-logo {
    max-width: 260px;
  }

  .registration-form {
    max-width: 100%;
  }

  .registration-form .btn-simi {
    width: 100%;
  }
}

/*==========================================
SPONSORS
==========================================*/
.sponsors-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
  padding: 60px 0;
}

.sponsors-section .espacio {
  padding-top: 90px;
}

.sponsors-grid {
  row-gap: 40px;
}

.sponsor-logo {
  display: block;
  margin: auto;
  max-width: 170px;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: .3s ease;
  opacity: .85;
}

.sponsor-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

@media(max-width:991.98px) {
  .sponsors-section {
    padding: 70px 0;
  }

  .sponsors-grid {
    row-gap: 30px;
  }

  .sponsor-logo {
    max-width: 130px;
    max-height: 55px;
  }
}

/*==========================================
CONTACT
==========================================*/
.contact-section {
  position: relative;
  background: var(--color-bg);
  background-image: url("../images/hero-bg.png");
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 100px - 78px);
  padding: 60px 0;
  overflow: hidden;
  background-position: bottom center;
}

.contact-logo {
  max-width: 330px;
}

.contact-location {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.contact-card h4 {
  font-size: 36px;
  line-height: 1.2;
}

.contact-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-mail {
  display: inline-block;
  margin-top: 5px;
  font-size: 16px !important;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.contact-row {
  min-height: 60vh;
}

@media (max-width: 991px) {
  .contact-card h4 {
    font-size: 26px;
    line-height: 1.3;
  }
}

/*==========================================
AGENDA
==========================================*/
.agenda-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
  min-height: calc(100vh - 100px - 78px);
  padding: 60px 0;
}

.agenda-card {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  min-height: 430px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .12);
  transition: .35s ease;
}

.agenda-card h4 {
  font-size: 16px;
  font-weight: 500;
}

.agenda-card:hover {
  transform: translateY(-8px);
}

.agenda-day {
  text-align: center;
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 50px;
}

.agenda-day span {
  font-weight: 700;
}

.agenda-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  text-align: center;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.agenda-list li {
  padding: 18px 0;
  border-bottom: 1px solid #d9d9d9;
  font-size: 16px;
  font-weight: 500;
}

.agenda-list li:last-child {
  border-bottom: 0;
}

/*==========================================
SPEAKERS
==========================================*/
.speakers-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 100px - 78px);
  padding: 60px 0;
  background: var(--color-bg) url("../images/hero-bg-02.png") no-repeat center bottom;
  background-size: cover;
  overflow: hidden;
}

#speakersCarousel {
  position: relative;
  padding: 0 90px;
}

.speakers-section .carousel-inner {
  padding: 40px 0;
}

.carousel-item {
  padding: 0 20px;
}

/*========================
Speaker
========================*/
.speaker-card {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.speaker-avatar {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.speaker-photo {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-info {
  max-width: 320px;
}

.speaker-info h4 {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 700;
}

.speaker-company,
.speaker-country {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.speaker-country {
  margin-bottom: 18px;
}

.speaker-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/*========================
Arrows
========================*/
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: var(--color-primary);
  font-size: 48px;
}

/*============ TABLET ===============*/
@media(max-width:1199px) {
  #speakersCarousel {
    padding: 0 110px;
  }

  .speaker-avatar {
    width: 130px;
    height: 130px;
    min-width: 130px;
  }

  .speaker-photo {
    width: 112px;
    height: 112px;
  }

  #speakersCarousel {
    margin-bottom: 0px;
  }
}

/*===============  MOBILE ==========*/
@media(max-width:991.98px) {
  .speakers-section {
    min-height: auto;
    padding: 80px 0;
    background-size: contain;
  }

  #speakersCarousel {
    padding: 0 40px;
  }

  .carousel-item {
    min-height: auto;
  }

  .speaker-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .speaker-avatar {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  .speaker-photo {
    width: 102px;
    height: 102px;
  }

  .speaker-info {
    max-width: 100%;
  }

  .speaker-info h4 {
    font-size: 22px;
  }

  .speaker-company,
  .speaker-country {
    font-size: 13px;
  }

  .speaker-info p {
    font-size: 15px;
  }

  .carousel-control-prev {
    left: -5px;
  }

  .carousel-control-next {
    right: -5px;
  }
}
