:root {
    /* Design System Tokens */
    /* Colors */
    --color-primary-500: #004b87;
    --color-primary-600: #003366;
    --color-accent-500: #e85d04;
    --color-accent-600: #c94f03;
    --color-surface-50: #f8fafc;
    --color-surface-100: #f1f5f9;
    --color-surface-900: #0f172a;
    --color-text-main: #1e3a5f;
    --color-text-heading: #003366;
    --color-text-inverse: #ffffff;
    --color-border: #e2e8f0;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --font-medium: 500;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;

    /* Radius & Shadows */
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-surface-50);
    color: var(--color-text-main);
    font-size: var(--text-base);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-heading);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); font-weight: var(--font-extrabold); }
h2 { font-size: var(--text-2xl); font-weight: var(--font-bold); }

/* Accessible Focus States */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--color-primary-500);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary-600);
    color: var(--color-text-inverse);
    padding: var(--space-2) var(--space-4);
    z-index: 2000;
    transition: top 0.2s ease;
    text-decoration: none;
    font-weight: var(--font-medium);
}

.skip-link:focus {
    top: 0;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section {
    padding: var(--space-16) 0;
}

/* Navigation */
site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-surface-100);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--color-accent-500);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
}

.nav-txt {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: var(--font-medium);
    transition: color 0.2s ease;
}

.nav-txt:hover {
    color: var(--color-primary-600);
}

.burger-container {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    background-color: var(--color-accent-500);
    color: var(--color-text-inverse);
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: var(--color-accent-600);
}

.btn:active {
    transform: scale(0.98);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-600);
    border: 2px solid var(--color-primary-600);
}

.btn-outline:hover {
    background-color: var(--color-primary-50);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-500) 100%);
    color: var(--color-text-inverse);
    padding: var(--space-24) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: var(--color-text-inverse);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-surface-100);
    max-width: 600px;
    margin: 0 auto var(--space-8) auto;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

/* Two-column variant (e.g. service overview) */
.features-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .features-grid--2 {
        grid-template-columns: 1fr;
    }
}

/* Bootstrap-style Carousel */
.bs-carousel {
    position: relative;
    width: 100%;
    margin-top: var(--space-8);
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--color-surface-200);
}
.bs-carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 500px;
}
.bs-carousel-item {
    min-width: 100%;
    position: relative;
}
.bs-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Dark overlay over the image so text is readable */
.bs-carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 75, 135, 0.4); 
    z-index: 1;
}
.bs-carousel-caption {
    position: absolute;
    bottom: 40px;
    left: 15%;
    right: 15%;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding-bottom: 2rem;
}
.bs-carousel-caption h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.bs-carousel-caption p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.bs-carousel-control-prev,
.bs-carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10%;
    background: transparent;
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bs-carousel-control-prev { left: 0; }
.bs-carousel-control-next { right: 0; }
.bs-carousel-control-prev:hover,
.bs-carousel-control-next:hover {
    opacity: 1;
}
.bs-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.bs-carousel-indicators button {
    width: 30px;
    height: 4px;
    background: white;
    opacity: 0.5;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.bs-carousel-indicators button.active {
    opacity: 1;
}
@media (max-width: 768px) {
    .bs-carousel-inner { height: 400px; }
    .bs-carousel-caption { left: 5%; right: 5%; bottom: 20px; }
    .bs-carousel-caption h3 { font-size: 1.5rem; }
}

/* Expandable Services (Services Page) */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-top: 4px solid var(--color-accent-500);
}
/* When expanded, span all available columns in the grid */
.service-card.expanded {
    grid-column: 1 / -1;
}
.service-card:hover {
    box-shadow: var(--shadow-md);
}
.service-card-header {
    padding: var(--space-6);
}
.service-card-header h3 {
    margin-top: 0;
    color: var(--color-primary-600);
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-card-header h3 i {
    color: var(--color-accent-500);
}
.service-expand-btn {
    background: transparent;
    border: none;
    color: var(--color-primary-600);
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    margin-top: var(--space-2);
}
.service-expand-btn:hover {
    color: var(--color-accent-500);
}
.service-expand-btn i {
    transition: transform 0.3s ease;
}
.service-expand-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.service-details {
    display: none;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface-100);
    padding: var(--space-6);
}
/* When open, use CSS Grid for a 2-column layout on large screens */
.service-details.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    animation: fadeIn 0.3s ease;
}
@media (max-width: 768px) {
    .service-details.open {
        grid-template-columns: 1fr;
    }
}
.service-details img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.service-details-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feature Card (Fallback if used elsewhere) */
.feature-card {
    background: var(--color-surface-100);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent-500);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-200);
}

/* Forms & Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--color-surface-50);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent-500);
    position: relative;
    overflow: hidden;
}

.contact-form::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--color-primary-50);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.form-group {
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-medium);
    color: var(--color-text-main);
}
.form-group label .req {
    color: var(--color-accent-500);
    font-weight: bold;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    background-color: var(--color-surface-50);
    color: var(--color-text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-primary-500);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-primary-100);
}

/* Main Content Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Legal Pages Styling */
.legal-content {
    background: var(--color-surface-100);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-4);
}

/* Footer Section */
footer {
    background-color: var(--color-primary-600);
    color: var(--color-surface-50);
    padding: var(--space-12) 0 var(--space-6);
    margin-top: auto;
    border-top: 4px solid var(--color-accent-500);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-8);
    margin-bottom: var(--space-6);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* Footer Link Hovers */
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-accent-500) !important;
}

/* Overlay for Mobile Menu */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5); /* Surface-900 with opacity */
    backdrop-filter: blur(2px);
    z-index: 1100; /* Above header, below menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-2xl); }
    
    .section { padding: var(--space-12) 0; }
    
    .footer-right {
        text-align: left;
    }

    /* Navigation Override */
    .nav-container { display: none; }
    
    .burger-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--header-height);
        padding: 0 var(--space-4);
        max-width: var(--container-max-width);
        margin: 0 auto;
    }

    .burger-logo img {
        height: 36px;
        width: auto;
    }

    .burger {
        background: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 1200; /* Above overlay and menu */
        padding: var(--space-2);
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--color-text-main);
        border-radius: var(--radius-full);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Burger Active States */
    .burger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .burger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .burger-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        max-width: 80vw;
        height: 100%;
        background: var(--color-surface-50);
        box-shadow: var(--shadow-lg);
        padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-6);
        transition: right 0.3s ease;
        z-index: 1150; /* Between overlay and burger button */
        list-style: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
    }

    .burger-menu.open {
        right: 0;
    }

    .burger-menu li a {
        display: block;
        font-size: var(--text-lg);
        font-weight: var(--font-medium);
        color: var(--color-text-heading);
        text-decoration: none;
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .burger-menu li a:hover {
        color: var(--color-primary-600);
    }
}

/* Form Animations */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-anim-container {
    text-align: center;
    padding: var(--space-8);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    animation: popIn 0.5s ease-out forwards;
}

.success-circle {
    width: 60px;
    height: 60px;
    background-color: #10b981; /* Tailwind emerald-500 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes popIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Google Maps DSGVO Consent Wrapper
   ========================================================================== */
.map-consent-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-100);
    padding: 1.5rem;
    text-align: center;
}

.map-consent-wrapper p {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-main);
    max-width: 300px;
    margin: 0 0 1.25rem;
}

/* ==========================================================================
   Section helpers
   ========================================================================== */
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-accent-500);
    margin-bottom: var(--space-2);
}

.section-alt {
    background-color: var(--color-surface-100);
}

.section-lead {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12) auto;
    font-size: var(--text-lg);
}

/* ==========================================================================
   Hero enhancements
   ========================================================================== */
.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--color-text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Service category grid (home + services overview)
   ========================================================================== */
.service-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.service-group-card {
    background: white;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent-500);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-group-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-group-card .icon {
    font-size: 1.75rem;
    color: var(--color-accent-500);
    margin-bottom: var(--space-3);
}
.service-group-card h3 {
    color: var(--color-primary-600);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}
.service-group-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
    flex: 1;
}
.service-group-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}
.service-group-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-accent-500);
    font-size: 0.75rem;
}
.service-group-card .service-group-link {
    margin-top: auto;
    text-decoration: none;
    font-weight: var(--font-bold);
    color: var(--color-primary-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.service-group-card .service-group-link:hover {
    color: var(--color-accent-500);
    gap: 10px;
}

/* Sub-services list inside expandable service-card (services page) */
.sub-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-4);
}
.sub-service-list li {
    padding-left: 1.75rem;
    position: relative;
}
.sub-service-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0.25rem;
    top: 2px;
    color: var(--color-accent-500);
}
.sub-service-list strong {
    color: var(--color-primary-600);
    display: block;
}
.sub-service-list span {
    font-size: var(--text-sm);
}

/* ==========================================================================
   Services Explorer (master–detail, services page)
   ========================================================================== */
.services-explorer {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
    align-items: start;
    transition: grid-template-columns 0.4s ease;
}
.services-explorer.is-open {
    grid-template-columns: minmax(260px, 350px) 1fr;
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    transition: max-width 0.4s ease, margin 0.4s ease;
}
.services-explorer.is-open .services-nav {
    max-width: none;
    margin: 0;
}

.services-nav-item {
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    background: white;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent-500);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4) var(--space-6);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "icon title chevron"
        "icon desc  chevron";
    column-gap: var(--space-4);
    row-gap: 4px;
    align-items: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.services-nav-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}
.services-nav-item > i:first-child {
    grid-area: icon;
    font-size: 1.5rem;
    color: var(--color-accent-500);
}
.services-nav-item-title {
    grid-area: title;
    font-weight: var(--font-bold);
    color: var(--color-primary-600);
}
.services-nav-item-desc {
    grid-area: desc;
    font-size: var(--text-sm);
    line-height: 1.4;
}
.services-nav-item-chevron {
    grid-area: chevron;
    color: var(--color-primary-600);
    transition: transform 0.2s ease;
}
.services-nav-item[aria-selected="true"] {
    border-color: var(--color-primary-600);
    border-left-color: var(--color-primary-600);
    background: var(--color-surface-100);
}
.services-nav-item[aria-selected="true"] .services-nav-item-chevron {
    transform: rotate(90deg);
}
/* Compact left rail once a panel is open (desktop) */
.services-explorer.is-open .services-nav-item {
    grid-template-areas: "icon title chevron";
}
.services-explorer.is-open .services-nav-item-desc {
    display: none;
}

.services-detail {
    display: none;
    min-width: 0;
}
.services-explorer.is-open .services-detail {
    display: block;
}
.services-detail-back {
    display: none;
    font: inherit;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--color-primary-600);
    font-weight: var(--font-medium);
    padding: 0;
    margin-bottom: var(--space-4);
    align-items: center;
    gap: 8px;
}
.services-detail-back:hover { color: var(--color-accent-500); }

.services-panel {
    background: var(--color-surface-100);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent-500);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    animation: fadeIn 0.3s ease;
}
.services-panel[hidden] { display: none; }
.services-panel img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.services-panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.services-panel-content h3 {
    color: var(--color-primary-600);
    display: flex;
    align-items: center;
    gap: 10px;
}
.services-panel-content h3 i { color: var(--color-accent-500); }

@media (max-width: 860px) {
    .services-explorer.is-open {
        grid-template-columns: 1fr;
    }
    .services-explorer.is-open .services-nav {
        max-width: 620px;
        margin: 0 auto;
    }
    .services-explorer.is-open .services-nav-item {
        grid-template-areas:
            "icon title chevron"
            "icon desc  chevron";
    }
    .services-explorer.is-open .services-nav-item-desc {
        display: block;
    }
    .services-explorer.is-open .services-nav-item[aria-selected="true"] .services-nav-item-chevron {
        transform: rotate(90deg);
    }
    .services-detail-back { display: inline-flex; }
}
@media (max-width: 600px) {
    .services-panel { grid-template-columns: 1fr; }
    .services-panel img { max-height: 220px; }
    .services-nav-item { padding: var(--space-4); column-gap: var(--space-3); }
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq-list details {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
}
.faq-list details[open] {
    border-color: var(--color-accent-500);
    box-shadow: var(--shadow-sm);
}
.faq-list summary {
    padding: var(--space-4) var(--space-6);
    font-weight: var(--font-medium);
    color: var(--color-text-heading);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--color-accent-500);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.faq-list details[open] summary::after {
    transform: rotate(180deg);
}
.faq-list details p {
    padding: 0 var(--space-6) var(--space-4);
    margin: 0;
}

/* ==========================================================================
   Process steps (home)
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
    counter-reset: step;
}
.process-step {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-6);
    border: 1px solid var(--color-border);
}
.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-primary-600);
    color: var(--color-text-inverse);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}
.process-step h3 {
    font-size: var(--text-lg);
    color: var(--color-primary-600);
    margin-bottom: var(--space-2);
}
.process-step p {
    font-size: var(--text-sm);
    margin: 0;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-500) 100%);
    color: var(--color-text-inverse);
    text-align: center;
    padding: var(--space-16) 0;
}
.cta-band h2 { color: var(--color-text-inverse); }
.cta-band p {
    max-width: 560px;
    margin: 0 auto var(--space-8);
    color: rgba(255, 255, 255, 0.9);
}