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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #54706a;
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background-color: #ffffff;
}

.logo {
    width: 150px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 72px;
    font-size: 16px;
}

.main-nav a {
    color: #607c75;
}

.nav-button {
    min-width: 140px;
    padding: 15px 28px;
    border-radius: 8px;
    color: #ffffff !important;
    text-align: center;
    background-color: #8bb8ac;
}

/* Hero */

.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 80px;
    background-image: url("./images/hero-img-on.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(50px, 4vw, 94px);
    line-height: 1.1;
    color: #55716b;
}

.hero-content h2 {
    margin-top: 12px;
    margin-bottom: 40px;
    font-size: clamp(26px, 4vw, 52px);
    font-weight: 400;
    color: #55716b;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-top: 36px;
}

.hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-actions .button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 34px;
    border: 0;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.button:hover,
.nav-button:hover,
.submit-button:hover {
    color: #ffffff !important;
    background-color: #55716b;
    transform: translateY(-2px);
    opacity: 1;
}

.button-primary,
.button-center,
.submit-button {
    color: #ffffff;
    background-color: #8bb8ac;
}

.button-light {
    color: #55716b;
    background-color: rgba(255,255,255,0.88);
}

.button-center {
    display: flex;
    width: fit-content;
    margin: 54px auto 0;
}

/* General sections */

.section {
    width: min(1140px, calc(100% - 76px));
    margin: 0 auto;
    padding: 78px 0;
}

.section-label {
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #738d87;
}

h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    color: #55716b;
}

.title-line {
    width: 105px;
    height: 3px;
    margin: 24px auto 54px;
    background-color: #8bb8ac;
}

.title-line.left {
    margin: 18px 0 36px;
}

/* Treatments on homepage */

.treatments-section h2 {
    margin-top: 12px;
    text-align: center;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.treatment-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 7px;
}

.treatment-card h3 {
    margin-top: 28px;
    text-align: center;
    font-size: 16px;
    color: #647d78;
}

/* About section */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 120px;
}

.about-image img {
    width: 80%;
    border-radius: 7px;
}

.about-content h3 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3vw, 36px);
    color: #55716b;
}

.subtitle {
    margin-bottom: 60px;
    font-size: 24px;
}

.about-content p:last-of-type {
    max-width: 560px;
    font-size: 17px;
    line-height: 2.1;
}

.provoet-logo {
    width: 120px;
    margin-top: 90px;
    margin-left: auto;
}

/* Contact section */

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 120px;
    align-items: start;
}

.contact-info > p {
    margin-bottom: 18px;
    font-size: 16px;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin: 44px 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-list li > img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
}

.contact-list a:hover {
    color: #55716b;
}

.map-container {
    width: 430px;
    max-width: 100%;
    margin-top: 30px;
    border-radius: 7px;
    overflow: hidden;
    background-color: #eef6f3;
}

.map-container iframe {
    width: 100%;
    height: 270px;
    display: block;
    border: 0;
}

.opening-hours {
    margin-top: 48px;
}

.opening-hours h3 {
    margin-bottom: 24px;
    font-size: 34px;
    color: #55716b;
}

.opening-hours p {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 32px;
    margin-bottom: 8px;
}

.contact-form-wrapper {
    padding-top: 96px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-radius: 2px;
    padding: 10px;
    font-family: inherit;
    font-size: 15px;
    color: #55716b;
    background-color: #f5faf8;
    outline-color: #8bb8ac;
    -webkit-appearance: none;
}

.contact-form textarea {
    min-height: 210px;
    resize: vertical;
}

.privacy-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 8px 0 22px;
    font-size: 13px;
}

.privacy-label input {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin-top: 2px;
    -webkit-appearance: checkbox;
}

.submit-button {
    width: fit-content;
}

.form-message {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 700;
}

.form-message.success {
    color: #41645d;
    background-color: #e5f4ef;
}

.form-message.error {
    color: #8b3434;
    background-color: #ffe9e9;
}

.contact-bottom-image {
    width: 100%;
    margin-top: 62px;
    border-radius: 7px;
}

/* Behandelingen page */

.treatment-hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 70px;
    background-image: url("./images/hero-img-on.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.treatment-hero-content h1 {
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.1;
    color: #55716b;
}

.treatment-hero-content p {
    margin-top: 18px;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    color: #55716b;
}

.treatment-page-section {
    width: min(1140px, calc(100% - 76px));
    margin: 0 auto;
    padding: 84px 0 110px;
}

.treatment-page-section h2 {
    text-align: center;
}

.treatment-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 64px 38px;
}

.service-card {
    overflow: hidden;
    border-radius: 7px;
    background-color: #eef6f3;
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-card div {
    min-height: 310px;
    padding: 30px 24px;
    text-align: center;
}

.service-card h3 {
    min-height: 60px;
    font-size: 21px;
    line-height: 1.2;
    color: #55716b;
}

.service-card span {
    display: block;
    width: 82px;
    height: 3px;
    margin: 28px auto;
    background-color: #8bb8ac;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #55716b;
}

.price-note {
    margin: 54px 0 52px;
    text-align: center;
    font-size: 18px;
    color: #55716b;
}

.small-line {
    margin-bottom: 58px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 160px;
    width: min(940px, 100%);
    margin: 0 auto;
}

.benefit-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 28px;
    align-items: start;
}

.benefit-item > span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #55716b;
    color: #55716b;
    font-size: 28px;
    line-height: 1;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #55716b;
}

.benefit-item p {
    font-size: 17px;
    line-height: 1.7;
    color: #55716b;
}

/* Footer */

.site-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 96px;
    padding: 0 48px;
    color: #ffffff;
    background-color: #8bb8ac;
}

/* Tablet */

@media (max-width: 1024px) {
    .site-header {
        height: auto;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 28px;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 560px;
        padding: 70px 28px;
        background-position: center right;
    }

    .section {
        width: min(100% - 48px, 900px);
    }

    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding-top: 0;
    }

    .contact-bottom-image {
        max-height: 280px;
        object-fit: cover;
    }

    .map-container {
        width: 100%;
    }

    .treatment-hero {
        min-height: 520px;
        padding: 0 38px;
        background-position: center right;
    }

    .treatment-page-section {
        width: min(100% - 48px, 900px);
    }

    .treatment-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 30px;
    }

    .benefits-grid {
        gap: 48px 60px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .site-header {
        padding: 18px;
    }

    .logo {
        width: 130px;
    }

    .main-nav {
        gap: 15px;
        font-size: 13px;
    }

    .main-nav a {
        padding: 8px 6px;
    }

    .nav-button {
        min-width: auto;
        padding: 10px 18px !important;
    }

    .hero {
        min-height: 520px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        background-image: url("./images/on-mobile-hero.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: top left;
        text-align: top left;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.1;
    }

    .hero-content h2 {
        font-size: 22px;
        margin-bottom: 26px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        width: 100%;
        margin-top: 30px;
    }

    .hero-actions .button {
        width: 240px;
        max-width: 100%;
    }

    .hero-actions .button img {
        width: 18px;
        height: 18px;
    }

    .button {
        font-size: 15px;
    }

    .section {
        width: calc(100% - 36px);
        padding: 58px 0;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .treatment-card img {
        height: 220px;
    }

    .about-section {
        padding-top: 70px;
        text-align: center;
        justify-items: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .about-image img {
        width: 82%;
        margin: 0 auto;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-line.left {
        margin-left: auto;
        margin-right: auto;
    }

    .subtitle {
        margin-bottom: 34px;
        font-size: 20px;
    }

    .about-content p:last-of-type {
        max-width: 100%;
    }

    .provoet-logo {
        margin: 48px auto 0;
    }

    .contact-section {
        gap: 36px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-list li {
        align-items: flex-start;
    }

    .contact-list li > img {
        margin-top: 3px;
    }

    .contact-list li a {
        word-break: break-word;
    }

    .opening-hours p {
        grid-template-columns: 100px 1fr;
        gap: 18px;
    }

    .contact-form textarea {
        min-height: 170px;
    }

    .map-container iframe {
        height: 240px;
    }

    .treatment-hero {
        min-height: 460px;
        padding: 0 24px;
        background-image: url("./images/hero-img-on.png");
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
    }

    .treatment-page-section {
        width: calc(100% - 36px);
        padding: 58px 0 76px;
    }

    .treatment-page-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 220px;
    }

    .service-card div {
        min-height: auto;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .price-note {
        font-size: 15px;
        line-height: 1.6;
    }

    .site-footer {
        justify-content: center;
        min-height: 78px;
        padding: 0 24px;
        text-align: center;
    }
}
