/* ==========================================================================
   CSS Variables & Design Tokens (Premium Dark Theme)
   ========================================================================== */
:root {
    /* Colors */
    --clr-bg: #090a0f;
    /* Very deep anthracite/blueish */
    --clr-bg-alt: #12141d;
    /* Slightly lighter section */
    --clr-surface: rgba(255, 255, 255, 0.03);
    --clr-surface-hover: rgba(255, 255, 255, 0.07);
    --clr-border: rgba(255, 255, 255, 0.1);

    --clr-text: #d1d5db;
    /* Grayish white for readability */
    --clr-text-title: #ffffff;
    --clr-text-muted: #9ca3af;

    /* Accents */
    --clr-accent: #ff3b3b;
    /* Pure red for urgency / priority CTA */
    --clr-accent-hover: #e02828;
    --clr-copper: #d97743;
    /* Copper/Orange for metallurgy feel */
    --clr-copper-glow: rgba(217, 119, 67, 0.3);

/* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font display swap handled via Google Fonts & fallbacks */

    /* Spacing & Utilities */
    --container-max: 1200px;
    --spacing-section: 6rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.text-heading {
    font-family: var(--font-heading);
    color: var(--clr-text-title);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-section) 0;
}

.bg-dark {
    background-color: var(--clr-bg);
}

.bg-darker {
    background-color: var(--clr-bg-alt);
}

.border-top {
    border-top: 1px solid var(--clr-border);
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.mt-6 {
    margin-top: 3rem;
}

/* ==========================================================================
   Components: Buttons & Links
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

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

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 59, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 59, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid var(--clr-border);
}

.btn-outline:hover {
    background-color: var(--clr-surface);
    border-color: var(--clr-text);
}

/* Link with Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--clr-copper);
    font-weight: 500;
    font-family: var(--font-heading);
    margin-top: auto;
}

.link-arrow span {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.link-arrow:hover span {
    transform: translateX(4px);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   Animations: Premium Icon Effects
   ========================================================================== */
@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconWrench {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes iconLockFade {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 20;
    }
}

@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Base Service Icon Style */
.service-icon svg {
    transition: transform var(--transition-smooth), color var(--transition-fast);
}

.service-card:hover .service-icon svg {
    color: var(--clr-text-title);
    filter: drop-shadow(0 0 8px currentColor);
}

/* Specific Animations for each card type */
.service-card:hover .icon-wrench {
    animation: iconWrench 0.5s ease infinite;
}

.service-card:hover .icon-lock {
    animation: iconPulse 1s ease infinite;
}

.service-card:hover .icon-cube {
    animation: iconFloat 1.5s ease-in-out infinite;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--clr-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    overflow: visible;
    transition: transform var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
}

.glass-panel:hover {
    background: var(--clr-surface-hover);
    border-color: var(--clr-copper);
    transform: translateY(-8px);
}

.glass-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%);
    background-size: 200% 200%;
    transition: background-position 0.6s ease;
    pointer-events: none;
}

.glass-panel:hover::after {
    background-position: 100% 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color var(--transition-smooth), padding var(--transition-smooth), border-color var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header-fixed.scrolled {
    background-color: rgba(9, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--clr-border);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Remove backdrop-filter on header when menu is open
   backdrop-filter creates a containing block that traps
   position:fixed descendants inside the header instead of the viewport */
body.menu-open .header-fixed {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 10;
}

/* Header Logo (Specific enlargement without affecting bar height) */
.header-fixed .logo {
    position: relative;
    height: 80px; /* Keep the same height for the bar space */
    display: flex;
    align-items: center;
}

.header-fixed .logo-img {
    height: 160px; /* Adjusted to 160px for a balanced floating effect */
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    max-width: none;
    z-index: 100;
}

/* Footer Logo (Specific enlargement without affecting footer layout) */
.footer-brand .logo {
    position: relative;
    height: 80px; /* Fixed space in the layout */
    display: flex;
    align-items: center;
    margin-bottom: 3.5rem; /* Increased margin to account for the larger logo overflow */
}

.footer-brand .logo-img {
    height: 160px; /* As requested */
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    max-width: none;
    z-index: 10;
}


.main-nav {
    display: flex;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a:hover {
    color: var(--clr-text-title);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px; /* offset for header */
}

/* Abstract dark metallic background effect */
.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(217, 119, 67, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 59, 59, 0.05) 0%, transparent 40%);
    z-index: -1;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    color: var(--clr-copper);
    margin-bottom: 1.5rem;
    background: var(--clr-surface);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    color: var(--clr-copper);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.trust-item:hover .trust-icon {
    transform: scale(1.4) rotate(10deg);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-inline: auto;
}

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

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

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--clr-bg);
    margin-bottom: 1.5rem;
    color: white;
}

.red-glow {
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.2);
    color: var(--clr-accent);
}

.orange-glow {
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
    color: orange;
}

.copper-glow {
    box-shadow: 0 0 20px var(--clr-copper-glow);
    color: var(--clr-copper);
}

.blue-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.silver-glow {
    box-shadow: 0 0 20px rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.gold-glow {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

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

.service-card p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* ==========================================================================
   Trust & Map (Portfolio)
   ========================================================================== */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--clr-text-title);
    font-weight: 500;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-copper);
    font-weight: bold;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--clr-text-title);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--clr-copper);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.map-container {
    height: 450px;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    border-radius: calc(var(--radius-md) - 0.5rem);
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(120%);
    /* Dark map trick */
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--clr-border);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Contact Form & Footer
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--clr-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    transition: all var(--transition-smooth);
}

.contact-method:hover .method-icon {
    background: var(--clr-surface-hover);
    transform: rotateY(180deg);
    color: var(--clr-text-title);
    box-shadow: 0 0 15px var(--clr-accent);
}

.contact-method h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-method a {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.contact-method a:hover {
    color: var(--clr-text-title);
}

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

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--clr-text-title);
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-bottom: 1px solid var(--clr-border);
    color: white;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

/* Ensure dropdown options are readable (especially on mobile/Safari/Chrome) */
select option {
    background-color: white;
    color: #1f2937;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom-color: var(--clr-copper);
}

#form-status {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-align: center;
}

#form-status.form-pending {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    border: 1px solid var(--clr-border);
}

#form-status.form-success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

#form-status.form-error {
    display: block;
    background: rgba(255, 59, 59, 0.1);
    color: var(--clr-accent);
    border: 1px solid rgba(255, 59, 59, 0.3);
}

/* Footer */
.footer {
    padding-top: 5rem;
    padding-bottom: 2rem;
    background-color: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-title);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-accent);
}

.footer-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Areas Grouping */
.footer-areas p {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.area-group h4 {
    font-size: 0.9rem;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact List */
.contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-list .icon {
    font-size: 1.1rem;
}

.contact-list a {
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
}

.contact-list a:hover {
    color: var(--clr-accent);
}

/* Urgency Badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--clr-accent);
    margin-top: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--clr-accent);
    border-radius: 50%;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.footer-links ul li a {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--clr-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.footer-bottom .text-accent {
    font-weight: 600;
}

.footer-bottom .signature {
    color: #6b7280;
    font-weight: 500;
}

/* ==========================================================================
   Nouveaux Composants (Process, Galerie, CTA Mobile)
   ========================================================================== */
/* Process Steps (Comment ��a marche) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.step-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-fast);
}
.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-copper);
}
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--clr-accent);
    color: white;
    font-weight: bold;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon {
    color: var(--clr-copper);
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.step-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    padding: 0;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Assurance Badge */
.insurance-badge {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--clr-accent);
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Sticky CTA Mobile (Hidden on Desktop) */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
    padding: 10px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
}
.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: white;
    text-align: center;
}
.sticky-btn:hover {
    color: white;
}
.sticky-call {
    background: var(--clr-accent);
}
.sticky-whatsapp {
    background: #25D366; /* Vert WhatsApp */
}

/* ==========================================================================
   Partners & Suppliers Section
   ========================================================================== */
.partners {
    padding: 4rem 0;
    background-color: var(--clr-bg);
    overflow: hidden;
    border-top: 1px solid var(--clr-border);
}

.partners-title {
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
}

.partners-slider {
    position: relative;
    width: 100%;
}

.partners-track {
    display: flex;
    width: calc(250px * 18); /* Width of logos * count (9 original + 9 duplicate) */
    animation: scroll 30s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 9)); }
}

.partner-logo {
    width: 250px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.partner-logo img {
    max-width: 150px;
    max-height: 70px;
    height: auto;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all var(--transition-smooth);
    cursor: pointer;
    mix-blend-mode: multiply;
}

.partner-logo img:hover {
    opacity: 1;
    transform: scale(1.1);
}

#scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-copper);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 4px 14px rgba(217, 119, 67, 0.3);
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 59, 59, 0.4);
}

/* Pause animation on hover */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {

    .location-wrapper,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

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

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    .mobile-sticky-cta {
        display: flex;
        gap: 10px;
    }
    .main-nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(9, 10, 15, 0.98);
        z-index: 5;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .main-nav.mobile-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .main-nav.mobile-open ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .main-nav.mobile-open a {
        font-size: 1.5rem;
    }
    .header-actions {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .location-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .map-container {
        height: 300px;
    }
    .glass-panel {
        padding: 1.25rem;
    }
    .contact-form.glass-panel {
        padding: 1.5rem 1rem;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .header-fixed .logo {
        height: 60px;
    }
    .header-fixed .logo-img {
        height: 100px;
    }
    .header-fixed {
        padding: 0.75rem 0;
    }
    .header-fixed.scrolled {
        padding: 0.5rem 0;
    }
    .hero {
        padding-top: 100px;
    }
    .partner-logo--compact img {
        max-height: 45px;
    }
}

/* Scroll Revel animations basics */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Hide elements only when JS is active (progressive enhancement) */
html.js-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
}

html.js-ready .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* No-JS fallback: reveal sections immediately */
noscript .reveal {
    opacity: 1 !important;
    transform: none !important;
}


/* ============================================
   Google Reviews Widget
   ============================================ */
.reviews-widget-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.review-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-accent), #ff8a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.review-author {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.review-stars svg {
    width: 18px;
    height: 18px;
}

.review-stars .star-filled {
    fill: #fbbc04;
    stroke: #fbbc04;
}

.review-stars .star-filled polygon {
    fill: inherit;
    stroke: inherit;
}

.review-stars .star-empty {
    fill: none;
    stroke: rgba(255,255,255,0.2);
}

.review-stars .star-empty polygon {
    fill: none;
    stroke: inherit;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

.review-text::before {
    content: '"';
    opacity: 0.3;
}
.review-text::after {
    content: '"';
    opacity: 0.3;
}

.reviews-header-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.06);
}

.reviews-average {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-average .big-rating {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1;
}

.reviews-average .stars-row svg {
    width: 22px;
    height: 22px;
}

.reviews-average .stars-row .star-filled {
    fill: #fbbc04;
    stroke: #fbbc04;
}

.reviews-average .stars-row .star-filled polygon {
    fill: inherit;
    stroke: inherit;
}

.reviews-count {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.review-google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 1rem;
}

.review-google-link:hover {
    color: var(--clr-accent);
}

.review-error {
    text-align: center;
    padding: 2rem;
    color: rgba(255,255,255,0.5);
}

.review-loading {
    text-align: center;
    padding: 2rem;
    color: rgba(255,255,255,0.5);
}

.review-loading .spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--clr-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form feedback */
.form-feedback {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}
.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Small button for reviews */
.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Missing utility classes */
.text-light {
    color: #f0f0f0;
}
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.overlay-dark {
    position: relative;
}
.overlay-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}
.location-content {
    position: relative;
    z-index: 1;
}
.contact-info {
    flex: 1;
    min-width: 0;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.footer-contact {
    flex: 1;
    min-width: 200px;
}
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.areas-grid {
    display: grid;
    gap: 0.5rem;
}
.mt-2 {
    margin-top: 0.5rem;
}

/* ==========================================================================
   Accessibility: Reduced Motion & Focus Styles
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .fade-in-up {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .pulse-animation {
        animation: none !important;
    }

    .partners-track {
        animation-duration: 60s !important;
    }

    .service-card:hover,
    .glass-panel:hover {
        transform: none !important;
    }

    .contact-method:hover .method-icon {
        transform: none !important;
    }
}

/* Focus visible styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--clr-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--clr-bg-alt);
    border-top: 2px solid var(--clr-accent);
    padding: 1.5rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--clr-text);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    min-width: 250px;
}

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

.cookie-content a:hover {
    color: var(--clr-text-title);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner.cookie-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Form Consent Checkbox
   ========================================================================== */
.form-consent {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--clr-accent);
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--clr-accent);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--clr-text-title);
}
