/* Reset and base styles */


@font-face {
    font-family: Alkaline;
    src: url("../assets/alkaline-medium.otf") format("opentype");
}

@font-face {
    font-family: Gotham-Medium;
    src: url("../assets/GothamRounded-Medium.otf") format("opentype");
}

@font-face {
    font-family: Gotham-Bold;
    src: url("../assets/GothamRounded-Bold.otf") format("opentype");
}

/* @font-face {
    font-family: Gotham-Light;
    src: url("../assets/GothamRounded-Light.otf") format("opentype");
    font-display: swap;
} */

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap'); */

:root {
    --gotham-medium: 'Gotham-Medium', sans-serif;
    --gotham-bold: 'Gotham-Bold', sans-serif;
    --gotham-light: 'Gotham-Light', sans-serif;
    --alkaline: 'Alkaline', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 150%;
}

body {
    line-height: 150%;
}

.mw-250 {
    max-width: 250px;
    min-width: 250px;
    min-height: 88px;
    max-height: 88px;

}

.mw-333 {
    max-width: 333px;
    min-width: 333px;
    min-height: 112px;
    max-height: 112px;
}

.mw-304 {
    max-width: 304px;
    min-width: 304px;
    min-height: 160px;
    max-height: 160px;
}

.mw-292 {
    max-width: 292px;
    min-width: 292px;
    min-height: 136px;
    max-height: 136px;
}

.mw-376 {
    max-width: 376px;
    min-width: 376px;
    min-height: 160px;
    max-height: 160px;
}

.mw-429 {
    max-width: 429px;
    min-width: 429px;
    min-height: 208px;
    max-height: 208px;
    position: relative;
}

.sello {
    width: 75px;
    height: 75px;
    position: absolute;
    top: -40px;
    left: -40px;
}

/* Container styles */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reset and base styles */

.hero {
    width: 100%;
    max-height: 1100px;
    overflow: hidden;
    position: relative;
}

.hero__image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1439px) {
    .hero {
        max-height: calc(771px * (1440px / 1920px));
    }
}

@media (max-width: 1200px) {
    .hero {
        max-height: calc(771px * (1200px / 1920px));
    }
}

@media (max-width: 1024px) {
    .hero {
        max-height: calc(771px * (1024px / 1920px));
    }
}

@media (max-width: 768px) {
    .hero {
        max-height: 600px;
    }

    .hero__image-container {
        padding-top: 60%;
        height: 0;
    }

    .hero__image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Video styles */
.video {
    width: 100%;
    max-height: 1100px;
    position: relative;
    overflow: hidden;
}

.video__container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video__player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video__overlay {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video__play-button {
    width: 100px;
    height: 100px;
    cursor: pointer;
    pointer-events: auto;
}

.video__play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1439px) {
    .video {
        max-height: calc(710px * (1440px / 1920px));
    }
}

@media (max-width: 1200px) {
    .video {
        max-height: calc(710px * (1200px / 1920px));
    }
}

@media (max-width: 1024px) {
    .video {
        max-height: calc(710px * (1024px / 1920px));
    }
}

@media (max-width: 768px) {
    .video {
        max-height: calc(710px * (768px / 1920px));
    }
}

@media (max-width: 320px) {
    .video {
        max-height: 300px;
    }
}

/* Section styles using BEM methodology */
.section {
    padding: 80px 0;
}

.section__header {
    margin-bottom: 40px;
    text-align: center;
}

.section__title {
    font-size: 32px;
    margin-bottom: 20px;
}

.section__description {
    font-size: 16px;
    color: #666;
}

/* Milk Box section */
.milk-box {
    width: 100%;
    background-color: rgba(236, 240, 250, 1);
    padding: 80px 0;
    position: relative;
}

.milk-box__container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.milk-box__box-container {
    position: relative;
    width: 600px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 100px;
}

.milk-box__image {
    width: 100%;
    height: auto;
}

/* Ellipse base styles */
.milk-box__ellipse {
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    background-color: transparent;
}

.milk-box__ellipse:hover {
    transition: background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.milk-box__ellipse-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Top ellipses positioning */
.milk-box__ellipse--top-left {
    top: 16%;
    left: 18%;
}

.milk-box__ellipse--top-right {
    top: 16%;
    right: 48%;
}

/* Center ellipses positioning */
.milk-box__ellipse--center-top {
    top: 39%;
    left: 24%;
    transform: translateX(-50%);
}

.milk-box__ellipse--center-left {
    top: 56%;
    left: 6%;
    transform: translateY(-50%);
}

.milk-box__ellipse--center-right {
    top: 53%;
    right: 52%;
    transform: translateY(-50%);
}

.milk-box__ellipse--center-bottom {
    top: 73%;
    left: 29%;
    transform: translate(-50%, -50%);
}

/* Bubble base styles */
/* Base styles */
.milk-box__bubble {
    position: absolute;
    display: none;
    z-index: 10;
}

.milk-box__bubble--left {
    left: calc(-100% - 20px);
}

.milk-box__bubble--right {
    left: calc(100% + 20px);
}

.milk-box__bubble-arrow {
    width: auto;
    height: auto;
    margin: 0 10px;
}

.milk-box__bubble-content {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.milk-box__bubble-content p {
    margin: 0;
    font-family: var(--gotham-bold);
    color: rgba(2, 36, 150, 1);
    font-size: 15px;
    line-height: 150%;
}

.bubble-question {
    color: rgba(45, 156, 219, 1) !important;
}

/* Responsive: modo vertical móvil */
@media (max-width: 1340px) {
    .milk-box__box-container {
        min-height: 880px;
        flex-direction: column;
        align-items: center;
        left: 0;
        position: relative;
    }

    .milk-box__bubble {
        position: static !important;
        display: none;
        margin-top: 20px;
        flex-direction: column;
    }

    .milk-box__bubble--active {
        display: flex !important;
    }

    .milk-box__bubble-arrow {
        display: none !important;
    }

    .milk-box__bubble-content {
        max-width: 90vw;
        width: auto;
    }
}

/* Contenedor mobile: solo visible <=1300px */
.milk-box__mobile-group {
    display: none;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1300px) {
    .milk-box__mobile-group {
        display: flex;
        position: relative;
        top: -40px;
    }
}

/* Pares de elipse + burbuja verticalmente apilados */
.milk-box__mobile-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Elipses versión mobile */
.milk-box__ellipse--mobile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.milk-box__ellipse--mobile:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.milk-box__ellipse--mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Burbuja en mobile */
.milk-box__bubble--mobile {
    display: none;
    margin-top: 15px;
    flex-direction: column;
    align-items: center;
}

.milk-box__bubble--mobile.active {
    display: flex;
}

.milk-box__bubble--mobile .milk-box__bubble-content {
    max-width: 90vw;
    width: auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.milk-box__bubble--mobile .milk-box__bubble-arrow {
    display: none;
}


@media (max-width: 1600px) {
    .mw-250 {
        max-width: 230px;
        min-width: 230px;
    }

    .mw-333 {
        max-width: 305px;
        min-width: 305px;
    }

    .mw-304 {
        max-width: 275px;
        min-width: 275px;
    }

    .mw-292 {
        max-width: 265px;
        min-width: 265px;
    }

    .mw-376 {
        max-width: 340px;
        min-width: 340px;
    }

    .mw-429 {
        max-width: 390px;
        min-width: 390px;
    }

    .milk-box__bubble-content p {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .mw-250 {
        max-width: 210px;
        min-width: 210px;
    }

    .mw-333 {
        max-width: 280px;
        min-width: 280px;
    }

    .mw-304 {
        max-width: 250px;
        min-width: 250px;
    }

    .mw-292 {
        max-width: 240px;
        min-width: 240px;
    }

    .mw-376 {
        max-width: 310px;
        min-width: 310px;
    }

    .mw-429 {
        max-width: 350px;
        min-width: 350px;
    }

    .milk-box__bubble-content {
        padding: 15px;
    }
}

@media (max-width: 1340px) {

    .mw-250,
    .mw-304,
    .mw-292,
    .mw-333,
    .mw-376,
    .mw-429 {
        max-width: 90vw;
        min-width: unset;
        width: auto;
        min-height: auto;
        max-height: 100%;
        height: auto;
    }

    .milk-box__bubble-content p {
        font-size: 18px;
        line-height: 1.5;
    }
}


@media (max-width: 768px) {
    .sello {
        width: 50px;
        height: 50px;
        position: absolute;
        top: -24px;
        left: -14px;
    }

    .milk-box__container {
        overflow: hidden;
    }

    .milk-box__box-container {
        width: 100%;
        left: 40px;
        overflow: hidden;
        min-height: auto;
    }

    .milk-box__image {
        width: 80%;
    }

    /* Top ellipses positioning */
    .milk-box__ellipse--top-left {
        top: 15%;
        left: 22%;
    }

    .milk-box__ellipse--top-right {
        top: 15%;
        right: 45%;
    }

    /* Center ellipses positioning */
    .milk-box__ellipse--center-top {
        top: 39%;
        left: 30%;
        transform: translateX(-50%);
    }

    .milk-box__ellipse--center-left {
        top: 56%;
        left: 13%;
        transform: translateY(-50%);
    }

    .milk-box__ellipse--center-right {
        top: 53%;
        right: 52%;
        transform: translateY(-50%);
    }

    .milk-box__ellipse--center-bottom {
        top: 73%;
        left: 32%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 576px) {
    .milk-box__bubble-content p {
        font-size: 15px;
        line-height: 120%;
    }

    .milk-box__ellipse {
        width: 35px;
        height: 35px;
    }

    /* Top ellipses positioning */
    .milk-box__ellipse--top-left {
        top: 16%;
        left: 23%;
    }

    .milk-box__ellipse--top-right {
        top: 15%;
        right: 46%;
    }

    /* Center ellipses positioning */
    .milk-box__ellipse--center-top {
        top: 40%;
        left: 30%;
        transform: translateX(-50%);
    }

    .milk-box__ellipse--center-left {
        top: 56%;
        left: 16%;
        transform: translateY(-50%);
    }

    .milk-box__ellipse--center-right {
        top: 53%;
        right: 52%;
        transform: translateY(-50%);
    }

    .milk-box__ellipse--center-bottom {
        top: 73%;
        left: 32%;
        transform: translate(-50%, -50%);
    }

    .hero {
        max-height: 100%;
        padding-top: 120px;
    }

    .hero__image-container {
        padding-top: 0;
        height: auto;

    }
    

}

/* Benefits Section */
.benefits {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
  }
  
  .benefits__title {
    font-size: 36px;
    color: rgba(2, 36, 150, 1);
    margin-bottom: 40px;
    font-family: var(--gotham-bold);
    margin-bottom: 40px;
  }
  
  .benefits__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
  }
  
  .benefits__item {
    flex: 1 1 45%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: left;
  }
  
  .benefits__top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .benefits__image {
    max-width: 160px;
    object-fit: cover;
  }
  
  .benefits__text {
    font-family: var(--gotham-medium);
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    max-width: 430px;
  }
  .benefits__text strong {
    font-family: var(--gotham-bold);
  }
  
  .benefits__note {
    display: flex;
    align-items: center;
    padding: 15px 30px 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    line-height: 120%;
    min-height: 139px;
  }
  
  .benefits__note--gray {
    background-color: #E0E0E0;
    flex-direction: row;
    text-align: right;
  }
  
  .benefits__note--blue {
    background-color: rgba(93, 205, 249, 1);
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .benefits__icon {
    width: 50px;
    height: 50px;
    margin: 0 14px;
    flex-shrink: 0;
  }
  
  .benefits__note-text {
    color: #000;
    margin: 0;
    font-family: var(--gotham-medium);
    font-size: 18px;
  }
  .benefits__note--blue .benefits__note-text {
    color: white;
  }
  .benefits__image-wrapper {
    position: relative;
    width: 239px;
    height: 239px;
    background-color: rgba(236, 240, 250, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .benefits__image {
   width: 54%;
   height: auto;

  }
  
  /* Certifications Section */
  .certifications {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
  }
  
  .certifications__title {
    font-size: 36px;
    color: rgba(2, 36, 150, 1);
    margin-bottom: 40px;
    font-family: var(--gotham-bold);
  }
  
  .certifications__row {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
  }
  
  .certifications__item {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: left;
    gap: 39px;
  }
  
  .certifications__top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .certifications__image {
    width: 100%;
    max-width: 202px;
    min-height: 202px;
    max-height:202px;
    margin-bottom: 53px;
  }
  
  .certifications__text {
    font-family: var(--gotham-medium);
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
    max-width: 430px;
  }
  
  .certifications__button {
    background-color: #E71E28;
    color: #fff;
    border: none;
    min-width: 70%;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    margin: 0 auto;
    font-family: var(--gotham-bold);
    font-size: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s ease;
    max-width: 330px;
  }
  .certifications__button:hover {
    background-color: #c91821; /* tono más oscuro */
    transform: translateY(-2px); /* leve elevación visual */
    transition: all .5s ease;

  }

  .hero__mobile-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero__mobile-top {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .hero__mobile-bot {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .custom-strong-answer {
    font-size: 20px;
    color: #E81413;
    font-family: var(--gotham-bold);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .benefits__row,
    .certifications__row {
      flex-direction: column;
    }
  
  
  
    .benefits__icon {
      margin: 0 0 10px 0;
    }
  
    .certifications__button {
      align-self: center;
    }
    .benefits__note-text {
        font-size: 14px;
    }

    .benefits__title {
        font-size: 28px;
    }
    .benefits__text {
        font-size: 16px;
    }
    .benefits__item, .certifications__item {
        padding: 0;
        margin-bottom: 20px;
        padding-top: 20px;
    }
    .benefits__image-wrapper {
        width: 150px;
        height: 150px;
    }

    .benefits, .certifications {
        padding: 40px 90px;
    }
  }
  .faqs-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 60px 20px;
    max-width: 1180px
  }

  .faqs-section__title {
    font-family: var(--gotham-bold);
    font-size: 36px;
    line-height: 120%;
    color: #022496;
    margin-bottom: 60px;
    text-align: center;
  }

  .faqs-section__item {
    background-color: rgba(236, 240, 250, 1);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0 27px;
  }


  .faqs-section__question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 27px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faqs-section__question-text {
    font-family: var(--gotham-medium);
    font-weight: 700;
    font-size: 24px;
    line-height: 26px;
    color: #000;
  }

  .faqs-section__icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }

  .is-open .faqs-section__icon {
    transform: rotate(180deg);
  }

  .faqs-section__answer {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: fadeDown 0.3s ease;
  }
  /* Divider turquesa visible solo si está abierto */
  .faqs-section__item.is-open .faqs-section__answer p {
    max-width: 1000px;
    padding-top: 27px;
    border-top: 2px solid rgba(93, 205, 249, 1);
    margin-bottom: 29px;
  }
  .faqs-section__answer p {
    font-family: var(--gotham-light);
    font-size: 20px;
    line-height: 24px;
    color: #212529;


  }

  .faqs-section__answer-content {
  max-width: 1000px;
  width: 100%;
}

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

 @media (max-width: 768px) {
    .faqs-section__question-text {
        font-size: 20px;
    }
    .faqs-section__item {
        padding: 0 20px;
    }
    .certifications__title , .benefits__title {
        font-size: 25px;
        text-align: center;
    }
     .faqs-section__title{
        word-spacing: 100rem;
    }
    .video__container-overlay {
        display: none;
    }

    
}

@media (max-width: 576px) {
    .benefits, .certifications {
        padding: 40px;
    }
    .faqs-section__question-text {
        font-size: 16px;
        max-width: 80%;
    }
    .faqs-section__answer-content p{
        font-size: 14px;
    }
    .benefits__title{
        line-height: 120%;
    }
    .certifications__button{
        font-size: 13px;
    }
    .custom-strong-answer {
        font-size: 14px;
    }
    .video__overlay{
        display: none;
    }

}