/* =========================
   Recoverly basisinstellingen
   ========================= */

:root {
    --color-green-dark: #1f3d34;
    --color-green-medium: #566b5c;
    --color-green-light: #a7b7a1;

    --color-beige: #f6f4f1;
    --color-grey-light: #e6e7e5;
    --color-text: #333333;
    --color-text-soft: #6f746f;
    --color-white: #ffffff;

    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Inter", sans-serif;

    --container-width: 1240px;
    --border-radius: 20px;
}

/* Reset */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

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

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

/* Algemene container */

.container {
    width: min(100% - 80px, var(--container-width));
    margin-inline: auto;
}

/* =========================
   Header
   ========================= */

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--color-green-dark);
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-text-soft);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

.main-navigation a {
    transition: opacity 200ms ease;
}

.main-navigation a:hover {
    opacity: 0.65;
}

.header-button {
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-white);
    background-color: var(--color-green-dark);
    border-radius: 999px;
}

/* =========================
   Hero
   ========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(246, 244, 241, 0.96) 0%,
            rgba(246, 244, 241, 0.88) 45%,
            rgba(246, 244, 241, 0.28) 100%
        ),
        url("../assets/images/hero-recoverly.jpg");

    background-position: center;
    background-size: cover;
}

.hero-content {
    padding-top: 40px;
}

.hero-content > * {
    max-width: 780px;
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--color-green-medium);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 28px;
    color: var(--color-green-dark);
    font-family: var(--font-heading);
    font-size: clamp(52px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 780px;
}

.hero-text {
    max-width: 580px;
    color: var(--color-text-soft);
    font-size: 20px;
    line-height: 1.9;
}

.problem {
    padding: 80px 0;
    text-align: center;
}

.problem h2 {
    max-width: 900px;
    margin: 0 auto 48px;
    font-family: var(--font-heading);
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);
}

.problem-intro {
    max-width: 820px;
    margin: 0 auto 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 90px;
}

.problem-item {
    padding-top: 28px;
    border-top: 1px solid var(--color-grey-light);
}

.problem-item h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-green-dark);
    margin-bottom: 18px;
}

.problem-item p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

/* =========================
   Oplossing
   ========================= */

.solution {
    padding: 160px 0;
    background: var(--color-beige);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 100px;
    align-items: center;
}

.solution-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
}

.solution-content h2 {
    margin-bottom: 36px;
    font-family: var(--font-heading);
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-green-dark);
}

.solution-intro,
.solution-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-text-soft);
}

.solution-intro {
    margin-bottom: 28px;
}

.solution-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-phone img {
    width: 460px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   Zo werkt Recoverly
========================= */

.how-it-works {
    padding: 80px 0;
    text-align: center;
}

.how-header {
    max-width: 820px;
    margin: 0 auto;
}

.how-header h3 {
    max-width: 900px;
    margin: 0 auto 48px;
    font-family: var(--font-heading);
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);
}

.how-header p {
    max-width: 820px;
    margin: 0 auto 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.how-header p:last-child {
    margin-bottom: 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 65px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--color-grey-light);
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1;
}

.timeline-item::before {
    content: "";
    width: 15px;
    height: 15px;
    background: var(--color-green-dark);
    border-radius: 50%;
    display: block;
    margin: 11px auto 26px;
}

.timeline .day {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-green-dark);
}

.timeline-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-soft);
    max-width: 150px;
    margin: 0 auto;
}

.timeline-note {
    max-width: 650px;
    margin: 80px auto 0;
    text-align: center;

    font-size: 14px;
    line-height: 1.8;

    color: #8C918D;
}

/* =========================
   Clinic benefits
========================= */

.clinic-benefits {
    padding: 120px 0;
}

.clinic-benefits-header {
    max-width: none;
    margin: 0;
    text-align: left;
}

.clinic-benefits-header h2 {
    max-width: 600px;
    margin: 0 0 40px;
    text-align: left;

    font-family: var(--font-heading);
    font-size: clamp(44px, 4.3vw, 60px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);

    text-align: left;
}

.clinic-benefits-header p {
    max-width: 600px;
    margin: 0 0 24px;
    text-align: left;
}

/* ===== Clinic benefits grid ===== */

.clinic-benefits{
    background:#F8F7F4;
    padding:140px 0;
}

.clinic-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 120px;
    margin-top: 80px;
}

.clinic-benefit {
    border-top: 1px solid var(--color-grey-light);
    padding-top: 28px;
}

.clinic-benefit h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-green-dark);
    margin-bottom: 20px;
}

.clinic-benefit p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.clinic-benefits-layout {
    display: grid;
    grid-template-columns: 1fr 530px;
    gap: 100px;
    align-items: center;
    margin-bottom: 100px;
}

.clinic-benefits-header h2 {
    max-width: 600px;
    margin: 0 0 40px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);
}

.clinic-benefits-header p {
    max-width: 600px;
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.clinic-benefits-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(31, 61, 52, 0.06);
}

/* =========================
   Behandeltrajecten
========================= */

.treatments {
    padding: 140px 0;
}

.treatments-header {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.treatments-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);
    margin-bottom: 32px;
}

.treatments-header p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

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

.treatment-card {
    border-top: 1px solid var(--color-grey-light);
    padding-top: 26px;
    min-height: 150px;
}

.treatment-card h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-green-dark);
    margin: 18px 0 0;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 500;

    background: #E6F1EB;
    color: var(--color-green-dark);
}

.status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green-dark);
}

.status.upcoming {
    background: #F1EEE8;
    color: var(--color-text-soft);
}

.status.upcoming::before {
    background: #B9B5AE;
}

/* =========================
   Ontwikkeld vanuit de praktijk
========================= */

.story {
    padding: 140px 0;
    background: #F8F7F4;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 100px;
    align-items:start;
}

.story-content {
    max-width: 650px;
}

.story-label {
    display: inline-block;
    margin-bottom: 24px;

    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--color-text-soft);
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.03em;
    color: var(--color-green-dark);

    margin-bottom: 40px;
}

.story-content p {
    margin: 0 0 28px;
    max-width: 660px;

    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text-soft);
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(31, 61, 52, 0.06);
}

/* =========================
   CTA
========================= */

.cta {
    padding: 160px 0;
    background: var(--color-green-dark);
}

.cta-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-label {
    margin-bottom: 22px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;

    color: rgba(255,255,255,.65);
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 4.5vw, 62px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.03em;

    color: #fff;

    margin-bottom: 32px;
}

.cta-text {
    max-width: 620px;
    margin: 0 auto 48px;

    font-size: 17px;
    line-height: 1.9;

    color: rgba(255,255,255,.82);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    border-radius: 999px;

    background: #F8F7F4;
    color: var(--color-green-dark);

    text-decoration: none;
    font-weight: 600;

    transition: .3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ffffff;
}

/* DEMO PAGINA */

.demo-intro {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.demo-intro h2 {
    margin-bottom: 18px;
}

.demo-intro p {
    color: #666;
    line-height: 1.8;
}

.contact {
    padding: 0 0 120px;
}

.contact .container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: .2s;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1F3D34;
}

.contact-form button {
    margin-top: 10px;
    align-self: flex-start;
}

/* FOOTER */

.footer {
    padding: 24px 0;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-brand h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-brand p {
    color: #666;
    margin: 0;
}


@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}

/* =========================
   Mobiel
   ========================= */
@media (max-width: 768px) {
.container{
    width: min(100% - 32px, 100%);
}

.site-header .btn-primary{
    padding: 14px 24px;
    font-size: 14px;
    line-height: 1.2;

    width: auto;
    min-width: 180px;
    white-space: nowrap;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero{
    min-height: 82svh;
    align-items: flex-end;
    background-position: 62% center;
}

.hero-content{
    padding-top: 110px;
    padding-bottom: 56px;
}

.hero h1{
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 100%;
}

.hero-text{
    max-width: 100%;
    font-size: 17px;
    line-height: 1.8;
}

/* ===== Probleem ===== */

.problem{
    padding: 72px 0;
    text-align: left;
}

.problem h2{
    margin: 0 0 28px;
    font-size: 42px;
    line-height: 1.05;
    max-width: 100%;
}

.problem-intro{
    max-width: 100%;
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.8;
}

.problem-grid{
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 56px;
}

.problem-item{
    padding-top: 22px;
}

.problem-item h3{
    font-size: 28px;
    margin-bottom: 14px;
}

.problem-item p{
    font-size: 16px;
    line-height: 1.8;
}
/* ===== Oplossing ===== */

.solution{
    padding: 80px 0;
}

.solution-grid{
    grid-template-columns: 1fr;
    gap: 48px;
}

.solution-phone{
    order: -1;
    transform: none;
}

.solution-phone img{
    width: min(340px, 100%);
    margin: 0 auto;
}

.solution-content h2{
    margin-bottom: 24px;
    font-size: 42px;
    line-height: 1.05;
}

.solution-intro,
.solution-text{
    font-size: 17px;
    line-height: 1.8;
}

.solution-intro{
    margin-bottom: 20px;
}

/* ===== Zo werkt ===== */

.how-it-works{
    padding: 72px 0;
    text-align: left;
}

.how-header{
    max-width: 100%;
    padding: 0 16px;
}

.how-header h3{
    margin-bottom: 28px;
    font-size: 37px;
    line-height: 1.15;
    text-align: left;
}

.how-header p{
    margin: 0 0 20px;
    max-width: 100%;
}

/* ===== Tijdlijn ===== */

.timeline{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 56px;
}

.timeline::before{
    display: none;
}

.timeline-item{
    background: var(--color-beige);

    border: 1px solid rgba(31,61,52,.08);
    border-radius: 22px;

    padding: 28px;

    margin: 0 10px;

    text-align: left;

    box-shadow: 0 10px 30px rgba(31,61,52,.05);

    transition: .25s ease;
}

.timeline-item::before{
    display:none;
}

.timeline .day{
    display:block;

    margin-bottom:14px;

    font-size:30px;
    line-height:1;

    color:var(--color-green-dark);
}

.timeline-item p{
    margin:0;

    max-width:none;

    font-size:16px;
    line-height:1.7;
    color:var(--color-text-soft);
}

.timeline-note{
    margin-top:36px;
    text-align:left;
}

/* ===== Clinic benefits ===== */

.clinic-benefits{
    padding: 80px 0;
}

.clinic-benefits-layout{
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.clinic-benefits-image{
    order: -1;
}

.clinic-benefits-header{
    text-align: left;
}

.clinic-benefits-header h2{
    margin-bottom: 24px;
    font-size: 42px;
    line-height: 1.05;
    max-width: 100%;
}

.clinic-benefits-header p{
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.clinic-benefits-grid{
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
}

.clinic-benefit{
    padding-top: 22px;
}

.clinic-benefit h3{
    font-size: 28px;
    margin-bottom: 14px;
}

.clinic-benefit p{
    font-size: 16px;
    line-height: 1.8;
}

/* ===== Behandeltrajecten ===== */

.treatments{
    padding: 80px 0;
}

.treatments-header{
    margin-bottom: 48px;
}

.treatments-header h2{
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.treatments-header p{
    font-size: 17px;
    line-height: 1.8;
}

.treatments-grid{
    grid-template-columns: 1fr;
    gap: 24px;
}

.treatment-card{
    min-height: auto;
    padding-top: 22px;
}

.treatment-card h3{
    font-size: 28px;
    margin-top: 16px;
}

.status{
    font-size: 12px;
    padding: 7px 12px;
}

/* ===== Ontwikkeld vanuit de praktijk ===== */

.story{
    padding:80px 0;
}

.story-layout{
    display:grid;
    grid-template-columns:1fr;
    gap:48px;
}

.story-image{
    order:-1;
}

.story-image img{
    width:100%;
    border-radius:24px;
}

.story-content{
    max-width:100%;
}

.story-content h2{
    font-size:42px;
    line-height:1.05;
    margin-bottom:24px;
}

.story-content p{
    max-width:100%;
    font-size:17px;
    line-height:1.8;
}

.story-content p + p{
    margin-top:18px;
}

/* ===== CTA ===== */

.cta{
    padding:90px 0;
}

.cta-content{
    max-width:100%;
    text-align:left;
}

.cta-label{
    margin-bottom:18px;
    font-size:12px;
}

.cta h2{
    font-size:42px;
    line-height:1.05;
    margin-bottom:24px;
}

.cta-text{
    max-width:100%;
    margin:0 0 36px;
    font-size:17px;
    line-height:1.8;
}

.cta .btn-primary{
    width:100%;
    min-height:58px;
    font-size:16px;
}

/* ===== Footer ===== */

.footer{
    padding:32px 0;
}

.footer-content{
    justify-content:flex-start;
    text-align:left;
}

.footer-brand h3{
    font-size:30px;
    margin-bottom:6px;
}

.footer-brand p{
    font-size:14px;
    line-height:1.6;
}

}