:root {
    /* Colors: */
    --medex-primary: #005487;
    --medex-secondary: #238DC1;
    --medex-light: #6BC4E8;
    --medex-light-2: #F0F4F7;

    --ipade-primary: #0A2240;
    --ipade-secondary: #002D74;
    --ipade-light: #ABC8E7;

    --white: #fff;
    --black: #000;
    --gray: #393939;
    --gray-light: #F2F2F2;

    --font-dm: "DM Sans", "Verdana", Arial, Helvetica, sans-serif;
    --font-signika: "Signika", "DM Sans", Arial, Helvetica, sans-serif;
    --p: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
}
/* General */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-dm);
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    background-color: var(--white);
}
.rounded {
    border-radius: 20px!important;
}
/* Background */
.bg-ipade-primary {
    background-color: var(--ipade-primary);
}
.bg-ipade-secondary {
    background-color: var(--ipade-secondary);
}
.bg-medex-primary {
    background-color: var(--medex-primary);
}
.bg-medex-secondary {
    background-color: var(--medex-secondary);
}
.bg-medex-light-2 {
    background-color: var(--medex-light-2);
}
.bg-medex-light {
    background-color: var(--medex-light);
}
.bg-graylight {
    background-color: var(--gray-light);
}
/* Colors */
.color-medex-secondary {
    color: var(--medex-secondary);
}
.color-medex-primary {
    color: var(--medex-primary);
}
.color-medex-light {
    color: var(--medex-light);
}
.color-ipade-primary {
    color: var(--ipade-primary);
}
.color-ipade-secondary {
    color: var(--ipade-secondary);
}
/* Buttons */
a {
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 24px;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn-medex-secondary {
    color: var(--white);
    background-color: var(--medex-secondary);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 20px;
}
.btn-medex-secondary:hover,
.btn-medex-secondary:focus,
.btn-medex-secondary:active {
    color: var(--white);
    border-color: var(--ipade-primary);
    background-color: var(--ipade-primary);
}
.btn-ipade-primary {
    color: var(--white);
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--ipade-primary);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0;
}
.btn-ipade-primary:hover,
.btn-ipade-primary:focus,
.btn-ipade-primary:active {
    color: var(--white);
    border-color: var(--ipade-secondary);
    background-color: var(--ipade-secondary);
}
/* Títulos */
h1 {
    font-family: var(--font-signika);
    /* max 45px - min 30px  */
    font-size: clamp(1.875rem, 0.8749rem + 1.6146vw, 2.8125rem);
}
h2 {
    /* max 36px - min 24px  */
    font-size: clamp(1.5rem, 0.6999rem + 1.2917vw, 2.25rem);
}
h3 {
    /* max 24px - min 20px  */
    font-size: clamp(1.25rem, 0.9833rem + 0.4306vw, 1.5rem);
}
p {
    /* font-size: clamp(0.875rem, 0.7417rem + 0.2153vw, 1rem); */
}
.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: -1rem -.5rem 0 0;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: var(--medex-secondary);
    opacity: 1;
}
/* Track */
::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--white);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--ipade-primary);
    border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
::-moz-selection {
    background-color: var(--ipade-primary);
    color: var(--white);
}
::selection {
    background-color: var(--ipade-primary);
    color: var(--white);
}
/* Navbar */
.navbar {
    position: relative;
    padding: 21px 0;
    width: 100%;
    z-index: 5;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.navbar-brand {
    margin: 0;
}
.navbar-brand img {
    max-width: 215px;
    width: 100%;
    height: auto;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.responsive-logo {
  width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  .responsive-logo {
    width: 120px;
  }
}
.button-whatsapp {
    font-family: var(--font-signika);
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    font-weight: bold;
    color: var(--white);
    background-color: #25D366;
    text-decoration: none;
    padding: 0 0 0 13px;
}
.button-whatsapp i {
    font-size: 1.25rem;
    margin-right: 13px;
}
.button-whatsapp span {
    display: inline-block;
    color: var(--gray);
    padding: 13px;
    background-color: var(--gray-light);
}
.button-whatsapp:hover {
    color: var(--white);
}
.banner-principal {
  background-color: #f4ffe8;
}

.text-ipade-green {
  color: #3f873f;
}

.btn-ipade-green {
  background-color: #3f873f;
  color: #fff;
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.btn-ipade-green:hover {
  background-color: #234a33;
  color: #fff;
}
/* Línea inferior izquierda */
.bottom-accent-line {
  display: block;
  width: 580px;
  height: 10px;
  background-color: #162518;
}

.evento-section {
  position: relative;
  padding-bottom: 0rem;
}

/* === Responsividad === */
@media (max-width: 991px) {
  .bottom-accent-line {
    width: 220px;
  }
}

@media (max-width: 575px) {
  .bottom-accent-line {
    width: 180px; 
    height: 4px; 
  }
}


.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
/* === Fuente global === */
body, h1, h2, h3, p, a, strong, button {
  font-family: 'Signika', sans-serif;
}
.mede-participan-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32;
}

.stat-line {
  width: 3px;
  height: 40px;
  background-color: #43A047;
  border-radius: 2px;
  margin-top: 4px;
}

.mede-participan-section h2 {
  line-height: 1.3;
}

.mede-participan-section h3 {
  font-size: 2rem;
}

.mede-participan-section p.small {
  font-size: 0.9rem;
  color: #333;
}
.mede-asistir-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32;
}

.mede-asistir-section ul li {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.mede-asistir-section .form-box {
  background-color: #fafafa;
}

.mede-asistir-section .form-box h3 {
  font-size: 1.5rem;
}
@media (max-width: 1199px) {
  #JotFormIFrame-251874000787662 {
    min-height: 600px !important;
  }
}
@media (max-width: 991px) {
  #JotFormIFrame-251874000787662 {
    min-height: 300px !important;
  }
}
@media (max-width: 769px) {
  #JotFormIFrame-251874000787662 {
    min-height: 560px !important;
  }
}
.mede-asistir-section .jotform-placeholder {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
}
.mede-experiencias-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32; 
}

.quote-icon {
  font-size: 2rem;
  vertical-align: middle;
}

.testimonial-card {
  background-color: #EAF5EA;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-text {
  flex: 1;
}

.testimonial-card img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}
.mede-agenda-section {
  font-family: 'Signika', sans-serif;
}

.agenda-box {
  background-color: #0D2818; 
  border-radius: 1.5rem;
}

.bg-fi-green {
  background-color: #3f873f; 
}

.bg-light-green {
  background-color: #d4f5d4;
  color: #000;
}

.btn-light-green {
  background-color: #3f873f;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-light-green:hover {
  background-color: #4CAF50;
  color: #fff;
}
.agenda-item {
  border-radius: 8px 8px 0px 0px;
  padding: 8px 10px 5px 10px;
}

.agenda-item p {
  color: #000;
}
.info-item {
    border-left: solid 2px #4CAF50;
    padding: 5px 10px 5px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
}
/* Footer */

.footer {
    padding: clamp(2.3125rem, 1.7791rem + 0.8611vw, 2.8125rem) 0;
}

footer ul li {
    background-color: transparent;
}

footer ul li a:hover {
    color: var(--ipade-light) !important;
}

footer .p {
    font-size: var(--p);
}

footer .p a {
    text-decoration: none;
}
footer a {
  color: #fff !important;
  text-decoration: none;
}

footer a:hover {
  color: #d4f5d4 !important; 
}

/* Íconos Font Awesome */
footer i {
  color: #fff !important;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer i:hover {
  color: #d4f5d4 !important;
}
/* Form */
.form-label {
    font-weight: bold;
    background-color: transparent;
}
.form-select,
.form-control {
    padding: .5rem .75rem;
    border: 0;
    border-radius: 0;
    box-shadow: 0px 3px 6px #00000029;
}
::placeholder {
    color: #9A9A9A;
    font-style: italic;
    opacity: 1;
}
::-ms-input-placeholder {
    font-style: italic;
    color: #9A9A9A;
}
.enlace-aviso {
    font-size: 12px;
    color: var(--gray);
}

/* Section - Header */

.banner-principal h3 {
    display: inline-block;
    font-family: var(--font-signika);
    padding: 0px 23px;
}
.banner-principal p {
    font-size: 24px;
}
.banner-principal ul {
    font-size: 20px;
    text-align: center;
    gap: 1rem;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 20px;
    max-width: 650px;
}
.banner-principal li {
    flex: 1 0 auto;
    font-family: var(--font-signika);
    list-style: none;
}
.caso-section .subtitulo {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}

.caso-section .titulo {
  color: #1f8b4c; /* Verde */
}

.caso-imagen {
  max-width: 480px;
  margin: auto;
}
.imagenes-caso {
  position: relative;
  display: flex;
  gap: 20px;
}

.img-caso {
  max-width: 440px;
  height: auto;
}

.img-1 {
  margin-top: 40px;
}

.img-2 {
  margin-top: -40px;
}

@media (max-width: 768px) {
  .imagenes-caso {
    flex-direction: column;
    align-items: center;
  }
  .img-1, .img-2 {
    margin: 0;
  }
}


@media (max-width: 768px) {
  .caso-section {
    text-align: center;
  }
  .caso-imagen {
    margin-top: 2rem;
  }
}
.custom-img {
  max-width: 240px;
}

.img-1 {
  margin-top: 30px;
}

.img-2 {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .col-lg-6.d-flex img {
    margin: 10px auto !important;
    display: block;
  }
}


/* Section - Información */
.informacion {
    padding: clamp(3.125rem, -0.2086rem + 5.3821vw, 6.25rem) 0;
}
.informacion h3.titular {
    font-family: var(--font-signika);
    font-size: clamp(1.5rem, 1.2333rem + 0.4306vw, 1.75rem);
    max-width: 460px;
    width: 100%;
}
.informacion h3:not(.titular) {
    line-height: double;
    position: relative;
    display: inline-block;
    font-family: var(--font-signika);
}
.informacion h3:not(.titular)::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
.informacion p {
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    max-width: 460px;
    width: 100%;
}
.informacion ul {
    padding: 0;
}
.informacion li {
    list-style-type: none;
}
.informacion li li {
    list-style-type: disc;
}
.informacion li li::marker {
    color: var(--medex-light);
}
.informacion li:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}
.informacion li ul {
    padding: .5rem 0 .5rem 1.5rem;
}
.informacion li li:not(:last-child) {
    border-bottom: 0;
    margin-bottom: 0;
}
.informacion li p {
    font-size: 1rem;
    margin: 0;
}
.informacion .bg-graylight {
    background-color: #FAFAFA;
    padding: 35px 1rem;
}
.informacion .bg-graylight h2 {
    font-family: var(--font-signika);
    max-width: 400px;
    width: 100%;
}
.informacion .bg-graylight form {
    display: block;
    margin: 0 auto;
    /* max-width: 350px; */
    width: 100%;
}
.informacion .img-modal img {
    max-width: 549px;
    width: 100%;
}
/* Section - Panelistas */
.panelistas {
    padding: 0 0 50px;
}
.panelistas.only {
    padding-bottom: 100px;
}
.panelistas h2 {
    font-family: var(--font-signika);
}
.panelistas .bg-white {
    padding: 1rem;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 15px;
    height: 100%;
}
.panelista-img {
    position: relative;
    display: block;
    margin-bottom: 35px;
}
.panelista-img img {
    display: block;
    position: relative;
    max-width: 270px;
    width: 100%;
    z-index: 2;
}
.panelista-img::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto 0 auto auto;
    height: 150px;
    width: 100%;
    border-radius: 20px;
    background-color: var(--medex-secondary);
}
.panelistas h6 {
    position: relative;
    display: inline-block;
    font-family: var(--font-signika);
}
.panelistas h6::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
/* Section - Videos */
.videos {
    padding: 0 0 100px;
}
.videos img {
    display: block;
    width: 100%;
}
.mejor-imba h3 {
    font-family: var(--font-signika);

}
.mejor-imba h3::before {
    display: none;
}
.mejor-imba img {
    display: block;
    max-width: 400px;
    width: 100%;
}
.informacion .mejor-imba {
    margin-top: 50px;
}
/* Section - Gracias */
.gracias {
    color: #0c0c0c;
    min-height: 71.5vmin;
    height: auto;
    padding: clamp(6.25rem, -3.7507rem + 16.1464vw, 15.625rem) 0;
}
.gracias h1 {
    font-family: var(--font-signika);
}
.gracias h3 {
    position: relative;
}
.gracias h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
.gracias .font-signika {
    font-family: var(--font-signika);
}
.btn-ipade-secondary {
    font-family: var(--font-signika);
    color: var(--white);
    border-color: var(--ipade-secondary);
    background-color: var(--ipade-secondary);
    border-radius: 3px;
}
.btn-ipade-secondary:hover,
.btn-ipade-secondary:focus,
.btn-ipade-secondary:active {
    color: var(--white);
    border-color: var(--ipade-primary);
    background-color: var(--ipade-primary);
}
.btn-ipade-secondary.only-border {
    font-family: var(--font-signika);
    color: var(--ipade-secondary);
    border-color: var(--ipade-secondary);
    background-color: transparent;
    border-radius: 3px;
}
.btn-ipade-secondary.only-border:hover,
.btn-ipade-secondary.only-border:focus,
.btn-ipade-secondary.only-border:active {
    color: var(--ipade-primary);
    border-color: var(--ipade-primary);
    background-color: transparent;
}

/* Responsive */
@media only screen and (min-width:1366px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 90%;
    }
}
@media only screen and (max-width:991px) {
    /* General */
    .row > .col-12 {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
    .navbar {
        padding-left: .5rem;
    }
    .navbar-brand img {
        max-width: 125px;
    }
    .navbar-toggler {
        border: 0;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }
    .button-whatsapp {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        height: 42px;
        width: 42px;
    }
    #nav .button-whatsapp,
    .button-whatsapp span {
        display: none;
    }
    .fixed-navbar .button-whatsapp {
        height: 42px;
        width: 42px;
    }
    /* Body */
    .banner-principal p {
        display: none;
    }
    .banner-caja {
        position: relative;
        padding: 1rem;
        /*background-color: rgba(35, 140, 193, 0.5);*/
        transform: translateY(40px);
    }
    .banner-principal ul {
        font-size: 18px;
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .informacion {
        padding-top: 100px;
    }
    .informacion .bg-graylight form {
        max-width: inherit;
    }


    
    
}