/*
Theme Name: Auto-Net 87
Author: Nivlak Studio
Description: VIP Detailing Service
Version: 1.0
*/

/* Variables & Design System */
:root {
    /* Colors */
    --clr-bg: #000000;
    --clr-bg-surface: #0a1c31;
    --clr-bg-elevated: #122842;
    --clr-text-main: #ffffff;
    --clr-text-muted: #9ca3af;
    --clr-primary: #e31e24;
    --clr-secondary: #01a6e9;
    /* Brand Red and Cyan */
    --clr-primary-hover: #cc1b20;
    --clr-border: rgba(255, 255, 255, 0.15);
    --clr-highlight: rgba(227, 30, 36, 0.15);

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

    /* Spacing */
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 2rem;
    --sp-xl: 4rem;
    --sp-xxl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 em,
h2 em {
    font-style: italic;
    color: var(--clr-primary);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

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

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

/* Utilities */
.text-center {
    text-align: center;
}

.highlight-text {
    color: var(--clr-primary);
    font-weight: 500;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-bg);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--clr-border);
    color: var(--clr-text-main);
}

.btn-outline-light:hover {
    border-color: var(--clr-text-main);
    transform: translateY(-2px);
}

.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

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

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

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

.logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo {
    max-height: 65px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo-text {
    display: none;
    /* Hide text as logo contains text */
}


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

.nav-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-primary);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.phone-link {
    font-weight: 600;
    font-size: 0.875rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--clr-text-main);
    transition: all var(--transition-fast);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    /* Slight scale for potential parallax/animation */
}

/* Background gradient overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.4) 100%);
    z-index: -1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(1, 166, 233, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 166, 233, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(1, 166, 233, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 166, 233, 0);
    }
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--sp-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1px solid var(--clr-text-main);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    width: 2px;
    height: 6px;
    background-color: var(--clr-text-main);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    50% {
        opacity: 0;
        top: 16px;
    }

    100% {
        opacity: 0;
        top: 6px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Section Common */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Expert Section */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expert-image-wrapper {
    position: relative;
    padding: 2rem 0 0 2rem;
}

.expert-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    border: 1px solid var(--clr-primary);
    z-index: 0;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--clr-bg-elevated);
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    /* AI Enhancement Simulation */
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transition: filter var(--transition-normal);
}

.img-placeholder:hover {
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-left: 2px solid var(--clr-primary);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--clr-primary);
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.vip-service-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    margin-bottom: 1.5rem;
}

.vip-icon {
    color: var(--clr-primary);
    flex-shrink: 0;
}

.vip-text h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.vip-text p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.location-box {
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    margin-bottom: 2rem;
    border-left: 2px solid var(--clr-border);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--clr-highlight);
    color: var(--clr-primary);
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
}

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

.service-card {
    background-color: var(--clr-bg);
    padding: 2.5rem;
    border: 1px solid var(--clr-border);
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.detailing-icon {
    transition: transform 0.4s ease, filter 0.4s ease;
    transform-origin: center;
}

.service-card:hover .service-icon svg.detailing-icon {
    animation: iconHoverAnim 2.5s infinite ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(230, 57, 70, 0.4));
    color: var(--clr-primary);
}

@keyframes iconHoverAnim {
    0% {
        transform: scale(1) translateY(0) rotate(0);
    }

    20% {
        transform: scale(1.15) translateY(-3px) rotate(-4deg);
    }

    40% {
        transform: scale(1.15) translateY(-3px) rotate(4deg);
    }

    60% {
        transform: scale(1.05) translateY(-1px) rotate(-2deg);
    }

    80% {
        transform: scale(1.1) translateY(-2px) rotate(2deg);
    }

    100% {
        transform: scale(1) translateY(0) rotate(0);
    }
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Tarifs */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.tarifs-special-note {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    text-align: center !important;
}

.pricing-card {
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.premium {
    border-color: var(--clr-primary);
}

.premium-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--clr-primary);
    color: var(--clr-bg);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.pricing-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--clr-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.pricing-body {
    padding: 2.5rem;
    flex-grow: 1;
}

.pricing-tier {
    margin-bottom: 2rem;
}

.pricing-tier:last-child {
    margin-bottom: 0;
}

.pricing-tier h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
}

.tier-desc {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-row .price {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--clr-text-main);
}

.price-row.addon .price {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.pricing-divider {
    border: 0;
    height: 1px;
    background: var(--clr-border);
    margin: 2rem 0;
}

.premium-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-quote-box {
    text-align: center;
    color: var(--clr-text-muted);
}

.custom-quote-box svg {
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.custom-quote-box h4 {
    font-size: 1.25rem;
    color: var(--clr-text-main);
    margin-bottom: 1rem;
}

.pricing-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--clr-border);
}

/* Social Proof, Avant/Après & Gallery */
.ba-sliders-wrapper {
    margin-bottom: 3rem;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--clr-bg-surface);
}

.ba-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* AI Enhancement Simulation */
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.ba-slider-before {
    z-index: 2;
    /* clip-path inset est animé en JS */
}

.ba-slider-after {
    z-index: 1;
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--clr-primary);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Force any text content inside to be invisible */
    font-size: 0 !important;
    color: transparent !important;
}

.ba-slider-handle::after {
    content: '' !important;
    display: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--clr-primary);
    color: transparent !important;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.ba-badge {
    position: absolute;
    bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.ba-badge-before {
    left: 1rem;
    z-index: 3;
}

.ba-badge-after {
    right: 1rem;
    z-index: 1;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-img {
    aspect-ratio: 4/3;
    transition: transform var(--transition-slow);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    font-weight: 500;
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--clr-border);
    background-color: var(--clr-bg);
}

.stars {
    color: var(--clr-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.author {
    color: var(--clr-text-muted);
}

/* Contact CTA */
.contact-cta {
    background-color: var(--clr-bg);
}

.contact-wrapper {
    background-color: var(--clr-bg-surface);
    border: 1px solid var(--clr-border);
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    text-align: left;
}

.method-icon {
    font-size: 2rem;
}

.method-label {
    display: block;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.method-value {
    font-size: 1.1rem;
    word-break: break-all;
}

/* Footer */
.footer {
    background-color: #050505;
    padding-top: 4rem;
    border-top: 1px solid var(--clr-border);
}

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

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--clr-text-muted);
    max-width: 300px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-text-main);
}

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal a:hover {
    color: var(--clr-text-main);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.2);
}

.footer-credits {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-legal {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .footer-legal .separator {
        display: none;
    }
}

/* Scroll Animations */
.scroll-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-slow);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-slow);
}

.scroll-reveal-up.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    .expert-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .expert-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding: 1rem 0 0 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 0;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .header.menu-open {
        background-color: var(--clr-bg-surface);
        padding-bottom: 1.5rem;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .nav-links,
    .header-actions {
        display: none;
        width: 100%;
        text-align: center;
        flex-direction: column;
        gap: 1.5rem;
        order: 3;
    }

    .header-actions {
        margin-top: 1rem;
    }

    .header.menu-open .nav-links,
    .header.menu-open .header-actions {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    .header.menu-open .nav-links {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--clr-border);
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
    }

    /* Ergonomics: Typography */
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Ergonomics: Touch Targets */
    .btn {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

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

    .pricing-header h3 {
        font-size: 1.25rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Media Sizes */
    .ba-slider-container {
        aspect-ratio: 4/3;
    }

    .ba-slider-handle::after {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .contact-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-method-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .contact-method-card>div {
        min-width: 0;
        flex: 1;
    }

    .contact-method-card .method-value {
        font-size: 14px;
        word-break: break-all;
        white-space: normal;
        display: block;
        width: 100%;
        line-height: 1.2;
        margin-top: 4px;
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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