:root {
  /* Paleta de Colores Institucional */
  --azul-institucional: #071833;
  --amarillo-sol: #FFF62A;
  --naranja: #F68B00;
  --naranja-intenso: #F25C05;
  --terracota: #B95B2C;
  --blanco: #FFFFFF;

  /* Colores originales por fallback */
  --sand: #c49c5dff;
  --orange: #fd8c03ff;
  --wine: #772731ff;
  --yale-blue: #143f5fff;
  --black: #26252bff;
}

/* Desplazamiento suave global */
html {
  scroll-behavior: smooth;
}

/* Aplicando Tipografías Oficiales y sus Pesos */
body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  /* Regular para textos y cuerpo de información */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.fw-bold,
.display-5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700 !important;
  /* Bold para títulos y encabezados */
  color: var(--azul-institucional);
}

#hero {
  background-image: url(/eibia\ digitales/7.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero-hotel {
  background-image: url(/eibia\ digitales/7.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.btn,
.nav-link,
.fw-semibold,
.lead {
  font-family: "Montserrat", sans-serif;
  font-weight: 600 !important;
  /* SemiBold para destacados y botones */
}

/* Resalta el enlace en el que se encuentra el scroll */
#navbarNav .nav-link.active {
  color: var(--azul-institucional) !important;
  background-color: rgba(7, 24, 51, 0.1);
  /* Fondo Azul claro */
  font-weight: 700 !important;
}

.fondo-eibia {
  background-image: ;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Estilos personalizados */
.google-card {
  border: 1px solid #e0e0e0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.google-card:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(7, 24, 51, 0.08) !important;
}

/* Colores mapeados de la paleta original a la nueva institucional */
.text-google-blue {
  color: var(--azul-institucional);
}

.text-google-green {
  color: var(--terracota);
}

.text-google-yellow {
  color: var(--naranja);
}

.text-google-red {
  color: var(--naranja-intenso);
}

.section-title {
  color: var(--azul-institucional);
}

.btn-google-blue {
  background-color: var(--naranja);
  color: var(--blanco) !important;
  border: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-google-blue:hover {
  background-color: var(--naranja-intenso);
  box-shadow: 0 4px 12px rgba(246, 139, 0, 0.3);
}

/* Estilo para los inputs al estar activos (focus) */
.form-control:focus,
.form-select:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 4px rgba(246, 139, 0, 0.1);
}

/* Ajuste visual para floating labels */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--naranja) !important;
  opacity: 1;
}

.google-axis-card {
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease-in-out;
  border-radius: 12px;
}

.google-axis-card:hover {
  background-color: #f8f9fa;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(7, 24, 51, 0.3), 0 4px 8px 3px rgba(7, 24, 51, 0.15);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Colores remapeados a la nueva identidad */
.bg-google-blue {
  background-color: rgba(7, 24, 51, 0.1);
  color: var(--azul-institucional);
}

.bg-google-red {
  background-color: rgba(242, 92, 5, 0.1);
  color: var(--naranja-intenso);
}

.bg-google-yellow {
  background-color: rgba(255, 246, 42, 0.2);
  color: var(--azul-institucional);
}

.bg-google-green {
  background-color: rgba(185, 91, 44, 0.1);
  color: var(--terracota);
}

.axis-title {
  color: var(--azul-institucional);
  font-size: 1.05rem;
  line-height: 1.4;
}

.sch-card {
  background: white;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  overflow: hidden;
}

/* Bordes laterales */
.sch-border-blue {
  background-color: var(--azul-institucional);
  width: 8px;
}

.sch-border-green {
  background-color: var(--terracota);
  width: 8px;
}

.sch-border-yellow {
  background-color: var(--amarillo-sol);
  width: 8px;
}

/* Colores de Texto y Badges */
.sch-text-dark {
  color: var(--azul-institucional);
}

.sch-text-blue {
  color: var(--azul-institucional);
}

.sch-text-green {
  color: var(--terracota);
}

.sch-text-yellow {
  color: #d4a000;
}

/* Ajustado para mejor legibilidad */
.sch-text-red {
  color: var(--naranja-intenso);
}

.sch-bg-blue-light {
  background-color: rgba(7, 24, 51, 0.1);
}

.sch-bg-green-light {
  background-color: rgba(185, 91, 44, 0.1);
}

.sch-bg-yellow-light {
  background-color: rgba(255, 246, 42, 0.2);
}

.sch-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.sch-divider {
  opacity: 0.1;
  margin: 1rem 0;
  border-color: var(--azul-institucional);
}

.sch-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #5f6368;
  letter-spacing: 0.5px;
}

.sch-picnic {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: rgba(185, 91, 44, 0.05);
  border: 1px solid var(--terracota);
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracota);
}

.spk-text-dark {
  color: var(--azul-institucional);
}

.spk-avatar-wrapper {
  width: 100px;
  height: 100px;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.spk-avatar-wrapper:hover {
  border-color: #e0e0e0;
  transform: scale(1.05);
}

.spk-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.spk-bg-blue {
  background-color: var(--azul-institucional);
}

.spk-bg-red {
  background-color: var(--naranja-intenso);
}

.spk-bg-yellow {
  background-color: var(--amarillo-sol);
  color: var(--azul-institucional);
}

.spk-bg-green {
  background-color: var(--terracota);
}

#speakers-section h6 {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

#speakers-section p {
  font-size: 0.8rem;
  line-height: 1.2;
}

.g-nav {
  background-color: var(--blanco);
  border-bottom: 1px solid #e0e0e0;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.g-brand-img {
  filter: invert(1) brightness(0.2);
  transition: filter 0.3s ease;
}

.g-link {
  color: #5f6368 !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem !important;
  border-radius: 8px;
}

.g-link:hover {
  color: var(--naranja) !important;
  background-color: rgba(246, 139, 0, 0.1);
}

@media (min-width: 992px) {
  .g-navbar-toggler {
    display: none !important;
  }
}

.g-navbar-toggler {
  border: none;
  background: transparent;
}

.line {
  fill: none;
  stroke: #5f6368;
  stroke-width: 5.5;
  stroke-linecap: round;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
}

.opened svg {
  transform: rotate(45deg);
}

.opened .line1 {
  stroke-dashoffset: -98px;
}

.opened .line3 {
  stroke-dashoffset: -138px;
}

.line1,
.line2,
.line3 {
  stroke-dasharray: 40 139;
}

/* Responsive: agrandar la imagen principal (`.main-title`) en pantallas pequeñas */
/* Regla base para la imagen principal */
.main-title {
  width: 100%;
  height: auto;
  max-height: 100vh;
  display: block;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .parallax-hero {
    background-image: url("img/fondo-resp.jpg") !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .main-title {
    width: 115%;
    max-height: 80vh !important;
    margin-left: 0%; /* centra visualmente cuando crece */
  }
}

/* Parallax hero */
.parallax-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .parallax-hero {
    background-attachment: fixed; /* fallback en pantallas grandes */
  }
}

/* Parallax hero hotel*/
.parallax-hero-hotel {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .parallax-hero-hotel {
    background-attachment: fixed; /* fallback en pantallas grandes */
  }
}


/* --- SECCIÓN DE CONTACTO --- */

.gcnt-text-dark {
  color: var(--azul-institucional);
}

.gcnt-text-blue {
  color: var(--azul-institucional);
}

.gcnt-text-red {
  color: var(--naranja-intenso);
}

.gcnt-text-yellow {
  color: var(--naranja);
}

.gcnt-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.gcnt-bg-blue-light {
  background-color: rgba(7, 24, 51, 0.1);
}

.gcnt-bg-red-light {
  background-color: rgba(242, 92, 5, 0.1);
}

.gcnt-bg-yellow-light {
  background-color: rgba(255, 246, 42, 0.2);
}

.gcnt-shadow {
  box-shadow: 0 1px 3px rgba(7, 24, 51, 0.2), 0 4px 8px 3px rgba(7, 24, 51, 0.1) !important;
}

.gcnt-input-field {
  border: 1px solid #dadce0 !important;
  border-radius: 8px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gcnt-input-field:focus {
  border-color: var(--naranja) !important;
  box-shadow: 0 0 0 3px rgba(246, 139, 0, 0.1) !important;
}

.gcnt-label {
  color: #5f6368 !important;
}

.form-floating>.gcnt-input-field:focus~.gcnt-label {
  color: var(--naranja) !important;
}

.gcnt-btn-blue {
  background-color: var(--naranja) !important;
  color: #ffffff !important;
  border: none !important;
  transition: background-color 0.2s, transform 0.2s;
}

.gcnt-btn-blue:hover {
  background-color: var(--naranja-intenso) !important;
  transform: translateY(-1px);
}

/* --- FOOTER (Sobreescribiendo los estilos inline para ajustar a la paleta) --- */
#footer>.container-fluid {
  background-color: var(--blanco) !important;
  border-top: 4px solid var(--amarillo-sol);
}

#footer a {
  color: var(--blanco) !important;
}

#footer svg {
  /* fill: var(--amarillo-sol) !important; */
  transition: all 0.3s ease;
}

#footer .hover-brand:hover svg {
  fill: var(--naranja) !important;
  transform: translateY(-3px);
}



.inscripcion-btn {
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: rgba(246, 139, 0, 0.3) 0px 4px 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 80px;
  box-sizing: border-box;
  background: var(--naranja);
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  padding: 12px 24px;
  border-radius: 25px;
  overflow: hidden;
  transition: 0.3s;
  gap: 8px;
}

.inscripcion-btn:hover {
  background: var(--naranja-intenso);
  box-shadow: rgba(242, 92, 5, 0.5) 0px 6px 20px;
  transform: translateY(-2px);
}

.navbar-bg {
  background: var(--azul-institucional);
}

.nav-link {
  font-family: "Montserrat", sans-serif;
  color: rgb(236, 236, 236);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.3s ease-in-out, text-decoration-color 0.3s ease-in-out;
  font-weight: bold;
}

.nav-link:hover {
  color: var(--naranja);
  text-decoration-color: var(--naranja);
}

.btn.btn-primary.btn-sid {
  background-color: var(--naranja);
  border-color: white;
}

.btn.btn-primary.btn-sid:hover {
  background-color: var(--terracota);
  border-color: white;
}

/*Resources*/

/* hamburger menu */
.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}

.menu.navbar-toggler:focus {
  box-shadow: none;
}

.line {
  fill: none;
  stroke: #747474;

  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}

.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.navbar-toggler {
  border: none !important;
  font-size: 1em !important;
}

h2.timeline {
  text-align: start;
}

@media only screen and (max-width: 768px) {
  h2.timeline {
    text-align: center;
  }
}

#footer {
  margin-top: auto;
}

   /* --- Tabla del Programa (2 columnas) --- */
    .prog-table {
      border-collapse: separate;
      border-spacing: 0;
      width: 100%;
      margin-bottom: 0;
    }

    .prog-table thead th {
      background-color: var(--azul-institucional);
      color: var(--blanco);
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
      padding: 1rem 1.25rem;
      text-align: left;
      border: none;
      font-size: 0.95rem;
    }

    .prog-table tbody tr {
      transition: background-color 0.2s ease;
    }

    .prog-table tbody tr:hover {
      background-color: rgba(7, 24, 51, 0.03);
    }

    .prog-table tbody td {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid #e8eaed;
      vertical-align: top;
      font-size: 0.95rem;
      color: #3c4043;
    }

    .prog-table tbody tr:last-child td {
      border-bottom: none;
    }

    .prog-time {
      font-family: "Montserrat", sans-serif;
      font-weight: 700;
      color: var(--azul-institucional);
      white-space: nowrap;
      width: 140px;
      font-size: 1rem;
    }

    .prog-activity {
      color: #3c4043;
      line-height: 1.5;
    }

    .prog-activity strong {
      color: var(--azul-institucional);
      font-weight: 700;
      display: block;
      margin-bottom: 0.15rem;
    }

    /* Filas que ocupan todo el ancho (Preguntas, Acreditaciones, etc.) */
    .prog-full {
      background-color: rgba(7, 24, 51, 0.05);
      font-style: italic;
    }

    .prog-full td {
      text-align: center;
      font-weight: 600;
      color: var(--azul-institucional);
    }

    /* Filas que ocupan todo el ancho (Preguntas, Acreditaciones, etc.) */
    .prog-full-alt {
      
      background-color: var(--azul-institucional);

    }

    .prog-full-alt td {
      text-align: center;
      font-weight: 600;
      color: #ffffff !important;
    } 

    
    

    /* Coffee Break */
    .prog-break td {
      background-color: rgba(255, 246, 42, 0.15) !important;
      font-weight: 600;
      color: #8a6d00 !important;
    }

    /* Almuerzo */
    .prog-lunch td {
      background-color: rgba(185, 91, 44, 0.08) !important;
      font-weight: 600;
      color: var(--terracota) !important;
    }

    /* Aperturas / Presentaciones institucionales */
    .prog-opening td {
      background-color: rgba(246, 139, 0, 0.06);
    }

    /* Bordes laterales por día */
    .prog-border-blue {
      border-left: 6px solid var(--azul-institucional);
    }

    .prog-border-green {
      border-left: 6px solid var(--terracota);
    }

    .prog-border-yellow {
      border-left: 6px solid var(--amarillo-sol);
    }

    /* Hero del programa */
    #program-hero {
      background-image: url(img/fondo-alt-2--11.webp);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 35vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .prog-hero-title {
      color: var(--blanco);
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
      font-size: 3rem;
      font-weight: 700;
    }

    .prog-hero-subtitle {
      color: var(--blanco);
      text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
      font-size: 1.25rem;
      font-weight: 500;
    }

    @media (max-width: 767.98px) {
      .prog-hero-title {
        font-size: 2rem;
      }

      .prog-hero-subtitle {
        font-size: 1rem;
      }

      .prog-table thead {
        display: none;
      }

      .prog-table,
      .prog-table tbody,
      .prog-table tr,
      .prog-table td {
        display: block;
        width: 100%;
      }

      .prog-table tr {
        padding: 1rem 0;
        border-bottom: 2px solid #e8eaed;
      }

      .prog-time {
        padding-bottom: 0.4rem;
        margin-bottom: 0.4rem;
        border-bottom: 1px dashed #e8eaed;
      }

      .prog-table td {
        padding: 0.25rem 1rem;
        border-bottom: none;
      }
    }