/* ================================================================
   home.css — Galaxy Neon ONE  ·  v2.1  ·  Professional Edition
   ONE Innovation & Development  ·  Argentina & LATAM
   ================================================================ */

/* ── VARIABLES ───────────────────────────────────────────────── */
:root {
    --c-void:    #000000;
    --c-ink:     #060410;
    --c-deep:    #0a0718;
    --c-surface: #120f22;

    --c-pink:    #ff2d9b;
    --c-cyan:    #00f5ff;
    --c-violet:  #8b5cf6;
    --c-lime:    #39ff14;
    --c-gold:    #ffd700;

    --c-white:   #f0f4ff;
    --c-mist:    #c8cde8;
    --c-slate:   #7880a4;
    --c-dim:     #3a3f5c;

    --glass:      rgba(255,255,255,.045);
    --glass-hover:rgba(255,255,255,.07);
    --stroke:     rgba(255,255,255,.08);
    --stroke-pink:rgba(255,45,155,.25);
    --stroke-cyan:rgba(0,245,255,.2);

    --grad-aurora:  linear-gradient(135deg, var(--c-pink), var(--c-cyan));
    --grad-nebula:  linear-gradient(90deg,  var(--c-cyan), var(--c-violet));
    --grad-plasma:  linear-gradient(135deg, var(--c-pink), var(--c-cyan), var(--c-violet), var(--c-pink));

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 22px;

    font-family: 'Exo 2', system-ui, sans-serif;
}

/* ── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    background: var(--c-ink);
    color: var(--c-white);
    font-family: 'Exo 2', system-ui, sans-serif;
    font-size: .95rem;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--c-white); font-weight: 700; }

/* ── SCROLLBAR ────────────────────────────────────────────────── */
.home-main::-webkit-scrollbar-track { background: var(--c-void); }
.home-main::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--c-pink), var(--c-violet));
    border-radius: 999px;
    border: 1px solid var(--c-void);
    background-clip: padding-box;
    box-shadow: inset 0 0 6px rgba(255,45,155,.55);
}
.home-main::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff69d0, #a78bfa);
    box-shadow: inset 0 0 7px rgba(255,105,208,.55);
}

/* ── BACKGROUND LAYERS ────────────────────────────────────────── */
#starsCanvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.bg-layer-hex {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(30deg,  rgba(0,245,255,.025) 12%, transparent 12.5%, transparent 87%, rgba(0,245,255,.025) 87.5%),
        linear-gradient(150deg, rgba(0,245,255,.025) 12%, transparent 12.5%, transparent 87%, rgba(0,245,255,.025) 87.5%);
    background-size: 80px 140px;
}
.bg-layer-cosmos {
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(139,92,246,.14) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(255,45,155,.10) 0%, transparent 55%);
}
header, section, footer { position: relative; z-index: 10; }

/* ── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatLogo {
    0%,100% { transform: translateY(0);   }
    50%      { transform: translateY(-9px); }
}
@keyframes orb-pulse {
    0%,100% { transform: scale(1);   opacity: .55; }
    50%      { transform: scale(1.1); opacity: .75; }
}
@keyframes plasma-flow {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 200% 50%; }
    100% { background-position: 0%   50%; }
}
@keyframes spin-loader { to { transform: rotate(360deg); } }
@keyframes ring-pulse {
    0%,100% { transform: scale(1);   opacity: .35; }
    50%      { transform: scale(1.06); opacity: .55; }
}

/* Scroll-triggered reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .75rem 1.6rem;
    background: var(--grad-aurora); color: #000;
    font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: .9rem;
    border-radius: var(--radius-sm); border: none; cursor: pointer;
    box-shadow: 0 6px 24px rgba(255,45,155,.35);
    transition: transform .22s, box-shadow .22s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(255,45,155,.5), 0 0 20px rgba(0,245,255,.15);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.6rem;
    background: transparent; color: var(--c-mist);
    font-family: 'Exo 2', sans-serif; font-weight: 600; font-size: .9rem;
    border-radius: var(--radius-sm); border: 1px solid var(--stroke); cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.btn-ghost:hover {
    color: var(--c-white); border-color: var(--stroke-cyan);
    background: rgba(0,245,255,.05);
}

/* ── HEADER ────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(6,4,16,.6);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid rgba(255,45,155,.08);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
    background: rgba(6,4,16,.88);
    border-bottom-color: rgba(255,45,155,.18);
    box-shadow: 0 4px 40px rgba(0,0,0,.5);
}

.header-inner {
    max-width: 1360px; margin: 0 auto; padding: 0 2rem;
    height: 68px; display: flex; align-items: center; gap: 2rem;
}

.header-logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.header-logo-img {
    height: 40px; width: auto;
    filter: drop-shadow(0 0 7px rgba(255,45,155,.4));
    transition: filter .25s;
}
.header-logo:hover .header-logo-img { filter: drop-shadow(0 0 12px rgba(255,45,155,.65)); }
.header-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
    font-size: .95rem; font-weight: 800;
    background: var(--grad-aurora);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-tagline { font-size: .90rem; font-weight: 400; color: var(--c-slate); letter-spacing: .04em; }

.header-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }

.nav-link {
    padding: .45rem .9rem; color: var(--c-slate);
    font-size: .875rem; font-weight: 500;
    border-radius: 8px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--c-white); background: rgba(255,255,255,.05); }
.nav-link-active { color: var(--c-cyan) !important; }

.btn-outline-nav {
    display: inline-flex; align-items: center;
    padding: .45rem 1rem; margin: 0 .3rem;
    border: 1px solid var(--stroke-cyan); border-radius: 8px;
    color: var(--c-cyan); font-size: .875rem; font-weight: 600;
    transition: background .2s, box-shadow .2s;
}
.btn-outline-nav:hover {
    background: rgba(0,245,255,.08);
    box-shadow: 0 0 16px rgba(0,245,255,.15);
}

.btn-cta-nav {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem 1.1rem; margin-left: .2rem;
    background: var(--grad-aurora); color: #000;
    font-size: .875rem; font-weight: 700;
    border-radius: 8px; border: none; cursor: pointer;
    box-shadow: 0 4px 18px rgba(255,45,155,.3);
    transition: transform .2s, box-shadow .2s;
}
.btn-cta-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,45,155,.45); }

/* Mobile toggle */
.nav-mobile-toggle {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; width: 36px; height: 36px;
    background: none; border: none; cursor: pointer; padding: 4px;
    margin-left: auto;
}
.nav-mobile-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--c-mist); border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
    display: none; flex-direction: column; gap: .25rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--stroke);
    background: rgba(6,4,16,.95);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link { padding: .7rem .5rem; font-size: .95rem; }
.mobile-nav-actions { display: flex; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; padding: 6rem 2rem 3rem; overflow: hidden;
}

.hero-inner {
    max-width: 1360px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

.hero-content { animation: fadeUp .7s ease both; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--c-cyan); margin-bottom: 1.4rem;
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan);
    animation: orb-pulse 2s ease infinite;
}

.hero-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800;
    line-height: 1.1; color: var(--c-white);
    margin-bottom: 1.5rem; letter-spacing: -.01em;
}
.headline-gradient {
    background: var(--grad-aurora);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-body {
    font-size: 1rem; font-weight: 300; color: var(--c-mist);
    line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative; animation: fadeUp .7s .15s ease both;
}
.hero-orb {
    position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,45,155,.15) 0%, rgba(139,92,246,.08) 50%, transparent 70%);
    animation: orb-pulse 4s ease-in-out infinite; pointer-events: none;
}
.hero-logo-wrap { position: relative; z-index: 2; }
.hero-logo-img {
    width: clamp(140px, 20vw, 240px); height: auto;
    filter: drop-shadow(0 0 30px rgba(255,45,155,.35)) drop-shadow(0 0 70px rgba(139,92,246,.2));
    animation: floatLogo 3.5s ease-in-out infinite;
}

/* Stats strip */
.hero-stats {
    max-width: 1360px; margin: 4rem auto 0; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0;
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: var(--radius); padding: 1.5rem 2rem;
    animation: fadeUp .7s .25s ease both;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; flex: 1; text-align: center; }
.stat-number {
    font-size: 1.6rem; font-weight: 800;
    background: var(--grad-aurora);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--c-slate); letter-spacing: .04em; font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--stroke); flex-shrink: 0; }

/* ── SECTION SHARED ────────────────────────────────────────────── */
.section-label-wrap { margin-bottom: 2.5rem; text-align: center; }
.section-label {
    display: inline-block; font-size: .7rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--c-cyan);
    padding: .28rem .9rem; border: 1px solid rgba(0,245,255,.2);
    border-radius: 99px; background: rgba(0,245,255,.06);
}
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header .section-label { display: inline-block; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--c-white); margin-bottom: .5rem; }
.section-sub { font-size: .9rem; color: var(--c-slate); }

/* ── ABOUT SECTION ─────────────────────────────────────────────── */
.about-section { padding: 7rem 2rem; border-top: 1px solid var(--stroke); }
.about-inner { max-width: 1360px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text { animation: fadeUp .5s ease both; }
.about-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--c-white); margin-bottom: 1.5rem; }
.about-body { font-size: .95rem; color: var(--c-mist); line-height: 1.8; margin-bottom: 1rem; }

/* Feature cards 2×2 */
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; animation: fadeUp .5s .1s ease both; }
.about-card {
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: var(--radius); padding: 1.4rem;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.about-card:hover {
    border-color: var(--stroke-pink); transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 20px rgba(255,45,155,.07);
}
.about-card-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.about-card-icon.cyan   { background: rgba(0,245,255,.1);  color: var(--c-cyan);   border: 1px solid rgba(0,245,255,.2); }
.about-card-icon.pink   { background: rgba(255,45,155,.1); color: var(--c-pink);   border: 1px solid rgba(255,45,155,.2); }
.about-card-icon.violet { background: rgba(139,92,246,.1); color: var(--c-violet); border: 1px solid rgba(139,92,246,.2); }
.about-card-icon.lime   { background: rgba(57,255,20,.08); color: var(--c-lime);   border: 1px solid rgba(57,255,20,.15); }
.about-card h3 { font-size: .9rem; font-weight: 700; color: var(--c-white); margin-bottom: .35rem; }
.about-card p  { font-size: .82rem; color: var(--c-slate); line-height: 1.6; }

/* ── CTA CATÁLOGO ─────────────────────────────────────────────── */
.cta-catalog-section {
    padding: 6rem 2rem 7rem;
    border-top: 1px solid var(--stroke);
}
.cta-catalog-inner {
    max-width: 1360px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto;
    gap: 3rem; align-items: center;
}
.cta-catalog-content { display: flex; flex-direction: column; gap: 1.2rem; }
.cta-catalog-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
    color: var(--c-white); line-height: 1.15;
}
.cta-catalog-sub { font-size: .95rem; color: var(--c-mist); max-width: 480px; }
.cta-catalog-btn { font-size: 1rem; padding: .9rem 2rem; }

.cta-catalog-deco {
    position: relative; width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cta-deco-ring {
    position: absolute; border-radius: 50%; border: 1px solid;
}
.cta-deco-ring-1 {
    width: 180px; height: 180px;
    border-color: rgba(255,45,155,.2);
    animation: ring-pulse 3s ease-in-out infinite;
}
.cta-deco-ring-2 {
    width: 130px; height: 130px;
    border-color: rgba(0,245,255,.2);
    animation: ring-pulse 3s .5s ease-in-out infinite;
}
.cta-deco-ring-3 {
    width: 80px; height: 80px;
    border-color: rgba(139,92,246,.3);
    background: rgba(139,92,246,.06);
    animation: ring-pulse 3s 1s ease-in-out infinite;
}
.cta-deco-icon {
    position: relative; z-index: 2;
    width: 42px; height: 42px;
    color: var(--c-violet);
    filter: drop-shadow(0 0 12px rgba(139,92,246,.5));
}

/* ── CATALOG PAGE ─────────────────────────────────────────────── */
.catalog-page-main { flex: 1; }

/* Hero del catálogo */
.catalog-hero {
    padding: 5rem 2rem 3rem;
    text-align: center;
}
.catalog-hero-inner { max-width: 720px; margin: 0 auto; }
.catalog-hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--c-cyan); margin-bottom: 1.2rem;
}
.catalog-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
    color: var(--c-white); line-height: 1.15; margin-bottom: 1rem;
}
.catalog-hero-sub { font-size: 1rem; color: var(--c-mist); line-height: 1.7; }

/* Controls (search + filters) */
.catalog-controls-section {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--stroke);
}
.catalog-controls-inner {
    max-width: 1360px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 1.2rem;
    align-items: center;
}

/* Searchbar */
.catalog-searchbar-wrap { width: 100%; max-width: 620px; }
.catalog-searchbar {
    display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: .7rem 1.1rem;
    transition: border-color .2s, box-shadow .2s;
}
.catalog-searchbar:focus-within {
    border-color: var(--stroke-cyan);
    box-shadow: 0 0 0 3px rgba(0,245,255,.06), 0 4px 24px rgba(0,0,0,.3);
}
.searchbar-icon { color: var(--c-slate); flex-shrink: 0; }
.searchbar-input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--c-white); font-family: 'Exo 2', sans-serif;
    font-size: .92rem; font-weight: 400;
    caret-color: var(--c-cyan);
}
.searchbar-input::placeholder { color: var(--c-slate); }
.searchbar-clear {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,.07); border: none;
    color: var(--c-slate); cursor: pointer; flex-shrink: 0;
    transition: background .15s, color .15s;
}
.searchbar-clear:hover { background: rgba(255,45,155,.15); color: var(--c-pink); }

/* Filters */
.catalog-filters {
    display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.filter-pill {
    padding: .45rem 1.1rem; font-family: 'Exo 2', sans-serif;
    font-size: .82rem; font-weight: 600; color: var(--c-slate);
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: 99px; cursor: pointer;
    transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.filter-pill:hover { color: var(--c-cyan); border-color: var(--stroke-cyan); background: rgba(0,245,255,.05); }
.filter-pill.active {
    color: #000; background: var(--grad-nebula);
    border-color: transparent; box-shadow: 0 4px 16px rgba(0,245,255,.25);
}

/* Results info */
.catalog-results-info {
    font-size: .8rem; color: var(--c-slate); letter-spacing: .03em; min-height: 1.2em;
}

/* Grid section */
.catalog-grid-section { padding: 2.5rem 2rem 5rem; }
.catalog-grid-inner { max-width: 1360px; margin: 0 auto; }

/* Loading */
.catalog-loading {
    text-align: center; padding: 5rem 0; color: var(--c-slate);
    display: flex; flex-direction: column; align-items: center;
    gap: 1rem; font-size: .9rem;
}
.spinner {
    width: 38px; height: 38px;
    border: 2.5px solid rgba(255,45,155,.12);
    border-top-color: var(--c-pink); border-radius: 50%;
    animation: spin-loader .85s linear infinite;
    box-shadow: 0 0 12px rgba(255,45,155,.25);
}

/* Grid */
.catalog-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; }

/* ── PROJECT CARD ───────────────────────────────────────────────── */
.proj-card {
    flex: 1 1 280px; max-width: 340px;
    background: var(--glass); border: 1px solid var(--stroke);
    border-radius: var(--radius); padding: 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.proj-card:hover {
    border-color: var(--stroke-pink); transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 24px rgba(255,45,155,.09);
}

.proj-card-head {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: .75rem;
}
.proj-card-title { font-size: .975rem; font-weight: 700; color: var(--c-white); line-height: 1.35; }
.proj-base-badge {
    flex-shrink: 0; font-size: .7rem; font-weight: 600;
    padding: .22rem .65rem;
    background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.22);
    border-radius: 99px; color: #a78bfa; white-space: nowrap;
}

.proj-meta { display: flex; flex-wrap: wrap; gap: .6rem; }
.proj-meta-item { display: inline-flex; align-items: center; gap: .28rem; font-size: .75rem; color: var(--c-slate); }

.proj-desc {
    font-size: .835rem; color: var(--c-mist); line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden; margin: 0;
}

.proj-focus { font-size: .78rem; color: rgba(255,45,155,.8); font-weight: 500; }

.proj-card-foot {
    display: flex; flex-wrap: wrap; gap: .4rem;
    padding-top: .75rem; border-top: 1px solid var(--stroke); margin-top: auto;
}

/* Botón Ver más */
.proj-btn-details {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .32rem .75rem; border-radius: 10px;
    border: 1px solid rgba(0,245,255,.25); background: rgba(0,245,255,.06);
    color: rgba(240,244,255,.92); font-weight: 700; font-size: .75rem;
    cursor: pointer; transition: transform .18s, background .18s, border-color .18s;
    font-family: 'Exo 2', sans-serif;
}
.proj-btn-details:hover {
    transform: translateY(-1px);
    background: rgba(0,245,255,.10); border-color: rgba(0,245,255,.45);
}

/* Botón Acceder (solo para público) */
.proj-link-login {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .28rem .75rem; font-size: .75rem; font-weight: 600;
    color: var(--c-slate); background: rgba(255,255,255,.04);
    border: 1px solid var(--stroke); border-radius: 6px;
    transition: color .18s, border-color .18s, background .18s;
}
.proj-link-login:hover {
    color: var(--c-pink); border-color: var(--stroke-pink);
    background: rgba(255,45,155,.06);
}

/* Links internos (para usuarios autenticados, no se muestran aquí) */
.proj-link {
    display: inline-flex; align-items: center;
    padding: .28rem .75rem; font-size: .75rem; font-weight: 600;
    color: var(--c-slate); background: rgba(255,255,255,.04);
    border: 1px solid var(--stroke); border-radius: 6px;
    transition: color .18s, border-color .18s, background .18s;
}
.proj-link:hover { color: var(--c-cyan); border-color: var(--stroke-cyan); background: rgba(0,245,255,.06); }
.proj-link-final { color: var(--c-lime); border-color: rgba(57,255,20,.18); background: rgba(57,255,20,.05); }
.proj-link-final:hover { color: var(--c-lime); border-color: rgba(57,255,20,.45); box-shadow: 0 0 10px rgba(57,255,20,.15); }

/* Empty */
.empty-state {
    grid-column: 1/-1; text-align: center; padding: 5rem 0;
    display: flex; flex-direction: column; align-items: center;
    gap: .75rem; color: var(--c-slate); width: 100%;
}
.empty-icon { font-size: 2.8rem; }

/* ── MODAL ─────────────────────────────────────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 18px; align-items: center; justify-content: center;
}
.modal-overlay.is-open { display: flex; }

.modal.modal-lg {
    width: min(860px, calc(100vw - 32px));
    max-height: min(85vh, 780px);
    display: flex; flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(145deg, rgba(12,8,28,.96), rgba(6,4,16,.98));
    box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(255,45,155,.08);
    overflow: hidden;
}

.modal-head {
    padding: 18px 20px 16px;
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    flex-shrink: 0;
}
.modal-head-left { display: flex; flex-direction: column; gap: 6px; }
.modal-head-badge {
    font-size: .7rem; font-weight: 700; letter-spacing: .1em;
    color: #a78bfa; text-transform: uppercase;
}
.modal-title { font-size: 1.15rem; font-weight: 800; color: var(--c-white); line-height: 1.2; }

.modal-close {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    color: var(--c-slate); cursor: pointer; flex-shrink: 0;
    transition: background .15s, color .15s, border-color .15s;
}
.modal-close:hover { background: rgba(255,45,155,.12); color: var(--c-pink); border-color: var(--stroke-pink); }

.modal-body {
    padding: 20px; overflow-y: auto;
    flex: 1;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--c-pink), var(--c-violet));
    border-radius: 999px;
}

.modal-foot {
    padding: 14px 20px;
    display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    flex-shrink: 0;
}
.modal-login-cta { font-size: .875rem; padding: .55rem 1.2rem; }

/* Modal body content */
.home-details-meta {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.home-details-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: .4rem .85rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    font-size: .82rem; color: var(--c-mist);
}
.home-details-chip.chip-focus {
    border-color: rgba(255,45,155,.2);
    background: rgba(255,45,155,.07);
    color: rgba(255,180,220,.9);
}
.chip-icon { font-size: .85rem; }
.chip-text { font-weight: 600; }

.home-details-section { margin-bottom: 16px; }
.home-details-section-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--c-cyan);
    margin-bottom: 10px;
}

.home-details-desc {
    padding: 16px 18px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.3);
    line-height: 1.8; color: rgba(240,244,255,.95);
    white-space: pre-wrap; font-size: .9rem;
}

.home-details-login-notice {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: 12px;
    border: 1px solid rgba(139,92,246,.2);
    background: rgba(139,92,246,.06);
    font-size: .82rem; color: rgba(200,205,232,.7);
    margin-top: 12px;
}

/* ── PREMIUM FOOTER ─────────────────────────────────────────────── */
.premium-footer {
    width: 100%; margin-top: auto;
    border-top: 3px solid #ff69b4;
    background: #000000 !important;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 12px 0;
    color: #ffffff; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 14px;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 25px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.footer-logo-letra { height: 18px; width: auto; vertical-align: middle; }
.footer-right { display: flex; align-items: center; gap: 12px; }
.developed-txt { font-size: 12px; letter-spacing: 1px; opacity: 0.7; }
.dev-link { display: flex; align-items: center; text-decoration: none; transition: opacity .3s, transform .3s; }
.dev-link:hover { opacity: 0.8; transform: translateY(-1px); }
.dev-logo-one { height: 23px; width: auto; }
.by-txt { margin: 0 6px; font-style: italic; opacity: 0.7; font-size: 13px; }
.dev-logo-escencial { height: 40px; width: auto; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; }
.home-main { flex: 1; overflow: visible; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-inner  { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-visual { order: -1; }
    .hero-actions { justify-content: center; }
    .hero-body { margin: 0 auto 2rem; }
    .cta-catalog-inner { grid-template-columns: 1fr; text-align: center; }
    .cta-catalog-deco  { display: none; }
    .cta-catalog-btn   { align-self: center; }
    .nav-mobile-toggle { display: flex; }
    .header-nav { display: none; }
}

@media (max-width: 768px) {
    .hero { padding: 5rem 1.25rem 2rem; }
    .about-section { padding: 4rem 1.25rem; }
    .cta-catalog-section { padding: 4rem 1.25rem; }
    .catalog-hero { padding: 4rem 1.25rem 2rem; }
    .catalog-controls-section { padding: 0 1.25rem 1.5rem; }
    .catalog-grid-section { padding: 2rem 1.25rem 3rem; }
    .about-cards { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1.25rem; }
    .stat-divider { width: 60px; height: 1px; }
    .footer-container { flex-direction: column; gap: 15px; text-align: center; }
    .footer-left, .footer-right { flex-wrap: wrap; justify-content: center; }
    .developed-txt { width: 100%; margin-bottom: 5px; }
    .modal.modal-lg { max-height: 92vh; border-radius: 16px; }
}