@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --green: #4a90e2;
    --green-2: #1a73e8;
    --mint: #eaf1fc;
    --cream: #faf8f2;
    --text: #1f2a25;
    --muted: #5c6b64;
    --border: #e3ecf6;
    --shadow: 0 22px 46px -24px rgba(20, 45, 90, .32);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--text);
    background:#f4f2ee;
    line-height: 1.5;
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.cursor-glow {
    display: none;
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
    background: var(--green-2);
    color: #fff;
    font-size: 14px;
}

.topbar__inner {
    height: 44px;
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #eaecef;
}

.nav {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 800;
    font-size: 20px;
    font-family: Inter, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__mark {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 22%;
    object-fit: contain;
}

.menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.menu a {
    position: relative;
    white-space: nowrap;
    font-size: 9pt;
}

.menu a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: .25s;
}

.menu a:hover:after,
.menu a.active:after {
    width: 100%;
}

.menu a.active {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-actions form {
    margin: 0;
}

.lang-select {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    cursor: pointer;

}




.login-link {
    font-weight: 700;
    color: #5f6368;
    padding: 10px 6px;
    transition: .25s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.login-link i {
    font-size: 13px;
}

.login-link[hidden] {
    display: none;
}

.login-link:hover {
    color: var(--green-2);
}

.auth-nav {
    display: inline-flex;
    align-items: center;
}

.auth-nav .login-link {
    font-weight: 600;
    color: var(--text);
    padding: 0;
    font-size: 9pt;
}

.auth-nav .login-link:hover {
    color: var(--green);
}

.auth-menu {
    display: none;
}

.auth-menu .login-link {
    font-weight: 600;
    color: inherit;
    padding: 0;
}

@media (max-width: 1100px) {
    .auth-nav {
        display: none;
    }

    .auth-menu {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    display: block !important;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 6px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 16px 28px;
    background: var(--green);
    color: white;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(26, 115, 232, 0.25);
    transition: .25s;
    -webkit-appearance: none;
    appearance: none;
}

/* Some browsers repaint a disabled <button> with their own system look
   (often a flat white/grey face), ignoring the custom background above
   entirely. Force ours to stick. */
.btn:disabled {
    background: var(--green);
    color: white;
    -webkit-appearance: none;
    appearance: none;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--green-2);
    color: #fff;
}

.btn--small {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    padding: 12px 18px;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
}

.btn--light {
    background: white;
    color: var(--green-2);
}

.btn--light:hover {
    background: var(--green-2);
    color: white;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 100px 0 230px;
    background: linear-gradient(135deg, #fbf7ee 0%, #e4f1eb 100%);
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    inset: auto -10% -35% 35%;
    height: 520px;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 50%;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
    animation: fade .7s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
    direction: ltr;
}

/* A slide without a picture: the text uses the full width. */
.hero-grid.hero-grid--text-only {
    grid-template-columns: minmax(0, 760px);
}

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    margin-bottom: 14px;
}

.hero h1,
.section h2,
.cta h2 {
    font-family: Playfair Display, serif;
    font-size: clamp(46px, 6vw, 86px);
    line-height: .98;
    margin: 0 0 24px;
}

.hero p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-top: 34px;
}

.play-btn {
    border: 0;
    background: white;
    border-radius: 999px;
    padding: 16px 24px;
    font-weight: 800;
    color: var(--green-2);
    box-shadow: var(--shadow);
}

.hero-card {
    position: relative;
}

.hero-card img {
    height: 560px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.floating-note {
    position: absolute;
    left: -10px;
    bottom: 50px;
    background: white;
    padding: 20px 24px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.orb {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.orb--one {
    width: 160px;
    height: 160px;
    background: #e8f0fe;
    right: -40px;
    top: -35px;
}

.orb--two {
    width: 96px;
    height: 96px;
    background: #fbbc04;
    left: -35px;
    top: 90px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: #dadce0;
}

.slider-dots .active {
    width: 34px;
    background: var(--green);
}

/* =========================================================
   Features / Services / Cards
   ========================================================= */
.feature-row {
    display: grid;
    /* three across on desktop, but staff can add or remove cards, so wrap by width */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: -15px;
    position: relative;
    z-index: 3;
}

.feature-card,
.service-card,
.blog-card,
.step {
    background: white;
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: .25s;
}

.feature-card:hover,
.service-card:hover,
.case-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
}

.feature-card span {
    color: var(--green);
    font-weight: 900;
}

.feature-card h3,
.service-card h3,
.case-card h3 {
    font-size: 24px;
    margin: 14px 0 10px;
}

.feature-card p,
.service-card p,
.case-card p,
.blog-card p,
.step p,
.about-copy p {
    color: var(--muted);
    line-height: 1.75;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
    padding: 120px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px;
}

.section h2 {
    font-size: clamp(36px, 4vw, 58px);
}

.section-head a,
.service-card a {
    color: var(--green);
    font-weight: 800;
}

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

.service-card span {
    font-size: 38px;
}

/* =========================================================
   About
   ========================================================= */
.about {
    background: var(--mint);
}

.about-grid,
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    direction: ltr;
}

.about-images {
    position: relative;
}

.img-main {
    border-radius: 10px;
    height: 600px;
    width: 82%;
    object-fit: cover;
}

.img-small {
    position: absolute;
    right: 0;
    bottom: 40px;
    width: 48%;
    border: 12px solid var(--mint);
    border-radius: 34px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.stats div {
    background: white;
    padding: 22px;
    border-radius: 8px;
}

.stats strong {
    font-size: 19px;
    line-height: 1.3;
    color: var(--green);
    display: block;
}

.stats span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   Case studies
   ========================================================= */
.case-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: .25s;
}

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

.case-card div {
    padding: 26px;
}

/* =========================================================
   FAQ / Testimonials
   ========================================================= */
.faq-testimonials {
    background: #fff;
}

.accordion {
    border-bottom: 1px solid #eaecef;
}

.accordion button {
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
}

.accordion p {
    display: none;
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.75;
}

.accordion.active p {
    display: block;
}

.testimonial {
    background: var(--green-2);
    color: white;
    border-radius: 10px;
    padding: 52px;
    min-height: 380px;
    display: grid;
    align-items: center;
}

.quote-slider blockquote {
    display: none;
    font-size: 28px;
    line-height: 1.45;
    font-family: Playfair Display, serif;
    margin: 0;
}

.quote-slider blockquote.active {
    display: block;
    animation: fade .4s;
}

.quote-slider cite {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 16px;
    margin-top: 24px;
    color: #e8f0fe;
}

.centered {
    text-align: center;
    display: block;
}

/* =========================================================
   Steps
   ========================================================= */
.steps-grid {
    /* any number of steps (staff can add / remove them), with an arrow between each */
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.steps-grid .step {
    flex: 1 1 180px;
    min-width: 0;
}

.steps-grid .step-arrow {
    flex: none;
    align-self: center;
}

.step {
    text-align: center;
}

.step:hover {
    transform: translateY(-8px);
}

.step b {
    display: block;
    color: var(--green);
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 24px;
    margin: 0 0 14px;
}

.step-arrow {
    font-size: 38px;
    font-weight: 900;
    color: var(--green);
    text-align: center;
}

.reveal-step {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-step.active {
    opacity: 1;
    transform: translateX(0);
}

.steps-grid .reveal-step:nth-child(1) {
    transition-delay: 0s;
}

.steps-grid .reveal-step:nth-child(2) {
    transition-delay: .2s;
}

.steps-grid .reveal-step:nth-child(3) {
    transition-delay: .4s;
}

.steps-grid .reveal-step:nth-child(4) {
    transition-delay: .6s;
}

.steps-grid .reveal-step:nth-child(5) {
    transition-delay: .8s;
}

.steps-grid .reveal-step:nth-child(6) {
    transition-delay: 1s;
}

.steps-grid .reveal-step:nth-child(7) {
    transition-delay: 1.2s;
}

/* =========================================================
   Blog
   ========================================================= */
.blog {
    background: var(--mint);
}

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

.date {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 800;
}

.blog-card h3 {
    font-size: 24px;
    line-height: 1.3;
}

/* =========================================================
   Clients marquee
   ========================================================= */
.clients {
    overflow: hidden;
    background: white;
    padding: 34px 0;
}

.client-marquee {
    display: flex;
    gap: 70px;
    font-size: 28px;
    font-weight: 900;
    color: #9ca3af;
    animation: marquee 18s linear infinite;
    width: max-content;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: white;
}

.cta-card {
    text-align: center;
}

.cta h2 {
    font-size: clamp(36px, 5vw, 64px);
}

.cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #e8f0fe;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: #3c4043;
    color: #fff;
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer a {
    display: block;
    margin: 8px 0;
    color: #fff;
}

.footer a.logo--footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

/* =========================================================
   Floating "to top" button
   ========================================================= */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 30;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: .14s;
}

.delay-2 {
    transition-delay: .28s;
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes fade {
    from {
        opacity: .15;
    }

    to {
        opacity: 1;
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   Responsive — Tablet / Mobile (≤ 1100px)
   ========================================================= */
@media (max-width: 1100px) {
    .topbar__inner {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav {
        height: 72px;
        gap: 10px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 28px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
        z-index: 25;
    }

    .menu.open {
        display: flex;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        order: 2;
    }

    .nav-actions form {
        display: block;
        margin: 0;
    }

    .nav-actions .btn,
    .nav .btn.btn--small {
        display: inline-flex;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 10px 16px;
        font-size: 13px;
        box-shadow: none;
    }

    .lang-select {
        width: auto;
        min-width: 105px;
        max-width: 115px;
        padding: 8px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 50px;
    }

    .hero-grid,
    .about-grid,
    .two-col {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-card img {
        height: 420px;
    }

    .feature-row,
    .service-grid,
    .case-track,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
    }

    .steps-grid .step {
        flex: none;
    }

    .feature-row {
        margin-top: -54px;
    }

    .section {
        padding: 78px 0;
    }

    .section-head {
        display: block;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow,
    .reveal-step.active.step-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
}

/* =========================================================
   Responsive — Small phones (≤ 420px)
   ========================================================= */
@media (max-width: 420px) {
    .logo {
        font-size: 16px;
    }

    .lang-select {
        width: auto;
        min-width: 92px;
        max-width: 100px;
        font-size: 11px;
        padding: 7px 6px;
    }

    .nav-actions .btn,
    .nav .btn.btn--small {
        padding: 9px 12px;
        font-size: 12px;
    }

    .nav {
        gap: 8px;
    }

    .logo__text {
        display: none;
    }
}
/* =========================================================
   Pricing (Tarieven)
   ========================================================= */
.pricing {
    background: var(--mint);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.pricing-card h3 {
    font-size: 24px;
    margin: 0 0 22px;
}

.pricing-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.pricing-card li:last-child {
    border-bottom: 0;
}

.pricing-card li strong {
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
}

.pricing-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pricing-notes div {
    background: white;
    border-radius: var(--radius);
    padding: 26px 28px;
    border: 1px solid var(--border);
}

.pricing-notes h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.pricing-notes p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

/* =========================================================
   FAQ (full width)
   ========================================================= */
.faq-wide .container {
    max-width: 820px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--green);
    margin: 30px 0 6px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-form {
    background: var(--mint);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    height: 500px;
    gap: 16px;
    border: solid 1px #ccc;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font: inherit;
    background: white;
}

/* Chrome/Edge override input backgrounds on autofilled fields with their
   own light-blue tint; background-color alone can't beat that, so fake a
   white background with an inset box-shadow instead (the standard fix). */
.contact-form input:-webkit-autofill,
.contact-form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-text-fill-color: #1a1a1a;
}

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

.contact-form button {
    justify-self: start;
}

.js-contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
}

.js-contact-submit-btn:disabled {
    cursor: default;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: btn-spinner-spin 0.7s linear infinite;
}

@keyframes btn-spinner-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .pricing-grid,
    .pricing-notes,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Language switch (NL / FA)
   ========================================================= */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--mint);
    border-radius: 999px;
    padding: 3px;
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 9pt;
    padding: 5px 10px;
    border-radius: 999px;
    transition: .2s;
}

.lang-btn.active {
    background: var(--green);
    color: white;
}

.lang-switch--menu {
    display: none;
}

@media (max-width: 1100px) {
    .lang-switch--nav {
        display: none;
    }

    .lang-switch--menu {
        display: inline-flex;
        margin-top: 4px;
    }
}

/* =========================================================
   RTL (Farsi)
   ========================================================= */
html[dir="rtl"] body {
    font-family: 'Vazirmatn', Inter, sans-serif;
}

html[dir="rtl"] .hero p,
html[dir="rtl"] .about-copy p,
html[dir="rtl"] .service-card p,
html[dir="rtl"] .blog-card p,
html[dir="rtl"] .step p,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .accordion p,
html[dir="rtl"] .contact-info p {
    text-align: right;
}

/* Header stays fixed LTR regardless of language — only text content
   translates. Logo always left, nav order unchanged, CTA always right. */
.site-header {
    direction: ltr;
}

html[dir="rtl"] .stats,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .pricing-card li {
    direction: rtl;
}

html[dir="rtl"] .step-arrow {
    transform: scaleX(-1);
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .section h2,
html[dir="rtl"] .cta h2 {
    font-family: 'Vazirmatn', Inter, sans-serif;
    text-align: right !important;
}


/* =========================================================
   Welcome (intro under the hero)
   ========================================================= */
.welcome {
    background: #fff;
    padding: 110px 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.welcome-copy h2 {
    margin: 0 0 26px;
}

.welcome-lead {
    margin: 0;
    font-size: 19px;
    line-height: 1.85;
    color: var(--muted);
}

.welcome-card {
    position: relative;
    background: var(--mint);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow);
}

.welcome-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 14px 26px -12px rgba(26, 115, 232, .65);
}

.welcome-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

/* bold key phrases from the copy (privacy, no waiting list, ...) */
.welcome-card strong,
.about-copy strong,
.pricing-notes strong,
.steps-note strong {
    color: var(--text);
    font-weight: 700;
}

/* =========================================================
   Section intro (paragraph + lead-in line under a section heading)
   ========================================================= */
.section-intro {
    max-width: 820px;
    margin: -12px 0 42px;
}

.section-intro p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.section-intro p:last-child {
    margin-bottom: 0;
}

.section-intro .section-intro__lead {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.section-intro__lead::before {
    content: "";
    flex: none;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--green);
}

/* 11 treatment cards: use a 6-column grid so the last row is never a
   lone card -- two leftovers share the row, a single leftover is centred. */
@media (min-width: 1101px) {
    .service-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .service-grid .service-card {
        grid-column: span 2;
    }

    .service-grid .service-card:nth-last-child(2):nth-child(3n+1),
    .service-grid .service-card:last-child:nth-child(3n+2) {
        grid-column: span 3;
    }

    .service-grid .service-card:last-child:nth-child(3n+1) {
        grid-column: 3 / span 2;
    }
}

/* =========================================================
   Werkwijze: intro above the steps, scope-of-practice note below
   ========================================================= */
.steps-intro {
    max-width: 760px;
    margin: -14px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.steps-note {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 26px 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-inline-start: 4px solid var(--green);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.steps-note__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green-2);
    font-size: 20px;
}

.steps-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.steps-note em {
    color: var(--text);
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .welcome {
        padding: 78px 0;
    }

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

    .welcome-card {
        padding: 32px 26px;
    }

    .section-intro {
        margin-bottom: 32px;
    }

    .steps-note {
        padding: 22px 20px;
    }
}

/* RTL (Farsi): the about column sits in an LTR grid; give its text an RTL
   base direction so punctuation and mixed Latin words land correctly. */
html[dir="rtl"] .about-copy,
html[dir="rtl"] .welcome-copy,
html[dir="rtl"] .welcome-card,
html[dir="rtl"] .section-intro,
html[dir="rtl"] .steps-note {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .steps-intro {
    direction: rtl;
}

/* =========================================================
   Google reviews: rating card, carousel and "all reviews" popup.
   Nothing is loaded from Google; the links only open it on click.
   ========================================================= */
.reviews-head {
    margin-bottom: 36px;
}

.reviews-head h2 {
    margin-bottom: 12px;
}

.reviews-note {
    color: var(--muted);
    margin: 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 36px;
    margin-bottom: 28px;
}

.reviews-summary__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.reviews-rating__score {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.reviews-rating__count {
    color: var(--muted);
    font-weight: 600;
}

/* Grey stars underneath, gold stars on top clipped to the rating %. */
.g-stars {
    position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

.g-stars__row {
    display: inline-block;
    letter-spacing: 3px;
    white-space: nowrap;
}

.g-stars__row--bg {
    color: #d8dee6;
}

.g-stars__row--fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #fbbc04;
}

.reviews-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- carousel ---- */
.reviews-carousel {
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 2px 14px;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-track .review-item {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

.review-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 30px -22px rgba(20, 45, 90, .35);
}

.review-item__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-avatar__g {
    position: absolute;
    inset-inline-end: -6px;
    bottom: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.g-logo {
    width: 13px;
    height: 13px;
    display: block;
}

/* "Google" wordmark in the four Google colours */
.g-word {
    font-family: "Product Sans", "Google Sans", Arial, Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.gw-b { color: #4285f4; }
.gw-r { color: #ea4335; }
.gw-y { color: #fbbc05; }
.gw-g { color: #34a853; }

.review-item__name {
    font-weight: 700;
}

.review-item__date {
    color: var(--muted);
    font-size: 14px;
}

.review-item .g-stars {
    margin-bottom: 10px;
}

.review-item__text {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

/* carousel cards show a short preview; the popup shows everything */
.reviews-track .review-item__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-item__more {
    background: none;
    border: 0;
    padding: 6px 0 0;
    color: var(--green-2);
    font-weight: 700;
    cursor: pointer;
}

.review-item__more:hover {
    text-decoration: underline;
}

.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-58%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(31, 42, 37, .78);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s, background .2s;
}

.reviews-arrow:hover {
    background: var(--green-2);
}

.reviews-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.reviews-arrow--prev {
    inset-inline-start: -14px;
}

.reviews-arrow--next {
    inset-inline-end: -14px;
}

[dir="rtl"] .reviews-arrow i {
    transform: scaleX(-1);
}

.reviews-carousel.is-static .reviews-arrow,
.reviews-carousel.is-static .reviews-dots {
    display: none;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.reviews-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c3ccd6;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.reviews-dots button.active {
    background: var(--text);
    transform: scale(1.25);
}

.reviews-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.btn--outline {
    border: 2px solid var(--green);
    box-shadow: none;
    cursor: pointer;
}

/* ---- popup with every review ---- */
.reviews-lock {
    overflow: hidden;
}

.reviews-modal {
    border: 0;
    padding: 0;
    border-radius: 24px;
    width: min(860px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    background: white;
    color: var(--text);
    box-shadow: 0 30px 80px rgba(10, 20, 40, .45);
    overflow: hidden;
}

.reviews-modal[open] {
    display: flex;
    flex-direction: column;
}

.reviews-modal::backdrop {
    background: rgba(20, 28, 40, .62);
}

.reviews-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 34px 64px 22px 40px;
    border-bottom: 1px solid var(--border);
    flex: 0 0 auto;
}

[dir="rtl"] .reviews-modal__header {
    padding: 34px 40px 22px 64px;
}

.reviews-modal__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.reviews-modal__close:hover {
    background: var(--mint);
}

.reviews-modal__list {
    position: relative;
    overflow-y: auto;
    padding: 0 40px 12px;
}

.reviews-modal__list .review-item {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 28px 0;
}

.reviews-modal__list .review-item:last-child {
    border-bottom: 0;
}

@media (max-width: 900px) {
    .reviews-track .review-item {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .reviews-track .review-item {
        flex-basis: 100%;
    }

    .reviews-summary {
        padding: 22px;
    }

    .reviews-arrow--prev {
        inset-inline-start: -6px;
    }

    .reviews-arrow--next {
        inset-inline-end: -6px;
    }

    .reviews-modal__header {
        padding: 28px 56px 18px 22px;
    }

    [dir="rtl"] .reviews-modal__header {
        padding: 28px 22px 18px 56px;
    }

    .reviews-modal__list {
        padding: 0 22px 8px;
    }
}