/* ============================================
   Reugebrink Opticiens - Theme Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #CB3027;
    --color-primary-dark: #a82720;
    --color-dark: #1a1a1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-light: #f8f7f5;
    --color-lighter: #f0efed;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: var(--header-height); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Grid --- */
.row { display: flex; flex-wrap: wrap; margin: 0 -1rem; }
.col { flex: 1; padding: 0 1rem; }
.col-12 { width: 100%; padding: 0 1rem; }
.col-md-6 { padding: 0 1rem; }
.col-md-4 { padding: 0 1rem; }
.col-md-3 { padding: 0 1rem; }
.col-lg-4 { padding: 0 1rem; }
.col-lg-6 { padding: 0 1rem; }
.col-lg-8 { padding: 0 1rem; }

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-4 { width: 33.333%; }
    .col-md-3 { width: 25%; }
}
@media (min-width: 1024px) {
    .col-lg-4 { width: 33.333%; }
    .col-lg-6 { width: 50%; }
    .col-lg-8 { width: 66.666%; }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}
.btn-outline-dark:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: var(--color-dark);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 1.5rem 0 0.3rem;
}

.site-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}
.site-logo img {
    height: 55px;
    width: auto;
}

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > ul { list-style: none; display: flex; gap: 0; padding: 0; margin: 0; }
.main-nav li { position: relative; }
.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.main-nav a:hover,
.main-nav .active > a { color: var(--color-primary); }

/* Dropdown */
.main-nav .has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: 2px;
}

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    display: block;
}

.main-nav li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown a {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* CTA button in nav */
.nav-cta-desktop {
    margin-left: 1rem;
}
.nav-cta-desktop .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}
.nav-cta-mobile { display: none; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    -webkit-appearance: none;
    outline: none;
}
.menu-toggle:focus { outline: none; }
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    position: absolute;
    left: 0;
    transition: all var(--transition);
}
.menu-toggle::before { content: ''; top: 0; }
.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle::after { content: ''; bottom: 0; }

.menu-toggle.active::before { transform: rotate(45deg); top: 50%; }
.menu-toggle.active span { opacity: 0; }
.menu-toggle.active::after { transform: rotate(-45deg); bottom: 50%; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 4rem 1.5rem;
}
.hero-pre-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.85;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* --- Breadcrumb Header --- */
.breadcrumb-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    overflow: hidden;
    min-height: 45vh;
    padding: 140px 0 80px;
}
.breadcrumb-header .hero-bg {
    background-position: right center;
}
.breadcrumb-header .hero-bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}
.breadcrumb-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}
.breadcrumb-header h1 {
    color: var(--color-white);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}
.breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--color-primary);
}
.breadcrumb a { color: var(--color-white); }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Sections --- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 6rem 0; }
.section-white { background: var(--color-white); }

/* Lens decoration on white/plain sections */
.section-white:not(.section-no-decor),
.section:not(.section-light):not(.section-warm):not(.section-no-decor) {
    position: relative;
    overflow: hidden;
}
.section-white:not(.section-no-decor)::before,
.section-white:not(.section-no-decor)::after,
.section:not(.section-light):not(.section-warm):not(.section-no-decor)::before,
.section:not(.section-light):not(.section-warm):not(.section-no-decor)::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 0;
    opacity: 0.09;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='130' fill='none' stroke='%23000' stroke-width='0.75'/%3E%3Ccircle cx='200' cy='200' r='60' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    pointer-events: none;
}
.section-white:not(.section-no-decor)::before,
.section:not(.section-light):not(.section-warm):not(.section-no-decor)::before {
    right: -100px;
    top: -100px;
}
.section-white:not(.section-no-decor)::after,
.section:not(.section-light):not(.section-warm):not(.section-no-decor)::after {
    left: -100px;
    bottom: -100px;
}
.section-white:not(.section-no-decor) > *,
.section:not(.section-light):not(.section-warm):not(.section-no-decor) > * {
    position: relative;
    z-index: 1;
}
.section-light {
    background: var(--color-light);
    box-shadow: inset 0 8px 16px -8px rgba(0, 0, 0, 0.06);
}
.section-warm {
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%);
    box-shadow: inset 0 8px 16px -8px rgba(0, 0, 0, 0.06);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-title h2 { margin-bottom: 1rem; }
.section-title p { color: var(--color-text-light); }

/* --- Service Icons Section --- */
.service-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.service-icon-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-primary);
    font-size: 1.5rem;
}
.service-icon-card h6 { margin-bottom: 0.75rem; }
.service-icon-card p { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 0; }

/* --- Service Cards --- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
}
.service-card-overlay h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}
.service-card-overlay .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

/* --- Tabs Section --- */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
    overflow-x: auto;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: var(--color-text-light);
    white-space: nowrap;
    transition: all var(--transition);
}
.tab-btn:hover,
.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.tab-panel img { border-radius: 8px; width: 100%; }
.tab-panel h2 { margin-bottom: 1rem; }
.tab-panel p { color: var(--color-text-light); margin-bottom: 1.5rem; }

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-banner .hero-bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
}
.cta-banner .container {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
}
.cta-banner p { font-size: 1.15rem; opacity: 0.9; }
.cta-banner h2 {
    color: var(--color-white);
    max-width: 700px;
    margin: 0.5rem auto 2rem;
    font-size: 2.25rem;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.team-card { text-align: center; }
.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card p { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 0; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.active .faq-question::after {
    content: '\2212';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 0 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
    overflow-wrap: break-word;
}
.faq-answer-inner table { max-width: 100%; overflow-x: auto; display: block; }

/* --- Contact Page --- */
.contact-info { margin-bottom: 2rem; }
.contact-info h4 { margin-bottom: 0.25rem; }
.contact-info p { color: var(--color-text-light); margin-bottom: 0; }
.contact-info a { color: var(--color-primary); }


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

.map-embed {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}
.map-embed iframe { width: 100%; height: 350px; border: 0; }

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.value-card {
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.value-card h4 { margin-bottom: 0.75rem; color: var(--color-primary); }
.value-card p { margin-bottom: 0; color: var(--color-text-light); }

/* --- Team Members --- */
/* --- Team Photo --- */
.team-photo {
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.team-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.team-photo figcaption {
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.team-member {
    text-align: center;
    padding: 1.5rem 2rem;
}
.team-member h4 { margin-bottom: 0.25rem; }
.team-member p { margin-bottom: 0; color: var(--color-text-light); font-size: 0.95rem; }

/* --- Content Page --- */
.content-page { max-width: 800px; margin: 0 auto; overflow-wrap: break-word; }
.content-page h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.content-page ul { margin-bottom: 1rem; }
.content-page strong { color: var(--color-dark); }
.content-page table { max-width: 100%; overflow-x: auto; display: block; }
.content-page iframe { max-width: 100%; }

/* --- Partner Logos --- */
.partner-logos {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}
.partner-logos img {
    height: 80px;
    width: auto;
    transition: opacity var(--transition);
}
.partner-logos a:hover img {
    opacity: 0.7;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}
.site-footer h5 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: var(--color-white); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}
.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-info {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-logo { display: flex; justify-content: center; }
    .footer-contact { display: flex; flex-direction: column; align-items: center; }
}

.footer-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
}
.footer-address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-address a { color: inherit; text-decoration: none; }
.footer-address a:hover { color: var(--color-white); }
.footer-contact a {
    display: block;
    margin-bottom: 0.25rem;
}

.footer-menu { list-style: none; padding: 0; }
.footer-menu li { margin-bottom: 0.5rem; }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.lead { font-size: 1.1rem; line-height: 1.8; }
.fw-bold { font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 1023px) {
    .menu-toggle { display: block; z-index: 1002; }
    .nav-cta-desktop { display: none; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-dark);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        transition: right var(--transition);
        z-index: 1001;
        padding: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .main-nav.open { right: 0; }
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: var(--header-height) 0 0;
        margin: 0;
        flex: 1;
        width: 100%;
    }
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .main-nav > ul > li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .main-nav a {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        margin: 0;
    }
    .main-nav a:hover,
    .main-nav .active > a {
        background: rgba(255, 255, 255, 0.05);
    }
    .main-nav .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        background: rgba(0, 0, 0, 0.2);
        display: none;
    }
    .main-nav .dropdown li { border-bottom: none; }
    .main-nav .dropdown a {
        padding-left: 3rem;
        font-size: 0.85rem;
        opacity: 0.8;
    }
    .main-nav .has-dropdown.open > .dropdown { display: block; }
    .nav-cta-mobile {
        display: block;
        padding: 1.5rem 2rem 2rem;
        margin-top: auto;
    }
    .nav-cta-mobile .btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .hero h1 { font-size: 3rem; }
    .hero-content { padding: 3rem 1.5rem; }
    .service-icons { grid-template-columns: 1fr; }
    .service-cards { grid-template-columns: 1fr; }
    .tab-panel { grid-template-columns: 1fr; gap: 1.5rem; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .section-lg { padding: 4rem 0; }
    .btn { max-width: 100%; }
    .cta-banner .container { padding: 3rem 1.5rem; }
    .partner-logos { gap: 2rem; }
}

@media (max-width: 767px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .hero { min-height: 85vh; }
    .hero h1 { font-size: 2.5rem; }
    .cta-banner { min-height: 50vh; }
    .cta-banner h2 { font-size: 1.5rem; }
    .breadcrumb-header { min-height: 35vh; padding: 120px 0 60px; }
    .breadcrumb-header h1 { font-size: 2rem; }
}

/* --- Mobile menu overlay --- */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}
.menu-overlay.open { display: block; }

/* --- Product Grid --- */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.product-card {
    width: calc(33.333% - 1.334rem);
    min-width: 0;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-lighter);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.05);
}
.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
}

.product-card-body {
    padding: 1.25rem;
    text-align: center;
}
.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-card-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}
.product-card-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* --- Category Grid --- */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    flex: 1 1 300px;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
    color: inherit;
}
.category-card-content {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.category-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}
.category-card-description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.category-count {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}
.category-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    transition: color var(--transition), background var(--transition);
}
.category-card:hover .category-card-arrow {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 4%, transparent);
}

/* --- Montuur Section --- */
.montuur-section {
    background: var(--color-white);
}

/* --- Main content wrapper --- */
main > .section,
main > .section-sm {
    background: var(--color-white);
}
main > .section-light {
    background: var(--color-light);
}
main > .section-warm {
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%);
}

/* --- Service Section Card --- */
.service-section-card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary);
    transition: box-shadow var(--transition);
}
.service-section-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.service-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.service-section-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-section-card h2 {
    margin-bottom: 0;
    font-size: 1.35rem;
}
.service-section-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.service-section-content {
    flex: 1;
    color: var(--color-text-light);
    line-height: 1.8;
    overflow-wrap: break-word;
}
.service-section-content table { max-width: 100%; overflow-x: auto; display: block; }
.service-section-content p:last-child { margin-bottom: 0; }
.service-section-content strong {
    color: var(--color-dark);
}
.service-price-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1.25rem;
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
}
.service-section-body .section-image {
    max-width: 280px;
    width: 100%;
    border-radius: 8px;
    flex-shrink: 0;
}

/* --- Price Badge --- */
.price-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* --- Back link --- */
.back-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
.back-link:hover {
    text-decoration: underline;
}

/* --- Product Detail --- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.product-detail-gallery {
    position: sticky;
    top: 2rem;
}
.product-gallery-main {
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-light);
    margin-bottom: 1rem;
}
.product-gallery-main img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block;
}
.product-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.product-gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: var(--color-light);
    transition: border-color var(--transition);
}
.product-gallery-thumb.active {
    border-color: var(--color-primary);
}
.product-gallery-thumb:hover {
    border-color: var(--color-primary);
}
.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-detail-placeholder {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: 8px;
    color: var(--color-text-light);
}
.product-detail-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.product-detail-category {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.product-detail-category:hover {
    text-decoration: underline;
}
.product-detail-price {
    margin: 1.5rem 0;
}
.price-badge-lg {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
}
.product-detail-description {
    margin-top: 1.5rem;
    line-height: 1.8;
    color: var(--color-text);
}
.product-detail-description p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-detail-gallery {
        position: static;
    }
    .product-detail-info h2 {
        font-size: 1.4rem;
    }
}

/* --- Contact Cards --- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--color-lighter);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
}
.info-card h4 {
    margin-bottom: 0.5rem;
}
.info-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}
.info-card .btn {
    margin-top: 1.25rem;
}
.info-card a {
    color: var(--color-primary);
}

.opening-hours-bar {
    background: var(--color-lighter);
    border-radius: 8px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.opening-hours-bar-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
}
.opening-hours-bar h4 {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.opening-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.35rem 2.5rem;
    flex: 1;
    justify-content: end;
}
.opening-hours-row {
    display: flex;
    gap: 0.5rem;
    white-space: nowrap;
}
.opening-hours-day {
    font-weight: 600;
    color: var(--color-text);
}
.opening-hours-time {
    color: var(--color-text-light);
}
.opening-hours-row--closed .opening-hours-time {
    color: var(--color-primary);
    font-weight: 500;
}
@media (max-width: 992px) {
    .opening-hours-grid {
        grid-template-columns: repeat(2, auto);
    }
}
@media (max-width: 768px) {
    .opening-hours-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    .opening-hours-grid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
        width: 100%;
        max-width: 260px;
    }
    .opening-hours-row {
        justify-content: space-between;
    }
}

/* --- Product Filter --- */
.product-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* --- Partner Name (label below logo) --- */
.partner-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
}

/* --- Service Card Placeholder --- */
.service-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-lighter);
}

/* --- Button Small Variant --- */
.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
}

/* --- Footer Credit --- */
.footer-credit {
    font-size: 0.8rem;
    opacity: 0.6;
}
.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}
.footer-credit a:hover {
    color: var(--color-white);
}

/* --- Responsive: Product & Category Grids --- */
@media (max-width: 1023px) {
    .product-card { width: calc(50% - 1rem); }
    .contact-cards { grid-template-columns: 1fr; }
    .service-section-card { padding: 1.5rem; }
    .service-section-body { flex-direction: column; }
    .service-section-body .section-image { max-width: 100%; }
}

@media (max-width: 767px) {
    .product-card { width: 100%; max-width: 400px; }
    .category-card { flex: 1 1 100%; max-width: 400px; }
    .product-filter { justify-content: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .partner-logos { gap: 1.5rem; }
    .row > [class*="col-"] { margin-bottom: 2rem; }
    .row > [class*="col-"]:last-child { margin-bottom: 0; }
}

/* --- Welcome Popup --- */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.popup-overlay.visible {
    opacity: 1;
}
.popup-modal {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}
.popup-overlay.visible .popup-modal {
    transform: translateY(0) scale(1);
}
.popup-image {
    flex: 0 0 45%;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.popup-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.popup-content {
    flex: 1;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-light);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
}
.popup-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
.popup-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}
.popup-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.popup-btn {
    align-self: flex-start;
}

@media (max-width: 600px) {
    .popup-modal {
        flex-direction: column;
        max-width: calc(100vw - 2rem);
    }
    .popup-image {
        flex: 0 0 auto;
        padding: 1.5rem;
    }
    .popup-image img {
        max-height: 160px;
    }
    .popup-content {
        padding: 1.5rem;
    }
    .popup-title {
        font-size: 1.35rem;
    }
}
