/* ============================================
   WINDOW FITTING - Premium Glass-Morphism Design
   Layout: Glass-morphism, floating cards, asymmetric
   ============================================ */

:root {
    --wf-bg: #0f0f12;
    --wf-bg-secondary: #16161b;
    --wf-bg-card: rgba(30, 30, 40, 0.6);
    --wf-glass: rgba(255, 255, 255, 0.05);
    --wf-glass-border: rgba(255, 255, 255, 0.1);
    --wf-primary: #60a5fa;
    --wf-primary-light: #93c5fd;
    --wf-secondary: #818cf8;
    --wf-accent: #f472b6;
    --wf-success: #34d399;
    --wf-text: #ffffff;
    --wf-text-secondary: #a1a1aa;
    --wf-text-muted: #71717a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--wf-bg);
    color: var(--wf-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--wf-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--wf-glass-border);
    border-radius: 20px;
}

/* ===== HEADER ===== */
.wf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.wf-header.scrolled {
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--wf-glass-border);
    padding: 16px 0;
}

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

.wf-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wf-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wf-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

.wf-nav {
    display: flex;
    gap: 32px;
}

.wf-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--wf-text-secondary);
    transition: color 0.2s;
}

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

.wf-phone {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--wf-primary);
}

.wf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.3);
}

/* ===== HERO - GLASS MORPHISM ===== */
.wf-hero {
    min-height: 102vh;
    display: flex;
    align-items: center;
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}

.wf-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(129, 140, 248, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 50% 80%, rgba(244, 114, 182, 0.08) 0%, transparent 50%);
}

.wf-hero-floating {
    position: absolute;
    font-size: 48px;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.wf-hero-floating:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.wf-hero-floating:nth-child(2) { top: 25%; right: 15%; animation-delay: 1s; }
.wf-hero-floating:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 2s; }
.wf-hero-floating:nth-child(4) { bottom: 30%; right: 25%; animation-delay: 0.5s; }

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

.wf-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.wf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--wf-glass);
    border: 1px solid var(--wf-glass-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wf-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.wf-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.wf-hero-title span {
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf-hero-subtitle {
    font-size: 18px;
    color: var(--wf-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.wf-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wf-btn-primary {
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    color: white;
}

.wf-btn-outline {
    background: transparent;
    border: 1px solid var(--wf-glass-border);
    color: var(--wf-text);
}

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

.wf-hero-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--wf-glass-border);
}

.wf-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wf-text-secondary);
}

.wf-trust-item svg { color: var(--wf-success); }

/* ===== FLOATING CARDS ===== */
.wf-hero-visual {
    position: relative;
    height: 500px;
}

.wf-float-card {
    position: absolute;
    padding: 24px;
    background: var(--wf-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--wf-glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.wf-float-card:hover { transform: scale(1.05); }

.wf-float-card-1 {
    top: 0;
    left: 0;
    width: 280px;
}

.wf-float-card-2 {
    top: 80px;
    right: 0;
    width: 260px;
}

.wf-float-card-3 {
    bottom: 0;
    left: 40px;
    width: 300px;
}

.wf-float-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.wf-float-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}

.wf-float-card p {
    font-size: 14px;
    color: var(--wf-text-secondary);
}

/* ===== SECTION STYLES ===== */
.wf-section {
    padding: 100px 0;
}

.wf-section-alt {
    background: var(--wf-bg-secondary);
}

.wf-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.wf-section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--wf-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.wf-section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.wf-section-desc {
    font-size: 16px;
    color: var(--wf-text-secondary);
}

/* ===== SERVICES ===== */
.wf-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wf-service-card {
    padding: 32px;
    background: var(--wf-glass);
    border: 1px solid var(--wf-glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.wf-service-card:hover {
    border-color: var(--wf-primary);
    transform: translateY(-4px);
}

.wf-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(129, 140, 248, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.wf-service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.wf-service-card p {
    font-size: 14px;
    color: var(--wf-text-secondary);
    line-height: 1.6;
}

/* ===== PROCESS TIMELINE ===== */
.wf-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.wf-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--wf-primary), var(--wf-secondary), var(--wf-accent));
    opacity: 0.3;
}

.wf-timeline-step {
    text-align: center;
    position: relative;
}

.wf-timeline-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--wf-bg);
    border: 2px solid var(--wf-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--wf-primary);
    position: relative;
    z-index: 1;
}

.wf-timeline-step h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}

.wf-timeline-step p {
    font-size: 14px;
    color: var(--wf-text-secondary);
}

/* ===== GALLERY ===== */
.wf-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wf-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--wf-bg-card);
}

.wf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.wf-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 18, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.wf-gallery-item:hover .wf-gallery-overlay {
    opacity: 1;
}

.wf-gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 16px;
}

/* ===== STATS ===== */
.wf-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(129, 140, 248, 0.1));
    border-radius: 24px;
    border: 1px solid var(--wf-glass-border);
}

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

.wf-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--wf-primary);
    margin-bottom: 8px;
}

.wf-stat-label {
    font-size: 14px;
    color: var(--wf-text-secondary);
}

/* ===== TESTIMONIALS ===== */
.wf-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wf-testimonial {
    padding: 32px;
    background: var(--wf-glass);
    border: 1px solid var(--wf-glass-border);
    border-radius: 20px;
}

.wf-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.wf-testimonial-quote {
    font-size: 15px;
    color: var(--wf-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
}

.wf-testimonial-quote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--wf-primary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -8px;
}

.wf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wf-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--wf-primary), var(--wf-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.wf-testimonial-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.wf-testimonial-info span {
    font-size: 13px;
    color: var(--wf-text-muted);
}

/* ===== FAQ ===== */
.wf-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.wf-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--wf-text);
    transition: color 0.2s;
}

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

.wf-faq-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--wf-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--wf-primary);
    transition: all 0.3s;
    flex-shrink: 0;
}

.wf-faq-item.active .wf-faq-icon {
    background: var(--wf-primary);
    color: white;
    transform: rotate(45deg);
}

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

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

.wf-faq-answer-inner {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--wf-text-secondary);
    line-height: 1.7;
}

/* ===== CTA ===== */
.wf-cta {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(96, 165, 250, 0.15) 0%, transparent 60%);
    text-align: center;
}

.wf-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.wf-cta-desc {
    font-size: 18px;
    color: var(--wf-text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.wf-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.wf-cta-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.wf-cta-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--wf-text-secondary);
}

.wf-cta-trust-item svg { color: var(--wf-success); }

/* ===== FOOTER ===== */
.wf-footer {
    padding: 60px 0 40px;
    background: var(--wf-bg-secondary);
    border-top: 1px solid var(--wf-glass-border);
}

.wf-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.wf-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wf-footer-text {
    font-size: 14px;
    color: var(--wf-text-secondary);
}

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

.wf-footer-links a {
    font-size: 14px;
    color: var(--wf-text-secondary);
    transition: color 0.2s;
}

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

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wf-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wf-hero-visual { display: none; }
    
    .wf-hero-subtitle { margin-left: auto; margin-right: auto; }
    
    .wf-hero-actions { justify-content: center; }
    
    .wf-hero-trust { justify-content: center; }
    
    .wf-services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .wf-timeline { grid-template-columns: repeat(2, 1fr); }
    
    .wf-gallery { grid-template-columns: repeat(2, 1fr); }
    
    .wf-stats { grid-template-columns: repeat(2, 1fr); }
    
    .wf-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .wf-nav { display: none; }
    
    .wf-services-grid,
    .wf-timeline,
    .wf-gallery,
    .wf-stats { grid-template-columns: 1fr; }
    
    .wf-hero-trust { flex-direction: column; align-items: center; }
}

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

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