        :root {
            --brand: #ae1a30;
            --brand-dark: #8b1526;
            --dark: #0a0a0a;
            --text-main: #1d1d1f;
            --text-secondary: #6e6e73;
            --light-bg: #f5f5f7;
            --white: #ffffff;
            --transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            background-color: var(--white);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

        /* --- TRANSICIONES DE REVELADO --- */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: var(--transition);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- NAVEGACIÓN (MODERNA APPLE-STYLE) --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 255);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: var(--transition);
            border-bottom: 1px solid transparent;
        }

        header.scrolled {
            background: rgba(255, 255, 255, 255);
            border-bottom: 1px solid #e5e5ea;
            padding: 5px 0;
        }

        .nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img { height: 75px; }

        nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
        nav ul li a {
            text-decoration: none;
            color: var(--text-main);
            font-size: 0.9rem;
            font-weight: 500;
            transition: 0.3s;
        }
        nav ul li a:hover { color: var(--brand); }

        .btn-cta-nav {
            background: var(--dark);
            color: white !important;
            padding: 10px 22px;
            border-radius: 25px;
            font-size: 0.85rem !important;
            transition: transform 0.2s;
        }
        .btn-cta-nav:hover { transform: scale(1.05); }

        /* --- HERO --- */
        .hero {
            height: 90vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                        url('http://www.despachoguirao.com/img/cropped-Austin-Real-Estate.jpg') no-repeat center center/cover;
            color: white;
            text-align: left;
        }
        .hero-text span { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
        .hero-text h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1; margin: 1rem 0 1.5rem; font-weight: 700; letter-spacing: -2px; }
        .hero-text p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.9; max-width: 650px; font-weight: 300; }

        /* --- SECCIÓN LOGOWEB22 --- */
        .brand-highlight {
            padding: 100px 0;
            background: var(--light-bg);
            text-align: center;
        }
        .brand-highlight img {
            max-width: 380px;
            height: auto;
            margin-bottom: 30px;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
        }

        /* --- FILAS DE SERVICIOS --- */
        .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 100px 0; align-items: center; }
        .feature-row.reverse { direction: rtl; }
        .feature-row.reverse .feature-text { direction: ltr; }
        .feature-image img { width: 100%; border-radius: 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.1); object-fit: cover; }
        .feature-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--dark); letter-spacing: -1px; }
        .feature-text p { margin-bottom: 2rem; color: var(--text-secondary); font-size: 1.1rem; }

        /* --- FORMULARIO --- */
        .contact-section { padding: 120px 0; background: var(--white); }
        .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
        .form-group { margin-bottom: 25px; }
        .form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
        .form-group input, .form-group textarea {
            width: 100%; padding: 16px; border: 1px solid #e5e5ea; border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--light-bg); transition: 0.3s;
        }
        .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); background: white; box-shadow: 0 0 0 4px rgba(174, 26, 48, 0.1); }
        .btn-submit {
            background: var(--dark); color: white; border: none; padding: 18px; border-radius: 12px; cursor: pointer; font-weight: 600; width: 100%; font-size: 1rem; transition: var(--transition);
        }
        .btn-submit:hover { background: var(--brand); transform: translateY(-2px); }

        /* --- FOOTER (ESTILO ORIGINAL 3 COLUMNAS) --- */
        footer {
            background: var(--dark);
            color: white;
            padding: 100px 0 50px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 80px;
            margin-bottom: 80px;
        }
        .footer-logo img { height: 75px; filter: brightness(0) invert(1); margin-bottom: 25px; }
        .footer-col h5 { margin-bottom: 25px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); }
        .footer-col p, .footer-col a { color: #a1a1a6; text-decoration: none; font-size: 0.95rem; margin-bottom: 15px; display: block; cursor: pointer; }
        .footer-col a:hover { color: white; }
        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid #333;
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: #666;
        }

        /* --- MODALES --- */
        .modal {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.9); z-index: 5000; display: none;
            padding: 40px; overflow-y: auto;
            backdrop-filter: blur(10px);
        }
        .modal-content {
            background: white; max-width: 1000px; margin: 40px auto; padding: 60px;
            border-radius: 24px; position: relative; color: var(--text-main);
        }
        .close-modal { position: absolute; top: 30px; right: 30px; cursor: pointer; font-size: 2rem; color: #ccc; transition: 0.3s; }
        .close-modal:hover { color: var(--dark); }

        .contact-info {
            background-color: #f3f4f6;
            padding: 1.25rem;
            border-radius: 8px;
            border-left: 4px solid #2563eb;
            margin-bottom: 1.5rem;
        }
        .contact-info p {
            margin: 0;
            font-weight: 500;
            color: #1f2937;
        }
        .highlight {
            font-weight: 700;
            color: #111827;
        }
        a {
            color: #2563eb;
            text-decoration: underline;
        }
        .legal-section {
            padding: 0 10px;
        }

        /* --- COOKIES AEPD --- */
        #cookie-banner {
            position: fixed; bottom: 30px; left: 30px; right: 30px;
            background: white; z-index: 6000; padding: 30px;
            border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.25);
            display: none; border: 1px solid #eee; max-width: 600px;
        }
        .cookie-options { display: none; margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; }
        .cookie-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .switch { position: relative; display: inline-block; width: 50px; height: 26px; }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e5e5ea; transition: .4s; border-radius: 34px; }
        .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
        input:checked + .slider { background-color: var(--brand); }
        input:checked + .slider:before { transform: translateX(24px); }

        
       /* --- SECCIÓN CONTACTO --- */
        .contact-section { padding: 80px 0; background: var(--white); }
        
        .contact-header { margin-bottom: 50px; }
        .contact-header h2 { font-size: 3rem; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 10px; }
        .contact-header p { color: var(--text-secondary); font-size: 1.2rem; }

        .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }

        /* --- FORMULARIO --- */
        .form-group { margin-bottom: 25px; }
        .form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
        
        .form-group input, 
        .form-group textarea {
            width: 100%; 
            padding: 16px; 
            border: 1px solid #e5e5ea; 
            border-radius: 12px; 
            font-family: inherit; 
            font-size: 1rem; 
            background: var(--light-bg); 
            transition: 0.3s;
        }

        .form-group input:focus, 
        .form-group textarea:focus { 
            outline: none; 
            border-color: var(--brand); 
            background: white; 
            box-shadow: 0 0 0 4px rgba(174, 26, 48, 0.1); 
        }

        /* Checkbox Estilo */
        .checkbox-container {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin: 20px 0 30px;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .checkbox-container input {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: var(--brand);
            margin-top: 2px;
        }

        .open-modal-link {
            color: var(--brand);
            text-decoration: underline;
            cursor: pointer;
            font-weight: 600;
        }

        /* Botón Submit */
        .btn-submit {
            background: var(--dark); 
            color: white; 
            border: none; 
            padding: 18px; 
            border-radius: 12px; 
            cursor: pointer; 
            font-weight: 600; 
            width: 100%; 
            font-size: 1rem; 
            transition: var(--transition);
        }

        .btn-submit:hover:not(:disabled) { 
            background: var(--brand); 
            transform: translateY(-2px); 
        }

        .btn-submit:disabled {
            background: #d1d1d6;
            cursor: not-allowed;
            transform: none;
        }

        /* --- MODAL (Adaptado a tu estilo) --- */
        .modal {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.8); z-index: 5000; display: none;
            padding: 20px; overflow-y: auto;
            backdrop-filter: blur(10px);
            align-items: center;
            justify-content: center;
        }


        .modal-content h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--brand);
        }

        .modal-body p {
            margin-bottom: 15px;
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-secondary);
        }

        .close-modal { 
            position: absolute; top: 20px; right: 20px; 
            cursor: pointer; font-size: 1.5rem; color: #ccc; transition: 0.3s; 
            border: none; background: none;
        }
        .close-modal:hover { color: var(--dark); }

        .btn-close-accent {
            background: var(--light-bg);
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
            float: right;
        }

        @media (max-width: 968px) {
            .footer-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
            nav ul { display: none; }
        }
