/* ==========================================================================
   HelderFacility Eindhoven — Theme Styles
   ========================================================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--anthracite); background: var(--pure-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--deep-teal); text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea, button { font: inherit; }

/* --- Custom Properties --- */
:root {
    --deep-teal: #0D5C63;
    --deep-teal-dark: #094850;
    --fresh-mint: #A7D7C5;
    --pure-white: #FFFFFF;
    --pearl-gray: #F3F4F6;
    --anthracite: #1F2937;
    --smoke: #6B7280;
    --accent-lime: #84CC16;
    --accent-lime-dark: #6BA30E;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--anthracite); line-height: 1.3; }
h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.text-small { font-size: 0.875rem; color: var(--smoke); }
.text-white { color: var(--pure-white); }
.text-center { text-align: center; }
.narrow-content { max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--pearl-gray); }
.section--teal { background: var(--deep-teal); color: var(--pure-white); }
.section--teal h2, .section--teal h3, .section--teal h4 { color: var(--pure-white); }
.section--lime { background: var(--accent-lime); }
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--deep-teal); outline-offset: 2px; }

.btn-primary {
    background: var(--deep-teal);
    color: var(--pure-white);
    border-color: var(--deep-teal);
}
.btn-primary:hover { background: var(--deep-teal-dark); border-color: var(--deep-teal-dark); box-shadow: var(--shadow-hover); }

.btn-secondary {
    background: transparent;
    color: var(--deep-teal);
    border-color: var(--deep-teal);
}
.btn-secondary:hover { background: var(--deep-teal); color: var(--pure-white); box-shadow: var(--shadow-hover); }

.btn-cta {
    background: var(--accent-lime);
    color: var(--anthracite);
    border-color: var(--accent-lime);
}
.btn-cta:hover { background: var(--accent-lime-dark); border-color: var(--accent-lime-dark); box-shadow: var(--shadow-hover); }

.btn-white {
    background: var(--pure-white);
    color: var(--deep-teal);
    border-color: var(--pure-white);
}
.btn-white:hover { background: var(--pearl-gray); border-color: var(--pearl-gray); box-shadow: var(--shadow-hover); }

.btn-white-outline {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
}
.btn-white-outline:hover { background: var(--pure-white); color: var(--deep-teal); box-shadow: var(--shadow-hover); }

/* --- Cards --- */
.card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--pure-white);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); border-bottom-color: var(--pearl-gray); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-teal);
    text-decoration: none;
}
.site-brand:hover { text-decoration: none; color: var(--deep-teal-dark); }
.site-brand span { color: var(--anthracite); }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav a {
    color: var(--anthracite);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition);
}
.main-nav a:hover { color: var(--deep-teal); text-decoration: none; }

.header-cta { display: none; }
.header-cta .btn { padding: 10px 20px; font-size: 0.9375rem; }

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--anthracite);
    transition: all var(--transition);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--pure-white);
    z-index: 2000;
    padding: 80px 32px 32px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}
.mobile-menu.open { right: 0; }
.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--anthracite);
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
    display: block;
    padding: 16px 0;
    color: var(--anthracite);
    font-weight: 500;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--pearl-gray);
    text-decoration: none;
}
.mobile-menu a:hover { color: var(--deep-teal); }
.mobile-menu .btn { width: 100%; margin-top: 24px; text-align: center; }

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1999;
    display: none;
}
.mobile-menu-overlay.open { display: block; }

/* --- Footer --- */
.site-footer { background: var(--anthracite); color: rgba(255, 255, 255, 0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { color: var(--pure-white); font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-col p, .footer-col li { font-size: 0.875rem; line-height: 1.8; }
.footer-col a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-col a:hover { color: var(--fresh-mint); text-decoration: underline; }
.footer-col ul { list-style: none; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
.footer-bottom a { color: var(--fresh-mint); text-decoration: none; cursor: pointer; }
.footer-bottom a:hover { text-decoration: underline; }

/* --- Page Intro --- */
.page-intro {
    background: var(--deep-teal);
    color: var(--pure-white);
    padding: 64px 0 48px;
    text-align: center;
}
.page-intro h1 { color: var(--pure-white); margin-bottom: 12px; font-size: 2.5rem; }
.page-intro p { color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; max-width: 640px; margin: 0 auto; }

/* --- Hero --- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--pure-white);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.hero h1 { color: var(--pure-white); font-size: 3rem; margin-bottom: 16px; }
.hero p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-area { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

/* --- Trust Bar --- */
.trust-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
.trust-bar-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; }
.trust-bar-icon { width: 48px; height: 48px; color: var(--deep-teal); }
.trust-bar-icon svg { width: 100%; height: 100%; }
.trust-bar-label { font-weight: 600; font-size: 0.9375rem; color: var(--anthracite); }

/* --- Service Cards --- */
.service-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    text-align: center;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.service-card-icon { width: 56px; height: 56px; color: var(--deep-teal); margin: 0 auto 16px; }
.service-card-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 16px; }
.service-card-link { color: var(--deep-teal); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.service-card-link:hover { text-decoration: underline; }

/* --- Stats Section --- */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 32px; text-align: center; }
.stat-item { padding: 24px; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--fresh-mint); margin-bottom: 8px; }
.stat-label { font-size: 1rem; color: rgba(255, 255, 255, 0.85); }

/* --- Branches --- */
.branch-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--pure-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.branch-icon { width: 40px; height: 40px; color: var(--deep-teal); flex-shrink: 0; }
.branch-icon svg { width: 100%; height: 100%; }
.branch-card h3 { font-size: 1.125rem; margin-bottom: 4px; }
.branch-card p { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 0; }

/* --- Werkwijze (Steps) --- */
.steps { display: flex; flex-direction: column; gap: 32px; position: relative; }
.steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--fresh-mint);
}
.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--deep-teal);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    z-index: 1;
}
.step-content h3 { font-size: 1.125rem; margin-bottom: 4px; }
.step-content p { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 0; }

/* --- Testimonials --- */
.testimonial-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--fresh-mint);
    line-height: 1;
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: Georgia, serif;
}
.testimonial-quote { font-size: 1rem; color: var(--anthracite); line-height: 1.8; margin-bottom: 20px; padding-top: 40px; font-style: italic; }
.testimonial-author { font-weight: 600; color: var(--anthracite); font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--smoke); }

/* --- Pricing Cards --- */
.pricing-card {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pricing-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--deep-teal); margin-bottom: 4px; }
.pricing-card .price-unit { font-size: 0.875rem; color: var(--smoke); margin-bottom: 16px; }
.pricing-card .price-note { font-size: 0.8125rem; color: var(--smoke); }

/* --- CTA Section --- */
.cta-section {
    background: var(--accent-lime);
    padding: 64px 0;
    text-align: center;
}
.cta-section h2 { color: var(--anthracite); margin-bottom: 24px; }
.cta-section p { color: var(--anthracite); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- FAQ Accordion --- */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pearl-gray); }

.faq-item {
    border-bottom: 1px solid var(--pearl-gray);
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--anthracite);
    list-style: none;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--deep-teal);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--deep-teal); }
.faq-item summary:focus-visible { outline: 2px solid var(--deep-teal); outline-offset: 2px; }
.faq-answer { padding: 0 0 20px; color: var(--smoke); line-height: 1.8; }
.faq-answer a { color: var(--deep-teal); text-decoration: underline; }

/* --- Contact Form --- */
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    color: var(--anthracite);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--anthracite);
    background: var(--pure-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-teal);
    box-shadow: 0 0 0 3px rgba(13, 92, 99, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.form-group .field-error {
    color: #DC2626;
    font-size: 0.8125rem;
    margin-top: 4px;
    display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #DC2626; }
.form-group.has-error .field-error { display: block; }

.form-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}
.form-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--deep-teal);
}
.form-consent label { font-weight: 400; font-size: 0.875rem; color: var(--smoke); line-height: 1.5; cursor: pointer; }
.form-consent .field-error { display: none; color: #DC2626; font-size: 0.8125rem; margin-top: 4px; width: 100%; }
.form-consent.has-error .field-error { display: block; }
.form-consent.has-error label { color: #DC2626; }

.form-disclosure {
    font-size: 0.8125rem;
    color: var(--smoke);
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-submit .btn {
    width: 100%;
    padding: 16px;
    position: relative;
}
.form-submit .btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}
.form-submit .btn.loading .spinner { display: inline-block; }
.form-submit .btn.loading .btn-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 16px; color: var(--deep-teal); }
.form-success h3 { color: var(--deep-teal); margin-bottom: 8px; }
.form-success p { color: var(--smoke); }

.form-error-message {
    display: none;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius);
    padding: 12px 16px;
    color: #DC2626;
    font-size: 0.875rem;
    margin-bottom: 24px;
}
.form-error-message.visible { display: block; }

/* --- Map --- */
.map-embed { border-radius: var(--radius); overflow: hidden; margin: 32px 0 0; }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* --- Oplossingen Service Blocks --- */
.solution-block { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--pearl-gray); }
.solution-block:last-of-type { border-bottom: none; }
.solution-img { border-radius: var(--radius); overflow: hidden; }
.solution-img img { width: 100%; height: 300px; object-fit: cover; }
.solution-content h3 { font-size: 1.5rem; }
.solution-content ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.solution-content ul li { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 4px; }

/* --- Tarieven Page --- */
.pricing-grid-full { display: grid; grid-template-columns: 1fr; gap: 24px; }
.pricing-card-full {
    background: var(--pure-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.pricing-card-full h3 { font-size: 1.125rem; margin-bottom: 4px; }
.pricing-card-full .price { font-size: 2rem; font-weight: 700; color: var(--deep-teal); }
.pricing-card-full .price-detail { font-size: 0.875rem; color: var(--smoke); margin-bottom: 12px; }
.pricing-card-full .price-scope { font-size: 0.8125rem; color: var(--smoke); }

.price-factors { columns: 1; gap: 32px; }
.price-factors h3 { margin-bottom: 16px; }
.price-factors ul { list-style: disc; padding-left: 20px; }
.price-factors li { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 6px; }

.included-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.included-col h3 { font-size: 1.25rem; margin-bottom: 12px; }
.included-col ul { list-style: disc; padding-left: 20px; }
.included-col li { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 6px; }

/* --- Kernwaarden / Value Grid --- */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
/* value-grid responsive: 2 cols at 768px, 4 cols at 1024px */
.value-item { text-align: center; padding: 32px 24px; }
.value-icon { width: 56px; height: 56px; color: var(--deep-teal); margin: 0 auto 16px; }
.value-icon svg { width: 100%; height: 100%; }
.value-item h3 { font-size: 1.125rem; margin-bottom: 8px; }
.value-item p { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 0; }

/* --- Samenwerken Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.contact-info-card {
    background: var(--pearl-gray);
    border-radius: var(--radius);
    padding: 32px;
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-card p { margin-bottom: 8px; font-size: 0.9375rem; }
.contact-info-card a { color: var(--deep-teal); }
.contact-info-card .service-area { margin-top: 16px; padding-top: 16px; border-top: 1px solid #D1D5DB; }
.contact-info-card .service-area h4 { font-size: 1rem; margin-bottom: 8px; }

.call-section {
    background: var(--pearl-gray);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.call-section h3 { margin-bottom: 8px; }
.call-section .phone-number { font-size: 1.5rem; font-weight: 700; color: var(--deep-teal); }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 12px; }
.legal-content p { margin-bottom: 16px; color: var(--anthracite); }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-content li { color: var(--anthracite); margin-bottom: 4px; }
.legal-content a { color: var(--deep-teal); text-decoration: underline; }

/* --- Cookie Consent --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pure-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    padding: 24px;
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner { max-width: var(--max-width); margin: 0 auto; }
.cookie-banner p { font-size: 0.9375rem; color: var(--smoke); margin-bottom: 16px; }
.cookie-banner-links { font-size: 0.8125rem; margin-bottom: 16px; }
.cookie-banner-links a { color: var(--deep-teal); text-decoration: underline; margin-right: 16px; }
.cookie-banner-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cookie-banner-buttons .btn { padding: 10px 20px; font-size: 0.875rem; }
.cookie-preferences-link { color: var(--deep-teal); font-weight: 600; font-size: 0.875rem; cursor: pointer; background: none; border: none; text-decoration: underline; padding: 0; }

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3001;
    display: none;
    align-items: center;
    justify-content: center;
}
.cookie-modal-overlay.visible { display: flex; }
.cookie-modal {
    background: var(--pure-white);
    border-radius: var(--radius);
    max-width: 480px;
    width: 90%;
    padding: 32px;
    max-height: 80vh;
    overflow-y: auto;
}
.cookie-modal h3 { margin-bottom: 20px; font-size: 1.25rem; }
.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--pearl-gray);
}
.cookie-toggle:last-of-type { border-bottom: none; }
.cookie-toggle-label { font-weight: 600; font-size: 0.9375rem; }
.cookie-toggle-desc { font-size: 0.8125rem; color: var(--smoke); }
.cookie-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.cookie-toggle-switch input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #D1D5DB;
    border-radius: 26px;
    transition: var(--transition);
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider { background: var(--deep-teal); }
.cookie-toggle-switch input:checked + .cookie-toggle-slider::before { transform: translateX(22px); }
.cookie-toggle-switch input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }
.cookie-modal-save { margin-top: 24px; width: 100%; }

/* --- Reveal Animations --- */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.reveal-fade-up.revealed { opacity: 1; transform: translateY(0); }
.reveal-fade-in.revealed { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-fade-up, .reveal-fade-in { opacity: 1; transform: none; transition: none; }
}

/* --- Page Content (default) --- */
.page-content { padding: 64px 0; }
.page-content p { margin-bottom: 16px; }

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }

    .main-nav { display: block; }
    .main-nav ul { gap: 16px; }
    .header-cta { display: block; }
    .hamburger { display: none; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; text-align: left; }

    .trust-bar { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }

    .included-grid { grid-template-columns: 1fr 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-full { grid-template-columns: repeat(2, 1fr); }

    .solution-block { grid-template-columns: 1fr 1fr; }
    .solution-block:nth-child(even) .solution-content { order: -1; }

    .hero h1 { font-size: 3.25rem; }
    .page-intro h1 { font-size: 2.75rem; }
}

/* --- Responsive: Desktop (1024px+) --- */
@media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }

    .main-nav ul { gap: 28px; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }

    .pricing-grid-full { grid-template-columns: repeat(3, 1fr); }
    .value-grid { grid-template-columns: repeat(4, 1fr); }

    .steps {
        flex-direction: row;
        gap: 0;
    }
    .steps::before {
        left: 0;
        right: 0;
        top: 24px;
        bottom: auto;
        width: auto;
        height: 2px;
    }
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        gap: 16px;
    }
}

/* --- Responsive: Mobile adjustments --- */
@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 48px 0; }
    .hero { min-height: 500px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.0625rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .page-intro { padding: 48px 0 32px; }
    .page-intro h1 { font-size: 2rem; }
    .solution-img img { height: 200px; }
}
