/* 
   DeSuper Schilders - Design System 
   Modern Rounded Luxury 
*/

/* DeSuper Schilders - Main Stylesheet 
   Version: 2.0
   Last Updated: 2026-03-16 18:00
*/

:root {
    --color-primary: #111827;
    --color-secondary: #374151;
    --color-accent: #e63743;
    --color-accent-hover: #c52d37;
    --color-bg: #ffffff;
    --color-bg-muted: #f9fafb;
    --color-text: #111827;
    --color-text-muted: #4b5563;
    --color-border: #e5e7eb;
    --font-main: 'Lexend', sans-serif;
    --container-max-width: 1200px;
    --container-narrow: 800px;
    --transition-fast: 200ms ease;
    --transition-standard: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
    /* Removed uppercase for a more modern, friendly look with Lexend */
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

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

.container-narrow {
    max-width: var(--container-narrow);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

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

/* Utility Classes */
.text-accent {
    color: var(--color-accent);
}

.underline-effect {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    /* Prevent breaking the underlined text alone on desktop */
}

@media (max-width: 1024px) {
    .underline-effect {
        white-space: normal !important;
    }
}

.underline-effect::after {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.2em;
    background: var(--color-accent);
    opacity: 0.35;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.section-number {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline;
    }
}


.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-header.centered {
    text-align: center;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: none;
    /* Modern rounded look usually avoids all-caps */
    letter-spacing: 0.02em;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    border: none;
    border-radius: var(--radius-full);
    /* Fully rounded buttons */
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 55, 67, 0.2);
}

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

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

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 70px;
    background: white;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.nav-links li.mobile-cta-item {
    display: none !important;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    margin-left: auto;
    /* Pin to right if nav-links is absolute or flex-grow is used */
    position: relative;
    z-index: 10;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-standard);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px); /* Fill remaining viewport */
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        gap: 2rem;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-cta {
        display: none;
    }

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

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links li.mobile-cta-item {
        display: block !important;
        width: 100%;
        margin-top: auto; /* Push to bottom of menu if desired, or keep as is */
        margin-bottom: 2rem;
        padding: 0 1.5rem;
    }

    /* First link should be close to top for flush look */
    .nav-links li:first-child {
        margin-top: 2rem;
    }
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-muted);
}

.hero-content {
    max-width: 52%;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .hero-content {
        max-width: 50%;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-lead {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        top: 0;
        right: 0;
        margin-top: 3rem;
        border-radius: var(--radius-md);
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.375rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-trust-indicators {
    display: flex;
    gap: 2.5rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    position: absolute;
    top: 15%;
    right: -2%;
    width: 42%;
    height: 70%;
    z-index: 1;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Subpage Hero Variants */
.hero.hero-sub {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll from decorations */
}

.hero-sub .grid-2 {
    align-items: center;
    gap: 4rem;
    grid-template-columns: 1fr 0.8fr;
}

.hero-sub .hero-content .badge {
    margin-bottom: 1.5rem;
}

.hero-sub .hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-sub .atomic-intro {
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--color-accent);
    margin-bottom: 2.5rem;
}

.hero-sub .hero-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

.hero-sub .trust-indicator {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.hero-sub .trust-indicator .icon-wrap {
    color: var(--color-accent);
    background: var(--color-bg-muted);
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
}

.hero-sub .trust-indicator strong {
    display: block;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.hero-sub .trust-indicator span {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Subpage Visuals */
.hero-visual-container {
    position: relative;
    z-index: 2;
}

.visual-offset-bg {
    position: absolute;
    inset: -15px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    transform: rotate(2deg);
    z-index: 0;
}

.visual-outline {
    position: absolute;
    inset: -5px;
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-md);
    transform: rotate(-1.5deg);
    z-index: 1;
}

.hero-visual-container img {
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
    height: 450px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.experience-tag {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--color-accent);
}

.experience-tag .number {
    font-size: 2.22rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.experience-tag .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    line-height: 1.3;
}


/* Atomic Box */
.atomic-answer {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.atomic-box {
    padding: 2rem;
    background: white;
    border-left: 6px solid var(--color-accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .atomic-answer {
        padding: 3rem 0;
    }
    .atomic-box {
        padding: 1.5rem;
    }
}

.atomic-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: none;
}

/* SERVICES GRID - FORCED 4 COLUMNS */
.services {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 250px;
    padding: 3rem 1.5rem;
    /* Iets minder padding aan de zijkant voor meer tekstruimte */
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-standard);
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .service-card {
        flex: 1 1 calc(50% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%;
    }
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-muted);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    border-radius: 12px;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    /* Verkleind naar 1rem voor optimale fit van lange woorden */
    min-height: 2.5rem;
    line-height: 1.2;
}

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

.service-list {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.service-list li {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: "";
    width: 8px;
    height: 2px;
    background: var(--color-accent);
}

/* TRUST & REVIEWS & STATS */
.trust-focus {
    padding: 8rem 0;
    background-color: var(--color-bg-muted);
}

@media (max-width: 768px) {
    .trust-focus {
        padding: 4rem 0;
    }
}

.highlight-box {
    padding: 1.5rem;
    background: white;
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 2rem 0;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 700;
}

@media (max-width: 768px) {
    .highlight-box {
        display: block;
        margin: 1.5rem 0;
        padding: 1rem;
        word-break: break-word;
        font-size: 0.9375rem;
    }
}

.jim-quote {
    margin: 3rem 0;
    padding-left: 2.5rem;
    border-left: 2px solid var(--color-accent);
    font-style: italic;
}

@media (max-width: 768px) {
    .jim-quote {
        padding-left: 1.5rem;
        margin: 2rem 0;
    }
    .jim-quote p {
        font-size: 1rem;
    }
}

.jim-quote p {
    font-size: 1.125rem;
    color: var(--color-primary);
}

.jim-quote cite {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-style: normal;
}

.trust-visual {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.review-card {
    background: white;
    padding: 3rem;
    border: 1px solid var(--color-border);
    box-shadow: 20px 20px 0px var(--color-accent);
    position: relative;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .review-card {
        padding: 1.5rem;
        box-shadow: 5px 5px 0px var(--color-accent);
        margin-right: 5px;
        width: calc(100% - 10px);
    }
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.review-card p {
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
}

@media (max-width: 768px) {
    .review-card p {
        font-size: 1rem;
    }
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
}

.reviewer span {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* PREMIUM STATS REDESIGN */
.experience-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--color-primary);
    padding: 3rem;
    color: white;
    border-right: 8px solid var(--color-accent);
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .experience-showcase {
        padding: 1.5rem;
        gap: 1.5rem;
        margin-right: 0;
        grid-template-columns: 1fr;
    }
    .stat .number {
        font-size: 2.5rem;
    }
}

.stat .number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: white;
    margin-bottom: 0.25rem;
}

.stat .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

/* REALISATIES (PORTFOLIO) - LUXURY STYLE */
.portfolio {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .portfolio {
        padding: 4rem 0;
    }
}

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

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

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

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-md);
    color: inherit;
}

.portfolio-img {
    height: 500px;
    transition: opacity 0.5s;
}

@media (max-width: 768px) {
    .portfolio-img {
        height: 350px;
    }
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
    opacity: 0.85;
}

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

.location-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-accent);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    z-index: 10;
    border-radius: var(--radius-full);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
    transform: translateY(0);
    /* Always visible */
    opacity: 1;
    /* Always visible */
    transition: 0.4s;
    z-index: 5;
}

@media (max-width: 768px) {
    .portfolio-info {
        padding: 1.5rem;
    }
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
    opacity: 0.5;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-info p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* WORK AREA / SEO */
.work-area {
    padding: 8rem 0;
    background: var(--color-primary);
    color: white;
}

@media (max-width: 768px) {
    .work-area {
        padding: 4rem 0;
    }
}

.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .region-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

.region strong {
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.area-map-placeholder {
    height: 400px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #374151;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (max-width: 768px) {
    .area-map-placeholder {
        height: 300px;
    }
}

.location-card {
    background: white;
    color: var(--color-primary);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .location-card {
        padding: 1.5rem;
    }
}

/* FAQ & CONTACT & FOOTER */
.faq {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }
}

.faq-accordion {
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .faq-accordion {
        margin-top: 2rem;
    }
}

details {
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0;
}

summary {
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

summary::after {
    content: "+";
    color: var(--color-accent);
}

details[open] summary::after {
    content: "-";
}

.faq-content {
    padding-top: 1.5rem;
    color: var(--color-text-muted);
}

.contact-form {
    padding: 8rem 0;
}

.contact-form .grid-2 {
    grid-template-columns: 45fr 55fr;
    /* More weight to the left side */
}

@media (max-width: 1024px) {
    .contact-form .grid-2 {
        grid-template-columns: 1fr;
    }
}

.contact-info-text h2 {
    font-size: 4rem;
    /* Larger title */
    margin-bottom: 2rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .contact-info-text h2 {
        font-size: 2.5rem;
    }
}

.contact-info-text p {
    font-size: 1.25rem;
    /* Larger lead text */
    color: var(--color-text-muted);
    max-width: 90%;
}

@media (max-width: 768px) {
    .contact-info-text p {
        font-size: 1rem;
        max-width: 100%;
    }
}

.form-wrapper {
    background: white;
    padding: 5rem 4rem;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

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

@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.5rem;
    }
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
}

.footer {
    background: #000;
    color: white;
    padding: 8rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

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

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

.footer-logo {
    height: 50px;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: white;
}

.footer h4 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.footer ul li {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 5rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Precision Lines & Decorations */
.precision-line {
    position: absolute;
    background: var(--color-accent);
    height: 1px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.6;
}

.hero .line-1 {
    width: 300px;
    top: 20%;
    left: -100px;
    transform: rotate(-45deg);
}

.hero .line-2 {
    width: 400px;
    bottom: 15%;
    right: -150px;
    transform: rotate(-45deg);
}

.diagonal-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(17, 24, 39, 0.03) 50%);
    z-index: 0;
    pointer-events: none;
}

footer.footer {
    position: relative;
    overflow: hidden;
}

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

.hero .grid-2 .hero-content {
    max-width: 100% !important;
}

.hero .grid-2 .hero-lead {
    max-width: 100% !important;
}

/* Gallery Section */
.page-header {
    padding: 100px 0 50px;
    background: #f8fafc;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

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

.cta-section {
    padding: 80px 0;
    margin-bottom: 4rem;
    background: #0f172a;
    color: white;
    text-align: center;
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-section {
        padding: 60px 0;
    }
    .cta-section {
        padding: 80px 1.5rem;
        margin-top: 2rem;
        border-radius: var(--radius-lg);
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
}

/* Global Form & Benefit Classes */
.benefits-compact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== NORMAL CSS MOBILE FIXES ===== */
/* This section handles responsiveness without relying on complex overrides or !important */

@media (max-width: 1024px) {
    /* 1. Reset Typography */
    .underline-effect {
        white-space: normal !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    /* 2. Hero Layout (Flexible Stacking) */
    .hero {
        padding-top: calc(var(--header-height) + 3rem) !important;
        padding-bottom: 4rem !important;
        overflow: hidden;
    }

    /* Home Hero - Specifically target the new class */
    .hero-home .grid-2 {
        grid-template-columns: 1fr !important;
        text-align: left;
    }

    .hero-home .hero-content {
        text-align: left; /* Keep it left aligned like subpages for consistency */
    }

    .hero-home .hero-image {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        margin-top: 2rem !important;
        display: block !important;
    }

    .hero-trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Subpage Hero Grid Stacking */
    .hero.hero-sub .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
        text-align: left;
    }

    .hero-sub .trust-indicator {
        padding: 1rem;
        width: 100%;
    }

    /* Hero Images: NO HIDDEN images - they stack instead */
    .hero-image {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 300px !important;
        margin-top: 3rem !important;
        display: block !important;
    }

    .hero-visual-container {
        margin-top: 2rem;
    }

    .hero-visual-container img {
        height: 350px !important;
    }

    /* 3. Global Section Handling */
    .container {
        padding: 0 1.5rem !important;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* 4. Fix specific overflows */
    .precision-line,
    .diagonal-decoration {
        display: none !important;
    }

    /* Reduce box-shadow offsets that cause horizontal scroll */
    .review-card,
    .experience-showcase,
    .service-image img {
        box-shadow: 10px 10px 0px var(--color-accent) !important;
        margin-right: 10px !important;
        margin-bottom: 10px !important;
        width: auto !important;
    }
    
    .contact-form .form-wrapper {
        margin: 0 !important;
    }

    /* Footer adjustments */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }

    .hero-sub .hero-content h1 {
        font-size: 2rem !important;
    }

    .badge {
        font-size: 0.7rem !important;
    }
}

/* LEGAL & POLICY PAGES */
.legal-content {
    padding: 6rem 0;
    line-height: 1.8;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 4rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--color-primary);
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section ul li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-table-wrapper {
    overflow-x: auto;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-footer-note {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* COOKIE BANNER PREMIUM DESIGN */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    z-index: 9999;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-banner h3 svg {
    color: var(--color-accent);
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

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

.btn-cookie {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cookie-accept {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-cookie-accept:hover {
    background: white;
}

.btn-cookie-reject {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-cookie-reject:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-cookie-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 2rem 1.5rem;
    }
}

/* COOKIE GRANULAR SETTINGS */
.cookie-settings-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-details.show {
    display: block;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.cookie-option-info h4 {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 0.15rem;
}

.cookie-option-info p {
    font-size: 0.75rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Custom Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-accent);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* CUSTOM NOTIFICATION TOAST */
#notification-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-accent);
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.toast-content h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.toast-content p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: white;
}

@media (max-width: 640px) {
    #notification-container {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    .toast {
        min-width: auto;
        width: 100%;
    }
}
