        :root {
            --bg-white: #FFFFFF;
            --bg-black: #000000;
            --accent: #AC1754;
            --text-white: #FFFFFF;
            --text-black: #000000;
            --font-main: 'Bitter', serif;
            --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
            --transition-fast: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: var(--font-main); 
            background-color: var(--bg-white); 
            color: var(--text-black);
            overflow-x: hidden;
            line-height: 1.5;
        }

        /* --- HEADER --- */
        header {
            position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
            background: var(--bg-black); color: var(--text-white);
            padding: 30px 60px; display: flex; align-items: center;
            justify-content: space-between; transition: var(--transition-fast);
        }
        header.scrolled { padding: 15px 60px; background: rgba(0,0,0,0.95); }

        .logo { font-size: 1.5rem; font-weight: 300; letter-spacing: -1px; cursor: pointer; text-transform: uppercase; }
        
        nav { display: flex; align-items: center; gap: 40px; }
        nav a { 
            color: var(--text-white); text-decoration: none; font-size: 0.95rem; 
            text-transform: uppercase; letter-spacing: 1px; position: relative; cursor: pointer;
        }
        nav a::after {
            content: ''; position: absolute; bottom: -5px; left: 50%; width: 0;
            height: 1px; background: var(--text-white); transition: var(--transition-fast);
            transform: translateX(-50%);
        }
        nav a:hover::after { width: 100%; }

        .btn-consult {
            border: 1px solid var(--text-white); padding: 12px 25px;
            font-size: 0.85rem; transition: var(--transition-fast); cursor: pointer;
        }
        .btn-consult:hover { background: var(--text-white); color: var(--text-black); }

        /* --- PAGES --- */
        .page { display: none; min-height: 100vh; animation: reveal 1.2s cubic-bezier(0.19, 1, 0.22, 1); }
        .page.active { display: block; }
        @keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

        /* --- HERO --- */
        .hero {
            height: 100vh; width: 100%; position: relative; overflow: hidden;
            display: flex; flex-direction: column; justify-content: space-between;
            background: #111;
        }
        .hero-bg {
            position: absolute; inset: 0; 
            background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2)),
                        url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2000') center/cover no-repeat;
            animation: zoomBg 20s infinite alternate; z-index: 1;
        }
        @keyframes zoomBg { from { transform: scale(1); } to { transform: scale(1.1); } }

        .hero-content { position: relative; z-index: 2; padding: 180px 80px; color: var(--text-white); }
        .hero-content h1 { 
            font-size: clamp(4rem, 10vw, 8rem); line-height: 0.9; font-weight: 300; 
            text-transform: uppercase; max-width: 900px; margin-bottom: 20px;
        }
        .hero-content p { font-size: 1.8rem; font-style: italic; opacity: 0.9; font-weight: 300; }

        .hero-circle-btn {
            position: absolute; bottom: 80px; right: -40px; width: 220px; height: 220px;
            background: var(--bg-white); border-radius: 50%; display: flex;
            align-items: center; justify-content: center; cursor: pointer;
            color: var(--text-black); text-transform: uppercase; font-weight: 400;
            letter-spacing: 2px; transition: var(--transition-slow); z-index: 10;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        }
        .hero-circle-btn:hover { background: var(--accent); color: var(--text-white); transform: scale(1.1) translateX(-20px); }

        /* --- SECTION HEADINGS --- */
        .section-tag { color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-weight: 300; margin-bottom: 20px; display: block; }
        .huge-title { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; font-weight: 300; margin-bottom: 50px; }

        /* --- PORTFOLIO GRID --- */
        .portfolio-preview { padding: 120px 80px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
        .masonry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        .masonry-item { position: relative; overflow: hidden; cursor: pointer; }
        .masonry-item img { 
            width: 100%; height: auto; object-fit: cover; transition: var(--transition-slow); 
            filter: grayscale(100%);
        }
        .masonry-item:nth-child(even) { margin-top: 60px; }
        .masonry-item:hover img { transform: scale(1.05); filter: grayscale(0%); }
        .masonry-overlay {
            position: absolute; inset: 0; background: rgba(172, 23, 84, 0.8);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: var(--transition-fast); color: white; text-align: center; padding: 20px;
        }
        .masonry-item:hover .masonry-overlay { opacity: 1; }

        /* --- ACCENT SECTION --- */
        .accent-break { background: var(--accent); color: var(--text-white); padding: 150px 80px; text-align: center; }
        .accent-break h2 { font-size: 5rem; font-weight: 300; line-height: 1; max-width: 1000px; margin: 0 auto 50px; }
        .btn-outline {
            display: inline-block; padding: 20px 50px; border: 1px solid var(--text-white);
            color: var(--text-white); text-decoration: none; text-transform: uppercase;
            letter-spacing: 2px; transition: var(--transition-fast); cursor: pointer;
        }
        .btn-outline:hover { background: var(--bg-white); color: var(--accent); }

        /* --- SERVICES TIMELINE --- */
        .services-timeline { padding: 120px 80px; }
        .timeline-item { 
            display: grid; grid-template-columns: 150px 1fr; padding: 60px 0;
            border-bottom: 1px solid #eee; transition: var(--transition-fast);
        }
        .timeline-item:hover { padding-left: 20px; border-bottom-color: var(--accent); }
        .timeline-num { font-size: 3rem; font-weight: 200; color: #ddd; transition: var(--transition-fast); }
        .timeline-item:hover .timeline-num { color: var(--accent); font-weight: 500; }
        .timeline-content h3 { font-size: 2.5rem; margin-bottom: 15px; }
        .timeline-content p { font-size: 1.2rem; color: #666; max-width: 800px; }

        /* --- ABOUT --- */
        .about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
        .about-img { background: url('https://images.unsplash.com/photo-1600585154340-be6199f7bc42?q=80&w=1200') center/cover; }
        .about-text { padding: 120px 80px; display: flex; flex-direction: column; justify-content: center; }
        .signature { font-family: 'Bitter'; font-style: italic; font-size: 2rem; margin-top: 40px; color: var(--accent); }

        /* --- CONTACT --- */
        .contact-section { background: var(--accent); padding: 120px 20px; }
        .contact-card { 
            max-width: 800px; margin: 0 auto; background: var(--bg-white); padding: 80px;
            box-shadow: 0 40px 100px rgba(0,0,0,0.2);
        }
        .contact-card h2 { font-size: 3rem; margin-bottom: 40px; text-align: center; }
        .form-group { margin-bottom: 40px; position: relative; }
        .form-group input, .form-group textarea {
            width: 100%; padding: 15px 0; border: none; border-bottom: 2px solid #eee;
            font-family: var(--font-main); font-size: 1.2rem; outline: none; transition: 0.3s;
        }
        .form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--accent); }
        .btn-submit {
            width: 100%; background: var(--accent); color: white; border: none;
            padding: 20px; font-size: 1.1rem; text-transform: uppercase; font-weight: 300;
            letter-spacing: 2px; cursor: pointer; transition: 0.3s;
        }
        .btn-submit:hover { background: var(--bg-black); }

        /* --- MODAL --- */
        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000;
            display: none; align-items: center; justify-content: center; padding: 40px;
        }
        .modal.active { display: flex; }
        .modal-content { background: var(--bg-white); width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1.2fr 1fr; position: relative; }
        .modal-close { position: absolute; top: -50px; right: 0; color: white; cursor: pointer; display: flex; align-items: center; gap: 10px; }
        .modal-img { height: 70vh; background-size: cover; background-position: center; }
        .modal-info { padding: 60px; display: flex; flex-direction: column; justify-content: center; }

        /* --- FOOTER --- */
        footer { background: var(--bg-black); color: var(--text-white); padding: 100px 80px 40px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
        .footer-col h4 { font-size: 1.2rem; margin-bottom: 30px; text-transform: uppercase; color: var(--accent); }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 15px; }
        .footer-col a { color: #888; text-decoration: none; transition: 0.3s; }
        .footer-col a:hover { color: var(--text-white); padding-left: 10px; }

        /* --- AUTH --- */
        .auth-container { 
            max-width: 500px; margin: 200px auto; padding: 60px; border: 1px solid #eee;
            text-align: center;
        }

        /* --- FILTERS --- */
        .filter-bar { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
        .filter-btn { 
            padding: 10px 25px; border: 1px solid #ddd; background: none; 
            cursor: pointer; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px;
            transition: 0.3s;
        }
        .filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

        @media (max-width: 1024px) {
            header { padding: 20px; }
            nav { display: none; }
            .portfolio-preview, .about-split, .footer-grid, .modal-content { grid-template-columns: 1fr; }
            .hero-content { padding: 120px 20px; }
            .hero-circle-btn { width: 150px; height: 150px; right: 20px; bottom: 40px; }
            .timeline-item { grid-template-columns: 1fr; gap: 20px; }
            .huge-title { font-size: 3rem; }
        }

        /* MODAL BACKDROP */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 5000;
}

/* ACTIVE */
.modal.active {
    opacity: 1;
    pointer-events: all;
}

/* CONTENT */
.modal-content {
    background: #111;
    color: white;
    padding: 60px;
    max-width: 700px;
    width: 90%;
    position: relative;
    animation: fadeUp 0.4s ease;
}

.modal-content h2 {
    margin-bottom: 20px;
}

.modal-content p {
    color: #bbb;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 1.8rem;
    cursor: pointer;
}

@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.subscription-wrapper {
    margin-top: 30px;
    color: #fff;
    text-align: left;
}

.subscription-wrapper h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.subscription-wrapper input {
    padding: 10px;
    margin-bottom: 5px;
    width: calc(100% - 20px);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.subscription-wrapper button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: #3498db;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.subscription-wrapper button:hover {
    background: #2980b9;
}

.subscription-wrapper form {
    display: flex;
    flex-direction: column;
}
