* {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'AppleRegular';
    src: url('../fonts/AppleGaramond-Light.ttf');
}

@font-face {
    font-family: 'AppleItalic';
    src: url('../fonts/AppleGaramond-LightItalic.ttf');
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 65px;
}
  
body {
    min-height: 100dvh;
    font-family: sans-serif;
    font-weight: 200 !important;
    letter-spacing: 0.1rem;
    line-height: 1.7rem;
}

li:not(.nav-item) {
    line-height: 1.7rem;
    margin-bottom: 1rem;
}

.title {
    position: relative;
    padding-top: 200px;
    font-size: 2rem;
    font-weight: 500;
}

.title > span {
    font-style: italic;
}

.subtitle {
    font-family: 'AppleRegular';
    font-size: 4rem;
    line-height: 0.9;
    align-content: center;
}

.subtitle > span {
    font-family: 'AppleItalic';
    display: inline-block;
    padding: 0.5rem;
    padding-left: 0.8rem;
    background: linear-gradient(to right, #0c5153 20%, #348c8f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    translate: -0.8rem 0;
}

.subtitle-underline {
    padding-left: 5px;
    margin-bottom: 50px;
    position: relative !important;
}

.subtitle-underline::before {
    content: '';
    position: absolute;
    bottom: -10px;
    transform: skew(-55deg);
    left: 5%;
    width: 95%;
    height: 20px;
    border: 3px solid var(--bs-black);
    border-left-width: 5px;
    border-top: none;
    border-right: none;
    z-index: -1;
}

.text-primary-darken {
    color: #308285;
}

.bg-primary-darken {
    background-color: #308285 !important;
}

/* HEADER ********************************************/
header {
    position: sticky;
    top: -30px;
    z-index: 100;
	transition: opacity 0.3s ease-in-out;
}

header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #109297ad;
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: var(--header-opacity, 1);
}

header .nav-link {
    font-weight: 300;
    position: relative;
}

header .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 80%;
    top: 0;
    opacity: 0;
    border-bottom: var(--bs-black) 1.5px solid;
    transition: top 0.3s;
}

header .nav-link:hover::before {
    opacity: 1;
    top: 5px;
}

.topbar {
    background-color: rgba(56, 56, 56);
    height: 30px;
    font-size: 14px;
}

.btn-cita {
    letter-spacing: 0.1rem;
}

.btn-cita:hover {
    box-shadow: 5px 5px var(--bs-black);
}

.offcanvas .btn-close {
    opacity: 1;
}

.modal-header .btn-close {
    top: -9px;
    left: calc(100% - 9px);
    transform: translate(-100%, -100%);
    opacity: 1;
}

/* MAIN ********************************************/
/* Intro section */
.section-intro {
    height: 300px;
}

.section-intro-bg {
    height: 380px;
    translate: 0 -85px;
    background-image: 
        linear-gradient(to bottom, #109297e1, #109297e1),
        url(../images/massage.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

/* About section */
.portrait {
    width: 160px;
    height: auto;
    filter: drop-shadow(5px -5px #4AA7AA);
}

/* Servicies section */
.services-bg {
    background-image: url(../images/noise.svg);
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(38, 38, 38, 0.4);
}

.services-bg .mycard {
    backdrop-filter: blur(5px);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.services-bg .card-header {
    letter-spacing: 0.3rem;
}

.companies-services {
    max-height: 405px;
}

.container-img {
    height: 100%;
    max-height: 200px;
}

.container-pricing {
    width: 60px;
    height: 60px;
    top: -10px;
    right: 10px !important;
    box-shadow: 3px 3px var(--bs-black);
    background: linear-gradient(-45deg, #308285 20%, #4AA7AA);
}

.container-pricing > span {
    display: inline-block;
    padding-top: 0.2rem;
    font-size: 1.4rem;
}

/* Pricing section */
.section-pricing .card {
    box-shadow: 5px 5px var(--bs-black);
}

.section-pricing .card-body {
    background: linear-gradient(to top, rgba(233, 233, 233, 1) 60%, rgba(233, 233, 233, 0.9));
    display: grid;
    grid-template-rows: 1fr auto;
}

/* Payment section */
.section-payment .validcards {
    max-width: 570px !important;
}

/* Question section */
.accordion-item {
    border-bottom: 3px solid transparent !important;
}

.accordion p, 
.accordion button {
    margin: 0;
    font-size: 18px;
}

.accordion button {
    font-weight: 300;
    letter-spacing: 0.1rem;
    border-radius: 0.25rem;
}

/* Contact section */
.contact-bg {
    background-image: url(../images/contact.webp);
    background-blend-mode: screen;
    background-color: #2ed9df7c;
    background-size: cover;
    background-repeat: no-repeat;
    text-shadow: 0 0 20px rgb(23, 78, 80);
}

.section-contact .nav-link, 
.section-contact h3,
.section-schedule h3 {
    width: fit-content;
}

/* Schedule section */
.section-schedule table {
    width: 300px;
}

.section-schedule td {
    color: var(--bs-light);
}

/* FOOTER ************************************************/
.subfooter {
    font-size: 12px;
}

/* PAGES */
/* servicio-empresas */
.option-title {
    background-image: url(../images/noise.svg);
    background-size: 150%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    & h2 {
        padding-top: 10px;
        backdrop-filter: saturate(250%) brightness(0.8);
        height: 100%;
        font-weight: lighter;
    }
    & span {
        color: #FFBD59;
        font-weight: normal;
    }
}

.reasons-bg {
    height: 200px;
    background: url(../images/enterprise.webp);
    background-color: #23767993;
    background-blend-mode: screen;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .method-list .col-md-4 {
        width: 30% !important;
    }
}

.method-list > li {
    min-height: 50px;
}

.link-arrow > i {
    display: inline-block;
    transition: transform 0.5s;
} 

.link-arrow:hover > i {
    transform: translateX(3px);
} 

.link-arrow:hover {
    opacity: 0.9 !important;
}

.social-link {
    opacity: 0.75;
}

.social-link:hover {
    opacity: 1;
}


/* FILTERS **********************************************/
.desaturate {
    filter: contrast(0.8) saturate(0.7) brightness(1.3);
}

/* media queries */
@media (max-width: 767.98px) {
    .section-voucher img {
        transform: translateX(-10%);
    }
    .section-voucher img:nth-child(2) {
        transform: translateX(10%);
    }
}

@media (max-width: 991.98px) {
    .section-voucher img {
        transform: translateX(-20%);
    }
    .section-voucher img:nth-child(2) {
        transform: translateX(20%);
    }
}

@media (min-width: 992px) {
    .section-voucher img:hover {
        transform: translateY(-30px);
        transition: transform 0.5s ease-in-out;
    }
}