/* Bragg Brownstones - Premium Animated Stylesheet */
/* Brand Colors with Dynamic Gradients */

:root {
    --black: #1c1713;
    --dark-blue: #231e18;
    --navy: #2d2620;
    --dark-gray: #f7f5f1;
    --silver: #6b6460;
    --silver-light: #1c1713;
    --primary: #8b6b3f;
    --primary-light: #b8935a;
    --primary-dark: #6b4f2a;
    --gold: #c9a96e;
    --white: #ffffff;
    --text-gray: #7a7067;
    --section-alt: #f7f5f1;

    /* Animated Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #1c1713 0%, #231e18 50%, #2d2620 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--silver-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Animated Background Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 150px;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-top: 2rem;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading-bar 1s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loading-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* Typography with Animations */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--silver-light);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary);
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold), var(--primary), var(--primary-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px rgba(139, 107, 63, 0.5),
                 0 0 20px rgba(139, 107, 63, 0.3),
                 0 0 30px rgba(139, 107, 63, 0.2);
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 107, 63, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}

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

.nav-link {
    color: var(--silver-light);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

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

.nav-link:hover::before {
    width: 100%;
}

/* Animated Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    border: 1px solid rgba(139, 107, 63, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--silver-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(139, 107, 63, 0.08);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(139, 107, 63, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(139, 107, 63, 0.5);
    color: var(--white);
}

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

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* Magnetic Button Effect */
.btn-magnetic {
    transition: transform 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(22, 33, 62, 0.6) 50%,
        rgba(15, 52, 96, 0.8) 100%
    );
    z-index: 1;
}

/* Animated Grid Overlay */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 107, 63, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 107, 63, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 2rem;
    background: rgba(139, 107, 63, 0.15);
    border: 1px solid rgba(139, 107, 63, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero h1 span {
    display: block;
    background: linear-gradient(90deg, var(--primary-light), var(--gold), var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.hero p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-buttons .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Floating Elements */
.hero-float {
    position: absolute;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(139, 107, 63, 0.3);
    border-radius: 50%;
    animation-delay: 0s;
}

.hero-float-2 {
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: rgba(139, 107, 63, 0.2);
    border-radius: 10px;
    animation-delay: 2s;
}

.hero-float-3 {
    bottom: 25%;
    left: 20%;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { top: 8px; opacity: 1; }
    100% { top: 32px; opacity: 0; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.section-header .subtitle::before {
    right: calc(100% + 15px);
}

.section-header .subtitle::after {
    left: calc(100% + 15px);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ==================== CREDENTIALS BAR ==================== */
.credentials {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #1c1713 0%, #231e18 100%);
    border-top: 1px solid rgba(139, 107, 63, 0.3);
    border-bottom: 1px solid rgba(139, 107, 63, 0.3);
}

.credentials-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.credentials-text {
    flex: 1;
    min-width: 280px;
}

.credentials-text span {
    display: block;
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.credentials-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.credentials-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.credential-badge {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.credential-badge:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(139, 107, 63, 0.3));
}

@media (max-width: 768px) {
    .credentials-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .credentials-badges {
        justify-content: center;
    }

    .credential-badge {
        height: 60px;
    }
}

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

/* Simple Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 107, 63, 0.15);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon-wrap svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrap svg {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--silver-light);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link .arrow {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--primary-dark);
}

.service-card:hover .service-link .arrow {
    transform: translateX(5px);
}

/* ==================== FLEET SECTION ==================== */
.fleet {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.fleet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--white) 0%, transparent 100%);
    z-index: 1;
}

.fleet .container {
    position: relative;
    z-index: 2;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Rolling Fleet Carousel */
.fleet-carousel {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 4rem;
    position: relative;
    min-height: 500px;
}

.fleet-carousel::before,
.fleet-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.fleet-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(240,240,240,1) 0%, transparent 100%);
}

.fleet-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(240,240,240,1) 0%, transparent 100%);
}

.fleet-track {
    display: flex;
    gap: 2rem;
    animation: scroll-fleet 30s linear infinite;
    width: max-content;
    padding: 1rem 0;
    will-change: transform;
}

.fleet-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-fleet {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

/* Carousel Cards */
.carousel-card {
    flex: 0 0 450px;
    min-width: 450px;
    min-height: 420px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.carousel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.carousel-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.carousel-card-content {
    padding: 1.5rem 2rem 2rem;
    position: relative;
}

.carousel-badge {
    position: absolute;
    top: -2.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 107, 63, 0.4);
}

.carousel-card h3 {
    font-size: 1.5rem;
    color: var(--silver-light);
    margin-bottom: 0.5rem;
}

.carousel-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.carousel-card .btn {
    width: 100%;
    text-align: center;
}

/* Premium Aircraft Cards */
.aircraft-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
}

.aircraft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.aircraft-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.aircraft-card:hover::before {
    opacity: 1;
}

.aircraft-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.aircraft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.aircraft-card:hover .aircraft-image img {
    transform: scale(1.15);
}

.aircraft-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.aircraft-card:hover .aircraft-image::after {
    opacity: 1;
}

.aircraft-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(139, 107, 63, 0.4);
}

/* Video Play Button */
.aircraft-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.aircraft-play svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
    margin-left: 5px;
}

.aircraft-card:hover .aircraft-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.aircraft-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.aircraft-play:hover svg {
    fill: var(--white);
}

.aircraft-info {
    padding: 2rem;
}

.aircraft-info h3 {
    color: var(--silver-light);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.aircraft-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.spec {
    text-align: center;
    position: relative;
}

.spec:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: #eee;
}

.spec-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== STATS SECTION ==================== */
.stats {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

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

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== QUOTE SECTION ==================== */
.quote-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8e8e8 100%);
    position: relative;
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}

.quote-info h2 {
    margin-bottom: 1.5rem;
}

.quote-info > p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.quote-features {
    list-style: none;
}

.quote-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    color: var(--silver-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.quote-features li:hover {
    padding-left: 0.5rem;
    color: var(--primary);
}

.quote-features li svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Animated Form */
.quote-form {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--silver-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--silver-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 107, 63, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b6b3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.form-submit {
    margin-top: 1.5rem;
}

.form-submit .btn {
    width: 100%;
    padding: 1.25rem;
}

/* ==================== TEAM HIGHLIGHT ==================== */
.team-highlight {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1c1713 0%, #231e18 100%);
    position: relative;
    overflow: hidden;
}

.team-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b6b3f' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.team-highlight-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.team-highlight-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.team-highlight-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.team-highlight-image:hover img {
    transform: scale(1.03);
}

.award-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 107, 63, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.award-badge svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: rgba(255, 255, 255, 0.2);
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.team-highlight-info {
    color: white;
}

.team-highlight-info .subtitle {
    color: var(--primary-light);
}

.team-highlight-info h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.award-title {
    background: rgba(139, 107, 63, 0.15);
    border: 1px solid rgba(139, 107, 63, 0.3);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.award-label {
    display: block;
    color: var(--primary-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.award-region {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.team-highlight-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    list-style: none;
    padding: 0;
}

.team-stats li {
    text-align: center;
}

.team-stats strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.team-stats span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .team-highlight-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-highlight-info {
        text-align: center;
    }

    .team-highlight-info h2 {
        font-size: 2.2rem;
    }

    .award-title {
        display: block;
    }

    .team-stats {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .team-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .team-highlight-info h2 {
        font-size: 1.8rem;
    }
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 0 3rem;
}

.testimonial-text {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--silver-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: rgba(139, 107, 63, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 3px;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, var(--white) 100%);
}

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

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(139, 107, 63, 0.1) 0%, rgba(139, 107, 63, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
    transition: stroke 0.4s ease;
}

.contact-card:hover .contact-icon svg {
    stroke: var(--white);
}

.contact-card h3 {
    color: var(--silver-light);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-card p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.contact-card a,
.contact-card .contact-link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card a:hover,
.contact-card .contact-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gradient-hero);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

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

.footer-brand > img {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logos img {
    margin-bottom: 0;
    filter: none;
}

.footer-logos .footer-logo-prp {
    height: 70px !important;
    filter: brightness(0) invert(1) !important;
}

.footer-logos .footer-logo-cirrus {
    height: 60px !important;
    filter: none !important;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255,255,255,0.8);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* Footer Info Bar */
.footer-info-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.footer-info-bar span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-info-bar a {
    color: var(--primary-light);
    transition: color 0.3s ease;
}

.footer-info-bar a:hover {
    color: var(--primary);
}

.footer-info-bar .divider {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-info-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-info-bar .divider {
        display: none;
    }
}

/* ==================== CHARTER HERO ==================== */
.charter-hero {
    padding-top: 80px;
    width: 100%;
    overflow: hidden;
}

.charter-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 12rem 0 6rem;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b6b3f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.6);
    position: relative;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

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

.breadcrumb span {
    color: var(--primary-light);
}

/* ==================== VIDEO MODAL ==================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: modal-in 0.4s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-content {
    position: relative;
    max-width: 1100px;
    width: 100%;
}

.video-modal video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1.5rem;
        display: none;
        min-width: auto;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .quote-container {
        grid-template-columns: 1fr;
    }

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

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

    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .stat-item::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

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

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon-wrap {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .quote-form {
        padding: 2rem 1.5rem;
    }

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

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

/* ==================== CUSTOM CURSOR ==================== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.08s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--primary-light);
}

/* ==================== SMOOTH SCROLL ==================== */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* ==================== BRAGG BROWNSTONES CUSTOM DESIGN ==================== */

/* Typography overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.01em;
}

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

/* Override primary h3 color in dark/overlay contexts */
.bento-item .bento-content h3,
.bento-item .bento-content h2,
.carousel-card h3,
.hero h2, .hero h3,
.hero-content h2, .hero-content h3,
.cta-section h2, .cta-section h3,
[style*="background:#1c1713"] h3,
[style*="background:#231e18"] h3 {
    color: #fff !important;
}

/* ---- FLOOR PLAN FILTER BAR ---- */
.fp-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 36px;
}

.fp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fp-filter-group label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7067;
}

.fp-filter-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b6b3f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1.5px solid #ddd7ce;
    border-radius: 8px;
    padding: 10px 40px 10px 14px;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
    color: #1c1713;
    cursor: pointer;
    min-width: 160px;
    transition: border-color 0.2s ease;
}

.fp-filter-select:focus {
    outline: none;
    border-color: #8b6b3f;
}

.fp-reset-btn {
    background: none;
    border: 1.5px solid #ddd7ce;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-family: 'DM Sans', sans-serif;
    color: #7a7067;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-end;
    margin-bottom: 0;
}

.fp-reset-btn:hover {
    border-color: #8b6b3f;
    color: #8b6b3f;
}

/* ---- FLOOR PLAN GRID ---- */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fp-card {
    background: #fff;
    border: 1px solid #e8e3da;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.fp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(28, 23, 19, 0.14);
    border-color: #b8935a;
}

.fp-card.hidden {
    display: none;
}

.fp-img-box {
    background: #f7f5f1;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Floor tabs inside cards */
.fp-tabs {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e8e3da;
    background: #fff;
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.fp-tab {
    flex: 1;
    padding: 7px 4px;
    background: none;
    border: none;
    border-top: 2px solid transparent;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    cursor: pointer;
    transition: 0.15s;
    font-family: 'DM Sans', sans-serif;
}

.fp-tab.active {
    color: #8b6b3f;
    border-top-color: #8b6b3f;
}

.fp-panels {
    position: absolute;
    inset: 0;
    bottom: 30px;
}

.fp-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px 12px 8px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.fp-panel.active {
    opacity: 1;
}

.fp-img-box-tabs {
    flex-direction: column;
    padding: 0;
    position: relative;
    aspect-ratio: 4/3;
}

.fp-card-body {
    padding: 18px 20px 20px;
    border-top: 1px solid #f0ece5;
}

.fp-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b6b3f;
    margin-bottom: 4px;
    display: block;
}

.fp-unit-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1c1713;
    margin: 4px 0 3px;
    line-height: 1.2;
}

.fp-details {
    font-size: 0.8rem;
    color: #7a7067;
    margin: 0 0 10px;
    line-height: 1.5;
}

.fp-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b6b3f;
    display: block;
    margin-bottom: 8px;
}

.fp-view-link {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b6b3f;
    display: inline-block;
    transition: gap 0.2s ease;
}

/* No results message */
.fp-no-results {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #7a7067;
    font-size: 1rem;
}

.fp-no-results.visible {
    display: block;
}

/* Photo-optional image handling */
img {
    background: linear-gradient(135deg, #f7f5f1 0%, #e8e3da 100%);
}

.hero-video-container img,
.fp-img-box img {
    min-height: 80px;
    background: linear-gradient(135deg, #8b6b3f 0%, #b8935a 100%);
}

.nav-logo img, .preloader-logo, .footer-logo-prp {
    background: transparent !important;
}

/* Mobile responsive grids */
@media (max-width: 900px) {
    .fp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .bento-grid { grid-template-columns: 1fr !important; }
    .bento-item.featured { grid-column: span 1 !important; }
    .fp-grid { grid-template-columns: 1fr !important; }
    .fp-filters { gap: 8px; }
    .fp-filter-select { min-width: 130px; }
}

/* Credential badges */
.credentials-bar {
    background: #1c1713;
    padding: 28px 0;
}

.credentials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.credential-logo {
    width: auto;
    height: 60px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    background: transparent !important;
}
