/*
Theme Name:  MikeWordpress
Theme URI:   https://mikewp.dev
Author:      Mike
Author URI:  https://mikewp.dev
Description: Tema personalizado para MikeWordpress - WordPress & WooCommerce Development
Version:   3.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mikewp
Tags:        custom-theme, portfolio, services, blog
*/

/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #6C63FF;
    --color-primary-dark: #5A52D5;
    --color-secondary: #FF6584;
    --color-accent: #43E97B;
    --color-dark: #0D0D1A;
    --color-dark-2: #13132A;
    --color-dark-3: #1E1E3F;
    --color-light: #F5F5FA;
    --color-white: #FFFFFF;
    --color-text: #E2E2F0;
    --color-text-muted: #9090B0;
    --color-border: rgba(108, 99, 255, 0.2);

    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(108, 99, 255, 0.15);
    --shadow-md: 0 8px 32px rgba(108, 99, 255, 0.25);
    --shadow-lg: 0 20px 60px rgba(108, 99, 255, 0.35);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1200px;
    --container-pad: 1.5rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: var(--color-dark-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Grid
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Header / Navbar — Floating Pill Style
   ========================================================================== */

/* Wrapper que ocupa ancho completo solo para posicionamiento */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* padding externo: separa la píldora del borde superior de la pantalla */
    padding: 1rem var(--container-pad);
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* el wrapper no captura clicks */
    transition: padding var(--transition);
}

/* La píldora en sí */
.header-inner {
    pointer-events: all;
    /* sí captura clicks */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;

    width: 100%;
    max-width: 1100px;
    /* Ancho máximo aumentado */

    background: rgba(17, 17, 24, 0.6);
    /* Fondo blur transparente (glassmorphism) */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.55rem 0.55rem 0.55rem 1.75rem;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: var(--transition);
}

/* Al hacer scroll: la píldora se oscurece y el padding top se comprime */
.site-header.scrolled {
    padding-top: 0.6rem;
}

.site-header.scrolled .header-inner {
    background: rgba(10, 10, 18, 0.75);
    /* Mantiene fuerte transparencia */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

/* ── Logo ── */
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo span {
    color: var(--color-primary);
}

.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-logo-link img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

/* ── Nav links (Alineados junto al botón) ── */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    /* Empuja el menú a la derecha, al lado del CTA */
    justify-content: flex-end;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    /* necesario para ::after si se quiere */
}

/* Sin subrayado — el hover usa fondo pill */
.nav-menu a::after {
    display: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.07);
}

/* ── CTA "Contactar" ── */
.nav-cta {
    margin-left: 1.5rem;
    /* Pequeño margen entre el último link del menú y el botón */
    display: inline-flex !important;
    align-items: center;
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent !important;
    border: none;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    color: var(--color-white) !important;
    background: var(--color-primary) !important;
}

/* ── Hamburger mobile ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem 0.6rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Mobile: Menú flotante estilo Acreom ── */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
        position: relative;
    }

    /* Píldora cerrada estricta (ya no hace wrap) */
    .header-inner {
        padding: 0.8rem 1rem;
        flex-wrap: nowrap;
        border-radius: 20px;
        transition: background 0.3s, box-shadow 0.3s;
        max-width: 100%;
        gap: 0;
        z-index: 99;
        /* Aseguramos que se mantenga como barra horizontal */
        display: flex;
        justify-content: space-between;
    }

    /* Modificamos estilo de la píldora principal al abrir (opcional, como prefiera el rediseño) */
    .site-header.menu-open .header-inner {
        background: rgba(9, 9, 11, 0.7);
        /* Transparente profundo */
        border-color: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .site-logo-wrap {
        margin-right: auto;
    }

    .nav-toggle {
        display: flex;
        margin-right: 0.25rem;
        z-index: 100;
    }

    /* Transformación de Hamburguesa a X */
    .site-header.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Contenedor del menú desplegable ABSOLUTO y DESPEGADO */
    .nav-menu {
        position: absolute;
        top: calc(100% + 5px);
        /* Queda colgado debajo del header con 5px de gap (acreom style) */
        left: 1rem;
        right: 1rem;
        background: rgba(9, 9, 11, 0.7);
        /* Efecto Glassmorphism */
        border: 1px solid rgba(255, 255, 255, 1);
        border-radius: 20px;
        padding: 1rem;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
        display: none;
        flex-direction: column;
        align-items: stretch;
        z-index: 98;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .nav-menu.open {
        display: flex;
        animation: dropMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes dropMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* CTA en mobile - lo mostramos obligatoriamente dentro del bloque absoltuto */
    .nav-cta {
        margin: 1rem 0 0.5rem 0 !important;
        width: 100%;
        display: flex !important;
        /* overrides nav-cta desktop block */
        justify-content: center;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Estilos base de ítems (Product, Download, Pricing...) */
    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0.2rem;
    }

    .nav-menu a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.95);
        padding: 0.8rem 1rem;
        background: transparent;
        transition: background 0.2s;
        text-decoration: none;
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Submenú anidado (Jira Integration, Github Integration...) */
    .nav-menu .sub-menu {
        display: flex;
        /* En la captura los submenús están expandidos. WP default es none, lo forzamos a block o flex si queremos q se vean */
        flex-direction: column;
        padding-left: 1rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.07);
        margin-left: 1rem;
    }

    .nav-menu .sub-menu a {
        font-size: 0.85rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.7);
        padding: 0.6rem 0.8rem;
    }

    /* Decorador antes de submenú (Icono o puntito) */
    .nav-menu .sub-menu a::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--color-primary);
        margin-right: 0.75rem;
        opacity: 0.8;
    }

    /* Añadir indicador de ^ al elemento padre con submenú */
    .nav-menu li.menu-item-has-children>a::after {
        content: '›';
        font-size: 1.25rem;
        transform: rotate(90deg);
        opacity: 0.5;
        transition: transform 0.2s;
    }

    .nav-menu li.menu-item-has-children.open-sub>a::after {
        transform: rotate(-90deg);
    }

    .nav-cta {
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
        display: none;
        /* Oculto por defecto en móvil para seguir el diseño de la foto */
    }

    .nav-menu.open+.nav-cta {
        display: flex;
        /* Muestra el CTA al final del menú si está abierto */
    }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img.custom-logo {
    max-height: 24px;
    width: auto;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Redes Sociales / Col 4 */
.footer-col--social ul li a {
    gap: 0.5rem;
}

.soc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col--social ul li a:hover .soc-icon {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Page Banner (Hero for inner pages)
   ========================================================================== */
.page-banner {
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-3) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
    top: -100px;
    left: -100px;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.1), transparent 70%);
    bottom: -100px;
    right: -50px;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb .separator {
    color: var(--color-border);
}

.breadcrumb .current {
    color: var(--color-primary);
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.blog-card {
    background: var(--color-dark-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-dark-3);
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-meta .category {
    color: var(--color-primary);
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
    transition: var(--transition);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.read-more:hover {
    gap: 0.7rem;
    color: var(--color-primary);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-lg);
}

.pagination .page-numbers {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--color-dark-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(108, 99, 255, 0.8);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Hero — Minimal Centered Style (acreom-inspired)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 var(--container-pad);
}

.hero--portfolio {
    min-height: 60vh !important;
}

/* Glow sutil en la esquina inferior */
.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 50% 110%,
            rgba(29, 78, 216, 0.25) 0%,
            rgba(16, 185, 129, 0.12) 40%,
            transparent 70%);
}

/* Contenido centrado */
.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 780px;
    width: 100%;
    padding-top: 6rem;
    /* compensa el header fijo */
    padding-bottom: 4rem;
    animation: fadeInUp 0.7s ease both;
}

/* ── Barra de anuncio ── */
.hero__announce {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem 0.35rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__announce::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.hero__announce-text {
    color: rgba(255, 255, 255, 0.6);
}

.hero__announce-link {
    color: var(--color-accent);
    font-weight: 600;
    transition: var(--transition);
}

.hero__announce-link:hover {
    color: #fff;
}

/* ── Título (Reducido) ── */
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    /* Fuentes reducidas */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}

/* ── Subtítulo (Reducido) ── */
.hero__subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0;
}

/* ── CTA wrapper ── */
.hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Botón principal — blanco sólido, texto oscuro */
.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0a0a0a;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    padding: 0.8rem 2.2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 16px rgba(255, 255, 255, 0.12);
}

.hero__btn:hover {
    background: rgba(255, 255, 255, 0.88);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
}

/* Nota debajo del botón */
.hero__note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__inner {
        padding-top: 5rem;
    }
}

/* ==========================================================================
   Logos Bar — Trusted By
   ========================================================================== */
.logos-bar {
    background: #000;
    padding: 2rem var(--container-pad) 3rem;
    text-align: center;
}

.logos-bar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.logos-bar__label {
    font-size: 0.78rem;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.logos-bar__track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.28);
    transition: color var(--transition);
    cursor: default;
}

.logo-item:hover {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
    .logos-bar__track {
        gap: 1.75rem 2rem;
    }

    .logo-item svg {
        transform: scale(0.9);
    }
}

/* ==========================================================================
   Feature Intro
   ========================================================================== */
.feature-intro {
    background: #000;
    padding: 5rem var(--container-pad) 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sutil glow oscuro detrás del texto */
.feature-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 0%,
            rgba(29, 78, 216, 0.12) 0%,
            transparent 70%);
    pointer-events: none;
}

.feature-intro__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Etiqueta pequeña — letra espaciada, color azul */
.feature-intro__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* Título grande */
.feature-intro__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

/* Subtítulo estrecho */
.feature-intro__subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 440px;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-intro {
        padding: 3.5rem var(--container-pad);
    }

    .feature-intro__title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }
}

/* ==========================================================================
   Feature Blocks — Alternating layout
   ========================================================================== */
.feature-blocks-wrap {
    background: #000;
    padding: 2rem 0 6rem;
}

.feature-blocks {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Cada bloque ── */
.fb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fb:last-child {
    border-bottom: none;
}

/* Orden invertido */
.fb--reverse .fb__text {
    order: 2;
}

.fb--reverse .fb__visual {
    order: 1;
}

/* ── Texto ── */
.fb__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.fb__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    max-width: 420px;
    margin: 0;
}

/* Palabras resaltadas en color */
.fb__highlight {
    color: var(--color-primary);
    font-weight: 500;
}

/* ── Visual / Mockup ── */
.fb__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   UI Card — App mockup
   ========================================================================== */
.ui-card {
    width: 100%;
    max-width: 440px;
    background: #0e0e1c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    font-size: 0.82rem;
}

/* Barra de título tipo OS */
.ui-card__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #17172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ui-dot--red {
    background: #FF5F57;
}

.ui-dot--yellow {
    background: #FFBD2E;
}

.ui-dot--green {
    background: #28C840;
}

.ui-card__title {
    margin-left: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Cuerpo de la card */
.ui-card__body {
    display: flex;
    gap: 0;
    min-height: 200px;
}

/* ── Dashboard: sidebar + main ── */
.ui-sidebar {
    width: 120px;
    flex-shrink: 0;
    padding: 0.75rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: #0c0c1a;
}

.ui-sidebar-item {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: default;
    border-radius: 6px;
    margin: 0 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-sidebar-item--active {
    background: rgba(108, 99, 255, 0.15);
    color: var(--color-primary);
}

.ui-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-stats-row {
    display: flex;
    gap: 0.5rem;
}

.ui-stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ui-stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.ui-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Activity list */
.ui-activity {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ui-activity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* ── Badges ── */
.ui-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ui-badge--green {
    background: rgba(67, 233, 123, 0.15);
    color: #43E97B;
}

.ui-badge--blue {
    background: rgba(99, 179, 237, 0.15);
    color: #63B3ED;
}

.ui-badge--purple {
    background: rgba(108, 99, 255, 0.15);
    color: var(--color-primary);
}

/* ── WooCommerce orders ── */
.ui-order-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ui-order-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6C63FF 0%, #5A52D5 100%);
    flex-shrink: 0;
}

.ui-order-thumb--2 {
    background: linear-gradient(135deg, #FF6584 0%, #FF4A6B 100%);
}

.ui-order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ui-order-info strong {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.ui-order-info span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Revenue bar */
.ui-revenue-bar {
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ui-revenue-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.ui-revenue-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* ── Progress bar ── */
.ui-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.ui-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #8B5CF6);
    border-radius: 99px;
}

.ui-progress-fill--green {
    background: linear-gradient(90deg, #43E97B, #38F9D7);
}

/* ── PageSpeed ring ── */
.ui-score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ui-ring-outer {
    position: relative;
    width: 80px;
    height: 80px;
}

.ui-ring-svg {
    width: 100%;
    height: 100%;
}

.ui-ring-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #43E97B;
    font-family: var(--font-heading);
}

.ui-ring-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Vitals list */
.ui-vitals {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ui-vital {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ui-vital-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    width: 28px;
    flex-shrink: 0;
}

.ui-vital-val {
    font-size: 0.7rem;
    color: #43E97B;
    font-weight: 600;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .fb {
        gap: 3rem;
    }

    .ui-card {
        max-width: 380px;
    }
}

@media (max-width: 768px) {

    .fb,
    .fb--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0;
    }

    .fb--reverse .fb__text {
        order: 1;
    }

    .fb--reverse .fb__visual {
        order: 2;
    }

    .fb__desc {
        max-width: 100%;
    }

    .ui-card {
        max-width: 100%;
    }
}

/* ==========================================================================
   UI Card — Planner / Agenda
   ========================================================================== */
.ui-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-day-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.ui-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.ui-task-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.ui-task-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.ui-task-check {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.ui-task-check--done {
    background: rgba(255, 101, 132, 0.1);
    /* Secondary color fallback, just styling */
    border-color: #FF4A6B;
    /* Based on ui-order-thumb--2 color */
    color: #FF4A6B;
}

.ui-task-text {
    flex: 1;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.ui-task-item--done .ui-task-text {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
}

.ui-task-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(67, 233, 123, 0.1);
    color: #43E97B;
    font-weight: 600;
}

.ui-task-tag--done {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

.ui-task-tag--purple {
    background: rgba(108, 99, 255, 0.1);
    color: var(--color-primary);
}

.ui-task-divider {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-top: 0.75rem;
    padding-left: 0.5rem;
}

/* ==========================================================================
   UI Card — IDE / Terminal
   ========================================================================== */
.ui-ide-tabs {
    display: flex;
    background: #0a0a14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-ide-tab {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.ui-ide-tab--active {
    background: #0e0e1c;
    color: var(--color-accent);
    border-top: 2px solid var(--color-primary);
}

.ui-ide-body {
    padding: 1rem 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.ui-code-line {
    padding: 0 1rem;
    display: flex;
}

.ui-code-line--active {
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--color-accent);
}

.ui-code-num {
    color: rgba(255, 255, 255, 0.2);
    width: 24px;
    user-select: none;
    text-align: right;
    margin-right: 1rem;
}

.ui-code-kw {
    color: #FF6584;
}

/* keyword */
.ui-code-fn {
    color: #63B3ED;
}

/* function */
.ui-code-str {
    color: #43E97B;
}

/* string */
.ui-code-cm {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* comment */

.ui-ide-terminal {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    background: #080812;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.72rem;
}

.ui-term-prompt {
    color: var(--color-primary);
    font-weight: 700;
}

.ui-term-cmd {
    color: #fff;
}

.ui-term-ok {
    color: #43E97B;
    margin-left: auto;
    font-weight: 600;
    opacity: 0.8;
}

/* ==========================================================================
   UI Card — Security Lock
   ========================================================================== */
.ui-card--security {
    background: radial-gradient(circle at center, #15152a 0%, #0e0e1c 100%);
}

.ui-lock-ring {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.ui-lock-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ui-lock-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ui-lock-icon {
    font-size: 1.8rem;
    z-index: 1;
    text-shadow: 0 4px 16px rgba(108, 99, 255, 0.4);
}

.ui-security-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ui-sec-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Integrations Grid
   ========================================================================== */
.integrations {
    background: #000;
    padding: 6rem var(--container-pad) 7rem;
    position: relative;
    overflow: hidden;
}

/* Glow sutil centrado */
.integrations::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 50% 50%,
            rgba(108, 99, 255, 0.06) 0%,
            transparent 70%);
}

/* ── Header centrado ── */
.integrations__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.integrations__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.integrations__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

.integrations__subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    margin: 0;
}

/* ── Grid de 2 columnas ── */
.integrations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Columna izquierda: arranca en su posición normal */
.int-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Columna derecha desfasada hacia abajo */
.int-col--right {
    margin-top: 3rem;
}

/* ── Tarjeta de integración ── */
.int-card {
    background: #0b0b18;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   Featured Project (Hero Style)
   ========================================================================== */
/* ==========================================================================
   PROYECTOS STACK (FOLDERS)
   ========================================================================== */
.section-projects-stack {
    padding: 3rem 0;
    background: #000;
    overflow: hidden;
}

.fp-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fp-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.fp-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.fp-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.6;
}

.projects-stack-container {
    position: relative;
    max-width: 1200px;
    height: 550px;
    margin: 2rem auto 4rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Initial stacked state (on arrival) */
.folder-wrapper {
    position: absolute;
    width: 100%;
    max-width: 480px;
    height: 380px;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, z-index 0s;
    transform: translateX(0) scale(0.8);
}

/* ──── ANIMATION: Separate into 3 columns OVERLAPPING as per sketch ──── */
.is-visible .folder-1 {
    opacity: 1;
    z-index: 1;
    --base-x: -350px;
    --base-rot: -3deg;
    transform: translateX(var(--base-x)) rotate(var(--base-rot));
    transition-delay: 0.1s;
}

.is-visible .folder-2 {
    opacity: 1;
    z-index: 3;
    --base-x: 0;
    --base-rot: 0deg;
    transform: translateX(var(--base-x)) translateY(-30px);
    transition-delay: 0.2s;
}

.is-visible .folder-3 {
    opacity: 1;
    z-index: 2;
    --base-x: 350px;
    --base-rot: 3deg;
    transform: translateX(var(--base-x)) rotate(var(--base-rot));
    transition-delay: 0.3s;
}

/* Specific Hover: Lift and stay in column */
.is-visible .folder-wrapper:hover {
    z-index: 50 !important;
    transform: translateX(var(--base-x)) translateY(-60px) scale(1.08) rotate(0deg) !important;
}

/* OPEN state: Content slides out, folder stays in column */
.is-visible .folder-wrapper.is-open {
    z-index: 100 !important;
    transform: translateX(var(--base-x)) translateY(-20px) scale(1.05) !important;
}

/* Ya controlado dentro de .is-visible .folder-wrapper.is-open */

.folder-main {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

/* Folder Part: BACK */
.folder-back {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90%;
    background: rgba(17, 17, 34, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.folder-tab {
    position: absolute;
    top: -20px;
    left: 0;
    width: 140px;
    height: 40px;
    background: inherit;
    border-radius: 16px 16px 0 0;
}

/* Folder Part: FRONT */
.folder-front {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 85%;
    background: rgba(25, 25, 45, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 24px 24px 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1), 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.folder-front-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.folder-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.folder-text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.folder-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.folder-dots {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.folder-dots span {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* The "Sheet" (Image that slides out) */
.folder-sheet {
    position: absolute;
    bottom: 10px;
    left: 5%;
    width: 90%;
    height: 95%;
    background: #fff;
    border-radius: 16px;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: bottom center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.folder-wrapper.is-open .folder-sheet {
    transform: translateY(-120px) rotate(-2deg);
}

.sheet-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sheet-img-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sheet-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.sheet-placeholder {
    width: 100%;
    height: 180px;
    background: #f3f4f6;
}

.sheet-header {
    padding: 1.5rem;
    flex-grow: 1;
}

.sheet-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(108, 99, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.folder-hint {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.6rem 0.4rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hint-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.hint-icon {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

.folder-wrapper.is-open .hint-icon {
    transform: rotate(45deg);
    background: var(--color-secondary);
}

.folder-wrapper:hover .folder-hint {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
}

.sheet-header h4 {
    color: #111;
    font-size: 1.1rem;
    margin: 0;
}

.sheet-action {
    padding: 1rem 1.5rem;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.btn-view-project {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

/* responsive: Versión de lista vertical para móviles (sin solapamiento) */
@media (max-width: 768px) {
    .projects-stack-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 80px;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 3rem;
        margin-bottom: 2rem;
        perspective: none;
    }

    .folder-wrapper {
        position: relative;
        width: 100%;
        max-width: 340px;
        height: 220px;
        /* Más compactas para que entren varias en pantalla */
        margin: 0 auto;
        /* Forzamos que se vean siempre y sin transforms de pila */
        opacity: 1 !important;
        transform: none !important;
        transition: transform 0.4s ease;
    }

    /* Sobreescribimos las reglas de despliegue de desktop para móvil */
    .is-visible .folder-1,
    .is-visible .folder-2,
    .is-visible .folder-3 {
        transform: none !important;
        position: relative;
        left: auto;
        top: auto;
        opacity: 1;
        transition-delay: 0s;
        --base-x: 0;
        --base-y: 0;
    }

    /* Permitimos un pequeño lift al hover táctil */
    .folder-wrapper:hover {
        transform: translateY(-10px) !important;
    }

    /* Apertura en móvil independiente */
    .folder-wrapper.is-open {
        z-index: 50 !important;
        height: 320px;
        /* Crecemos el contenedor para que la hoja no tape al de arriba */
        margin-bottom: 20px;
    }

    .folder-wrapper.is-open .folder-sheet {
        transform: translateY(-120px) rotate(-2deg);
    }

    .sheet-img,
    .sheet-placeholder {
        height: 120px;
    }

    .folder-front {
        padding: 0 1.5rem;
        height: 85%;
    }

    .folder-text h3 {
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   PORTFOLIO PAGE (GRID & FILTERS)
   ========================================================================== */
.portfolio-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    background: rgba(15, 15, 25, 0.4);
    padding: 1.25rem 2rem;
    border-radius: 100px;
    /* Estilo píldora como home */
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
    border-color: rgba(108, 99, 255, 0.2);
}

.section--small-top {
    padding-top: 0.5rem !important;
}

.section--dark {
    background: #000 !important;
}

.portfolio-grid.grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.is-dimmed {
    opacity: 0.15 !important;
    filter: grayscale(1) blur(2px) brightness(0.5);
    transform: scale(0.92);
    pointer-events: none;
    cursor: default;
}

.portfolio-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
}

.portfolio-card-premium .card-anchor {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #111;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-stack-overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.pill {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pill svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.pill-theme {
    background: rgba(255, 101, 132, 0.2);
    color: #FF6584;
}

.pill-plugin {
    background: rgba(108, 99, 255, 0.2);
    color: #A5A0FF;
}

.card-info {
    padding: 1.25rem;
    background: linear-gradient(to bottom, rgba(25, 25, 45, 0) 0%, rgba(13, 13, 26, 0.5) 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.card-icon {
    color: var(--color-primary);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s ease;
}

.card-excerpt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    margin: 0;
}

/* Hover Effects */
.portfolio-card-premium:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(108, 99, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-card-premium:hover .project-img {
    transform: scale(1.1);
}

.portfolio-card-premium:hover .card-icon {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 768px) {
    .portfolio-grid.grid-premium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-thumb {
        height: 200px;
    }
}

.int-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Icono cuadrado grande */
.int-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Label de color (nombre de la herramienta) */
.int-card__label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Descripción */
.int-card__desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.int-card__desc strong {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .integrations {
        padding: 4rem var(--container-pad) 5rem;
    }

    .integrations__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* En mobile no desfasamos */
    .int-col--right {
        margin-top: 0;
    }
}

/* ==========================================================================
   Bento Box (Enfocado en mi)
   ========================================================================== */
.section-bento {
    padding: var(--spacing-xxl) 0;
    background: #000;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    background: linear-gradient(180deg, #121019 0%, #050508 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 0 0 0;
    /* padding side in visual/content instead */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card__content {
    padding: 0 2rem;
    flex: 1;
}

.bento-card__content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.bento-card__content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bento-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.bento-item--full {
    grid-column: 1 / -1;
}

.bento-item--full .bento-card__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.bento-card__visual {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* UI Mockups */
.ui-panel {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px 12px 0 0;
    width: 100%;
    color: #fff;
    font-family: var(--font-primary);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.ui-task-detail {
    max-width: 600px;
    padding: 2rem;
}

.ui-task-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ui-id {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.ui-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.ui-badge-btn {
    margin-left: auto;
    background: #fff;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
}

.ui-task-meta {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.meta-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.meta-val {
    color: rgba(255, 255, 255, 0.8);
}

.ui-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-task-checks {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 1rem;
}

.check-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.check-list .check-item {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding-left: 1.5rem;
}

/* Mockup Issues List */
.ui-issues-list {
    max-width: 90%;
    padding: 1rem 1rem 0;
}

.ui-tabs,
.ui-filters {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.ui-tabs span.active,
.ui-filters span.active {
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
}

.ui-filters {
    font-size: 0.7rem;
    padding-bottom: 0;
    border: none;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.ui-filters span {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.ui-list-group .group-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: block;
}

.ui-list-group .list-item {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}

.ui-list-group .list-item strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Mockup Rich Link */
.ui-rich-link {
    max-width: 90%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.rich-link-trigger {
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rich-link-tooltip {
    margin-top: 1rem;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    width: 280px;
}

.rich-link-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #18181b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.tooltip-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item--full .bento-card__content h2 {
        font-size: 2rem;
    }

    .bento-person-info {
        flex-direction: column;
        text-align: center !important;
    }

    .ui-task-detail {
        padding: 1rem;
    }

    .ui-task-meta {
        grid-template-columns: 80px 1fr;
    }
}

/* ==========================================================================
   Footer CTA (Call to Action) - Modern Design
   ========================================================================== */
.footer-cta {
    background: #000;
    padding: 6rem 0 0 0;
    /* Espaciado superior, abajo pega con el footer real */
    position: relative;
    overflow: hidden;
}

.footer-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.footer-cta__orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    top: -30%;
    left: -10%;
}

.footer-cta__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    bottom: -30%;
    right: -10%;
}

.footer-cta__inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #121019 0%, #050508 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 4rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    overflow: hidden;
    /* Mantenemos para los orbes */
}

.footer-cta__text {
    max-width: 600px;
}

.footer-cta__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-cta__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

.footer-cta__action {
    flex-shrink: 0;
}

.footer-cta__btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    font-weight: 600;
}

.footer-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.5);
    color: #fff;
}

@media (max-width: 900px) {
    .footer-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }
}

/* ==========================================================================
   Animaciones Adicionales y Micro-Interacciones (Premium Feel)
   ========================================================================== */

/* 1. Efecto Hover en Tarjetas Bento */
.bento-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.bento-card:hover {
    transform: translateY(-6px) scale(1.005);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(108, 99, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.3);
}

/* 2. Flotación Suave Continua (Rich Link Tooltip & Paneles) */
@keyframes softFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.rich-link-tooltip {
    animation: softFloat 6s ease-in-out infinite;
    transform-origin: top center;
}

/* 3. Escala y Brillo al pasar el cursor en Tarjetas Integraciones */
.int-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.int-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(236, 72, 153, 0.05);
}

/* Animación de rotación y salto del ícono al pasar cursor por la tarjeta de integración */
.int-card:hover .int-icon-wrap {
    transform: scale(1.1) rotate(5deg) translateY(-2px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2), 0 10px 20px rgba(0, 0, 0, 0.5);
}

.int-icon-wrap {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* 4. Efecto sutil 'Pulsing' de estado 'vivo' para los Checks de Tareas */
@keyframes checkPulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    }

    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.ui-task-checks .check-header span {
    display: inline-block;
    animation: checkPulse 3s ease-in-out infinite;
}

/* 5. Efecto Hover de Proyecto Destacado Hero Button */
.fp-action .btn-primary {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.fp-action .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

/* ==========================================================================
   Bento Modern Accordion
   ========================================================================== */
.bento-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bento-acc-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-acc-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.bento-acc-trigger {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.acc-icon {
    width: 12px;
    height: 12px;
    position: relative;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.acc-icon::before,
.acc-icon::after {
    content: "";
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acc-icon::before {
    width: 100%;
    height: 2px;
}

.acc-icon::after {
    width: 2px;
    height: 100%;
}

.bento-acc-item.active .acc-icon {
    transform: rotate(45deg);
}

.bento-acc-item.active {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.4);
}

.bento-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 1.25rem;
}

.bento-acc-item.active .bento-acc-content {
    max-height: 100px;
    padding-bottom: 1.25rem;
}

.bento-acc-content p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}


/* ==========================================================================
   Contact Modal / Formspree
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.contact-modal {
    width: 100%;
    max-width: 480px;
    background: url("../../uploads/2026/03/ChatGPT-Image-29-mar-2026-09_31_19-a.m.png");
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-left: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 16px;
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin-top: 1rem;
}

.form-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.modal-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Prevent scroll when modal is active */
body.modal-open {
    overflow: hidden;
}


/* Mejora de visibilidad de los inputs del modal de contacto */
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   Homepage FAQ Section
   ========================================================================== */
.section-faq {
    padding: 6rem 0;
    background: #000;
}

.faq-header {
    margin-bottom: 4rem;
}

.faq-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-acc-trigger {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-acc-trigger h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 2rem;
}

.faq-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Estilos para el estado de �xito del formulario */
.contact-modal.success-state .contact-form,
.contact-modal.success-state .modal-header p {
    display: none;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
    animation: fadeInSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-modal.success-state .success-message {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado de carga del bot�n */
.form-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
    color: transparent;
}

.form-submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spinBtn 0.8s linear infinite;
}

@keyframes spinBtn {
    to {
        transform: rotate(360deg);
    }
}


/* Asegurar que el contenido bento sea visible al estar activo */
.bento-acc-item.active .bento-acc-content {
    max-height: 200px;
    padding-bottom: 1rem;
    opacity: 1;
}

.bento-acc-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-acc-item.active .acc-icon {
    transform: rotate(45deg);
}


/* ==========================================================================
   Floating Glass Button (Services CTA)
   ========================================================================== */
.fb-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    padding-bottom: 2rem;
}

.fb-cta-glass {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.fb-cta-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.fb-cta-icon {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    animation: iconPulse 2s infinite alternate ease-in-out;
}

/* Brillo animado adicional */
.fb-cta-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowAura 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    }

    100% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
    }
}

@keyframes glowAura {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

/* Efecto de rayo de luz al pasar el cursor */
.fb-cta-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.fb-cta-glass:hover::before {
    left: 100%;
}


/* Ajuste de m�rgenes para los botones integrados dentro de cada servicio */
.fb-cta-wrapper.in-block {
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.fb--reverse .fb-cta-wrapper.in-block {
    justify-content: flex-start;
}


/* Reducci�n de tama�o del bot�n flotante */
.fb-cta-glass {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    gap: 0.8rem;
}

.fb-cta-icon {
    width: 24px;
    height: 24px;
}

/* Efecto de resplandor (pulsaci�n suave) detr�s de las im�genes de servicios */
.fb__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb__visual::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: imageGlow 4s infinite ease-in-out;
}

@keyframes imageGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.3;
        filter: blur(40px);
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
        filter: blur(60px);
    }

    100% {
        transform: scale(0.9);
        opacity: 0.3;
        filter: blur(40px);
    }
}

/* Ajuste espec�fico para el bloque inverso */
.fb--reverse .fb__visual::before {
    left: auto;
    right: auto;
}


/* ==========================================================================
   Service Single Page Templates
   ========================================================================== */
.service-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.service-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.service-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.service-hero-visual {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    padding: 0 1rem;
}

.service-hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.service-grid-intro {
    padding: 8rem 0;
}

.service-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 4rem;
}

.service-grid-header h2 {
    font-size: 2.5rem;
    max-width: 400px;
}

.service-grid-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
}

/* Feature Panels (as per Screom design) */
.feature-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.feature-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-panel p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

/* Hover fixes for glass buttons */
.fb-cta-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   DROPDOWN SERVICES MENU (GLASSMORPHISM)
   ========================================================================== */
.nav-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-dropdown-trigger .d-icon {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nav-dropdown-wrap:hover .nav-dropdown-trigger {
    color: var(--color-primary);
}

.nav-dropdown-wrap:hover .d-icon {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-dropdown-wrap:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-dropdown-content a {
    padding: 0.8rem 1rem !important;
    border-radius: 10px;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease !important;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-content a:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    padding-left: 1.25rem !important;
}

.nav-dropdown-content a.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Status Lights */
.status-light {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 0.75rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-light::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* NUEVO */
.status-light--new {
    color: #43E97B;
    background: rgba(67, 233, 123, 0.1);
}

.status-light--new::before {
    background: #43E97B;
    box-shadow: 0 0 8px #43E97B;
    animation: pulse-green 2s infinite;
}

/* PROXIMAMENTE */
.status-light--soon {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.status-light--soon::before {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(67, 233, 123, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(67, 233, 123, 0);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .nav-dropdown-content {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .nav-dropdown-wrap.is-open .nav-dropdown-content {
        display: flex;
    }

    .nav-dropdown-trigger {
        padding: 0.8rem 0;
    }
}

/* ==========================================================================
   UPDATED DROPDOWN SERVICES MENU (GLASSMORPHISM)
   ========================================================================== */
.nav-dropdown-wrap .nav-dropdown-content {
    top: calc(100% + 15px);
    /* Más alejado */
    background: rgba(10, 10, 15, 0.92) !important;
    /* Menos transparente */
}

/* Próximamente Status Light (Titilante) */
.status-light--soon {
    color: #fff !important;
    /* Se nota más */
    background: rgba(255, 255, 255, 0.1);
}

.status-light--soon::before {
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.nav-dropdown-content a.disabled {
    opacity: 0.7;
    /* Se nota más */
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 15px);
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 40px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #43E97B;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #43E97B;
    animation: pulse-green 2s infinite;
}

/* Modal Adjustments */
.modal-footer-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none;
        /* Ocultar tooltip en móvil para no tapar */
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
}

/* ==========================================================================
   MOBILE DROPDOWN FIX
   ========================================================================== */
@media (max-width: 991px) {
    .nav-dropdown-wrap {
        width: 100%;
    }

    .nav-dropdown-content {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.5rem !important;
        display: none !important;
        /* Controlado por JS toggle */
    }

    .nav-dropdown-wrap.is-open .nav-dropdown-content {
        display: flex !important;
    }

    .nav-dropdown-trigger {
        padding: 1rem 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-content a {
        padding: 0.8rem 0 !important;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ==========================================================================
   MOBILE DROPDOWN VISUAL CLEANUP
   ========================================================================== */
@media (max-width: 991px) {
    .nav-dropdown-content {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.5rem !important;
        border-radius: 0 !important;
    }
}