* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html { scroll-behavior: smooth; }

/* Web colors */
:root {
    --color1: #dcb6d5;
    --color2: #e4a8a9;
    --color3: #e8a193;
    --color4: #eb9a7d;
    --color5: #eda389;

    --color6: #a1f6b3;
    --color7: #3a3460;
    --color8: #fdb6ce;
    --color9: #dcf6b6;
}

@font-face {
    font-family: Extradicta;
    src: url(../font/Extradicta.ttf);
}

body {
    font-family: Extradicta;
    background-color: #fff;
}

nav {
    height: 4.9rem;
    width: 100%;
}

.text-s {
    line-height: 1.8rem;
}

.section {
    scroll-margin: 2rem;
}

.nav-content {
    background-color: #ffffff;
    border-bottom: solid 1px #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5rem;
    position: fixed;
    width: 100%;
    height: 5rem;
    transform: scale(1);
    transform: 0;
    z-index: 1000;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.nav-icon img {
    width: 3rem;
    border-radius: .2rem;
}

.nav-icon h3 {
    font-size: 2rem;
    color: var(--color7);;
}

.nav-responsive-buttons {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

li { list-style: none; }

.nav-link a, .nav-link button {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color7);
    text-decoration: none;
    transition: .3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Extradicta;
}

.nav-link a:hover, .nav-link button:hover, .dropdown-link:hover {
    color: var(--color4);
    transition: .3s;
}

.nav-dropdown {
    position: absolute;
    background-color: #ffffff;
    border: solid 1px #e8e8e8;
    box-shadow: 0 5px 5px 0 #00000024;
    border-radius: 0 0 .5rem .5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    width: 12rem;
    gap: 1.5rem;
    display: none;
    transform: translateY(-3px);
}

.home-link button { 
    padding-bottom: 2rem;
    margin-top: 2rem;
}
.bi-chevron-down { font-size: 1rem; }

.home-link:hover .nav-dropdown {
    display: flex;
}

.home-link:hover .dropdown-button-link {
    color: var(--color4);
}

.home-link-button:hover {
    color: var(--color4);
    transition: .3s;
}

.dropdown-icon {
    background-color: transparent;
    border: none;
    font-size: 2rem;
}

.dropdown-fondo {
    display: none;
    position: fixed;
    background-color: #00000036;
    width: 100%;
    right: 0;
    top: 0; /* 4.95rem */
    bottom: 0;
    z-index: 1000;
}

.active { display: flex; }

.dropdown {
    background-color: #ffffff;
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem 1.5rem 6rem;
    animation-name: dropdown-active;
    animation-duration: .5s;
    z-index: 1000;
}

.dropdown-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dropdown-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color7);
    text-decoration: none;
    transition: .3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Extradicta;
    width: 100%;
    text-align: left;
    display: block;
}

.dropdown-cta {
    margin-top: 2rem;
}

@keyframes dropdown-active {
    from { margin-top: -50rem; }
    to { margin-top: 0; }
}

.dropdown-button-responsive {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    border: solid 1px #e8e8e8;
    border-radius: .5rem;
    display: none;
}

.active-dropdown {
    padding-bottom: 1rem;
    color: var(--color4);
}

.nav-dropdown-link a {
    width: 100%;
    display: flex;
}

/* Hero */

.hero-section {
    background-image: url(../img/hero4-img.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    height: 92vh;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12rem;
    height: 90vh;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    width: 45rem;
    gap: 1rem;

}

.hero-text h1 {
    font-size: 3rem;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 500;
}

.hero-text h1, .hero-text p {
    color: var(--color7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-app-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: grid;
    place-items: center;
    width: 9rem;
    height: 2.6rem;
    border-radius: .5rem;
    font-size: 1rem;
    text-decoration: none;
    transition: .3s;
    font-weight: 600;
}

.cta-1, .cta-4 {
    background-color: var(--color7);
    /* box-shadow: 0 10px 10px 0 #00000028; */
    color: #ffffff;
}

.cta-1:hover, .cta-4:hover {
    background-color: #292545;
    box-shadow: 0 5px 10px 0 #0000002f;
    transition: .3s;
}

.cta-2 {
    display: grid;
    place-items: center;
    /* background: url(../img/playstore-btn.png); */
    background-position: center;
    background-size: cover;
    /* box-shadow: 0 10px 10px 0 #00000028; */
    color: var(--color7);
}

.cta-2 img {
    max-width: 100%;
}

.cta-2:hover {
    background-color: #cba8c5;
    box-shadow: 0 5px 10px 0 #0000002f;
    transition: .3s;
}

@media screen and (min-width: 1920px) {
    .hero-app-img img {
        width: 100%;
    }

    .hero-container {
        gap: 0;
    }
}

@media screen and (max-width: 1250px) {
    .nav-links {
        gap: 2rem;
    }

    .nav-link a, .nav-link button {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1100px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding: 0 2rem;
        align-items: center;
        gap: 4rem;
    }

    .hero-container, .hero-section {
        height: 70rem;
    }
}

@media screen and (max-width: 950px) {
    .nav-links {
        display: none;
    }

    .nav-responsive-buttons {
        display: flex;
    }

    .nav-content {
        padding: 1rem;
    }

    .hero-section {
        background-position: center;
    }

    .hero-text {
        width: 70%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-route {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .hero-text {
        width: 70%;
    }
}

@media screen and (max-width: 500px) {
    .hero-text {
        width: 100%;
    }

    .hero-container, .hero-section {
        height: 66rem;
    }
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 5.2rem 0;
}

.app-contents {
    display: flex;
    gap: 4rem;
}

.app-content, .aboutus-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.app-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    gap: 1rem;
}

.titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    width: 100%;
}

.titles h4 {
    color: var(--color4);
}

.titles p {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color7);
    width: 40rem;
}

.app-img, .aboutus-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-img img {
    width: 30rem;
}

.icon-content {
    display: flex;
    align-items: center;
    
    gap: .5rem;
}

.icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
    background-color: var(--color2);
    padding: .5rem;
}

.icon-item i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.4rem;
}

.app-info-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 40rem;
}

.app-info-text p {
    font-weight: 600;
    color: var(--color7);
    font-size: 1.4rem;
}

.medical-tech img {
    border-radius: 1rem;
}

@media screen and (max-width: 1300px) {
    .app-contents {
        flex-direction: column-reverse;
        gap: 0;
    }

    .medical-tech {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 950px) {
    .titles {
        text-align: center;
        width: 100%;
    }

    .titles h4::before, .titles h4::after {
        content: ' — ';
        color: var(--color4);
    }

    .titles p {
        font-size: 2rem;
        width: 30rem;
    }

    .app-content {
        flex-direction: column;
        align-items: center;
    }

    .app-info-text {
        width: 30rem; 
        flex-direction: column;
        align-items: normal;
    }

    .app-img img {
        width: 18rem;
    }

    .icon-content {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 500px) {
    .app-info-text {
        width: 18rem;
    }

    .titles p {
        font-size: 1.8rem;
        width: 18rem;
    }

    .app-content {
        width: 18rem;
    }

    .standards-titles p {
        width: 20rem;
    }
}

.standards-section {
    background-image: url(../img/bg-img.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;   
}

.standards-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    width: 100%;
}

.standards-titles p {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color7);
    width: 40rem;
}

.standards-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 25rem;
    gap: 2rem;
}

.cards-section-content {
    display: flex;
    gap: 1.5rem;
}

.cards-sections {
    display: flex;
    gap: 1.5rem;
}

.card-padding {
    padding: .5rem 0 0 0;
    transition: .3s;
}

.card, .cards {
    background-color: #fff;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 20rem;
    height: 12rem;
    padding: 1.5rem;
    color: var(--color7);
    transition: .3s;
}

.card h2, .cards h2 {
    margin: 1rem 0 .5rem 0;
}

.card-padding:hover {
    padding: 0;
    transition: .3s;

}

.card:hover {
    box-shadow: 0 10px 15px 0 #00000035;
    transition: .3s;
}

.card i, .cards i {
    font-size: 2rem;
    color: var(--color1);
}

.cta-3 {
    background-color: var(--color2);
    color: var(--color7);
}

.cta-3:hover {
    background-color: #cb9697;
    box-shadow: 0 5px 10px 0 #0000002f;
}

@media screen and (max-width: 1450px) {
    .cards-sections {
        display: grid;
        grid-template-columns: 2fr auto;
    }

    .standards-content {
        height: 40rem;
    }
    
    .card-padding {
        padding: 0;
    }
}

@media screen and (max-width: 950px) {
    .standards-titles p {
        width: 41rem;
    }

    .standards-section {
        background-position: right;
    }
}

@media screen and (max-width: 850px) {
    .cards-sections {
        display: flex;
        flex-direction: column;
    }

    .standards-content {
        height: 65rem;
    }

    .standards-titles {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .standards-titles p {
        width: 30rem;
    }
}

@media screen and (max-width: 500px) {
    .standards-titles p {
        width: 20rem;
    }
}

.brands-slider {
    max-width: 100%;
    width: 70vw;
    overflow: hidden;
}

.brands-titles, .scenarios-titles {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.brands-titles h3, .scenarios-titles h3 {
    font-size: 2.2rem;
    color: var(--color7);
}

.brands-titles p, .scenarios-titles p {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.scenarios-titles p {
    margin-bottom: 2rem;
}

.slider-content {
    display: flex;
    animation: scroll 50s linear infinite;
    width: calc(20rem * 8);
}

.slide img {
    width: 20rem;
    padding: 2rem;
}
 
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }

}

@media screen and (max-width: 540px) {
    .brands-titles h3, .brands-titles p {
        width: 20rem;
    }
}

/* Escenarios */

.scenarios-content {
    display: flex;
    gap: 2rem;
}

.scenario-card {
    background-color: #ffffff;
    height: 32rem;
    width: 22rem;
    box-shadow: 0 5px 10px 0 #00000028;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: solid 5px var(--color3);
}

.scenario-card img { border-radius: .5rem .5rem 0 0; }

.scenario-text { 
    padding: 1.2rem 2rem; 
    text-align: left;
    color: var(--color7);
}

.scenario-text h2 { margin-bottom: 1rem; }

/* .scenario-text h2::before, .scenario-text h2::after {
    content: ' — ';
    color: var(--color4);
} */

.scenario-button-content {
    display: flex;
    margin: 1.2rem 0 0 0;
}

.btn-scenario {
    border: solid 1px var(--color7);
    background-color: transparent;
    font-family: Extradicta;
    cursor: pointer;
    transition: .5s;
    color: var(--color7);
}

.btn-scenario:hover {
    background-color: #292545;
    box-shadow: 0 5px 10px 0 #0000002f;
    transition: .5s;
    color: #fff;
}

@media screen and (max-width: 1250px) {
    .scenarios-content {
        display: grid;
        grid-template-columns: 2fr auto;
    }

    .scenario-card {
        height: 100%;
        width: 20rem;
    }
}

@media screen and (max-width: 750px) {
    .scenarios-content {
        display: flex;
        flex-direction: column;
    }

    .scenario-card {
        width: 20rem;
    }
}

@media screen and (max-width: 540px) {
    .scenarios-titles h3, .scenarios-titles p {
        width: 20rem;
    }
}

/* Testimonios */

.testimonials-section {
    background-color: #f5f5f5;
    padding: 1rem;
}

.testimonials-cards {
    display: grid;
    grid-template-columns: 2fr auto;
    gap: 1rem;
}

.testimonial-title { margin-bottom: 1rem; }

.testimonial-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: .5rem;
    width: 30rem;
    transition: .3s;
}

.testimonial-item:hover {
    box-shadow: 0 10px 15px 0 #0000001a;
    transition: .3s;
}

.testimonial-info img {
    border-radius: 50%;
    max-width: 5rem;
}

.testimonial-description {
    margin: 1rem 0;
}

.testimonial-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-text {
    color: var(--color7);
}

.testimonial-text p { 
    margin-top: .5rem; 
    color: var(--color4);
}

.bi-star-fill { 
    color: #ffc55a; 
    font-size: 1.2rem;
}

.bi-quote {
    font-size: 2rem;
    color: var(--color7);
}

@media screen and (max-width: 1050px) {
    .testimonials-cards {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 550px) {
    .testimonial-item {
        width: 20rem;
    }
}


/* Nosotros */

.aboutus-hero {
    background: linear-gradient(#2925458f, #2925458f), url(../img/hero-aboutus.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 84vh;
}

.aboutus-hero-container {
    background-image: url(../img/waves-shape.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    justify-content: center;
    text-align: center;
    height: 85vh;
}

.aboutus-hero-text h1, .aboutus-hero-text p {
    color: #fff;
}

.aboutus-hero-text h1 {
    font-size: 4rem;
}

.ab-btns {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutus-contents {
    display: flex;
    gap: 4rem;
}

.aboutus-img img {
    width: 30rem;
    border-radius: 1rem;
}

.aboutus-info-text {
    display: flex;
    gap: 1rem;
    width: 40rem;
    padding: 0 0 0 1rem;
    border-left: solid 2px var(--color4);
}

.aboutus-info-text p {
    font-weight: 500;
    color: var(--color7);
}

.cards-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-contents {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.cards {
    display: block;
    height: 21rem;
    box-shadow: 0 4px 10px 0 #00000035;
}

.cards i {
    color: #fff;
}

@media screen and (max-width: 1300px) {
    .aboutus-contents {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .aboutus-img img {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 1150px) {
    .cards-contents {
        display: grid;
        grid-template-columns: 2fr auto;
        gap: 2rem;
    }
}

@media screen and (max-width: 950px) {
    .aboutus-info-text {
        width: 30rem; 
        border: none;
        padding: 1rem 0 0 0;
        border-top: solid 2px var(--color4);
    }

    .text-left {
        text-align: left;
    }

    .text-left h4::before, .text-left h4::after {
        content: '';
    }

    .aboutus-img img {
        width: 30rem;
    }

    .cards-contents {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 500px) {
    .aboutus-info-text {
        width: 18rem;
    }

    .aboutus-img img {
        width: 20rem;
    }

    .aboutus-content {
        align-items: center;
    }

    .aboutus-titles {
        width: 18rem;
    }
}

/* Contacto */

.contact-hero {
    background: linear-gradient(#2925458f, #2925458f), url(../img/contact/hero-contact.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 84vh;
}

.contact-hero-container {
    background-image: url(../img/waves-shape.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    justify-content: center;
    text-align: center;
    height: 85vh;
}

.contact-hero-text h1, .contact-hero-text p {
    color: #fff;
}

.contact-hero-text h1 {
    font-size: 4rem;
}

.contact-form {
    background-color: #ededed;
    padding: 2rem;
    border-radius: .5rem;
}

.input-double-content {
    display: flex;
    gap: 1rem;
}

.input-content {
    display: flex;
    flex-direction: column;
}

.form-inpt {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: .4rem;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    border: solid 2px #fff;
    transition: .3s;
}

.form-inpt:focus {
    border: solid 2px var(--color2);
    transition: .3s;
}

.form-inpt::placeholder {
    color: #c2c2c2;
}

#mensaje {
    height: 15rem;
    resize: vertical;
}

label {
    margin-bottom: .5rem;
    font-weight: bold;
    color: var(--color7);
}

.input-content button {
    border: none;
    cursor: pointer;
    background-color: var(--color2);
    color: #fff;
}

.input-content button:hover {
    background-color: #cd9697;
    transition: .3s;
}
.input-content button:disabled {
    background-color: #ead0d1;
}

.contact-contents {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 35rem;
}

.contact-info-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color7);
}

.contact-info-text p {
    color: var(--color7);
    font-size: 1.2rem;
}

.contact-icon {
    padding: .7rem;
    background-color: var(--color3);
    box-shadow: 0 5px 10px 0 #d3cfff;
}

.contact-icon-content {
    margin: 0;
}

.info-icon-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.info-content {
    display: flex;
    gap: 4rem;
}

.contact-info-icons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-map {
    display: grid;
    place-items: center;
}

.contact-map img {
    width: 100%;
    border-radius: 1rem;
}

@media screen and (max-width: 1200px) {
    .contact-contents {
        flex-direction: column;
    }
}

@media screen and (max-width: 650px) {
    .contact-info {
        width: 30rem;
    }
}

@media screen and (max-width: 550px) {
    .input-double-content {
        flex-direction: column;
        gap: 0;
    }

    .contact-form {
        width: 20rem;
    }

    .info-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .contact-map img {
        width: 19rem;
    }

    .contact-info-text {
        width: 19rem;
    }
}

/* Footer */

footer {
    background-color: #f5f5f5;
}

.f-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 2rem;
}

.footer-copyright {
    color: var(--color7);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.footer-copyright a {
    color: #ffa400;
    transition: .3s;
}

.footer-copyright a:hover {
    color: #ffa400;
    transition: .3s;
}

.footer-rrss {
    display: flex;
    gap: 1.5rem;
}

.footer-rrss a {
    font-size: 1.3rem;
    color: var(--color7);
    transition: .3s;
}

.footer-rrss a:hover {
    color: var(--color3);
    transition: .3s;
}

@media screen and (max-width: 950px) {
    .f-content {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
}