header.header-home {
    background: transparent;
    transition: all 0.3s ease;
    padding-bottom: 15px;
}

header.header-home.bg {
    background: var(--primary-blue);
    padding-bottom: 0;
}

header.header-home .c-direct-access {
    margin-top: 15px;
}

header.header-home div.main-menu {
    background: transparent;
}

header.header-home div.main-menu nav li a {
    color: #fff;
}

header.header-home div.line-top div.languages a {
    color: #fff;
}

header.header-home div.line-top div.languages li::after {
    color: #fff;
}

header.header-home div.main-menu nav li .main-menu__sub--open::after {
    border: transparent;
}

header.header-home div.main-menu nav li a:hover {
    border-color: #fff;
}

header.header-home div.main-menu {
    justify-content: space-between;
}

header.header-home div.main-menu nav {
    width: 52%;
    margin-left: 0px;
    text-align: left;
}

.hero-section {
    width: 100%;
    position: relative;
    height: 105vh;
    margin-top: -193px;
    display: flex;
    align-items: center;
    min-height: 1000px;
    background: var(--primary-blue);
}

.hero-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-section .c-direct-access {
    z-index: 5;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--yellow);
    color: var(--primary-blue);
}

.hero-section .c-direct-access a {
    color: var(--primary-blue);
}

.hero-section .c-direct-access.sticky a {
    color: #fff;
}

.hero-section .c-direct-access li:not(:last-of-type) {
    border-right: 0px;
}

.cta-btn-yellow {
    color: var(--primary-blue);
    background: var(--yellow);
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 22px;
    max-width: 350px;
}

.cta-btn {
    width: fit-content;
    background-color: var(--secondary-blue);
    border: 1px solid var(--secondary-blue);
    border-radius: 6px;
    color: var(--primary-blue);
    padding: 10px 30px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.cta-btn-mobile {
    width: 40px;
    height: 40px;
    background-color: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 9999999px;
    color: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.cta-btn-mobile img, .cta-btn2-mobile img{
    width: 20px;
}

.cta-btn2 {
    width: fit-content;
    background-color: var(--yellow);
    border: 1px solid var(--primary-blue);
    border-radius: 6px;
    color: var(--primary-blue);
    padding: 10px 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.cta-btn2-mobile {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 9999999px;
    color: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.cta-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta-btn:hover,
.cta-btn2:hover {
    background-color: #fff;
    border: 1px solid #fff;
}

.cta-btn a {
    color: white;
    text-decoration: none;
}

.hero-title {
    color: #fff;
    text-transform: none !important;
    font-size: 58px !important;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
}

.hero-container {
    width: 100%;
    max-width: 1710px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-left: 100px;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-mockup {
    width: 67%;
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    gap: 30px;
    
}

.hero-mockup img{
    width: 80%;
}

.hero-more {
    color: white;
	margin-top: 24px;
	display: inline-block;
    font-size: 20px;
    font-style: italic;
    width: fit-content;
    border-bottom: 2px solid white;
    margin-right: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.hero-info {
    z-index: 5;
    width: 100%;
    position: relative;
    color: #fff;
    margin: 0 auto;
}
.hero-container__red-flag {
    background-color: red;
    padding: 10px 25px;
    width: 1000px;
    text-align: right;
    margin-left: -867px;
    color: white;
    font-size: 25px;
}
.hero-container-mobile__red-flag {
    background-color: red;
    padding: 10px 25px;
    width: 1000px;
    text-align: right;
    margin-left: -866px;
    color: white;
    font-size: 19px;
}


.hero-info p {
    max-width: 500px;
    font-size: 24px;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-info p b{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

header.header-home div.line-top div.row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-icons {
    margin-right: 25px;
    color: white;
}

.social-icons a img {
    width: 29px;
    height: 15px;
}

.social-icons.active a img {
    filter: invert(54%) sepia(15%) saturate(922%) hue-rotate(161deg) brightness(83%) contrast(86%);
}

.header-home.active,
.header-home.active.bg {
    background: #fff;
}

.header-home.active div.main-menu nav li a {
    color: var(--primary-blue);
}

header.header-home.active div.line-top div.languages a {
    color: var(--primary-blue);
}

header.header-home.active div.main-menu nav li a:hover {
    border-color: var(--primary-blue);
}

.header-home.active div.line-top div.languages li::after {
    color: var(--primary-blue);
}

.hero-direct-access.sticky {
    position: fixed;
    top: 157px;
    bottom: auto;
    background-color: var(--primary-blue);
    color: white;
}

.hero-apps {
    display: flex;
    gap: 8px;
}

.hero-apps-text {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

.hero-apps img{
    height: 42px;
}

.cta-btn-mobile-big {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 4px;
}


@media screen and (max-width: 800px){
    .hero-info p {
         font-size: 26pt;
    } 
 
    header.header div.main-menu h1 {
     width: auto;
    }
 
 
    .cta-btn, .cta-btn2 {
        width: 150px;
       margin-bottom: 0px;
    }
 }
 

@media screen and (max-width: 1200px){
    .hero-direct-access.sticky {
        position: fixed;
        top: 138px;
        bottom: auto;
    }
    .header-home.active {
        padding-bottom: 0px;
    }
}

.cta-btn-container-mobile {
    display: none;
}

@media screen and (max-width: 1570px){
    header.header-home div.main-menu nav {
        position: fixed;
        left: -250px;
        width: 250px;
        top: 0;
        z-index: 100001;
        background: #fff;
        padding-left: 0px;
        padding-bottom: 0px;
        margin-left: 0px;
    }   
    .main-menu__submenu{
        margin-top: 10px !important;
        width: 200px !important;
        margin-left: 0 !important;
    }

    .main-menu-wrapper {
        height: 75px;
    }

    .main-menu {
        align-items: center;
    }

    header.header-home div.main-menu nav li a {
        color: var(--primary-blue);
    }
    .cta-btn-container {
        display: none;
    }

    .cta-btn-container-mobile {
        display: flex;
        gap: 8px;
    }

    a.open-main-menu{
        position: relative;
        right: auto;
        top: auto;
        display: block;
        font-size: 24px;
        padding: 10px;
        color: #fff;
        background: transparent;
    }

    


}

@media screen and (max-width: 1440px){
    .hero-container {
        padding-left: 25px;
    }

    .hero-content {
        width: 40%;
    }

    .hero-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 1024px){
    .hero-container {
        padding-top: 100px;
    }

    .hero-mockup img {
        width: 100%;
    }
}


@media screen and (max-width: 977px){
    .hero-container {
        padding-top: 100px;
    }

    .hero-content {
        gap: 0;
        width: 50%

    }

    .swiper {
        width: 100%;
        height: 330px;
      }
}

@media screen and (max-width: 858px){
    .hero-content {
        width: 60%
    }
}


.hero-container-mobile {
    display: none;
}

.hero-direct-access-mobile {
    display: none;
}

@media screen and (max-width: 799px) {

    
    .c-direct-access {
        display: none !important;
    }

    .hero-container {
        display: none;
    }

    .hero-direct-access-mobile.sticky {
        position: fixed;
        top: 138px;
        bottom: auto;
    }

    .hero-direct-access-mobile {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        background-color: var(--yellow);
        position: absolute;
        z-index: 5;
        bottom: 0;
        padding: 5px 0 0;
        width: 100%;
    }

    .hero-access-btn {
        color: white;
        background-color: var(--primary-blue);
        border-radius: 99999px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-access-btn img {
        height: 20px;
    }

    .hero-container-mobile {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
        padding-top: 130px;
    }

    
    .hero-title-mobile {
        font-size: 19px;
        padding-inline: 20px;
        font-family: Arial, Helvetica, sans-serif;
        letter-spacing: -1px;
        color: white;
    }

    .hero-content-mobile {
        display: flex;
        padding-inline: 20px;
        padding-inline-end: 60px;
        justify-content: space-between;
        align-items: center;
    } 

    .hero-info-mobile {
        z-index: 5;
        width: 100%;
        position: relative;
        color: #fff;
        margin: 0 auto;
    }

    .hero-info-mobile p {
        font-size: 20px;
        font-weight: 400;
        max-width: 380px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 900;
    }
    
    .hero-info-mobile p b{
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }

    .hero-mockup-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-mockup-mobile img{
        width: 63%;
    }

    .hero-download-mobile {
        display: flex;
        padding-top: 40px;
        color: white;
        padding-inline: 20px;
        padding-inline-end: 60px;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 35px;
    }

    .hero-apps-mobile{
        display: flex;
        gap: 10px;
    }

    .hero-apps-mobile img{
        height: 32px;


    }

    .hero-more-mobile {
        color: white;
        font-size: 20px;
        font-style: italic;
        width: fit-content;
        border-bottom: 2px solid white;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }

    .hero-pide-cita-mobile img {
        width: 110%;
    }

    .hero-accses-mobile-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4px;
        color: var(--primary-blue);
    }

    .radio-sub-mobile {
        background-color: var(--primary-blue);
        color: white;
        border-top: 0px;
        transform: translateY(0px);
        left: 0;
    }

    .radio-sub-mobile li{
        text-align: center;
        padding: 10px;
    }

    .radio-sub-mobile li a{
        color: white;
    }
}

.bg-hero-section {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 660px;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .bg-hero-section {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .hero-container-mobile {
        width: 100%;
    }
    .hero-content-mobile {
        display: block;
    }
    .cta-btn-yellow {
        font-size: 18px;
    }
}

@media screen and (max-width: 490px){
    .hero-apps-mobile img{
        width: 85px;

    }

    .hero-apps-mobile{
      padding-top: 20px;
    }

    .hero-mockup-mobile img {
        width: 100%;
    }

    .hero-pide-cita-mobile img {
        width: 100%;
    }
    .hero-mockup-mobile {
        padding-top: 20px;
    }

    .hero-container-mobile {
        padding-top: 155px;
    }

    .hero-title-mobile {
        font-size: 19px;
    }

    .hero-download-mobile {
        padding-inline-end: 20px;
    }

    .hero-info-mobile p {
        font-size: 16px;
        max-width: 235px;
    }

    .hero-content-mobile {
        padding-inline-end: 20px;
    }
}



@media screen and (max-height: 790px) {
    .hero-mockup img {
        width: 75%;
    }

    .hero-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 1500px), screen and (max-height: 630px) {
    .hero-mockup img {
        width: 55%;
    }
}

@media screen and (max-width: 1480px), screen and (max-height: 748px) {
    .hero-mockup img {
        width: 70%;
    }
    .hero-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 1118px), screen and (max-height: 670px) {
    .hero-mockup img {
        width: 70%;
    }

    .hero-info p {
        font-size: 18px;
    }
    .hero-title {
        font-size: 22px;
    }
}

@media screen and (max-width: 1118px), screen and (max-height: 597px) {
    .hero-apps-text{
        font-size: 18px;
    }

    .hero-info p {
        font-size: 18px;
    }
    .hero-title {
        font-size: 20px;
    }
}

.header-home.active .s0{
    stroke: var(--primary-blue);
}


@media screen and (max-width: 1570px) and (min-width: 992px){
    header.header-home div.main-menu nav {
        position: fixed;
        left: -250px;
        width: 250px;
        top: 0;
        z-index: 100001;
        background: #fff;
        padding-left: 0px;
        padding-bottom: 0px;
        margin-left: 0px;
        height: 100%;
    }

    .header.header div.main-menu ul {
        margin-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: baseline;
        margin-left: 15px;
    }
}

@media screen and (max-width: 767px) {
    header.header-home.bg {
        padding-bottom: 10px;
    }
    header.header-home div.main-menu {
        margin-bottom: 0;
    }
    header.header div.main-menu h1 img {
        margin-top: -10px;
    }
    .header-home.active .cta-btn-mobile-big,
    .header-home.active.bg .cta-btn-mobile-big {
        color: var(--primary-blue);
    }
}

.hospitales-list {
    margin-top: 120px;
    margin-bottom: 135px;
}

.hospitales-list-btn-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.hospitales-list-btn-container a {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--primary-blue);
}

.juaneda-datos {
    background-color: #ebf0f2;
    padding: 20px 0;
}

.datos-item {
    display: flex;
    flex-direction: column;
    color: var(--primary-blue);
    background-color: white;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    border: 1px solid white;
    gap: 4px;
}

.datos-item-title {
    font-size: 16px;
    text-align: center;
}

.datos-item-number {
    font-weight: 700;
    font-size: 24px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.datos-item-img {
    width: 48px;
    margin-bottom: 10px;
}

.juaneda-conocenos-img img{
    width: 100%;
}

.juaneda-conocenos-container {
    margin-top: 75px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: var(--primary-blue);
    text-decoration: none;
}

.juaneda-conocenos-item {
    display: flex;
    width: 100%;
    color: var(--primary-blue);
}

.juaneda-conocenos-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.juaneda-conocenos-subtitle {
    text-decoration: none;
    color: var(--primary-blue);
}

.juaneda-conocenos-read-more {
    text-decoration: underline;
    color: var(--primary-blue);
}
.juaneda-conocenos-img {
    width: 50%;
}

.juaneda-conocenos-wrapper {
    width: 50%;
    margin-left: 32px;
}

.swiper {
    width: 100%;
    height: 600px;
  }

  .swiper-slide.plastica-estetica {
    background-image: url('https://www.juaneda.es/images/area-negocio-plastica_new.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swiper-slide.dental {
    background-image: url('https://www.juaneda.es/images/area-negocio-dental_new.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .swiper-slide.fertility {
    background-image: url('https://www.juaneda.es/images/area-negocio-fertility_new.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .swiper-button-next, .swiper-button-prev {
    color: #fff !important;
  }

  .swiper .swiper-button-next {
    right: 5% !important;
  }

  .swiper .swiper-button-prev {
    left: 5% !important;
  }

  .swiper-slide a {
    color: white;
    text-decoration: none;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .swiper .swiper-slide {
    margin-right: 0! important;
  }

