
        :root {
            --azul: #0575E0;
            --celeste: #75D1F2;
            --hielo: #E8F1FC;
            --azul-profundo: #052F5C;
            --azul-medio: #4789C4;
            --azul-suave: #AEC4DE;
            --borde-input: #DCEAFA;
            --blanco: #FFFFFF;
        }

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

        html, body {
            font-family: 'Poppins', sans-serif;
            color: var(--azul-profundo);
            background-color: var(--blanco);
            line-height: 1.6;
        }

        /* ============== HEADER ============== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: var(--blanco);
            border-bottom: 1px solid var(--hielo);
            z-index: 1000;
            padding: 1rem 2rem;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            flex-shrink: 0;
            white-space: nowrap;
            font-weight: 600;
            font-size: 1.25rem;
        }

        .logo-vivenzia {
            color: var(--azul);
            font-weight: 600;
        }

        .logo-home {
            color: var(--celeste);
            font-weight: 300;
        }

        nav {
            display: flex;
            gap: 2rem;
            align-items: center;
            flex: 1;
            justify-content: center;
        }

        nav a {
            text-decoration: none;
            color: var(--azul-profundo);
            font-size: 0.95rem;
            white-space: nowrap;
            transition: color 0.3s ease;
        }

        nav a:hover {
            color: var(--azul);
        }

        .nav-right {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            flex-shrink: 0;
        }

        .phone {
            font-family: 'JetBrains Mono', monospace;
            color: var(--azul-profundo);
            font-size: 0.9rem;
            white-space: nowrap;
            text-decoration: none;
        }

        .btn-cta {
            background-color: var(--azul);
            color: var(--blanco);
            padding: 0.75rem 1.5rem;
            text-decoration: none;
            border: none;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
            transition: background-color 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .btn-cta:hover {
            background-color: var(--azul-medio);
        }

        /* ============== MAIN CONTENT ============== */
        main {
            margin-top: 70px;
            padding-bottom: 200px;
        }

        .page {
            border-top: 8px solid var(--azul);
            padding: 4rem 2rem;
            position: relative;
            background-color: var(--blanco);
        }

        .page::before {
            content: attr(data-page);
            position: absolute;
            top: 1rem;
            right: 2rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--azul-suave);
            font-weight: 500;
        }

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

        /* ============== TYPOGRAPHY ============== */
        .eyebrow {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            color: var(--azul-medio);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--azul-profundo);
            margin-bottom: 2rem;
            line-height: 1.2;
        }

        h2 {
            font-size: 2rem;
            font-weight: 600;
            color: var(--azul-profundo);
            margin-bottom: 1.5rem;
        }

        h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--azul-profundo);
            margin-bottom: 1rem;
        }

        p {
            font-size: 1rem;
            color: var(--azul-profundo);
            margin-bottom: 1.5rem;
        }

        .intro-text {
            font-size: 1.1rem;
            max-width: 750px;
            color: var(--azul-profundo);
            margin-bottom: 3rem;
            line-height: 1.8;
        }

        /* ============== PAGE 1: NOSOTROS ============== */
        .historia-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
            padding: 2rem;
            background-color: var(--hielo);
        }

        .historia-item {
            text-align: center;
        }

        .historia-number {
            font-family: 'JetBrains Mono', monospace;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--azul);
            margin-bottom: 0.5rem;
        }

        .historia-label {
            font-size: 0.9rem;
            color: var(--azul-profundo);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--azul-profundo);
            margin-top: 3rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--hielo);
            padding-bottom: 1rem;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .team-card {
            padding: 1.5rem;
            border: 1px solid var(--borde-input);
            text-align: center;
        }

        .team-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--blanco);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .team-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .team-card:nth-child(1) .team-avatar { background-color: var(--azul); }
        .team-card:nth-child(2) .team-avatar { background-color: var(--azul-profundo); }
        .team-card:nth-child(3) .team-avatar { background-color: var(--azul-medio); }
        .team-card:nth-child(4) .team-avatar { background-color: var(--celeste); }
        .team-card:nth-child(5) .team-avatar { background-color: var(--azul-suave); }
        .team-card:nth-child(6) .team-avatar { background-color: var(--azul); }
        .team-card:nth-child(7) .team-avatar { background-color: var(--azul-medio); }
        .team-card:nth-child(8) .team-avatar { background-color: var(--azul-profundo); }
        .team-card:nth-child(9) .team-avatar { background-color: var(--celeste); }

        .team-phone {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            color: var(--azul);
            text-decoration: none;
            margin-top: 0.25rem;
            display: block;
        }

        .team-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--azul-profundo);
        }

        .team-role {
            font-size: 0.85rem;
            color: var(--azul-medio);
            margin-bottom: 0.5rem;
        }

        .team-barrio {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: var(--azul-suave);
        }

        .oficinas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .oficina-card {
            padding: 2rem;
            border: 1px solid var(--borde-input);
            background-color: var(--hielo);
        }

        .oficina-nombre {
            font-weight: 600;
            color: var(--azul);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .oficina-info {
            font-size: 0.95rem;
            color: var(--azul-profundo);
            line-height: 1.8;
        }

        .oficina-info a {
            color: var(--azul);
            text-decoration: none;
        }

        .aval-section {
            margin-top: 2rem;
            padding: 1.5rem;
            background-color: var(--hielo);
            border-left: 4px solid var(--azul);
        }

        /* ============== PAGE 2: SERVICIOS ============== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .service-card {
            padding: 2rem;
            border: 1px solid var(--borde-input);
            transition: border-color 0.3s ease;
        }

        .service-card:hover {
            border-color: var(--azul);
        }

        .service-title {
            font-weight: 600;
            color: var(--azul-profundo);
            margin-bottom: 0.5rem;
        }

        .service-price {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            color: var(--azul-medio);
            margin-bottom: 1rem;
        }

        .services-tagline {
            font-size: 1.2rem;
            color: var(--azul-profundo);
            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background-color: var(--hielo);
            font-weight: 500;
        }

        /* ============== PAGE 3: ZONAS ============== */
        .zonas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .zona-card {
            position: relative;
            height: 250px;
            overflow: hidden;
            border: 1px solid var(--borde-input);
        }

        .zona-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--hielo);
            background-size: cover;
            background-position: center;
        }

        .zona-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(5, 117, 224, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 2rem;
        }

        .zona-nombre {
            color: var(--blanco);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .zona-count {
            color: var(--celeste);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
        }

        .ficha-barrio {
            background-color: var(--hielo);
            padding: 3rem;
            margin-top: 2rem;
        }

        .ficha-barrio h2 {
            margin-top: 0;
        }

        .ficha-description {
            color: var(--azul-profundo);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        /* ============== PAGE 4: CONTACTO ============== */
        .contact-intro {
            text-align: center;
            margin-bottom: 3rem;
        }

        .offices-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .office-card {
            padding: 2rem;
            border: 1px solid var(--borde-input);
            background-color: var(--hielo);
        }

        .office-title {
            font-weight: 600;
            color: var(--azul);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .office-info {
            font-size: 0.95rem;
            color: var(--azul-profundo);
            line-height: 2;
        }

        .office-info a {
            color: var(--azul);
            text-decoration: none;
        }

        .office-info a:hover {
            text-decoration: underline;
        }

        .contact-form {
            background-color: var(--hielo);
            padding: 2rem;
            margin-bottom: 3rem;
        }

        .form-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--azul-profundo);
            margin-bottom: 2rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-weight: 500;
            color: var(--azul-profundo);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        input, select, textarea {
            padding: 0.75rem;
            border: 1px solid var(--borde-input);
            background-color: var(--blanco);
            color: var(--azul-profundo);
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
        }

        textarea {
            grid-column: 1 / -1;
            resize: vertical;
            min-height: 120px;
        }

        .btn-submit {
            background-color: var(--azul);
            color: var(--blanco);
            padding: 0.75rem 2rem;
            border: none;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
            transition: background-color 0.3s ease;
            width: fit-content;
        }

        .btn-submit:hover {
            background-color: var(--azul-medio);
        }

        .map-embed {
            height: 300px;
            margin-bottom: 2rem;
            border: 1px solid var(--hielo);
        }
        .map-embed iframe {
            width: 100%; height: 100%; border: 0;
        }

        .contact-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 2rem;
        }

        .contact-links a {
            padding: 1rem;
            background-color: var(--hielo);
            text-align: center;
            text-decoration: none;
            color: var(--azul);
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .contact-links a:hover {
            background-color: var(--borde-input);
        }

        /* ============== FOOTER ============== */
        footer {
            background-color: var(--azul-profundo);
            color: var(--blanco);
            padding: 3rem 2rem;
            margin-top: 0;
        }

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

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-column h4 {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--celeste);
        }

        .footer-column a {
            display: block;
            color: var(--blanco);
            text-decoration: none;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }

        .footer-column a:hover {
            color: var(--celeste);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            text-align: center;
            font-size: 0.85rem;
            color: var(--azul-suave);
        }

        /* ===== HAMBURGER MOBILE ===== */
        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1002;
        }
        .hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--azul);
            margin: 5px 0;
            transition: all 0.3s ease;
        }
        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        .mobile-nav-overlay {
            display: none;
            position: fixed;
            top: 70px;
            left: 0; right: 0; bottom: 0;
            background: var(--blanco);
            z-index: 999;
            padding: 2rem 1.5rem;
            overflow-y: auto;
        }
        .mobile-nav-overlay.active { display: block; }
        .mobile-nav-overlay ul { list-style: none; margin-bottom: 2rem; }
        .mobile-nav-overlay ul li a {
            display: block; padding: 0.85rem 0; color: var(--azul-profundo);
            text-decoration: none; font-size: 1.1rem; font-weight: 500;
            border-bottom: 1px solid var(--hielo);
        }
        .mobile-nav-overlay ul li a:hover { color: var(--azul); font-weight: 600; }
        .mobile-nav-overlay .mobile-nav-cta {
            display: block; background: var(--azul); color: var(--blanco);
            text-align: center; padding: 1rem; text-decoration: none;
            font-weight: 600; font-size: 1rem; margin-top: 1rem;
        }
        .mobile-nav-overlay .mobile-nav-tel {
            display: block; text-align: center; color: var(--azul-profundo);
            font-family: 'JetBrains Mono', monospace; font-weight: 600;
            font-size: 1rem; text-decoration: none; padding: 1rem 0;
        }

        /* ============== MOBILE STICKY BAR ============== */
        .mobile-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--blanco);
            border-top: 1px solid var(--hielo);
            z-index: 999;
            padding: 1rem;
        }

        .mobile-bar-actions {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            max-width: 500px;
            margin: 0 auto;
        }

        .mobile-btn {
            padding: 0.75rem;
            background-color: var(--azul);
            color: var(--blanco);
            border: none;
            text-decoration: none;
            text-align: center;
            font-size: 0.85rem;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
        }

        .mobile-btn:hover {
            background-color: var(--azul-medio);
        }

        /* ============== RESPONSIVE ============== */
        @media (max-width: 1024px) {
            h1 {
                font-size: 2.2rem;
            }

            h2 {
                font-size: 1.5rem;
            }

            nav {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .header-container {
                gap: 1rem;
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 1rem;
            }

            .header-container {
                flex-wrap: wrap;
            }

            .logo {
                font-size: 1rem;
            }

            nav {
                display: none;
            }

            .nav-right {
                gap: 1rem;
                width: 100%;
                justify-content: space-between;
            }

            .phone {
                font-size: 0.8rem;
            }

            h1 {
                font-size: 1.8rem;
            }

            h2 {
                font-size: 1.3rem;
            }

            .page {
                padding: 2rem 1rem;
            }

            .historia-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .team-grid,
            .oficinas-grid,
            .services-grid,
            .zonas-grid,
            .offices-grid {
                grid-template-columns: 1fr;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            textarea {
                grid-column: 1;
            }

            .ficha-barrio {
                padding: 1.5rem;
            }

            .mobile-bar {
                display: block;
            }

            main {
                padding-bottom: 350px;
            }

            .page::before {
                font-size: 0.7rem;
                top: 0.5rem;
                right: 1rem;
            }

            .intro-text {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            header {
                position: relative;
                margin-bottom: 1rem;
            }

            main {
                margin-top: 0;
            }

            h1 {
                font-size: 1.5rem;
            }

            h2 {
                font-size: 1.1rem;
            }

            .eyebrow {
                font-size: 0.75rem;
            }

            .page {
                padding: 1.5rem 1rem;
            }

            .historia-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                padding: 1rem;
            }

            .historia-number {
                font-size: 1.8rem;
            }

            .btn-cta,
            .mobile-btn {
                font-size: 0.8rem;
                padding: 0.6rem 1rem;
            }

            main {
                padding-bottom: 320px;
            }
        }

        /* ===== ACCESIBILIDAD: Focus visible ===== */
        a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
            outline: 2px solid var(--azul);
            outline-offset: 2px;
        }
        /* Skip-to-content (solo se ve con teclado) */
        .skip-link {
            position: absolute; top: -100%; left: 1rem;
            background: var(--azul); color: var(--blanco);
            padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 600;
            z-index: 9999; text-decoration: none;
        }
        .skip-link:focus { top: 0.5rem; }
    