/* 
=========================================================
INVERLO - PUBLIC WEBSITE STYLES COMPLETO Y ROBUSTO
Inspirado en diseño corporativo y arquitectura premium 
=========================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;700;800&display=swap');

:root {
    --pub-primary: #131B38; /* Midnight Slate Blue - Prestigio y solidez */
    --pub-accent: #1E2952; /* Variante para hovers y estados activos */
    --pub-dark: #0B0F19; /* Deep Obsidian Navy para fondos oscuros premium */
    --pub-card-dark: #111726; /* Fondo de tarjetas oscuras */
    --pub-highlight: #E03E36; /* Architectural Coral-Vermilion refinado */
    --pub-highlight-hover: #C9322B;
    --pub-gold: #C5A880; /* Tono Champagne/Bronce para badges de alta gama */
    --pub-bg: #FFFFFF; 
    --pub-bg-alt: #F8F9FA; /* Architectural Off-White */
    --pub-text: #1E293B; /* Slate 800 - Máxima legibilidad */
    --pub-text-light: #64748B; /* Slate 500 */
    --pub-border: #E2E8F0;
    --pub-border-dark: rgba(255, 255, 255, 0.12);
    
    --font-sans: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    background-color: #0B0F19; /* Fondo continuo para evitar franjas blancas en rebote superior/inferior */
    overscroll-behavior-y: none; /* Elimina el rebote elástico que muestra fondo blanco */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--pub-text);
    background-color: #0B0F19 !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    overscroll-behavior-y: none;
}

/* ================== TIPOGRAFÍA EDITORIAL FLUIDA (ARQUITECTÓNICA) ================== */
/* Escala armónica calculada con clamp() para perfecta legibilidad en móvil y desktop */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--pub-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Titulares principales (Hero) */
.display-1 {
    font-size: clamp(2.3rem, 4.5vw + 0.5rem, 3.8rem) !important;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

/* Cabeceras de sección importantes */
.display-3 {
    font-size: clamp(1.9rem, 3.5vw + 0.3rem, 3.1rem) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

/* Títulos de tarjetas y servicios */
.display-4 {
    font-size: clamp(1.6rem, 2.8vw + 0.2rem, 2.5rem) !important;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.display-5 {
    font-size: clamp(1.45rem, 2.2vw + 0.2rem, 2.2rem) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

/* Subtítulos y párrafos destacados */
.fs-4 {
    font-size: clamp(1.1rem, 1.2vw + 0.4rem, 1.35rem) !important;
    line-height: 1.55 !important;
}

.fs-5 {
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.08rem) !important;
    line-height: 1.65 !important;
}

.fs-6 {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
}

body, p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--pub-text);
}

@media (max-width: 991px) {
    body, p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .display-1 {
        line-height: 1.12;
    }
}

.text-mask {
    display: inline-block;
    overflow: hidden;
}

/* ================== NAVBAR FLUIDO & GLASSMORPHISM (ESTILO TRAZZO) ================== */
.navbar-public {
    background-color: transparent;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

.navbar-public.scrolled {
    background: rgba(11, 15, 25, 0.82) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.7rem 0 !important;
}

.navbar-public .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 8px 16px !important;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.navbar-public .nav-link:hover,
.navbar-public .nav-link:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08);
}

.navbar-public.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.navbar-public.scrolled .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-public .bi-list {
    color: #ffffff !important;
}

.nav-logo-brand {
    height: 46px !important;
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.navbar-brand:focus, .nav-logo-brand:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ================== BOTONES Y PILLS MINIMALISTAS (ESTILO TRAZZO) ================== */
.btn-pill-primary {
    background-color: var(--pub-highlight);
    color: #FFFFFF !important;
    border: none;
    border-radius: 9999px !important;
    padding: 13px 32px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(224, 62, 54, 0.3);
}

.btn-pill-primary:hover {
    background-color: var(--pub-highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 62, 54, 0.45);
    color: #FFFFFF !important;
}

.btn-pill-outline {
    background: transparent;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px !important;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.btn-pill-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-pill-dark {
    background: var(--pub-primary);
    color: #FFFFFF !important;
    border: none;
    border-radius: 9999px !important;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-pill-dark:hover {
    background: #0B0F19;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 15, 25, 0.2);
}

.btn-pill-dark-outline {
    background: transparent;
    color: var(--pub-primary) !important;
    border: 1.5px solid var(--pub-primary);
    border-radius: 9999px !important;
    padding: 11px 26px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-pill-dark-outline:hover {
    background: var(--pub-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Retrocompatibilidad con clases anteriores */
.btn-sk-primary {
    border-radius: 9999px !important;
    background-color: var(--pub-highlight);
    color: #FFFFFF !important;
    border: none;
    padding: 13px 30px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(224, 62, 54, 0.25);
}
.btn-sk-primary:hover {
    background-color: var(--pub-highlight-hover);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 62, 54, 0.38);
}
.btn-sk-outline {
    border-radius: 9999px !important;
    background-color: transparent;
    color: var(--pub-primary) !important;
    border: 1.5px solid var(--pub-primary);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-sk-outline:hover {
    background-color: var(--pub-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ================== TARJETAS TRAZZO VISUAL MINIMALISTAS ================== */
.trazzo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0F142B;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trazzo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 20, 43, 0.16);
}

.trazzo-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 340px;
    width: 100%;
}

.trazzo-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.trazzo-card:hover .card-img-wrapper img {
    transform: scale(1.07);
}

.trazzo-card .corner-action-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pub-primary);
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
    z-index: 3;
}

.trazzo-card:hover .corner-action-btn {
    background: var(--pub-highlight);
    color: #ffffff;
    transform: translate(2px, -2px) rotate(45deg);
}

.trazzo-badge-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 3;
}

/* ================== SCROLL REVEAL ANIMATIONS ================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================== PANELES DE SERVICIOS ================== */
.srv-panel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.srv-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 20, 43, 0.92) 0%, rgba(15, 20, 43, 0.7) 45%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.srv-panel-overlay--right {
    background: linear-gradient(270deg, rgba(15, 20, 43, 0.92) 0%, rgba(15, 20, 43, 0.7) 45%, rgba(0, 0, 0, 0.4) 100%);
}

/* ================== FOOTER PÚBLICO ================== */
.footer-public {
    background-color: var(--pub-dark);
    color: #ffffff;
    padding: 80px 0 30px;
}
.footer-public h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}
.footer-public ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-public ul li {
    margin-bottom: 0.75rem;
}
.footer-public ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-public ul li a:hover {
    color: var(--pub-highlight);
}
.footer-public .contact-info li {
    color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ================== ANIMACIONES REVEAL ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================== NAVBAR Y COMPORTAMIENTO MÓVIL (< 992px) ================== */
@media (max-width: 991px) {
    /* Navbar móvil coherente con la identidad visual oscura Trazzo */
    .navbar-public {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(11, 15, 25, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
        padding: 10px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .navbar-public .navbar-brand {
        max-width: 65% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .navbar-public .nav-logo-brand {
        height: 40px !important;
        max-height: 44px !important;
        max-width: 190px !important;
        width: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .navbar-public .navbar-toggler {
        padding: 4px 6px !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-public .bi-list {
        color: #ffffff !important;
        font-size: 2rem !important;
    }

    /* Menú desplegable móvil oscuro y nítido */
    .navbar-public .navbar-collapse {
        background: rgba(11, 15, 25, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 16px !important;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
        padding: 15px 20px 25px !important;
        margin-top: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-public .navbar-nav {
        gap: 0 !important;
        align-items: stretch !important;
    }

    .navbar-public .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: none !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        padding: 12px 4px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-align: left !important;
    }

    .navbar-public .nav-link:hover,
    .navbar-public .nav-link:active {
        color: var(--pub-highlight) !important;
        padding-left: 8px !important;
    }

    .navbar-public .dropdown-menu {
        background: rgba(15, 20, 43, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 12px !important;
        padding: 10px !important;
        margin: 8px 0 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
    }

    .navbar-public .dropdown-item {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        white-space: normal !important;
    }

    .navbar-public .dropdown-item:hover,
    .navbar-public .dropdown-item:active {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

    /* Soporte dropdown minimalista en mobile */
    .navbar-public a.dropdown-item-minimal {
        color: #FFFFFF !important;
    }
    .navbar-public a.dropdown-item-minimal:hover,
    .navbar-public a.dropdown-item-minimal:focus {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    .navbar-public .dropdown-item-minimal .item-title {
        color: #FFFFFF !important;
    }
    .navbar-public a.dropdown-item-minimal:hover .item-title {
        color: var(--pub-highlight) !important;
    }
    .navbar-public .dropdown-item-minimal .item-sub {
        color: #94A3B8 !important;
    }
    .navbar-public a.dropdown-item-minimal:hover .item-sub {
        color: #E2E8F0 !important;
    }
    .navbar-public .dropdown-header-minimal span {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    .navbar-public .dropdown-footer-minimal a {
        color: #E2E8F0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Espaciado superior general para que el nav fijo nunca tape nada */
    header, .sk-hero-inversionistas, .sk-hero-proximo {
        padding-top: 130px !important;
    }

    /* Paneles de servicios en móvil */
    .srv-panel {
        min-height: auto !important;
        padding: 80px 15px 60px !important;
    }

    .srv-panel-overlay,
    .srv-panel-overlay--right {
        background: rgba(15, 20, 43, 0.88) !important;
    }

    /* Contenedor principal anti-desbordamiento */
    .container, .container-fluid {
        max-width: 100% !important;
        overflow-x: hidden;
    }
}

/* ================== HOVER EN DESKTOP PARA DROPDOWN DEL NAVBAR ================== */
@media (min-width: 992px) {
    .navbar-public .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
}








/* ================== ESTILO ARQUITECTÓNICO EDITORIAL (TRAZZO VISUAL) ================== */
.srv-panel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.srv-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 12, 22, 0.98) 0%, rgba(8, 12, 22, 0.90) 48%, rgba(8, 12, 22, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.srv-panel-overlay--right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(8, 12, 22, 0.98) 0%, rgba(8, 12, 22, 0.90) 48%, rgba(8, 12, 22, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Contenido editorial limpio sin cajas ni bordes de tarjeta */
.srv-editorial-content {
    position: relative;
    padding: 10px 0;
    color: #FFFFFF !important;
    z-index: 5;
}

.srv-editorial-number {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pub-highlight);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.srv-editorial-number::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.srv-editorial-content h2 {
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.srv-editorial-content p {
    color: #F8FAFC !important;
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.text-white-75 {
    color: #F1F5F9 !important;
}

.srv-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.srv-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #F8FAFC !important;
    font-size: 0.96rem;
    line-height: 1.55;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.srv-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(224, 62, 54, 0.18);
    color: var(--pub-highlight) !important;
    font-size: 0.88rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Pilares editoriales minimalistas (sin tarjetas cuadradas) */
.srv-pillar-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.srv-pillar-item:hover {
    border-top-color: var(--pub-highlight);
    transform: translateY(-2px);
}
.srv-pillar-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pub-highlight);
    font-family: var(--font-sans);
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .srv-panel {
        min-height: auto !important;
        padding: 70px 0 60px !important;
    }
    .srv-panel-overlay,
    .srv-panel-overlay--right {
        background: rgba(11, 15, 25, 0.92) !important;
    }
    .srv-editorial-content {
        padding: 0 !important;
    }
}

.footer-logo {
    height: 48px !important;
    max-height: 55px !important;
    max-width: 210px !important;
    width: auto !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
    object-fit: contain !important;
    display: block !important;
}


/* ================== GRID Y CONTENEDORES WIDESCREEN (ESTILO SKANSKA) ================== */
/* Elimina los margenes vacios excesivos en monitores de alta resolucion a escala 100% */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1380px !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1580px !important;
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1720px !important;
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

/* Espaciados y proporciones de tarjetas en pantalla ancha */
.project-card, .sk-project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover, .sk-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ================== MENÚS DESPLEGABLES MINIMALISTAS TRAZZO VISUAL ================== */
.nav-item.dropdown {
    position: relative;
}

.trazzo-dropdown-menu {
    background: rgba(11, 15, 25, 0.97) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    padding: 8px !important;
    margin-top: 6px !important;
    min-width: 310px;
    max-width: 360px;
    z-index: 1070 !important;
    pointer-events: auto !important;
}

/* Puente invisible superior para que el cursor nunca pierda el hover */
.trazzo-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

/* Apertura en desktop fluida */
@media (min-width: 992px) {
    .nav-item.dropdown .trazzo-dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.22s ease !important;
        pointer-events: none;
    }

    .nav-item.dropdown:hover > .trazzo-dropdown-menu,
    .nav-item.dropdown .trazzo-dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

/* Flecha sutil en el toggle */
.navbar-public .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.45em;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    transition: transform 0.25s ease;
}

.nav-item.dropdown:hover > .dropdown-toggle::after,
.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Encabezado minimalista */
.dropdown-header-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 4px;
}
.dropdown-header-minimal span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6c757d;
}
.dropdown-header-minimal a {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pub-highlight);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.dropdown-header-minimal a:hover {
    color: var(--pub-primary);
    transform: translateX(2px);
}

/* Ítems limpios (Diseño tipográfico claro de alta gama) */
a.dropdown-item-minimal {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    color: var(--pub-primary) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    cursor: pointer;
    margin-bottom: 2px;
}
a.dropdown-item-minimal:hover,
a.dropdown-item-minimal:focus {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--pub-primary) !important;
    text-decoration: none !important;
    transform: translateX(4px);
}

.dropdown-item-minimal .item-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}
.dropdown-item-minimal:hover .item-title {
    color: var(--pub-highlight);
}

.dropdown-item-minimal .item-sub {
    display: block;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.35;
    margin-top: 2px;
    font-weight: 400;
}
.dropdown-item-minimal:hover .item-sub {
    color: #374151;
}

/* Footer del dropdown */
.dropdown-footer-minimal {
    padding: 8px 12px 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 4px;
}
.dropdown-footer-minimal a {
    font-size: 0.76rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}
.dropdown-footer-minimal a:hover {
    color: var(--pub-primary);
    background: rgba(0, 0, 0, 0.06);
}

/* Indicadores de estado de proyectos */
.item-status {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 9999px;
}
.status-active {
    background: rgba(40, 167, 69, 0.15);
    color: #4cd964;
    border: 1px solid rgba(40, 167, 69, 0.3);
}
.status-next {
    background: rgba(255, 78, 70, 0.15);
    color: #ff6b64;
    border: 1px solid rgba(255, 78, 70, 0.3);
}
.badge-city {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Footer del dropdown */
.dropdown-footer-minimal {
    padding: 8px 12px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
}
.dropdown-footer-minimal a {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}
.dropdown-footer-minimal a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

/* ================== PUNTOS DE PULSO Y MICRO-ANIMACIONES ================== */
.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.pulse-dot-green {
    background-color: #28a745;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: trazzoPulseGreen 2s infinite;
}
@keyframes trazzoPulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.pulse-dot-orange {
    background-color: #ff4e46;
    box-shadow: 0 0 0 0 rgba(255, 78, 70, 0.7);
    animation: trazzoPulseOrange 2s infinite;
}
@keyframes trazzoPulseOrange {
    0% { box-shadow: 0 0 0 0 rgba(255, 78, 70, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(255, 78, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 78, 70, 0); }
}

/* Animación de flotación suave */
@keyframes trazzoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.animate-float {
    animation: trazzoFloat 4.5s ease-in-out infinite;
}

/* Animación de flecha en botones de acción */
.btn-pill-primary i.bi-arrow-right,
.btn-pill-dark-outline i.bi-arrow-right,
.btn-pill-outline i.bi-arrow-right {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-pill-primary:hover i.bi-arrow-right,
.btn-pill-dark-outline:hover i.bi-arrow-right,
.btn-pill-outline:hover i.bi-arrow-right {
    transform: translateX(5px);
}

.btn-pill-primary i.bi-arrow-up-right,
.btn-pill-dark-outline i.bi-arrow-up-right,
.btn-pill-outline i.bi-arrow-up-right {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-pill-primary:hover i.bi-arrow-up-right,
.btn-pill-dark-outline:hover i.bi-arrow-up-right,
.btn-pill-outline:hover i.bi-arrow-up-right {
    transform: translate(3px, -3px);
}


/* ================== SELECTOR LINEAL EDITORIAL SERVICIOS (RECTO, SIN CÁPSULAS) ================== */
.srv-linear-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0;
}

.srv-linear-tab-link {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 10px 4px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
    text-decoration: none;
}

.srv-linear-tab-link i {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s ease, transform 0.25s ease;
}

.srv-linear-tab-link:hover {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.srv-linear-tab-link:hover i {
    color: #FFFFFF;
    transform: translateY(-1px);
}

.srv-linear-tab-link.active {
    color: #FFFFFF !important;
    font-weight: 600;
    border-bottom-color: var(--pub-highlight) !important;
}

.srv-linear-tabs,
.altira-tabs-bar {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.srv-linear-tabs::-webkit-scrollbar,
.altira-tabs-bar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ================== SELECTORES INTERACTIVOS CON ANIMACIÓN (SERVICIOS Y PROYECTOS) ================== */
.trazzo-selector-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trazzo-selector-pill {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border: none !important;
    outline: none !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: none;
}

.trazzo-selector-pill i {
    font-size: 0.95rem;
    color: var(--pub-highlight);
    transition: transform 0.25s ease;
}

.trazzo-selector-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    transform: translateY(-2px);
}
.trazzo-selector-pill:hover i {
    transform: scale(1.15);
}

.trazzo-selector-pill.active {
    background: var(--pub-highlight) !important;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(224, 62, 54, 0.35) !important;
}
.trazzo-selector-pill.active i {
    color: #FFFFFF !important;
}

/* Selector en tema claro para proyectos (Altira) */
.trazzo-selector-bar-light {
    background: #F1F3F5;
    border: 1px solid #E9ECEF;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.trazzo-selector-bar-light .trazzo-selector-pill {
    color: #495057;
    background: transparent;
    border: none !important;
    outline: none !important;
}
.trazzo-selector-bar-light .trazzo-selector-pill:hover {
    background: #FFFFFF;
    color: var(--pub-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.trazzo-selector-bar-light .trazzo-selector-pill.active {
    background: #FFFFFF !important;
    color: var(--pub-highlight) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.trazzo-selector-bar-light .trazzo-selector-pill.active i {
    color: var(--pub-highlight) !important;
}

