
:root {
    --main-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    --primary-color: #5959579c;
}


* {
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: none;
	outline: none;
    font-family: var(--main-font);
}

html {
    scroll-behavior: smooth;
}


body {
    background-color: aliceblue;
}

.header {
    display: flex;
    height: 75px;
    background-color: #ffffff;
}

.header__logo{
    flex: 3;
}

.header__logo > img {
    width: 180px;
    height: 60px;
    padding: 8px;
}

.header_navbar {
    flex: 7;
    text-align: center;
}

.menu_btn {
    display: none;
    font-size: 32px;
    font-weight: bold;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.navbar {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar__option {
    display: flex;
    font-size: 20px;
    padding: 0px 8px;
    height: 100%;
    cursor: pointer;
}

.navbar__option > p {
    margin: auto;
}

.navbar__option > p > a {
    color: #6d6868;
}

.navbar__option--init {
    color: var(--primary-color);
    font-weight: bold;
}

.navbar__option--mod {
    font-weight: bold;
    color: #9b9a9a;
}

.navbar__option--contact {
    background-color: var(--primary-color);
    
}

.navbar__option--contact > p > a {
    color: #ffffff;
}

.header__social {
    flex: 2;
    margin: auto;
}


.header_social_link {

}

.header_social_link > img {
    width: 40px;
    height: 40px;
    margin: 4px;
}   

.banner {
    background-image: url("assets/background_banner.webp");
    background-size: cover;
}

.banner__container {
    display: flex;
    padding: 0 72px;
    max-width: 1140px;
    margin: 0 auto;
}

.banner__text {
    flex: 1;
    padding: 36px;
    font-family: sans-serif;
    align-content: center;
    color: var(--primary-color);
}

.banner__text > h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 54px;
}

.banner__text > h2 {
    font-size: 24px;
    font-weight: 700;
}

.banner__text > p {
    padding: 16px 16px 16px 0;
    font-size: 14px;
    font-weight: bold;
}

.banner__text .btn-schedule {
    color: var(--primary-color);
    font-size: 24px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(174, 124, 207, 0.2) 35%);
    padding: 16px;
    width: fit-content;
    font-weight: bold;
}

.banner__image {
    flex: 1;
}

.banner__image > img {
    height: 400px;
}

.info-cards {
    background-color: #fefbf8;
    display: flex;
    justify-content: center;
    padding: 32px 0px;
}

.card {
    flex: 1;
    margin: 0 12px;
    max-width: 250px;
}

.card > img {
    width: 250px;
    height: 200px;
}

.card__title {
    background-color: var(--primary-color);
    color: #fefbf8;
}

.card__title > h3 {
    padding: 16px 8px;
    text-align: center;
    
}

.card__footer {
    position: relative;
    bottom: 56px;
    text-align: center;
    color: #fefbf8;
    background: rgb(123, 121, 119);
    background: linear-gradient(0deg, rgba(123, 121, 119,0.5354516806722689) 10%, rgba(123, 121, 119,1) 100%);
}

.card__footer > a {
    color: #fefbf8;
    padding: 8px 8px 0px 8px;
}

.presentation {
    padding: 46px;
    background-color: #fefbf8;
}

.presentation__container {
    max-width: 1080px;
    background-color: white;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.presentation__header {
    display: flex;
}

.presentation__header__img{
    flex: 3;
    max-width: 215px;
    padding: 4px;
    position: relative;
    left: -30px;
    top: -30px;
    background-color: white;
    border: 1px solid #f5f1f1;
}

.presentation__header__img > img {
    width: 215px;
    height: 250px;
}

.presentation__description {
    flex: 9;
}

.presentation__description > p {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(174, 124, 207, 0.2);
    width: fit-content;
    padding: 8px 95px 8px 32px;
    position: relative;
    left: -30px;
}

.description__title {
    background-color: var(--primary-color);
    width: fit-content;
    padding: 16px 32px;
    color: #ffffff;
    position: relative;
    left: -30px;
}

.description__content {
    padding-top: 16px;
    padding-right: 32px;
    padding-bottom: 8px;
    font-weight: bold;
    color: #6d6868
}

.presentation__footer{
    display: flex;
}

.footer__description {
    flex: 9;
    margin-top: 30px;
    justify-content: center;
}

.footer__title {
    display: flex;
    flex-direction: row-reverse;
}

.footer__title > p {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(174, 124, 207, 0.2);
    width: fit-content;
    padding: 8px 32px 8px 95px;
    position: relative;
    right: -30px;
}

.footer__content {
    padding: 16px 0px 16px 48px;
}

.footer__content ul li {
    list-style: disc;
    line-height: 21px;
    font-weight: bold;
    color: #6d6868
}

.footer__content ul li strong {
    color: var(--primary-color);
}

.footer__img {
    flex: 3;
    position: relative;
    right: -30px;
    bottom: -30px;
    padding: 8px;
    border: 1px solid #f5f1f1;
    background-color: white;
}

.footer__img > img {
    width: 375px;
    height: 250px;
}


.treadment {
    background: url("assets/treadment_background.webp");
    background-size: cover;
    padding: 32px 0;
}

.treadment__container {
    max-width: 1140px;
    margin: 0 auto;
}

.treadment__item {
    display: flex;
    margin-bottom: 32px;
}

.treadment__item--reverse {
    flex-direction: row-reverse;
}

.treadment__accordion {
    flex: 7;
    margin: auto;
}

.treadment__img {
    flex: 3;
    padding:24px;
}

.treadment__img > img {
    width: 400px;
    height: 400px;
}

.accordion__container {
    width: 100%;
}

.accordion__title {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 24px;
    font-weight: bold;
}

.accordion__icon {
    display: inline;
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.rotate {
    animation: rotate 0.3s linear forwards;
}

.back {
    animation: back 0.3s linear forwards;
}

@keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(180deg);
    }
}

@keyframes back {
    from {
        transform: rotate(180deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.accordion {
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 1s;
    position: relative;
    border-bottom: 2px solid #6d686848;
}

.accordion.active {
    border: none;
}

.panel {
    padding: 0 16px 0px 16px;
    background-color: white;
    max-height: 0px;
    overflow: hidden;
    transition: 2s;
    transition: max-height 0.5s ease-out, padding 0.3s ease-out;
}
.panel p {
    margin: 15px 0;
    padding-right: 32px;
    color: #6d6868;
}

.panel__price {
    background-color: var(--primary-color);
    padding: 16px;
    width: fit-content;
    margin: 0 auto;
    color: white;
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
}

.footer > img {
    width: 200px;
    height: 80px;
}
.stories {
    background-color: var(--primary-color);
}

.stories_container {
    padding: 32px;
}

.stories_subtitle {
    font-size: 24px;
    color: #f5f1f1;
    text-align: center;
    font-weight: bold;
    padding: 16px 0;
}

.stories_title {
    font-size: 32px;
    color: #f5f1f1;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

.stories_cards {
    display: flex;
    justify-content: center;
}

.storie_card {
    border-radius: 15px;
    flex: 1;
    max-width: 400px;
    background-color: #dcd9d9;
    padding: 8px 4px;
    margin: 16px;
}

.storie_card_body {
    display: flex;
    justify-content: center;
}

.storie_card_body > .card_img {
    flex: 1;
}

.storie_card_body > .card_img > img {
    width: 170px;
    height: 170px;
    display: block;
    margin: 20px auto;
    border-radius: 15px;
    background-color: #ffffff;
    border: var(--primary-color) 2px solid;
}

.storie_card_head {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
}
.storie_card_body > .card_img > p {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
}

.storie_card_text {
    padding: 8px;
    font-size: 12px;
    font-style: italic;
}

.storie_card_text > p {
    font-weight: 700; 
}

.storie_text{
    margin: 16px 0 0 8px;
}


.contact {
    display: flex;
    background: url("assets/background_banner.webp");
    background-size: cover;
}

.contact_text {
    flex: 3;
    padding: 96px 32px 32px 96px;
}

.contact_title {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-color);
}

.contact_subtitle{
    font-size: 24px;
    font-weight: bold;
    padding: 16px 0;
    color: var(--primary-color);
}

.contact_description {
    font-size: 18px;
    font-weight: bold;
}

.contact_img {
    flex: 1;
}

.contact_img > img{
    width: 500px;
}

.contact_info {
    padding-top: 32px;

}

.contact_email{
    margin: 16px 0;
}

.contact_email > svg {
    position: relative;
    top: 16px;
    color: var(--primary-color);
}

.contact_email_text{
    font-weight: bold;
    padding: 16px 0;
}

.contact_social {
    padding-top: 18px;
}

.contact_phone > svg {
    position: relative;
    top: 8px;
    color: var(--primary-color);
}

.phone_content {
    display: inline-block;
    font-size: 18px;
}

.location {
    display: flex;
    padding: 32px 0;
}

.location_map {
    flex: 1
}

.location_direction {
    flex: 1;
    text-align: center;
    background-color: var(--primary-color);
}

.location_direction > h2 {
    color: #f5f1f1;
    font-weight: bold;
    font-size: 36px;
    text-transform: uppercase;
    padding: 16px 0;
}

.location_direction > p {
    color: #f5f1f1;
    font-size: 24px;
    font-weight: 500;
}

.location_img {
    display: flex;
    padding: 16px 0;
    justify-content: center;
}

.location_img_container > img {
    width: 200px;
    max-height: 300px;
    border-radius: 10px;
}

.location_img_container {
    flex: 1;
    margin: 0 8px;
    max-width: fit-content;
}

.location_map {
    position: relative;
}

.location_map > a {
    background-color: var(--primary-color);
    color: #f5f1f1;
    font-weight: bold;
    padding: 8px 16px 16px 16px;
    border-radius: 15px;
    position: absolute;
    bottom: 48px;
    left: 64px;
}

.location_map > a > svg {
    position: static;
    top: 8px;
    padding-left: 16px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1135px) {
    .stories_cards {
        flex-direction: column;
        align-items: center;
    }
    .storie_card {
        max-width: 90vw;
    }
    .storie_card_body > .card_img > img {
        width: 170px;
        height: 170px;
        display: block;
        margin: 10px 15px;
    }
}
/* Tablets y móviles (≤ 900px) */
@media (max-width: 900px) {
    .header {
        height: auto;
        align-items: flex-start;
    }
    .header > .header__social {
        display: none;
    }
    .navbar {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100vw;
        height: 50vh;
        background-color: #ffffff;
        flex-direction: column;
        clip-path: circle(30px at 90% -10%);
        pointer-events: none;
        z-index: 10;
    }
    .navbar.active{
        clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    .navbar > div {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    .navbar.active > div{
        opacity: 1;
        transform: translateY(0px);
    }
    .navbar > div:nth-child(1){transition-delay: 0.1s;}
    .navbar > div:nth-child(2){transition-delay: 0.2s;}
    .navbar > div:nth-child(3){transition-delay: 0.3s;}
    .navbar > div:nth-child(4){transition-delay: 0.4s;}
    .menu_btn {
        display: block;
    }
    .navbar__option {
        padding: 8px 0;
        font-size: 18px;
        width: 100%;
    }
    .banner__container {
        flex-direction: column;
        padding: 0 8vw;
    }
    .banner__image {
        margin: 0 auto;
        text-align: center;
    }
    .info-cards {
        flex-direction: column;
        align-items: center;
        padding: 24px 0;
    }
    .card {
        margin: 12px 0;
        max-width: 90vw;
    }
    .presentation__header {
        flex-direction: column;
        align-items: center;
    }
    .presentation__description > p,
    .description__title {
        left: 0;
        padding: 8px 24px;
    }
    .footer__title > p {
        right: 0;
        padding: 8px 24px;
    }
    .footer__img {
        right: 0;
        bottom: 0;
        margin: 0 auto;
        text-align: center;
    }
    .presentation__footer {
        flex-direction: column;
        align-items: center;
    }
    .footer__content {
        padding: 8px 24px;
    }
    .treadment__item,
    .treadment__item--reverse {
        flex-direction: column !important;
        align-items: center;
    }
    .treadment__img {
        padding: 12px 0;
        text-align: center;
    }
    .stories_cards {
        flex-direction: column;
        align-items: center;
    }
    .contact {
        flex-direction: column;
    }
    .contact_text {
        padding: 32px 8vw 16px 8vw;
    }
    .contact_social {
        display: flex;
        align-items: center;
        text-align: center;
    }
    .contact_img {
        margin: 0 auto;
        text-align: center;
    }
    .location {
        flex-direction: column;
        padding: 16px 0;
    }
    .location_map, .location_direction {
        width: 100%;
        max-width: 100vw;
    }
    .location_map > a {
        left: 16px;
        bottom: 16px;
    }
}

/* Móviles (≤ 600px) */
@media (max-width: 600px) {
    html {
        font-size: 15px;
    }
    .header {
        height: auto;
        padding: 8px 0;
    }
    .navbar__option {
        font-size: 16px;
        padding: 6px 0;
    }
    .banner__text {
        padding: 16px 0;
    }
    .banner__text > h1 {
        line-height: 32px;
    }
    .info-cards {
        padding: 12px 0;
    }
    .presentation {
        padding: 12px 0;
    }
    .presentation__container {
        box-shadow: none;
        padding: 0 2vw;
    }
    .presentation__header__img > img {
        max-width: 90vw;
        height: auto;
    }
    .footer__img > img {
        max-width: 90vw;
        height: auto;
    }
    .treadment__img > img {
        max-width: 90vw;
        height: auto;
    }
    .footer {
        padding: 16px 8px;
    }
    .stories_container {
        padding: 8px;
    }
    .stories_title, .stories_subtitle {
        font-size: 18px;
        padding: 8px 0;
    }
    .contact_text {
        padding: 16px 2vw 8px 2vw;
    }
    .contact_title {
        font-size: 22px;
    }
    .contact_subtitle {
        font-size: 16px;
    }
    .contact_description {
        font-size: 14px;
    }
    .contact_img > img {
        max-width: 90vw;
        height: auto;
    }
    .location_img_container > img {
        width: 110px;
        max-height: 150px;
    }
    .location_direction > h2 {
        font-size: 18px;
        padding: 8px 0;
    }
    .location_direction > p {
        font-size: 14px;
    }
    .location_map > a {
        font-size: 14px;
        padding: 6px 10px 10px 10px;
        left: 8px;
        bottom: 8px;
    }
}

/* Móviles (≤ 600px) */
@media (max-width: 436px) {
    .storie_card_body > .card_img > img {
        width: 120px;
        height: 120px;
    }
}