@font-face {
    font-family: 'Catchy Mager';
    src: url('../fonts/catchy-mager/catchy-mager.regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Funnel Display';
    src: url('../fonts/Funnel_Display/FunnelDisplay-VariableFont_wght.ttf') format('truetype-variations'),
        url('../fonts/Funnel_Display/FunnelDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-primary: #00D2F3;
    --bs-secondary: #00F0FF;
    --font-headings: 'Catchy Mager', sans-serif;
    --font-body: 'Funnel Display', sans-serif;
    --bg-color: #fdfcf8;
    --bg-light: #f3f0e9;
}

/* ====================LENIS====================*/
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 400;
}

h1 {
    font-size: 3.6rem;
    line-height: 0.986;
    letter-spacing: 0.092rem;
}

h2 {
    font-size: 3rem;
}

body,
p,
small {
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: black;
    font-family: var(--font-body);
}

body {
    color: var(--dark);
    font-weight: 300;
    overflow-x: hidden;
    font-size: 1, 2rem;
    letter-spacing: 1.6px;
}

section {
    background: var(--bg-color);
    min-height: 100vh;
    position: relative;
    background: #fbf8f3;
    position: relative;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.spacer {
    height: 30vh;
    background: #fbf8f3;
}

/*=============HERO===================*/
#mainNav {
    background-color: transparent;
    transition: background-color 0.35s ease;
}

#mainNav.scrolled {
    background-color: #997a5ab0;
}

.navbar-brand img {
    width: 55%;
}

.nav-link,
.nav-separator {
    color: #ffff;
}

.nav-pill-container {
    gap: 3%;
}

.nav-link:focus,
.nav-link:hover {
    color: silver;
}

.nav-pill {
    padding-right: 9%;
}

/* Hamburger toggle */
#mainNav .navbar-toggler {
    border: none;
    padding: 0.25rem;
    box-shadow: none;
}

#mainNav .navbar-toggler:focus {
    box-shadow: none;
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu */
.mobile-nav {
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    border-radius: 14px;
    background-color: #997a5a;
    text-align: center;
}

.mobile-nav .nav-link {
    padding: 0.65rem 1rem;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:focus {
    color: silver;
}

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--mp-nav-h) + 4rem) clamp(20px, 8.611vw, 124px) clamp(3rem, 8vw, 7rem);
    background-color: #000;
    background-image: url('../images/hero-sandbox-bgb.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.hero h1 {
    font-weight: bold;
}

.hero-bg {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-bg-img {
    position: relative;
    /*width: 100%;
    height: 100%;*/
}

.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 13% 2%;
    color: #fff;
    gap: 30%
}

.hero-text-left h1 {
    color: white;
    font-weight: bold;
}

.hero-rss {
    gap: 3%;
}

.hero-rss .fa-brands,
.fab {
    font-weight: 400;
    font-size: 2rem;
    color: silver;
}

.btn-lg {
    background: silver;
    padding: 4% 5%;
    border-radius: 50px;
    white-space: nowrap;
    font-weight: 500;
}

.btn-lg:hover,
.btn-primary-md:hover {
    background: orange;
    color: white;
}

.hero-text-left {
    width: 55%;
}

.hero-text-right {
    padding: 2% 3%;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.hero-rrss {
    gap: 2%;
}

/* ====================PROBLEM=====================*/
.problem-img {
    padding: 0 5%;
}

/*========SEVICES===============*/
.services {
    background: #f6f1e8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-gallery {
    display: flex;
    gap: 2%;
    align-items: center;
}

.service img {
    border-radius: 26px;
}

.services-texts {
    gap: 5%;
    padding: 5% 3%;
}

.services-texts p {
    width: 60%;
}

.services .btn-hero {
    padding-right: 3%;
}

.services .btn-lg {
    padding: 11%;

}

/*===============THE CLINIC================*/
.the-clinic {
    display: flex;
    align-items: center;
}

.clinic-video video {
    width: 100%;
    border-radius: 26px;
    height: auto;
}

/*===============TESTIMONIAL================*/

.testimonial {
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.testimonial-heading {
    margin-bottom: 2.5rem;
}

.testimonial-heading p {
    max-width: 60%;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
}

.testimonial-card {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.testimonial-card-img {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: var(--bg-light);*/
    border-radius: 26px;
    overflow: hidden;
}

.testimonial-text {
    width: 45%;
    padding: 4% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.testimonial-text p {
    font-size: clamp(1.05rem, 1.4vw, 1.5rem);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-text h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #955109;
    margin: 0;
}

.testimonial-card-img img {
    width: 55%;
    height: clamp(520px, 72vh, 760px);
    object-fit: cover;
    object-position: center top;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: background 0.3s, color 0.3s;
}

.testimonial-nav:hover {
    background: #955109;
    color: #fff;
}

.testimonial-prev {
    left: 1.25rem;
}

.testimonial-next {
    right: 1.25rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: width 0.3s, background 0.3s;
}

.testimonial-dot.is-active {
    width: 28px;
    border-radius: 50px;
    background: #955109;
    ;
}

/*TEAM*/
.team-thumbs {
    width: 16%;
    height: auto;
}

.team-images {
    align-items: flex-end;
    gap: 2%;
    justify-content: center;

}

.team-main-img {
    /* flex: 1 1 auto;*/
    min-width: 0;
    /* max-width: 82%;*/
}

.team-main-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    object-position: bottom center;
}

.team-thumbs {
    width: 20%;
    height: auto;
    padding: 5%;
    gap: 2%;
}

.team-thumb {
    padding: 3% 0;
}

.team-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/*=================CONTACTS=====================*/
.the-contacts {
    background: #f6f1e8;
    display: flex;
    align-items: center;
}

.the-contacts p {
    padding-right: 25%;
}

.form-container {
    background: var(--bg-color);
    padding: 5%;
    border-radius: 10px;
}

.the-contacts h2 span,
.the-process .process-title {
    font-size: 5rem;
    line-height: 1;
    font-family: var(--font-headings);
}


.text-muted {
    color: white !important;
}

/*======================FOOTER=================*/
footer {
    background: #463018;
}

.footer-logo {
    width: 8%;
}

@media (max-width: 991px) {

    .testimonial-heading p {
        max-width: 100%;
    }

    .testimonial-card-img {
        flex-direction: column-reverse;
    }

    .testimonial-text {
        width: 100%;
        padding: 2rem 1.75rem;
    }

    .testimonial-card-img img {
        width: 100%;
        height: clamp(420px, 60vh, 560px);
        object-position: center top;
    }

    .testimonial-nav {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .testimonial-card {
        transition: none;
    }
}

/* ===================MEDIA QUERIES==================*/
@media (max-width: 480px) {
    .mainNav {
        padding: 3%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
        line-height: 1;
    }

    .hero-text {
        position: absolute;
        top: 10%;
        left: 0;
    }

    .hero-text-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-text-right {
        display: none;
    }

    .problem {
        height: auto;
        padding: 15% 0;
    }

    .problem-text {
        padding: 6% 9%;
    }

    .services {
        height: auto !important;
        padding: 10% 0;
    }

    .services-gallery {
        flex-wrap: wrap;
        gap: 4%;
    }

    .service {
        flex: 0 0 48%;
        max-width: 47%;
        padding: 3%;
    }

    .services-texts {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .services-texts p {
        width: 100%;
        padding: 5% 0;
    }

    .clinic-row {
        flex-direction: column;
        padding: 0 5%;
    }

    .clinic-row .btn-hero {
        padding-top: 3%;
    }

    .clinic-video {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .the-team {
        background: #f6f1e8;
        height: auto;
        padding: 25% 0;
    }

    .testimonial-heading {
        padding: 0 5%;
    }

    .team-text {
        padding: 0 7%;
    }

    .team-images {
        padding: 15% 0;
    }

    .team-thumbs {
        padding: 0 4% 0 0;
    }

    .team-left {
        padding: 0 0 0 4%;
    }

    .the-contacts h2 span {
        font-size: 3rem !important;
    }

    .the-contacts .container {
        padding: 0 6%;
    }

    .contact-text {
        padding-bottom: 3%;
    }

    .btn-primary-md {
        background: silver;
        padding: 4%;
        border-radius: 29px;
    }
}

/* ===================WHATSAPP FLOTANTE==================*/
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float .fab {
    color: #fff;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}