:root {
    --primary: #457c2c;
    --primary-dark: #33611f;
    --primary-light: #e8f2e4;
    --text-dark: #0b1a07;
    --text-muted: #4a5c46;
    --bg-light: #f7fbf6;
    --bg-white: #ffffff;
    --border-color: #d1e0cc;
    
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(11, 26, 7, 0.05);
    --shadow-md: 0 10px 30px rgba(11, 26, 7, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 26, 7, 0.12);
    
    --border-radius: 12px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.text-highlight {
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography specifics */
p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-1 { transition-delay: 0.1s; }
.reveal-2 { transition-delay: 0.2s; }
.reveal-3 { transition-delay: 0.3s; }
.reveal-4 { transition-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(69, 124, 44, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 124, 44, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-text {
    padding: 0;
    color: var(--primary);
    font-weight: 700;
    background: transparent;
    position: relative;
    margin-top: auto; /* push to bottom in flex container */
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo {
    height: 40px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 2px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 1.8rem; /* subtle interaction */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 26, 7, 0.85), rgba(11, 26, 7, 0.65));
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--bg-white);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e8f2e4;
    margin-bottom: 2.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary-white {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary-white:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Services */
.services-section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Why Us */
.why-us-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: 2.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    flex-shrink: 0;
    position: relative;
}

.benefit-icon::after {
    content: '★';
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.benefits-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.benefits-list p {
    margin-bottom: 0;
}

.why-us-reviews {
    position: relative;
    padding: 2rem;
}

.owner-photo {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    display: block;
}

.review-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: absolute;
    width: 300px;
    z-index: 2;
    border-left: 4px solid var(--primary);
}

.review-card:nth-child(1) {
    top: -30px;
    left: -20px;
}

.review-card:nth-child(2) {
    bottom: 30px;
    left: -50px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Masonry */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.portfolio-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.portfolio-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.portfolio-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.portfolio-item:nth-child(4) { grid-column: span 12; grid-row: span 1; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 26, 7, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h4 {
    color: var(--bg-white);
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-overlay p {
    color: #d1e0cc;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Maintenance Enhancement */
.maintenance-section {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.maintenance-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.maintenance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.maintenance-section h2,
.maintenance-section p.lead-text {
    color: var(--bg-white);
}

.maintenance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.maintenance-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.maintenance-benefits {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.m-benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.m-icon {
    color: var(--bg-white);
    font-size: 1.5rem;
    line-height: 1;
}

.m-benefit strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--bg-white);
}

.m-benefit p {
    margin: 0;
    color: #a3b89c;
    font-size: 0.95rem;
}

.maintenance-images {
    position: relative;
    height: 500px;
}

.m-img {
    position: absolute;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 4px solid var(--text-dark);
    transition: var(--transition);
}

.m-img:hover {
    z-index: 10;
    transform: scale(1.05);
}

.m-img-1 {
    width: 65%;
    height: 300px;
    top: 0;
    left: 0;
    z-index: 3;
}

.m-img-2 {
    width: 55%;
    height: 250px;
    bottom: 0;
    right: 5%;
    z-index: 2;
}

.m-img-3 {
    width: 45%;
    height: 220px;
    top: 120px;
    right: 0;
    z-index: 1;
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
}

.contact-details {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p,
.contact-item a {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.form-alert p {
    margin: 0.25rem 0;
}

.form-alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.form-alert-error {
    background: #fdecea;
    color: #8a1c1c;
    border: 1px solid #f5c2c0;
}

.form-recaptcha-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-muted, #666);
}

.form-recaptcha-note a {
    color: inherit;
    text-decoration: underline;
}

.grecaptcha-badge {
    visibility: hidden;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 10050;
    max-width: 40rem;
    margin: 0 auto;
}

.cookie-banner-inner {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color, #d7e3d1);
    border-radius: var(--border-radius-lg, 16px);
    box-shadow: var(--shadow-md, 0 12px 40px rgba(11, 26, 7, 0.15));
    padding: 1.25rem 1.5rem;
}

.cookie-banner-inner p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-inner a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-banner-decline {
    background: transparent;
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--bg-light);
}

.error-page-inner {
    max-width: 40rem;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    color: #a3b89c;
    max-width: 300px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #a3b89c;
    transition: var(--transition, 0.2s ease);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.main-footer h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a3b89c;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact p {
    color: #a3b89c;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #a3b89c;
}

.footer-contact a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a3b89c;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .why-us-container,
    .maintenance-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-checkmarks {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .why-us-reviews {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .review-card {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 400px;
    }
    
    .owner-photo {
        margin: 1rem auto 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4) { 
        grid-column: span 1; 
        grid-row: span 1; 
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .maintenance-images {
        height: 400px;
    }
    
    .m-img-1 { width: 80%; height: 200px; }
    .m-img-2 { width: 70%; height: 180px; }
    .m-img-3 { width: 60%; height: 160px; top: auto; bottom: 30%; right: -5%; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ====== NEW ADDITIONS ====== */

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.header-phone:hover {
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .header-actions .header-phone {
        display: none;
    }
}

/* Trust Badge in Hero */
.hero-trust {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    justify-content: center;
}

.stars {
    letter-spacing: 2px;
}

@media (min-width: 992px) {
    .hero-trust {
        justify-content: flex-start;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* ====== ADDITIONAL OVERRIDES ====== */

/* 1. Center the trust badge on all screens */
@media (min-width: 992px) {
    .hero-trust {
        justify-content: center ;
    }
}

/* 2. Better FAQ Accordions (using details/summary) */
.faq-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}
.faq-item[open] {
    padding-bottom: 1.5rem;
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hide default arrow */
    outline: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.faq-item summary .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item[open] summary .icon {
    transform: rotate(45deg);
}
.faq-item p {
    margin-top: 1rem;
    color: var(--text-muted);
}

/* 3. Make 'Offerte voor...' text links look like real buttons */
.btn-text {
    padding: 0.75rem 1.5rem ;
    border: 2px solid var(--primary) ;
    border-radius: var(--border-radius) ;
    text-align: center ;
    margin-top: 1rem ;
    transition: all 0.3s ease ;
}
.btn-text::after {
    display: none ;
}
.btn-text:hover {
    background: var(--primary) ;
    color: var(--bg-white) ;
}

/* ====== LATEST OVERRIDES ====== */

/* Fix Hero Trust position (now above title) */
.hero-trust {
    margin-top: 0 ;
    margin-bottom: 1.5rem ;
}
.hero-content h1 {
    margin-top: 0 ;
}

/* Fix Diensten Button alignment */
.btn-text {
    margin-top: auto ; 
    margin-bottom: 0 ;
}

/* Redesign FAQ to 2 columns and remove AI-style styling */
.faq-grid {
    max-width: 1000px ;
}
@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr ;
    }
}
.faq-item {
    background: transparent ;
    padding: 0 ;
    border-radius: 0 ;
    box-shadow: none ;
    border-left: none ;
    border-bottom: 1px solid var(--border-color) ;
}
.faq-item summary {
    padding: 1.5rem 0 ;
}
.faq-item summary h3 {
    font-weight: 600 ;
}
.faq-item summary .icon {
    color: var(--text-dark) ;
    font-weight: 300 ;
}
.faq-item p {
    margin-top: 0 ;
    margin-bottom: 1.5rem ;
    padding-right: 2rem ;
}

/* Fix FAQ items stretching in grid */
.faq-item {
    align-self: start ;
}

/* ====== Logo Size Adjustments ====== */
.logo {
    height: 60px ;
    transition: height 0.3s ease ;
}

.main-header.scrolled .logo {
    height: 48px ;
}

@media (max-width: 1024px) {
    .logo {
        height: 48px ;
    }
}

/* ====== MOBILE REFINEMENTS ====== */
@media (max-width: 1024px) {
    /* Prevent any horizontal overflow issues across the site */
    body, html {
        overflow-x: hidden ;
    }

    /* 1. Hero Section Sizing */
    .hero-section {
        min-height: auto ;
        padding-top: 120px ;
        padding-bottom: 60px ;
    }
    .hero-content h1 {
        font-size: 2rem ;
    }
    .hero-buttons {
        flex-direction: column ;
        gap: 1rem ;
    }
    .hero-buttons .btn {
        width: 100% ;
        text-align: center ;
    }

    /* 2. Reviews Display */
    .why-us-reviews {
        padding: 0 ;
        margin-top: 2rem ;
    }
    .review-card {
        width: 90% ;
        max-width: none ;
        margin: 0 auto 1rem ;
        padding: 1rem 1.2rem ;
    }
    .review-card:nth-child(1) {
        margin-top: -30px ;
        z-index: 5 ;
    }
    .owner-photo {
        max-width: 100% ;
        margin-bottom: 1rem ;
    }

    /* 3. Onderhoudscontract Overflow Fix */
    .maintenance-images {
        height: 350px ;
    }
    .m-img-3 {
        right: 0 ;
    }

}

/* Force hero trust to stack vertically on mobile */
@media (max-width: 1024px) {
    .hero-trust {
        flex-direction: column ;
        align-items: center ;
        text-align: center ;
        gap: 0.2rem ;
    }
}

/* Active Nav Link */
.nav-list a.active-link {
    color: var(--primary) ;
    font-weight: 700 ;
}
.nav-list a.active-link::after {
    width: 100% ;
}

/* ====== PAGE SYSTEM + NAV FIX (v4) ====== */

.header-phone {
    color: var(--text-dark);
}

.header-phone:hover {
    color: var(--primary);
}

.mobile-nav-actions {
    display: none;
}

.dropdown-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-row > a::after {
    content: '▼';
    font-size: 0.65em;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.dropdown-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.dropdown-toggle .dropdown-arrow {
    display: inline-block;
    font-size: 0.65rem;
    margin: 0;
    transition: transform 0.25s ease;
}

.dropdown.open .dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

/* Compress header before it overlaps on mid widths */
@media (max-width: 1280px) and (min-width: 1101px) {
    .nav-list {
        gap: 1.1rem;
    }

    .nav-list a {
        font-size: 0.88rem;
    }

    .header-actions {
        gap: 0.85rem;
    }

    .header-phone {
        font-size: 0.85rem;
        margin-right: 0;
    }

    .header-actions .btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Tablet + mobile: hamburger earlier so items never collide */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        padding: 1.25rem 1.5rem 1.75rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        gap: 1.25rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list > li > a,
    .dropdown-row > a {
        display: block;
        padding: 0.95rem 0;
        font-size: 1.05rem;
    }

    .dropdown-row {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-row > a::after {
        display: none;
    }

    .dropdown-toggle {
        display: inline-flex;
    }

    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        min-width: 0;
        padding: 0 0 0.75rem 0.75rem;
        margin: 0;
        border-left: 2px solid var(--border-color);
        border-radius: 0;
    }

    .dropdown.open .dropdown-menu,
    .dropdown-menu.is-open {
        display: block;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: none;
    }

    .dropdown.open:hover .dropdown-menu,
    .dropdown.open:focus-within .dropdown-menu,
    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a:hover {
        padding-left: 0.85rem;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        padding-top: 0.5rem;
    }

    .mobile-nav-actions .header-phone {
        display: inline-flex;
        margin: 0;
        font-size: 1rem;
    }

    .mobile-nav-actions .btn {
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Inner page hero */
.page-hero {
    position: relative;
    padding: 0;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--text-dark);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 26, 7, 0.88) 0%, rgba(11, 26, 7, 0.55) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b8d4a8;
    margin-bottom: 0.85rem;
}

.page-hero h1 {
    color: var(--bg-white);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
}

.page-hero p {
    color: #e8f2e4;
    font-size: 1.15rem;
    margin-bottom: 0;
    max-width: 560px;
}

.page-section {
    padding: 80px 0;
}

.page-section.alt {
    background: var(--bg-light);
}

/* Service detail layout */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.service-detail-copy h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.service-detail-copy p {
    font-size: 1.05rem;
}

.service-detail-cta {
    margin-top: 1.5rem;
}

.service-aside-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.service-aside-card a:hover {
    color: var(--primary-dark, var(--primary));
}

.service-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-aside-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.service-aside-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.service-aside-card ul {
    list-style: none;
    margin: 0;
}

.service-aside-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
}

.service-aside-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-aside-media {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.service-aside-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.process-step {
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary);
}

.process-step .step-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.process-step p {
    margin-bottom: 0;
}

.cta-band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0;
    text-align: center;
}

.cta-band h2 {
    color: var(--bg-white);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: #e8f2e4;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
}

.related-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--bg-light);
}

.related-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.related-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.related-all {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.related-all:hover {
    color: var(--primary-dark);
}

.related-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.related-link {
    position: relative;
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    isolation: isolate;
}

.related-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 26, 7, 0.82) 0%, rgba(11, 26, 7, 0.15) 55%, transparent 100%);
    z-index: 1;
}

.related-link-label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--bg-white);
    line-height: 1.25;
}

.related-link:hover img {
    transform: scale(1.06);
}

.related-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .related-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .related-services {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .related-link-label {
        font-size: 0.92rem;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

/* legacy related-card (unused) */
.related-card {
    display: none;
}

/* Realisaties gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 0;
}

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

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

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(11, 26, 7, 0.85));
    color: var(--bg-white);
}

.gallery-caption h3 {
    color: var(--bg-white);
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.gallery-caption p {
    margin: 0;
    color: #d1e0cc;
    font-size: 0.9rem;
}

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 6; grid-row: span 1; }
.gallery-item:nth-child(8) { grid-column: span 6; grid-row: span 1; }

.onderhoud-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.onderhoud-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.onderhoud-card-body {
    padding: 1.75rem;
}

.onderhoud-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.onderhoud-card p {
    margin-bottom: 0;
}

.onderhoud-card .onderhoud-interval {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.contact-page-section {
    padding: 140px 0 80px;
}

@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .onderhoud-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }

    .page-hero {
        padding: 130px 0 60px;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(n),
    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }
}

/* Sticky mobile CTA */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 1100px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        gap: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -8px 24px rgba(11, 26, 7, 0.1);
        padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    }

    .mobile-sticky-cta a {
        flex: 1;
        text-align: center;
        font-family: var(--font-heading);
        font-weight: 600;
        padding: 0.85rem 1rem;
        border-radius: 50px;
    }

    .sticky-call {
        background: var(--bg-light);
        color: var(--text-dark);
        margin-right: 0.5rem;
        border: 1px solid var(--border-color);
    }

    .sticky-offer {
        background: var(--primary);
        color: var(--bg-white);
    }

    .whatsapp-float {
        bottom: 88px;
    }

    body {
        padding-bottom: 84px;
    }
}

.reviews-google-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

.why-us-reviews .reviews-google-link {
    display: block;
    position: relative;
    z-index: 3;
    text-align: right;
    margin-top: 1rem;
    max-width: 420px;
    margin-left: auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-block {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin: 0;
    box-shadow: var(--shadow-sm);
}

.review-stars {
    color: #e6b800;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.review-block p {
    color: var(--text-dark);
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.review-block cite {
    font-style: normal;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

a.gallery-item {
    display: block;
    color: inherit;
}

a.portfolio-item {
    display: block;
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Prefer reduced motion / noscript reveal fallback */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Breadcrumbs over hero image */
.page-hero {
    position: relative;
    padding: 0;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--text-dark);
}

.page-hero-compact {
    min-height: 36vh;
}

.page-hero-stack {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 2rem 56px;
}

.page-hero .breadcrumbs {
    padding: 0;
    margin: 0 0 1.25rem;
    background: transparent;
}

.page-hero .breadcrumbs ol {
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(232, 242, 228, 0.75);
}

.page-hero .breadcrumbs a {
    color: rgba(232, 242, 228, 0.8);
}

.page-hero .breadcrumbs a:hover {
    color: var(--bg-white);
}

.page-hero .breadcrumbs li:not(:last-child)::after {
    color: rgba(232, 242, 228, 0.35);
}

.page-hero .breadcrumbs [aria-current="page"] span {
    color: var(--bg-white);
    font-weight: 600;
}

.page-hero-content {
    max-width: 720px;
}

.breadcrumb-hero {
    background: linear-gradient(160deg, var(--primary-dark), var(--text-dark));
    padding: 110px 0 1.25rem;
}

.breadcrumb-hero .breadcrumbs {
    padding: 0;
    background: transparent;
}

.breadcrumb-hero .breadcrumbs ol {
    padding: 0;
    color: rgba(232, 242, 228, 0.75);
}

.breadcrumb-hero .breadcrumbs a {
    color: rgba(232, 242, 228, 0.85);
}

.breadcrumb-hero .breadcrumbs a:hover {
    color: var(--bg-white);
}

.breadcrumb-hero .breadcrumbs li:not(:last-child)::after {
    color: rgba(232, 242, 228, 0.35);
}

.breadcrumb-hero .breadcrumbs [aria-current="page"] span {
    color: var(--bg-white);
}

.contact-page-section {
    padding-top: 40px;
}

.legal-page {
    padding-top: 40px;
}

/* Legacy breadcrumb rules overridden above for hero context */
.breadcrumbs {
    padding: 0;
    background: transparent;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: var(--border-color);
    margin-left: 0.15rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs [aria-current="page"] span {
    color: var(--text-dark);
    font-weight: 600;
}

.page-hero-compact {
    margin-top: 0;
}

@media (max-width: 600px) {
    .page-hero-stack {
        padding: 105px 2rem 44px;
    }

    .breadcrumb-hero {
        padding-top: 100px;
    }
}

.legal-content {
    max-width: 760px;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.availability-note {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding: 0.9rem 1.1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-dark);
    font-size: 0.98rem;
    margin: 1.25rem 0 0;
}

/* Denser FAQ */
/* FAQ spacing */
.faq-grid {
    gap: 0.85rem;
}

.faq-grid .faq-item,
.faq-dense .faq-item,
.faq-section .faq-item {
    border-bottom: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0 1.15rem;
    background: var(--bg-white);
    margin: 0;
    align-self: start;
    height: fit-content;
}

.faq-grid .faq-item summary,
.faq-dense .faq-item summary,
.faq-section .faq-item summary {
    padding: 1.15rem 0;
    gap: 1rem;
}

.faq-dense {
    gap: 0.85rem;
    max-width: 900px;
}

.faq-dense .faq-item summary h3 {
    font-size: 1.02rem;
}

.faq-dense .faq-item p,
.faq-grid .faq-item p {
    margin-bottom: 1.15rem;
    padding-right: 1rem;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .breadcrumbs {
        padding-top: 100px;
    }
}

.reviews-showcase {
    background: var(--bg-light);
}

.reviews-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.25rem 0 0.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #0b1a07;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.realisatie-shots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.25rem;
}

.realisatie-shot {
    position: relative;
    margin: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.realisatie-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shot-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--bg-white);
    background: rgba(11, 26, 7, 0.75);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

/* Realisaties overview: projects grouped per dienst */
.project-group {
    margin-bottom: 3.5rem;
}

.project-group:last-child {
    margin-bottom: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: inherit;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.project-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.05);
}

.project-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.project-card-region {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.project-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.project-card-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .reviews-grid-wide {
        grid-template-columns: 1fr;
    }
}

/* ====== MOBILE OVERFLOW / EDGE FIXES ====== */
@media (max-width: 1024px) {
    /* Allow grid/flex children to shrink below their content's longest word.
       Without this, a long word like "Onderhoudscontract" forces the 1fr
       track wider than the screen, pushing text off the right edge. */
    .maintenance-content,
    .maintenance-images,
    .why-us-container > *,
    .hero-content,
    .contact-container > *,
    .service-detail-grid > * {
        min-width: 0;
    }

    /* Let long words wrap instead of overflowing the viewport */
    h1, h2, h3, h4,
    .hero-content h1,
    .maintenance-section h2 {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Desktop offsets (left:-20px / -50px) have higher specificity than the
       stacked-layout reset, so they leak onto mobile and push the testimonial
       cards off the left edge. Neutralise them here. */
    .review-card:nth-child(1),
    .review-card:nth-child(2) {
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 600px) {
    /* Big section headings are too large on phones and hug the edges */
    .section-header h2,
    .maintenance-section h2,
    .contact-info h2,
    .why-us-container h2,
    .service-detail-copy h2 {
        font-size: 1.8rem;
    }
}
