/* ==========================================================================
   APARTS GROUP ROTTERDAM — Master Stylesheet (style.css)
   Brand Palette: Aparts Red (#e30613 / #b51f28), Industrial Charcoal (#141414),
   Dark Slate (#1c2220 / #1f1f1f), Crisp White (#ffffff)
   Typography: 'Abel' (Headings / Industrial Display) & 'Montserrat' (Body / UI)
   ========================================================================== */

:root {
    --aparts-red: #e30613;
    --aparts-red-dark: #b51f28;
    --aparts-red-glow: rgba(227, 6, 19, 0.25);
    --aparts-black: #111111;
    --aparts-dark: #181818;
    --aparts-charcoal: #222222;
    --aparts-footer-bg: #1c2220;
    --aparts-gray-light: #f6f7f8;
    --aparts-border: #e5e7eb;
    --aparts-border-dark: #2e2e2e;
    --aparts-text: #1f2937;
    --aparts-text-muted: #6b7280;
    --aparts-white: #ffffff;
    --container-max: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.14);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--aparts-text);
    background-color: var(--aparts-white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
    font-family: 'Abel', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.topbar {
    background: var(--aparts-black);
    color: #d1d5db;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    max-width: 100%;
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-items a:hover {
    color: var(--aparts-red);
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
}

span.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

span.dot.status-open {
    background: #10b981;
}

span.dot.status-closing-soon {
    background: #f59e0b;
}

span.dot.status-closed {
    background: #e30613;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--aparts-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header .header-inner {
    max-width: 100%;
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 1.5rem;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo-wrap img {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.main-nav a {
    color: var(--aparts-dark);
    font-family: 'Abel', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    background: var(--aparts-red);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--aparts-red);
    color: #fff;
    font-family: 'Abel', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.header-cta:hover {
    background: var(--aparts-red-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid #d1d5db;
    color: var(--aparts-dark);
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (HOME & SUBPAGES)
   ========================================================================== */
.hero-home {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background-color: var(--aparts-black);
    background-image: url('assets/Aparts_Industrie_RED.jpg');
    background-size: cover;
    background-position: center;
    padding: 5.5rem 1.5rem;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.72) 0%, rgba(20, 20, 20, 0.62) 50%, rgba(12, 12, 12, 0.88) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-kicker {
    display: inline-block;
    background: var(--aparts-red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.42rem 1.15rem;
    border-radius: 99px;
    margin-bottom: 1.4rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.hero-title {
    font-family: 'Abel', sans-serif;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.85rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: #e5e7eb;
    max-width: 740px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* The 4 Iconic Aparts Group Portal Buttons */
.portal-buttons-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    margin-top: 0.5rem;
}

.portal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--aparts-red);
    color: #ffffff;
    font-family: 'Abel', sans-serif;
    font-size: 1.22rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.25rem 1rem;
    border: 2px solid var(--aparts-red);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.portal-btn span.portal-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    opacity: 0.88;
    margin-top: 0.25rem;
    font-weight: 500;
}

.portal-btn:hover {
    background: rgba(20, 20, 20, 0.92);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

/* Page Hero for Subpages */
.page-hero {
    position: relative;
    background-color: var(--aparts-black);
    background-image: url('assets/Aparts_Industrie_RED.jpg');
    background-size: cover;
    background-position: center;
    padding: 4.5rem 1.5rem;
    color: #ffffff;
    text-align: center;
    border-bottom: 4px solid var(--aparts-red);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.86) 0%, rgba(25, 25, 25, 0.75) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
}

.page-hero p {
    color: #d1d5db;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--aparts-gray-light);
}

.section-dark {
    background-color: var(--aparts-dark);
    color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.25rem;
}

.section-tag {
    display: inline-block;
    color: var(--aparts-red);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.section-desc {
    color: var(--aparts-text-muted);
    font-size: 1rem;
}

.section-dark .section-desc {
    color: #9ca3af;
}

/* 4 Divisions Grid */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
}

.division-card {
    background: var(--aparts-white);
    border: 1px solid var(--aparts-border);
    border-top: 4px solid var(--aparts-red);
    border-radius: var(--radius-md);
    padding: 2.1rem 1.75rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.division-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.division-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(227, 6, 19, 0.1);
    color: var(--aparts-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.division-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
    color: var(--aparts-black);
}

.division-card p {
    color: var(--aparts-text-muted);
    font-size: 0.93rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--aparts-red);
    color: #ffffff;
    font-family: 'Abel', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.78rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--aparts-red);
    font-weight: 700;
    cursor: pointer;
}

.btn-red:hover {
    background: var(--aparts-red-dark);
    border-color: var(--aparts-red-dark);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--aparts-red);
    font-family: 'Abel', sans-serif;
    font-size: 1.02rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--aparts-red);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--aparts-red);
    color: #ffffff;
}

/* Split Feature / Over Ons Block */
.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: stretch;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--aparts-gray-light);
    border-left: 4px solid var(--aparts-red);
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
}

.stat-number {
    font-family: 'Abel', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--aparts-red);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--aparts-text-muted);
    font-weight: 600;
}

.feature-image-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    border: 3px solid var(--aparts-red);
    height: 100%;
    min-height: 360px;
}

.feature-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partners Showcase Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.35rem;
}

.partner-card {
    background: #ffffff;
    border: 1px solid var(--aparts-border);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.4rem;
    box-shadow: var(--shadow-card);
    transition: all 0.22s ease;
    position: relative;
}

.partner-card:hover {
    border-color: var(--aparts-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.partner-logo-box {
    height: 116px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
}

.partner-logo-box img {
    width: 88%;
    height: 84px;
    max-height: 84px;
    max-width: 235px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.partner-logo-box.dual-logos img {
    width: 46%;
    height: 68px;
    max-height: 68px;
    max-width: 120px;
}

.partner-card:hover .partner-logo-box img {
    transform: scale(1.05);
}

.partner-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--aparts-red);
    background: rgba(227, 6, 19, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.partner-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    color: var(--aparts-black);
}

.partner-card p {
    font-size: 0.86rem;
    color: var(--aparts-text-muted);
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION & MODAL
   ========================================================================== */
.reviews-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--aparts-border);
    border-left: 5px solid var(--aparts-red);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 2.25rem;
    box-shadow: var(--shadow-card);
}

.google-badge-left {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.google-g-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rating-big {
    font-family: 'Abel', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--aparts-black);
    line-height: 1;
}

.stars-gold {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--aparts-border);
    border-radius: var(--radius-md);
    padding: 1.65rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--aparts-red);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--aparts-black);
}

.review-date {
    font-size: 0.76rem;
    color: var(--aparts-text-muted);
}

.review-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
}

/* ==========================================================================
   HUISBEURS PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #111;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-modal img {
    max-width: 92vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    border: 2px solid var(--aparts-red);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: var(--aparts-red);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info-card {
    background: var(--aparts-dark);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.25rem;
    border-top: 4px solid var(--aparts-red);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-full-section {
    width: 100%;
    padding: 0;
    margin: 0;
    line-height: 0;
    border-top: 3px solid var(--aparts-red);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(227, 6, 19, 0.16);
    color: var(--aparts-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.route-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.route-btn-google {
    background: var(--aparts-red);
    color: #ffffff;
    border: 1px solid var(--aparts-red);
}

.route-btn-google:hover {
    background: var(--aparts-red-dark);
    border-color: var(--aparts-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.route-btn-apple {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.route-btn-apple:hover {
    background: #ffffff;
    color: var(--aparts-black);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--aparts-border);
    border-radius: var(--radius-md);
    padding: 2.4rem;
    box-shadow: var(--shadow-card);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.form-field {
    margin-bottom: 1.15rem;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--aparts-red);
    background: #ffffff;
}

.hp-trap {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   HOUTKAMP-STYLE FOOTER WITH ALGEMENE VOORWAARDEN, PRIVACYBELEID & CMS LOCK
   ========================================================================== */
.site-footer {
    background-color: var(--aparts-footer-bg);
    color: rgba(255, 255, 255, 0.72);
    border-top: 3px solid var(--aparts-red);
    font-size: 0.9rem;
}

.footer-top {
    padding: 3.75rem 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-col:first-child {
    max-width: 315px;
}

.footer-col h4 {
    color: #ffffff;
    font-family: 'Abel', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
    line-height: 1.2;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.45;
}

.footer-col ul li svg {
    flex-shrink: 0;
    margin-right: 0 !important;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

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

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-credit a {
    color: var(--aparts-red);
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-bottom-right a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-cms-lock {
    color: rgba(255, 255, 255, 0.42);
    padding: 0.2rem;
    border-radius: 4px;
}

.footer-cms-lock:hover {
    color: #ffffff;
}

/* Legal Document Styling */
.legal-content {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--aparts-border);
    border-top: 4px solid var(--aparts-red);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.legal-article {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.legal-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-kicker {
    display: block;
    color: var(--aparts-red);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.legal-content h2 {
    font-size: 1.55rem;
    margin: 0 0 0.65rem;
    color: var(--aparts-black);
}

.legal-content p, .legal-content li {
    color: #374151;
    font-size: 0.94rem;
    margin-bottom: 0.65rem;
}

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

.legal-content ul {
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Klanttevredenheidsonderzoek (Survey Page) */
.survey-card {
    max-width: 1020px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--aparts-border);
    border-top: 4px solid var(--aparts-red);
    border-radius: var(--radius-md);
    padding: 2.75rem 3rem;
    box-shadow: var(--shadow-card);
}

.survey-intro-box {
    margin-bottom: 1.85rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.survey-intro-box p {
    color: #374151;
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

.survey-meta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
    background: #f9fafb;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
}

.survey-meta-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
}

.survey-meta-field input {
    width: 100%;
    padding: 0.68rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: #ffffff;
    color: #111827;
}

.survey-meta-field input:focus {
    outline: none;
    border-color: var(--aparts-red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.survey-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.9rem;
}

.survey-matrix-wrap {
    overflow-x: auto;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e7eb;
}

.survey-matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.survey-matrix thead th {
    background: #f3f4f6;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    padding: 0.95rem 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    width: 105px;
    line-height: 1.3;
}

.survey-matrix thead th:first-child {
    text-align: left;
    padding-left: 1.25rem;
    width: auto;
}

.survey-matrix tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.15s ease;
}

.survey-matrix tbody tr:nth-child(odd) {
    background: #fafafa;
}

.survey-matrix tbody tr:nth-child(even) {
    background: #ffffff;
}

.survey-matrix tbody tr:hover {
    background: #fef2f2;
}

.survey-matrix tbody td {
    padding: 0.95rem 0.5rem;
    text-align: center;
    vertical-align: middle;
}

.survey-matrix tbody td:first-child {
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.45;
}

.survey-check-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.survey-check-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.survey-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #94a3b8;
    border-radius: 4px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.survey-check-label:hover .survey-check-box {
    border-color: var(--aparts-red);
}

.survey-check-label input[type="radio"]:checked + .survey-check-box {
    background: var(--aparts-red);
    border-color: var(--aparts-red);
    box-shadow: 0 2px 6px rgba(227, 6, 19, 0.28);
}

.survey-check-label input[type="radio"]:checked + .survey-check-box::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Question 10 (NPS 0-10) */
.survey-nps-block {
    margin-bottom: 2.35rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--aparts-red);
}

.survey-nps-sub {
    font-size: 0.86rem;
    color: #4b5563;
    margin-bottom: 1.15rem;
}

.nps-scale-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-start;
}

.nps-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.nps-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.nps-square {
    width: 44px;
    height: 42px;
    border: 2px solid #94a3b8;
    border-radius: 4px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.nps-number {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-top: 0.38rem;
}

.nps-option:hover .nps-square {
    border-color: var(--aparts-red);
    background: #fff;
}

.nps-option input[type="radio"]:checked ~ .nps-square {
    background: var(--aparts-red);
    border-color: var(--aparts-red);
    box-shadow: 0 4px 10px rgba(227, 6, 19, 0.25);
}

.nps-option input[type="radio"]:checked ~ .nps-square::after {
    content: '';
    width: 7px;
    height: 13px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.nps-option input[type="radio"]:checked ~ .nps-number {
    color: var(--aparts-red);
    font-weight: 800;
}

.survey-remarks-block {
    margin-bottom: 1.85rem;
}

.survey-remarks-block textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: #111827;
    background: #f9fafb;
    resize: vertical;
    min-height: 120px;
}

.survey-remarks-block textarea:focus {
    outline: none;
    border-color: var(--aparts-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

/* CTA Banner with Embedded Map */
.cta-map-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 3rem;
    align-items: center;
}

.cta-map-grid .section-title {
    font-size: clamp(1.75rem, 2.35vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 0.65rem;
}

.cta-map-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    background: #181a1f;
    line-height: 0;
}

.cta-map-card iframe {
    width: 100%;
    height: 224px;
    border: 0;
    display: block;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .portal-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-grid,
    .contact-grid,
    .cta-map-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
    .site-header .header-inner {
        padding: 0 1.25rem;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 3px solid var(--aparts-red);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        width: 100%;
        text-align: center;
    }
    .header-cta {
        display: none;
    }
    .portal-buttons-grid,
    .form-row-2,
    .stats-row,
    .survey-meta-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }
    .survey-card {
        padding: 1.5rem 1.25rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(0, 0, 0, 0.18);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float-btn:hover {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.48), 0 4px 12px rgba(0, 0, 0, 0.22);
}

.whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: currentColor;
}

@media (max-width: 640px) {
    .whatsapp-float-btn {
        right: 16px;
        bottom: 16px;
        padding: 0.85rem;
        border-radius: 50%;
    }
    .whatsapp-float-btn .whatsapp-float-label {
        display: none;
    }
}
