/* =====================================================
   ROOT
===================================================== */

:root {
    --white: #ffffff;
    --background: #f5fafc;
    --background-blue: #e8f5f8;

    --blue-light: #dceff5;
    --blue: #5bafc4;
    --blue-dark: #163b4a;

    --text: #294650;
    --text-light: #66808a;
    --border: #dce9ed;

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 32px;

    --container: 1240px;

    --shadow: 0 20px 60px rgba(22, 59, 74, 0.08);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
  
}
section[id] { scroll-margin-top: 22px; }
.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue);
    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.section-label.light {
    color: #ccebf2;
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
}

h2 {
    color: var(--blue-dark);

    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

p {
    color: var(--text-light);
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(245, 250, 252, 0.92);

    border-bottom: 1px solid rgba(220, 233, 237, 0.8);

    backdrop-filter: blur(15px);
    
}

.nav {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--blue-dark);

    font-family: "Manrope", sans-serif;
    font-size: 27px;
    font-weight: 800;

    letter-spacing: -0.05em;
}

.logo span {
    color: var(--blue);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 38px;

    margin-left: auto;
    margin-right: 42px;
}

.desktop-nav a {
    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--blue);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    border-radius: 100px;

    background: var(--blue-dark);
    color: white;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.nav-button:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.hamburger {
    display: none;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: var(--blue-light);

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 18px;
    height: 2px;

    background: var(--blue-dark);

    transition: 0.25s ease;
}


/* =====================================================
   BUTTONS
===================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 100px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button span {
    font-size: 18px;
}

.button-primary {
    background: var(--blue-dark);
    color: white;

    box-shadow: 0 12px 25px rgba(22, 59, 74, 0.15);
}

.button-primary:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.button-secondary {
    background: white;
    border: 1px solid var(--border);
    color: var(--blue-dark);
}

.button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button-white {
    background: white;
    color: var(--blue-dark);
}

.button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 90px 0 110px;

    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;

    gap: 80px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 24px;

    padding: 8px 13px;

    border: 1px solid var(--border);
    border-radius: 100px;

    background: white;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #61bd8b;
}

.hero h1 {
    max-width: 650px;

    color: var(--blue-dark);

    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: var(--blue);
}

.hero-content > p {
    max-width: 580px;

    margin-top: 28px;

    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 35px;
}

.hero-trust {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 45px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--blue-dark);

    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.trust-item span {
    color: var(--text-light);

    font-size: 12px;
}

.trust-line {
    width: 1px;
    height: 35px;

    background: var(--border);
}

.hero-image {
    position: relative;
}

.image-card {
    height: 610px;

    overflow: hidden;

    border-radius: 40px;

    box-shadow: var(--shadow);
}

.image-card img {
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;

    left: -35px;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 17px 21px;

    border-radius: 18px;

    background: white;

    box-shadow: 0 20px 50px rgba(22, 59, 74, 0.15);
}

.floating-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue-light);
    color: var(--blue-dark);

    font-weight: 700;
}

.floating-card div:last-child {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 13px;
}

.floating-card span {
    color: var(--text-light);
    font-size: 11px;
}


/* =====================================================
   TRUST BAR
===================================================== */

.trust-bar {
    background: white;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-box {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 28px 25px;

    border-right: 1px solid var(--border);
}

.trust-box:first-child {
    padding-left: 0;
}

.trust-box:last-child {
    border-right: none;
}

.trust-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--blue-light);
    color: var(--blue);

    font-weight: 800;
}

.trust-box div:last-child {
    display: flex;
    flex-direction: column;
}

.trust-box strong {
    color: var(--blue-dark);
    font-size: 14px;
}

.trust-box span {
    color: var(--text-light);
    font-size: 12px;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    align-items: center;

    gap: 100px;
}

.about-images {
    position: relative;
}

.about-image-main {
    width: 85%;
    height: 570px;

    overflow: hidden;

    border-radius: 35px;
}

.about-image-main img {
    height: 100%;
    object-fit: cover;
}

.experience-card {
    position: absolute;

    right: 0;
    bottom: 35px;

    display: flex;
    flex-direction: column;

    padding: 22px 28px;

    border-radius: 20px;

    background: var(--blue-dark);
    color: white;

    box-shadow: var(--shadow);
}

.experience-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1;
}

.experience-card span {
    margin-top: 6px;

    color: #c8e4eb;

    font-size: 12px;
    line-height: 1.5;
}

.about-content h2 {
    max-width: 650px;
}

.about-content p {
    max-width: 620px;

    margin-top: 25px;

    font-size: 18px;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 13px;

    margin-top: 30px;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;
}

.about-points span {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue-light);
    color: var(--blue);

    font-size: 12px;
}


/* =====================================================
   TREATMENTS
===================================================== */

.treatments {
    background: var(--background);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    align-items: end;

    gap: 80px;

    margin-bottom: 55px;
}

.section-heading p {
    max-width: 440px;

    font-size: 18px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.treatment-card {
    position: relative;

    min-height: 390px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.treatment-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.treatment-card.featured {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.card-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color: #9ab1b8;

    font-size: 11px;
    font-weight: 700;
}

.featured .card-number {
    color: #78949d;
}

.treatment-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-top: 35px;
    margin-bottom: 35px;

    border-radius: 16px;

    background: var(--blue-light);
    color: var(--blue);

    font-size: 21px;
    font-weight: 700;
}

.featured .treatment-icon {
    background: rgba(255, 255, 255, 0.1);
}

.treatment-card h3 {
    color: var(--blue-dark);

    font-size: 20px;
    line-height: 1.25;
}

.featured h3 {
    color: white;
}

.treatment-card p {
    margin-top: 13px;

    font-size: 18px;
    line-height: 1.7;
}

.featured p {
    color: #afc7ce;
}

.treatment-card a {
    display: flex;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: var(--blue-dark);

    font-size: 12px;
    font-weight: 700;
}

.featured a {
    border-color: rgba(255,255,255,0.12);
    color: white;
}


/* =====================================================
   WHY US
===================================================== */

.why-us {
    background: var(--blue-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;

    gap: 100px;
}

.why-content h2 {
    max-width: 600px;
}

.why-content > p {
    max-width: 560px;

    margin: 25px 0 30px;

    font-size: 16px;
}

.why-list {
    display: flex;
    flex-direction: column;
}

.why-item {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 20px;

    padding: 28px 0;

    border-bottom: 1px solid rgba(22, 59, 74, 0.12);
}

.why-item:first-child {
    padding-top: 0;
}

.why-item:last-child {
    border-bottom: none;
}

.why-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;

    color: var(--blue);

    font-size: 12px;
    font-weight: 700;
}

.why-item h3 {
    color: var(--blue-dark);
    font-size: 18px;
}

.why-item p {
    margin-top: 6px;
    font-size: 18px;
}


/* =====================================================
   TEAM
===================================================== */

.team {
    background: white;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.centered h2 {
    max-width: 650px;
}

.centered p {
    max-width: 570px;

    margin-top: 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.team-card {
    overflow: hidden;

    border-radius: 25px;

    background: var(--background);
}

.team-image {
    height: 430px;

    overflow: hidden;
}

.team-image img {
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.04);
}

.team-info {
    padding: 22px 25px 25px;
}

.team-info h3 {
    color: var(--blue-dark);
    font-size: 18px;
}

.team-info span {
    color: var(--text-light);
    font-size: 13px;
}


/* =====================================================
   REVIEWS
===================================================== */

.reviews {
    background: var(--background);
}

.review-top {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 50px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating > strong {
    color: var(--blue-dark);

    font-family: "Manrope", sans-serif;
    font-size: 50px;
    line-height: 1;
}

.rating div {
    display: flex;
    flex-direction: column;
}

.stars {
    color: #e3ae4f;

    font-size: 15px;
    letter-spacing: 2px;
}

.rating span {
    color: var(--text-light);
    font-size: 11px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.review-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: white;
}

.review-card p {
    margin: 22px 0;

    color: var(--text);

    font-size: 18px;
    line-height: 1.75;
}

.review-card strong {
    color: var(--blue-dark);
    font-size: 13px;
}


/* =====================================================
   APPOINTMENT
===================================================== */

.appointment {
    padding: 85px 0;

    background: var(--blue-dark);
}

.appointment-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.appointment h2 {
    max-width: 650px;

    color: white;
}

.appointment p {
    margin-top: 15px;

    color: #aec7ce;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;

    gap: 100px;
}

.contact-content h2 {
    max-width: 500px;
}

.contact-content > p {
    max-width: 500px;

    margin-top: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 45px;
}

.contact-item {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.contact-item span {
    color: var(--text-light);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item strong {
    color: var(--blue-dark);

    font-size: 13px;
    line-height: 1.6;
}

.opening-hours {
    padding: 35px;

    border-radius: 25px;

    background: var(--background);
}

.opening-hours h3 {
    margin-bottom: 20px;

    color: var(--blue-dark);

    font-size: 20px;
}

.hours-row {
    display: flex;
    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: var(--text-light);
}

.hours-row strong {
    color: var(--blue-dark);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 55px 0 25px;

    background: var(--blue-dark);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 45px;
}

.footer-logo {
    color: white;
}

.footer-logo span {
    color: var(--blue);
}

.footer-inner p {
    margin-top: 8px;

    color: #9fb9c0;

    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: #c0d3d8;

    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.1);

    color: #78949d;

    font-size: 11px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-grid {
        gap: 50px;
    }

    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-card {
        height: 520px;
    }

    .desktop-nav {
        gap: 20px;
        margin-right: 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {

    .container {
        width: min(var(--container), calc(100% - 36px));
    }

    .section {
        padding: 80px 0;
    }




    /* Header */

    .nav {
        height: 72px;
    }

    .desktop-nav {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 10px 18px 20px;

        background: white;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(22,59,74,0.08);
        
    }

    .desktop-nav.mobile-open {
        display: flex;

    }
    .desktop-nav.mobile-open ~ .terugknop {
        display: none;
    }
    .desktop-nav a {
        padding: 14px 5px;
    }

    .nav-button {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Hero */

    .hero {
        padding: 55px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(50px, 15vw, 70px);
    }

    .hero-content > p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-trust {
        margin-top: 35px;
    }

    .image-card {
        height: 430px;

        border-radius: 28px;
    }

    .floating-card {
        left: 15px;
        bottom: 20px;
    }


    /* Trust */

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-box,
    .trust-box:first-child {
        padding: 22px 0;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .trust-box:last-child {
        border-bottom: none;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-main {
        width: 90%;
        height: 430px;
    }

    .experience-card {
        right: 0;
        bottom: 25px;
    }


    /* Heading */

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;

        margin-bottom: 35px;
    }


    /* Treatments */

    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .treatment-card {
        min-height: 350px;
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        grid-template-columns: 55px 1fr;
    }


    /* Team */

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 400px;
    }


    /* Reviews */

    .review-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }


    /* Appointment */

    .appointment-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .appointment .button {
        width: auto;
    }


    /* Contact */

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    /* Footer */

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 50px;
    }

    .hero-image {
        margin-top: 15px;
    }

    .image-card {
        height: 360px;
    }

    .floating-card {
        padding: 13px 15px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
    }

    h2 {
        font-size: 38px;
    }

    .about-image-main {
        height: 350px;
    }

    .experience-card {
        padding: 17px 20px;
    }

    .experience-card strong {
        font-size: 32px;
    }

}


.terugknop {
    all: unset;
    cursor: pointer;
    position: fixed;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
    color: black;
    transition: background-color 0.3s;
    margin-top:75px;
    margin-left: 10px;
    border: 2px solid #a2968a;
    transition: all ease 0.5s;
    z-index: 9999;
    font-size: 12px;
    
}
.terugknop:hover{
    transform: scale(1.1);
}

.terugknop a {
    all: unset;
}
