/* ========================================
   PREMIER GARAGE DOORS LA - STYLES
   Professional Production-Ready CSS
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Primary Colors */
    --primary: #15803d;
    --primary-light: #22c55e;
    --primary-dark: #14532d;
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    
    /* Secondary Colors */
    --secondary: #92400e;
    --secondary-light: #b45309;
    --secondary-dark: #78350f;
    
    /* Accent Colors */
    --accent: #b45309;
    --accent-light: #d97706;
    --accent-dark: #92400e;
    
    /* Success/Status */
    --success: #059669;
    --success-light: #10b981;
    --warning: #f59e0b;
    --error: #dc2626;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

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

.btn-success:hover {
    background: var(--success-light);
}

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

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

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

.btn-white:hover {
    background: var(--gray-100);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   EMERGENCY BAR
   ======================================== */
.emergency-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.emergency-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.emergency-text {
    opacity: 0.95;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.emergency-phone:hover {
    transform: scale(1.05);
}

.emergency-phone i {
    animation: ring 1.5s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0); }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
    color: var(--gray-500);
}

.header-rating .stars {
    color: var(--accent);
    font-size: 11px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.header-phone i {
    color: var(--secondary);
}

.header-cta {
    padding: 10px 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-header .logo {
    gap: 8px;
}

.mobile-menu-header .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.close-menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--gray-600);
}

.mobile-nav {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav a {
    padding: 15px 20px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--primary-50);
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--gray-100);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.65) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-gold {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.badge-green {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
}

.badge-blue {
    background: rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 1;
    margin-bottom: 32px;
    max-width: 600px;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.trust-logo {
    height: 24px;
    filter: brightness(0) invert(1);
}

.trust-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero Card */
.hero-card {
    background: var(--white);
    color: var(--gray-800);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-2xl);
    min-width: 220px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-card-header i {
    color: var(--primary);
}

.hero-card-value {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-card-value span {
    font-size: 36px;
    font-weight: 600;
}

.hero-card-footer {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   PROMO SECTION
   ======================================== */
.promo-section {
    padding: 40px 0;
    background: var(--gray-50);
}

.promo-banner {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    color: var(--white);
}

.promo-timer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.promo-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-label i {
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-block {
    background: rgba(255,255,255,0.1);
    padding: 10px 14px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 60px;
}

.time-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.time-label {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
}

.time-separator {
    font-size: 24px;
    font-weight: 700;
    opacity: 0.5;
}

.promo-offers {
    display: flex;
    gap: 15px;
}

.offer-card {
    background: rgba(255,255,255,0.1);
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offer-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.offer-card.highlight {
    background: var(--secondary);
    border-color: var(--secondary);
}

.offer-card.highlight:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px) scale(1.02);
}

.offer-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.offer-label {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.offer-note {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
}

.offer-btn {
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-card.highlight .offer-btn {
    background: var(--white);
    color: var(--secondary);
}

.offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

/* ========================================
   SECTION STYLES
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-icon.emergency {
    background: var(--secondary);
    color: var(--white);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 14px;
}

.service-features li i {
    color: var(--success);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.service-link.emergency-link {
    color: var(--secondary);
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content .section-tag,
.why-us-content .section-title,
.why-us-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 14px;
    color: var(--gray-600);
}

/* Stats */
.why-us-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 8px;
}

/* ========================================
   DOOR BUILDER SECTION
   ======================================== */
.door-builder-section {
    padding: 100px 0;
    background: var(--white);
}

.builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Preview Section */
.preview-section {
    position: sticky;
    top: 100px;
}

.preview-wrapper {
    background: linear-gradient(180deg, #87CEEB 0%, #98D8E8 40%, #90EE90 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.house-frame {
    max-width: 400px;
    margin: 0 auto;
}

.house-roof {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #6B4423 0%, #8B5A2B 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    margin-bottom: -10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.house-wall {
    background: linear-gradient(180deg, #F5E6D3 0%, #EDE0D0 100%);
    padding: 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.1);
}

.garage-door-frame {
    background: var(--gray-400);
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.garage-door {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    aspect-ratio: 1.29;
}

.door-panel {
    height: 25%;
    display: flex;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    position: relative;
}

.door-panel:last-of-type {
    border-bottom: none;
}

.panel-section {
    flex: 1;
    border-left: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-section:first-child {
    border-left: none;
}

/* Windows */
.window {
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, #B8D4E8 0%, #9BC4E2 50%, #C5DEF0 100%);
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
}

.window::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 30%;
    height: 30%;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

/* Window Styles */
.garage-door.window-none .window { display: none; }
.garage-door.window-rectangular .window { border-radius: 4px; }
.garage-door.window-arched .window { border-radius: 50% 50% 4px 4px; }
.garage-door.window-square .window { width: 50%; height: 50%; border-radius: 2px; }
.garage-door.window-sunburst .window { border-radius: 50% 50% 4px 4px; }
.garage-door.window-sunburst .window::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, transparent 0deg 15deg, rgba(0,0,0,0.1) 15deg 30deg);
    border-radius: 50%;
}
.garage-door.window-prairie .window { border-radius: 2px; }
.garage-door.window-prairie .window::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    bottom: 15%;
    border: 2px solid rgba(0,0,0,0.2);
}

/* Glass Types */
.garage-door.glass-frosted .window {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 50%, #FFFFFF 100%);
}
.garage-door.glass-tinted .window {
    background: linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 50%, #5a5a5a 100%);
}
.garage-door.glass-mirrored .window {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 30%, #A8A8A8 70%, #D8D8D8 100%);
}

/* Door Hardware */
.door-hardware {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.handle {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 30px;
    height: 12px;
    background: #1a1a1a;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hinges {
    position: absolute;
    right: 5%;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.hinge {
    width: 8px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hardware Styles */
.garage-door.hardware-none .handle,
.garage-door.hardware-none .hinges { display: none; }

.garage-door.hardware-classic .handle { width: 30px; height: 12px; border-radius: 3px; }
.garage-door.hardware-colonial .handle { width: 40px; height: 8px; border-radius: 0; }
.garage-door.hardware-colonial .hinge { width: 12px; height: 25px; border-radius: 0; }
.garage-door.hardware-rustic .handle { width: 50px; height: 10px; border-radius: 5px; background: #654321; }
.garage-door.hardware-rustic .hinge { width: 15px; height: 30px; border-radius: 3px; background: #654321; }
.garage-door.hardware-modern .handle { width: 60px; height: 6px; border-radius: 3px; background: #C0C0C0; }
.garage-door.hardware-modern .hinges { display: none; }

/* Hardware Finishes */
.garage-door.finish-black .handle, .garage-door.finish-black .hinge { background: #1a1a1a; }
.garage-door.finish-bronze .handle, .garage-door.finish-bronze .hinge { background: #8B4513; }
.garage-door.finish-silver .handle, .garage-door.finish-silver .hinge { background: #C0C0C0; }
.garage-door.finish-brass .handle, .garage-door.finish-brass .hinge { background: #B8860B; }

/* Door Styles */
.garage-door.style-traditional .panel-section { box-shadow: inset 0 0 15px rgba(0,0,0,0.05); }
.garage-door.style-carriage .panel-section { border: 3px solid rgba(0,0,0,0.1); margin: 2px; border-radius: 4px; }
.garage-door.style-contemporary .panel-section { border-left: none; }
.garage-door.style-contemporary .door-panel { border-bottom: 4px solid rgba(0,0,0,0.1); }
.garage-door.style-modern .panel-section { border: none; }
.garage-door.style-modern .door-panel { border-bottom: 1px solid rgba(0,0,0,0.05); }

.driveway {
    height: 30px;
    background: linear-gradient(180deg, #808080 0%, #A9A9A9 100%);
    margin-top: 10px;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Summary Card */
.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.summary-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.summary-card h3 i {
    color: var(--primary);
}

.summary-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item .label {
    font-size: 13px;
    color: var(--gray-500);
}

.summary-item .value {
    font-weight: 600;
    color: var(--gray-800);
}

.estimated-price {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-weight: 600;
}

.price-note {
    font-size: 12px;
    opacity: 0.8;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
}

.quote-note {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 12px;
}

.quote-note i {
    margin-right: 4px;
}

/* Customization Panel */
.customization-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gray-200);
    color: var(--gray-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--primary);
    color: var(--white);
}

.step.completed .step-number {
    background: var(--success);
}

.step-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Step Content */
.step-content {
    display: none;
    animation: fadeSlide 0.3s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content h2 i {
    color: var(--primary);
}

.step-description {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.option-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.option-card:hover {
    border-color: var(--gray-400);
}

.option-card.active {
    border-color: var(--primary);
    background: var(--primary-50);
}

.option-preview {
    height: 70px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.option-name {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 14px;
}

.option-desc {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Style Previews */
.style-preview {
    background: linear-gradient(180deg, #FFF 0%, #F5F5F5 100%);
    position: relative;
}

.style-preview.traditional::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, transparent 24%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.1) 26%, transparent 27%),
        linear-gradient(90deg, transparent 24%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.1) 26%, transparent 27%);
    background-size: 20px 20px;
}

.style-preview.carriage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, transparent 48%, rgba(0,0,0,0.15) 49%, rgba(0,0,0,0.15) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(0,0,0,0.15) 49%, rgba(0,0,0,0.15) 51%, transparent 52%);
    background-size: 40px 25px;
}

.style-preview.contemporary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 16px, rgba(0,0,0,0.1) 16px, rgba(0,0,0,0.1) 20px);
}

.style-preview.modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 16px, rgba(0,0,0,0.05) 16px, rgba(0,0,0,0.05) 17px);
}

/* Window Previews */
.window-preview {
    background: #DDD;
    position: relative;
}

.window-preview::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 25px;
    background: linear-gradient(135deg, #ADD8E6 0%, #87CEEB 100%);
    border: 2px solid #666;
}

.window-preview.none::after { display: none; }
.window-preview.rectangular::after { border-radius: 3px; }
.window-preview.arched::after { border-radius: 50% 50% 3px 3px; }
.window-preview.square::after { width: 22px; height: 22px; border-radius: 2px; }
.window-preview.sunburst::after { border-radius: 50% 50% 3px 3px; }
.window-preview.prairie::after { border-radius: 2px; box-shadow: inset 0 0 0 4px rgba(0,0,0,0.1); }

/* Hardware Previews */
.hardware-preview {
    background: #EEE;
    position: relative;
}

.hardware-preview::before,
.hardware-preview::after {
    content: '';
    position: absolute;
    background: #333;
}

.hardware-preview.none::before,
.hardware-preview.none::after { display: none; }

.hardware-preview.classic::before { bottom: 20%; left: 15%; width: 20px; height: 6px; border-radius: 2px; }
.hardware-preview.classic::after { top: 30%; right: 15%; width: 5px; height: 12px; border-radius: 1px; }

.hardware-preview.colonial::before { bottom: 20%; left: 15%; width: 25px; height: 5px; }
.hardware-preview.colonial::after { top: 25%; right: 15%; width: 8px; height: 16px; }

.hardware-preview.rustic::before { bottom: 20%; left: 15%; width: 28px; height: 6px; border-radius: 3px; background: #654321; }
.hardware-preview.rustic::after { top: 25%; right: 15%; width: 10px; height: 20px; border-radius: 2px; background: #654321; }

.hardware-preview.modern::before { bottom: 20%; left: 10%; width: 35px; height: 3px; border-radius: 2px; background: #C0C0C0; }
.hardware-preview.modern::after { display: none; }

/* Color Options */
.color-section {
    margin-bottom: 24px;
}

.color-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Glass Options */
.glass-options,
.hardware-finish {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.glass-options h3,
.hardware-finish h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.glass-buttons,
.finish-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.glass-btn {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    padding: 10px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.glass-btn:hover {
    border-color: var(--gray-400);
}

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

.finish-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    padding: 10px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.finish-btn:hover {
    border-color: var(--gray-400);
}

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

.finish-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
}

/* Size Selector */
.size-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.size-input {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius);
}

.size-input label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.input-group input[type="number"] {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 700;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
}

.size-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn:hover {
    background: var(--primary-dark);
}

.size-range input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: var(--gray-200);
    border-radius: 3px;
}

.size-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

/* Common Sizes */
.common-sizes h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.size-presets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preset-btn {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    padding: 14px;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    transition: var(--transition);
}

.preset-btn:hover {
    border-color: var(--gray-400);
}

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

.preset-btn span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 4px;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.brands-section .section-header {
    margin-bottom: 40px;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-item {
    background: var(--white);
    padding: 20px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-600);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
    padding: 100px 0;
    background: var(--white);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.review-stat {
    text-align: center;
}

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

.stat-rating {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
}

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

.review-platforms {
    display: flex;
    gap: 30px;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gray-600);
}

.platform i {
    font-size: 28px;
}

.platform i.fa-google { color: #4285F4; }
.platform i.fa-yelp { color: #D32323; }
.platform i.fa-thumbs-up { color: #1877F2; }

.platform span:first-of-type {
    font-weight: 700;
}

.platform-count {
    font-size: 12px;
    opacity: 0.7;
}

/* Reviews Slider */
.reviews-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    max-width: 400px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

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

.review-rating {
    color: var(--accent);
    font-size: 14px;
}

.review-text {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-500);
}

.review-service {
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Reviews Navigation */
.reviews-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.review-nav-btn {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.review-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.review-dots {
    display: flex;
    gap: 8px;
}

.review-dot {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.review-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ========================================
   AREAS SECTION
   ======================================== */
.areas-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.area-column h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.area-column h4 i {
    color: var(--primary);
}

.area-column ul li {
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 14px;
}

.areas-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-300);
}

.areas-cta p {
    margin-bottom: 20px;
    color: var(--gray-600);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

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

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

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

.faq-answer p {
    padding-bottom: 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
    margin-left: 0;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-weight: 500;
}

.about-feature i {
    color: var(--success);
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.about-card h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.about-card p {
    color: var(--gray-600);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
    margin-left: 0;
}

.contact-intro {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    gap: 24px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 16px;
}

.method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.method-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.method-content a,
.method-content span {
    display: block;
    color: var(--gray-600);
    font-size: 14px;
}

.method-content a:hover {
    color: var(--primary);
}

.method-content .highlight {
    color: var(--secondary);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 22px;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

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

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

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo i {
    color: var(--primary-light);
    font-size: 24px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 12px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

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

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary-light);
    width: 16px;
    margin-top: 4px;
}

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

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

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-legal a {
    color: var(--gray-500);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   FLOATING CTA
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.floating-phone {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse-phone 2s infinite;
}

.floating-phone:hover {
    transform: scale(1.1);
    background: var(--secondary-dark);
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

.modal-sm {
    max-width: 420px;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.modal-header h2 i {
    color: var(--primary);
}

.modal-header p {
    color: var(--gray-600);
}

/* Form in Modal */
.quote-form,
.callback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-summary {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.form-summary h4 {
    font-size: 15px;
    color: var(--gray-900);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.form-note {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 12px;
}

/* Date Options */
.date-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.date-option {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.date-option:hover {
    border-color: var(--gray-400);
}

.date-option.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.date-option .day {
    display: block;
    font-weight: 600;
    font-size: 13px;
}

.date-option .date {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* Callback Success */
.callback-success {
    text-align: center;
    padding: 20px;
}

.callback-success .success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--white);
}

.callback-success h3 {
    font-size: 22px;
    color: var(--success);
    margin-bottom: 8px;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

.success-animation .success-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: var(--white);
    animation: successBounce 0.5s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-modal h2 {
    font-size: 26px;
    color: var(--success);
    margin-bottom: 12px;
}

.success-modal p {
    color: var(--gray-600);
    margin-bottom: 28px;
}

/* ========================================
   CHAT WIDGET
   ======================================== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-box.active {
    display: flex;
    animation: chatSlide 0.3s ease;
}

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

.chat-header {
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.agent-name {
    display: block;
    font-weight: 600;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.agent-status i {
    color: #22c55e;
    font-size: 8px;
}

.chat-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
}

.chat-message.agent {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message p {
    background: var(--gray-100);
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.user p {
    background: var(--primary);
    color: var(--white);
}

.message-time {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
}

.chat-quick-replies {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--gray-200);
}

.chat-quick-replies button {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.chat-quick-replies button:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}

.chat-input {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
    
    .preview-section {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-rating {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .why-us-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-timer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .header-actions {
        display: none;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-offers {
        flex-direction: column;
    }
    
    .offer-card {
        width: 100%;
    }
    
    .size-selector {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-card {
        min-width: 280px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-badges,
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .chat-box {
        right: -60px;
        width: calc(100vw - 40px);
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 100px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .time-separator {
        display: none;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .customization-panel {
        padding: 20px;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-widget {
        bottom: 90px;
        right: 16px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .emergency-bar,
    .promo-section,
    .floating-cta,
    .chat-widget,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 24pt;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0 0 15px 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.portfolio-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.portfolio-item:hover .portfolio-content h3,
.portfolio-item:hover .portfolio-content p,
.portfolio-item:hover .portfolio-tag {
    transform: translateY(0);
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox-caption h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.lightbox-caption p {
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.lightbox-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    z-index: 10001;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: white;
    transform: rotate(90deg);
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10001;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .portfolio-item {
        aspect-ratio: 1/1;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption {
        padding: 20px;
    }
    
    .lightbox-caption h3 {
        font-size: 1.3rem;
    }
}

/* ========================================
   END PORTFOLIO SECTION
   ======================================== */

