/* ===================================
   NYC Green Line Movers
   Modern Design with Animations
   Color: Two shades of Green
   =================================== */

:root {
    /* Primary - Dark Green (logo: leaves, hill, "NYC", "Line Movers") */
    --primary: #1B5E20;
    --primary-dark: #0E3E14;
    --primary-light: #2E7D32;
    --primary-lighter: #E8F5E9;
    
    /* Accent - Bright Green (logo: "Green" text) */
    --accent: #4CAF50;
    --accent-dark: #388E3C;
    --accent-light: #66BB6A;
    --accent-glow: rgba(76, 175, 80, 0.3);
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    --gradient-accent: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    --gradient-hero: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    
    /* Neutrals */
    --dark: #0A1F0E;
    --dark-soft: #152E1A;
    --gray-900: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    
    /* Semantic */
    --success: #22c55e;
    --error: #ef4444;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1320px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 40px var(--accent-glow);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
    font-weight: 600;
}

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

/* ===================================
   Buttons with Animations
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

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

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

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

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-block { width: 100%; }
.btn-large { padding: 20px 40px; font-size: 16px; }

/* ===================================
   Top Bar
   =================================== */
.top-bar {
    background: #2a2a2a;
    color: var(--white);
    font-size: 14px;
    padding: 12px 0;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.top-bar-phone i {
    color: var(--accent);
    font-size: 16px;
}

.top-bar-phone:hover {
    color: var(--accent);
}

.top-bar-center {
    flex: 1;
    text-align: center;
}

.top-bar-price {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-contact {
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    text-decoration: none;
}

.top-bar-contact:hover {
    color: var(--accent);
}

.top-bar-divider {
    color: var(--white);
    opacity: 0.5;
    font-size: 16px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    font-size: 16px;
}

.top-bar-social a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header.scrolled .navbar {
    padding: 4px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 32px;
}

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

.logo-img {
    height: 100px;
    width: auto;
    max-width: none;
    display: block;
    mix-blend-mode: multiply;
    filter: brightness(1.12) contrast(1.05);
    transition: var(--transition-normal);
}

.logo:hover .logo-img {
    opacity: 0.85;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 26px;
    transition: var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--gray-100);
}

.nav-link i {
    font-size: 10px;
    transition: var(--transition-fast);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
    z-index: 100;
    border: 1px solid var(--gray-200);
}

/* Only the Services (first) dropdown gets 2 columns */
.nav-item.dropdown:first-child > .dropdown-menu {
    min-width: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--gray-700);
    position: relative;
    transition: var(--transition-fast);
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--accent);
    padding-left: 30px;
}

.dropdown-menu li a:hover::before {
    height: 60%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-buttons .btn {
    padding: 12px 20px;
    font-size: 13px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

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

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

/* ===================================
   Hero Section - Animated
   =================================== */
.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--primary);
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* поднимаем картинку немного выше центра, чтобы лица были видны */
    object-position: center 40%;
    opacity: 1;
    filter: brightness(1.15) contrast(1.05);
}

/* Animated background shapes */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255,107,74,0.15) 0%, transparent 60%);
    animation: floatBg 15s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: floatBg 20s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* Floating particles */
.hero-bg .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    min-height: 600px;
    padding-top: 0;
}

.hero-text {
    max-width: 1100px;
    margin: 0 auto;
    transform: translateY(-90px);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6); /* Улучшенная читаемость на ярком фоне */
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.hero-subtitle {
    font-size: 24px;
    color: white;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8), 0 1px 6px rgba(0,0,0,0.6);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.hero-cta .btn {
    font-size: 18px;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    transition: all var(--transition-normal);
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30,58,95,0.3), rgba(30,58,95,0.15)); /* Лёгкое затемнение для читаемости */
    z-index: 1;
}

/* Welcome Section with Quote Form */
.welcome-quote-section {
    padding: 100px 0;
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-form-side .hero-quote-form {
    background: var(--accent);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    width: 100%;
}

.welcome-form-side .form-group {
    margin-bottom: 25px;
}

.welcome-form-side label {
    display: block;
    color: white;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.welcome-form-side input {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    background: white;
    color: var(--dark);
}

.welcome-form-side .btn-primary {
    background: white;
    color: var(--accent);
    border: none;
    font-weight: 800;
    height: 60px;
    border-radius: 15px;
    margin-top: 10px;
    width: 100%;
}

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

.welcome-text-side .welcome-title {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.welcome-subtitle {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.welcome-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
}

.welcome-feature-item i {
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
}

.welcome-feature-item span {
    font-weight: 500;
}

@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .welcome-text-side {
        order: -1;
    }
    
    .welcome-text-side .welcome-title {
        font-size: 32px;
    }
    
    .welcome-subtitle {
        font-size: 24px;
    }
    
    .welcome-feature-item {
        font-size: 16px;
    }
    
    .welcome-feature-item i {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .quote-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .quick-quote-section {
        margin-top: 20px;
    }
}

/* Hero Sections Cleaned up */
.hero-text h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.hero-subtitle {
    font-size: 24px;
    color: white;
    text-shadow: 0 3px 15px rgba(0,0,0,0.8), 0 1px 6px rgba(0,0,0,0.6);
    margin-bottom: 40px;
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Removed duplicate styles */

.hero-quote-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-accent);
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.hero-quote-form:hover::before {
    opacity: 1;
}

.quick-quote-form .form-row-inline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group-inline {
    flex: 1;
}

.form-group-inline label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-inline input {
    width: 100%;
    padding: 16px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.form-group-inline input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group-inline input::placeholder {
    color: var(--gray-500);
}

.hero-quote-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-image-placeholder i {
    font-size: 100px;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image-placeholder span {
    font-size: 20px;
    font-weight: 600;
}

/* ===================================
   Reviews Bar
   =================================== */
.reviews-bar {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}

.reviews-bar h4 {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reviews-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
}

.review-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.review-badge:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 4px;
}

.review-rating {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
}

.review-source {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.review-count {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===================================
   Trust Badges - Animated Marquee
   =================================== */
.trust-badges {
    background: var(--gradient-primary);
    padding: 24px 0;
    overflow: hidden;
}

.badges-slider {
    display: flex;
    gap: 80px;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.badge-item {
    padding: 10px 0;
    white-space: nowrap;
}

.badge-text {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    opacity: 1;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    position: relative;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

/* ===================================
   Services Section - Horizontal Cards (Like movingyourway.com)
   =================================== */
.services-section {
    padding: var(--section-padding) 0;
    background: #fdf6f0;
    position: relative;
    border-bottom: 6px solid var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

/* Center the last card when the number of items is odd (desktop grid) */
.services-grid > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 740px);
}

.service-card {
    background: rgba(255, 240, 230, 0.5);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    border: none;
}

.service-card:hover {
    background: rgba(255, 230, 215, 0.7);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--accent);
    transition: var(--transition-normal);
}

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

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1a3c6e;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

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

.service-content p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.learn-more {
    display: inline-block;
    color: #c94a2a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.learn-more:hover {
    color: #388E3C;
    text-decoration: underline;
}

.service-card.centered {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 15px);
}

/* ===================================
   Flat Fee Section
   =================================== */
.flat-fee-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.flat-fee-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: start;
}

.flat-fee-text h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 24px;
}

.flat-fee-text > p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 36px;
}

.included-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 40px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--gray-700);
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.included-item:hover {
    background: var(--primary-lighter);
    transform: translateX(5px);
}

.included-item i {
    color: var(--success);
    font-size: 20px;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 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='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M15 3C10 8 7 15 9 21c1 3 4 5 6 6l0 4 0-4c2-1 5-3 6-6C23 15 20 8 15 3z'/%3E%3Cline x1='15' y1='21' x2='15' y2='28' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'/%3E%3Cpath d='M46 33c-3 4-5 9-4 13c1 2 3 4 4 4l0 3 0-3c2 0 4-2 4-4C52 42 49 37 46 33z'/%3E%3Cline x1='46' y1='42' x2='46' y2='47' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}

.image-placeholder i {
    font-size: 100px;
    opacity: 0.9;
}

.image-placeholder span {
    font-size: 20px;
    font-weight: 600;
}

/* ===================================
   Locations Section
   =================================== */
.locations-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-100), var(--white));
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.location-card {
    background: var(--white);
    padding: 30px 18px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    display: block;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    /* Fit all 7 location cards in a single row on desktop */
    flex: 0 0 calc((100% - 6 * 24px) / 7);
    max-width: calc((100% - 6 * 24px) / 7);
}

.location-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.location-card:hover::after {
    opacity: 1;
}

.location-card:hover .location-icon,
.location-card:hover h3,
.location-card:hover p {
    position: relative;
    z-index: 1;
}

.location-card:hover .location-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.location-card:hover h3,
.location-card:hover p {
    color: var(--white);
}

.location-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: var(--transition-normal);
}

.location-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    transition: var(--transition-normal);
}

.location-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    transition: var(--transition-normal);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: var(--gray-100);
    padding: 44px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-family: var(--font-heading);
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 17px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-500);
}

.testimonials-cta {
    text-align: center;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto 50px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition-fast);
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--gray-600);
    line-height: 1.9;
}

.faq-cta {
    text-align: center;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,107,74,0.2) 0%, transparent 60%);
    animation: floatBg 20s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.6fr 1fr 1.4fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 70px;
    width: auto;
    max-width: none;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    filter: none;
    mix-blend-mode: normal;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo .logo-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
}

.footer-logo .accent {
    color: var(--accent);
}

.footer-about p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    transition: var(--transition-fast);
    font-size: 14px;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Multi-column lists for Moving and Locations */
.footer-col.footer-moving ul {
    columns: 2;
    column-gap: 20px;
}

.footer-col.footer-moving ul li {
    break-inside: avoid;
}

.footer-col.footer-locations ul {
    columns: 2;
    column-gap: 20px;
}

.footer-col.footer-locations ul li {
    break-inside: avoid;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--gray-400);
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* Combined Resources & Company column */
.footer-col .footer-subsection {
    margin-bottom: 20px;
}

.footer-col .footer-subsection:last-child {
    margin-bottom: 0;
}

.footer-col .footer-subsection h5 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact bar below the grid */
.footer-contact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.footer-contact-bar a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-contact-bar a:hover {
    color: var(--accent);
}

.footer-contact-bar span,
.footer-contact-bar a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-bar i {
    color: var(--accent);
    font-size: 14px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-credentials span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
}

.footer-credentials i {
    color: var(--accent);
}

.footer-bottom > p {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-500);
}

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

/* ===================================
   Page Specific Styles
   =================================== */
.page-hero {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Animated floating leaves */
.hero-leaf {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

.hero-leaf svg {
    width: 100%;
    height: 100%;
}

@keyframes leafFloat1 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
    10%  { opacity: 0.45; }
    50%  { opacity: 0.35; }
    90%  { opacity: 0.2; }
    100% { transform: translate(180px, -120px) rotate(200deg) scale(0.6); opacity: 0; }
}

@keyframes leafFloat2 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
    10%  { opacity: 0.4; }
    50%  { opacity: 0.3; }
    90%  { opacity: 0.15; }
    100% { transform: translate(-160px, -100px) rotate(-180deg) scale(0.5); opacity: 0; }
}

@keyframes leafFloat3 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
    10%  { opacity: 0.5; }
    50%  { opacity: 0.35; }
    90%  { opacity: 0.18; }
    100% { transform: translate(120px, 90px) rotate(240deg) scale(0.4); opacity: 0; }
}

@keyframes leafFloat4 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
    10%  { opacity: 0.35; }
    50%  { opacity: 0.45; }
    90%  { opacity: 0.15; }
    100% { transform: translate(-200px, 60px) rotate(-220deg) scale(0.7); opacity: 0; }
}

@keyframes leafDrift {
    0%   { transform: translateX(-80px) translateY(30px) rotate(-40deg); opacity: 0; }
    15%  { opacity: 0.45; }
    50%  { transform: translateX(50px) translateY(-20px) rotate(30deg); opacity: 0.35; }
    85%  { opacity: 0.2; }
    100% { transform: translateX(150px) translateY(-70px) rotate(80deg); opacity: 0; }
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

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

.page-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ===================================
   Google Places Autocomplete
   =================================== */
.pac-container {
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    margin-top: 8px;
    z-index: 10000;
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.pac-item {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--gray-700);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 14px;
}

.pac-item:hover,
.pac-item-selected {
    background: var(--primary-lighter);
}

.pac-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
    background-image: none !important;
}

.pac-icon::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 16px;
}

.pac-item-query {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.pac-matched {
    font-weight: 700;
    color: var(--accent);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1200px) {
    .location-card {
        flex: 0 0 calc((100% - 2 * 24px) / 3);
        max-width: calc((100% - 2 * 24px) / 3);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-contact-bar {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .flat-fee-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .top-bar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .top-bar-left,
    .top-bar-center,
    .top-bar-right {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
    
    .top-bar-center {
        order: -1;
    }
    
    .top-bar-social {
        justify-content: center;
    }
    
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 70px;
        max-width: 220px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: clamp(28px, 6vw, 42px);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        margin-top: 30px;
    }
    
    .hero-cta .btn {
        font-size: 16px;
        padding: 16px 35px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .service-content p {
        text-align: center;
    }
    
    .included-services {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-bottom: 24px;
    }

    /* About — full width */
    .footer-col.footer-about {
        grid-column: 1 / -1;
    }

    /* Moving — full width */
    .footer-col.footer-moving {
        grid-column: 1 / -1;
    }

    /* Services (3rd) + NYC Locations (4th) — side by side automatically */

    /* NYC Locations — single column list on mobile half-width */
    .footer-col.footer-locations ul {
        columns: 1;
    }

    /* Resources+Company (last col) — full width, subsections side by side */
    .footer-grid > .footer-col:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }

    .footer-grid > .footer-col:last-child .footer-subsection {
        margin-bottom: 0;
    }

    .footer-col h4,
    .footer-col .footer-subsection h5 {
        margin-bottom: 10px;
        letter-spacing: 0.8px;
    }

    .footer-col ul li {
        margin-bottom: 5px;
    }

    .footer-col .footer-subsection {
        margin-bottom: 14px;
    }

    .footer-col.footer-moving ul {
        column-gap: 14px;
    }

    .footer-contact-bar {
        gap: 8px;
        padding: 14px 0;
        align-items: flex-start;
    }

    .footer-contact-bar span,
    .footer-contact-bar a {
        width: 100%;
        justify-content: flex-start;
        font-size: 12px;
        line-height: 1.35;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 14px 0;
        gap: 10px;
    }
    
    .footer-credentials {
        justify-content: center;
        gap: 12px;
    }

    .footer-links {
        gap: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   Mobile Menu
   =================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: var(--dark);
    z-index: 9999;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: var(--transition-normal);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile menu header with logo and close button */
.mobile-menu-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.mobile-menu-header .logo-img {
    height: 50px;
    width: auto;
    max-width: none;
    mix-blend-mode: multiply;
    filter: brightness(1.12) contrast(1.05);
}

.mobile-menu-header .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.mobile-menu-header .logo-text {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.mobile-menu-header .logo-text .accent {
    color: var(--accent);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: var(--gray-100);
}

/* Mobile menu content wrapper */
.mobile-menu-content {
    padding: 20px 24px 30px;
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
}

.mobile-menu .nav-menu {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.mobile-menu .nav-link {
    color: var(--white);
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu .nav-link:hover {
    color: var(--accent);
}

.mobile-menu .nav-link i.fa-chevron-down {
    font-size: 14px;
    transition: transform 0.3s;
}

.mobile-menu .nav-item.open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-menu .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: none !important;
    min-width: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
    list-style: none;
    grid-template-columns: 1fr !important;
}

.mobile-menu .nav-item.open > .dropdown-menu {
    display: block !important;
    grid-template-columns: 1fr !important;
}

.mobile-menu .dropdown-menu li a {
    color: rgba(255,255,255,0.7);
    padding: 14px 0;
    display: block;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    transition: color 0.2s;
}

.mobile-menu .dropdown-menu li a:hover {
    color: var(--white);
}

.mobile-menu .dropdown-menu li a::before {
    display: none;
}

.mobile-menu .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
    padding-bottom: 20px;
}

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

.mobile-menu .btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.mobile-menu .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.mobile-menu .btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.mobile-menu .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* ===================================
   Scroll Reveal Animation Classes
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Quantity input centering and number input arrows removal */
input[type="number"] {
    text-align: center !important;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===================================
   Room Tabs - Original Style
   =================================== */
.room-tabs {
    background: #fff !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    border-radius: 0 0 8px 8px !important;
    overflow: hidden !important;
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
}

.room-tab {
    padding: 10px 14px !important;
    background: #e8e8e8 !important;
    border: none !important;
    border-radius: 4px !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.room-tab:hover {
    background: #d0d0d0 !important;
}

.room-tab.active {
    background: #1B5E20 !important;
    color: #fff !important;
}

/* ===================================
   Calculator Summary Cards
   =================================== */
.calculator-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
    align-items: center;
}

.summary-card {
    background: #ffffff;
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
    padding: 24px 28px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.summary-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(64, 145, 108, 0.1);
    transform: translateY(-2px);
}

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

.summary-card-volume {
    border-color: rgba(59, 130, 246, 0.3);
}

.summary-card-volume:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.summary-card-volume::before {
    background: #3b82f6;
}

.summary-card-weight {
    border-color: rgba(34, 197, 94, 0.3);
}

.summary-card-weight:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.summary-card-weight::before {
    background: #22c55e;
}

.summary-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: block;
}

.summary-card-volume .summary-label {
    color: #3b82f6;
}

.summary-card-weight .summary-label {
    color: #22c55e;
}

.summary-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    line-height: 1.2;
}

.summary-value span:first-child {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.summary-unit {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.summary-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .calculator-summary {
        grid-template-columns: 1fr;
    }
    
    .summary-actions {
        justify-content: center;
        width: 100%;
    }
    
    .summary-actions .btn {
        flex: 1;
        min-width: auto;
    }
}

/* ===================================
   Moving Calculator Page Styles
   =================================== */

/* Custom Date Picker */
.date-picker-wrapper {
    position: relative;
}
.date-picker-input {
    width: 100%;
    padding: 14px 16px;
    padding-right: 45px;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--gray-700, #374151);
    background: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.date-picker-input:focus {
    outline: none;
    border-color: var(--accent, #4CAF50);
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.1);
}
.date-picker-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500, #6b7280);
    pointer-events: none;
}
.date-picker-calendar {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    min-width: 300px;
}
.date-picker-calendar.active {
    display: block;
}
.calendar-header {
    background: var(--primary, #1B5E20);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.calendar-header-title {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    gap: 10px;
}
.calendar-nav {
    display: flex;
    gap: 5px;
}
.calendar-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.calendar-nav-btn:hover {
    background: rgba(255,255,255,0.2);
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 12px 15px 8px;
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
}
.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500, #6b7280);
    text-transform: uppercase;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 15px 15px;
    gap: 2px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-700, #374151);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--gray-100, #f3f4f6);
}
.calendar-day.other-month {
    color: var(--gray-400, #9ca3af);
}
.calendar-day.today {
    border-color: var(--accent, #4CAF50);
    font-weight: 600;
}
.calendar-day.selected {
    background: var(--accent, #4CAF50);
    color: white;
    border-color: var(--accent, #4CAF50);
}
.calendar-day.disabled {
    color: var(--gray-300, #d1d5db);
    cursor: not-allowed;
}

/* Generic .input class */
.input {
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}
.input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.1);
}
.input::placeholder {
    color: #94a3b8;
}

/* Required asterisk */
.required {
    color: #ef4444;
}

/* Calculator Form Labels & Inputs */
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.form-input,
.calculator-form input[type="text"],
.calculator-form input[type="tel"],
.calculator-form input[type="email"],
.calculator-form select,
.calculator-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.form-input:focus,
.calculator-form input:focus,
.calculator-form select:focus,
.calculator-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.1);
}
.form-input::placeholder {
    color: #94a3b8;
}
.calculator-form select {
    appearance: auto;
    cursor: pointer;
}
.calculator-form textarea {
    resize: vertical;
    min-height: 60px;
}
.calculator-form h2 {
    font-size: 20px !important;
    margin-bottom: 18px !important;
    color: #1B5E20 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

/* Validation error messages */
.field-error {
    display: none;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: 500;
}
.field-error.visible {
    display: block;
}
.form-input.input-error,
.date-picker-input.input-error {
    border-color: #ef4444 !important;
}

/* Submit success / error banner */
.submit-banner {
    display: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}
.submit-banner.success {
    display: block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.submit-banner.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ── Success Modal Popup ─────────────────────────── */
.success-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.success-modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}
.success-modal {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px 36px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.success-modal-icon {
    margin-bottom: 20px;
}
.success-modal-icon svg {
    display: inline-block;
}
.success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: successCircleDraw 0.6s 0.2s ease forwards;
}
.success-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: successCheckDraw 0.4s 0.7s ease forwards;
}
.success-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 12px;
}
.success-modal-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
}
.success-modal-btn {
    min-width: 180px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
}

/* Check list with green icons (for location lists, etc.) */
.check-list {
    list-style: none;
    padding-left: 0;
}
.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
}
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15em;
    color: #16a34a;
    font-size: 15px;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes successCircleDraw {
    to { stroke-dashoffset: 0; }
}
@keyframes successCheckDraw {
    to { stroke-dashoffset: 0; }
}

/* Calculator page layout classes */
.calc-note-box {
    background: #f4f7fb;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(15, 35, 52, 0.06);
    border: 1px solid rgba(15,35,52,0.03);
}
.calc-note-box h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 12px;
    color: #16335b;
    padding-bottom: 0;
    border-bottom: none;
}
.calc-note-box p {
    font-size: 15px;
    line-height: 1.9;
    color: #44536a;
    margin: 0 0 14px;
}
.calc-note-box p:last-child {
    margin-bottom: 0;
}

.calc-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.calc-form-card {
    padding: 28px 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15,35,52,0.06);
    border: 1px solid rgba(148,163,184,0.25);
}

.calc-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-bottom: 16px;
}

.calc-grid-2-full {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

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

/* Summary bar */
.calc-summary-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    padding: 30px;
    background: #f4f7fb;
    border-radius: 16px;
    border: 1px solid rgba(15,35,52,0.06);
}

.calc-summary-card-volume {
    background: #fff;
    border: 2px dashed rgba(59,130,246,0.3);
    border-radius: 16px;
    padding: 24px 28px;
    text-align: center;
}
.calc-summary-card-volume:hover {
    border-color: #3b82f6;
}

.calc-summary-card-weight {
    background: #fff;
    border: 2px dashed rgba(34,197,94,0.3);
    border-radius: 16px;
    padding: 24px 28px;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.calc-summary-card-weight:hover {
    border-color: #22c55e;
}
.calc-summary-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.calc-summary-label-blue {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #3b82f6;
}
.calc-summary-label-green {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #22c55e;
}
.calc-summary-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
}
.calc-summary-number {
    font-size: 42px;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1;
    font-family: 'Playfair Display', Georgia, serif;
}
.calc-summary-unit {
    font-size: 18px;
    font-weight: 600;
    color: #1B5E20;
}

/* Actions row */
.calc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 28px;
}
.calc-btn-reset {
    min-width: 120px;
    padding: 12px 24px;
    border: 2px solid #1B5E20;
    border-radius: 8px;
    background: #fff;
    color: #1B5E20;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    flex: 0 0 auto;
}
.calc-btn-reset:hover {
    background: #1B5E20;
    color: #fff;
}

/* Room tabs + items layout */
.calc-rooms-header {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}
.calc-rooms-header-cell {
    background: #1B5E20;
    padding: 14px 20px;
}
.calc-rooms-header-cell + .calc-rooms-header-cell {
    border-left: 1px solid rgba(255,255,255,0.12);
}
.calc-rooms-header-title {
    color: #ff6b35;
    font-size: 16px;
    font-weight: 700;
}

.calc-rooms-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0;
    align-items: flex-start;
}

.calc-rooms-sidebar {
    background: #fff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-top: none;
    border-radius: 0 0 0 8px;
    overflow: hidden;
}

.calc-rooms-content {
    border: 1px solid var(--gray-200, #e2e8f0);
    border-top: none;
    border-left: none;
    border-radius: 0 0 8px 0;
    overflow: hidden;
    background: #fff;
}

.calc-bottom-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .calc-forms-grid {
        grid-template-columns: 1fr;
    }
    .calc-summary-bar {
        flex-direction: column;
    }
    .calc-rooms-header,
    .calc-rooms-body {
        grid-template-columns: 1fr;
    }
    .calc-rooms-sidebar {
        border-radius: 0;
    }
    .calc-rooms-content {
        border-left: 1px solid var(--gray-200, #e2e8f0);
        border-radius: 0 0 8px 8px;
    }

    /* ===================================
       Calculator Item Rows - Mobile Fix
       Override inline JS grid columns
       =================================== */
    .item-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
        padding: 12px 14px !important;
        align-items: center !important;
    }
    .item-row > div:first-child {
        width: 100%;
        flex-basis: 100%;
        font-weight: 600;
        font-size: 15px !important;
        margin-bottom: 0;
    }
    .item-row > div:nth-child(3),
    .item-row > div:nth-child(4) {
        font-size: 12px !important;
        flex: 1;
    }

    /* Calculator items header - hide on mobile (labels don't fit) */
    .calc-rooms-content > .room-view-content > div:first-child:not(.item-row) {
        display: none !important;
    }

    /* ===================================
       Page Content 2fr/1fr Grid - Mobile Fix
       Stacks sidebar below main content
       =================================== */
    .page-content .container > div[style*="grid-template-columns: 2fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .page-content .container > div[style*="grid-template-columns: 2fr 1fr"] > div:last-child {
        position: static !important;
        order: -1;
    }

    /* Apartment moves welcome-grid fix */
    .page-content .welcome-grid[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .page-content .welcome-grid[style*="grid-template-columns: 2fr 1fr"] > div:last-child {
        position: static !important;
        order: -1;
    }

    /* ===================================
       Mobile Menu Improvements
       =================================== */
    .mobile-menu-header {
        padding: 14px 16px;
    }
    .mobile-menu-header .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .mobile-menu-header .logo-text {
        font-size: 16px;
    }
    .mobile-menu-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .mobile-menu-content {
        padding: 16px 20px 24px;
    }
    .mobile-menu .nav-link {
        font-size: 17px;
        padding: 16px 0;
    }
    .mobile-menu .dropdown-menu li a {
        font-size: 15px;
        padding: 12px 0;
    }
    .mobile-menu .nav-buttons {
        margin-top: 28px;
        gap: 12px;
        padding-bottom: 16px;
    }
    .mobile-menu .nav-buttons .btn {
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* ===================================
   Sticky sidebar on medium screens
   =================================== */
@media (max-width: 1024px) {
    .page-content .container > div[style*="grid-template-columns: 2fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .page-content .container > div[style*="grid-template-columns: 2fr 1fr"] > div:last-child {
        position: static !important;
    }
    .page-content .welcome-grid[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .page-content .welcome-grid[style*="grid-template-columns: 2fr 1fr"] > div:last-child {
        position: static !important;
    }
}

