/* ============================================================================
 * portfolio-extras.css — v10.0 PREMIUM
 * Hero full-bleed · acordeones premium · arquitectos · certificaciones premium
 * Menú grande · responsive premium · paleta gold/navy/charcoal sin blancos planos
 * ========================================================================== */

:root {
    --gold: #C9A24B;
    --gold-light: #E5C07B;
    --gold-dark: #A8852F;
    --navy: #0F2847;
    --navy-soft: #1E3A63;
    --charcoal: #0A0F1E;
    --charcoal-soft: #131A2C;
    --charcoal-card: #1A2238;
    --ivory: #F5F1E8;
    --ivory-soft: #E8E2D2;
    --text-primary: #E8ECF1;
    --text-secondary: #B8C2CF;
    --text-muted: #8896A8;
    --shadow-gold: 0 8px 30px rgba(201, 162, 75, 0.3);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);
    --gradient-gold: linear-gradient(135deg, #E5C07B 0%, #C9A24B 50%, #A8852F 100%);
    --gradient-dark: linear-gradient(135deg, #0F2847 0%, #1A2238 50%, #0A0F1E 100%);
    --font-body: 'Inter', sans-serif;
    --font-title: 'Sora', serif;
    --font-base: 16px;

    /* Modo día (configurable) */
    --day-bg: #F8FAFC;
    --day-fg: #0F172A;
    --day-accent: #C9A24B;
    --day-card: #FFFFFF;
    --day-border: #E2E8F0;
    --day-muted: #475569;
}

body { font-family: var(--font-body); }
.section-title-main { font-family: var(--font-title); }

/* ============================================================== HERO FULL-BLEED */
.hero-fullbleed {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: flex-end; justify-content: center;
    background: var(--charcoal);
    overflow: hidden;
}
.hero-image-wrap {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.hero-fullbleed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .hero-fullbleed-img {
        object-fit: contain;        /* en móvil se ve completa */
        background: linear-gradient(180deg, #0A0F1E 0%, #1A2238 100%);
    }
}
.hero-fullbleed-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at bottom, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.4) 50%, transparent 80%),
        linear-gradient(180deg, rgba(10, 15, 30, 0.3) 0%, transparent 30%, rgba(10, 15, 30, 0.85) 100%);
    pointer-events: none;
}
.hero-fullbleed-content {
    position: relative; z-index: 5;
    text-align: center;
    padding: 0 24px 100px;
    width: 100%;
    max-width: 980px;
    animation: heroFadeIn 1.2s ease-out;
}
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201, 162, 75, 0.12);
    border: 1px solid rgba(201, 162, 75, 0.4);
    padding: 8px 20px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 12px var(--gold);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-stack-buttons {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: center;
    margin: 0 auto 36px;
    max-width: 720px;
}
.ai-chip-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(201, 162, 75, 0.4);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-chip-btn i { color: var(--gold); font-size: 18px; }
.ai-chip-btn:hover {
    background: rgba(201, 162, 75, 0.2);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.ai-chip-btn.claude-highlight {
    background: linear-gradient(135deg, rgba(201, 162, 75, 0.25), rgba(168, 133, 47, 0.2));
    border-color: var(--gold);
}

.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-primary {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 18px 38px;
    background: var(--gradient-gold);
    border: none; border-radius: 14px;
    color: var(--charcoal);
    font-family: var(--font-title);
    font-weight: 700; font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}
.cta-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(201, 162, 75, 0.5); }

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--gold-light); font-size: 12px; letter-spacing: 2px;
    cursor: pointer; z-index: 6;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold), transparent); }
@keyframes scrollBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================================================ MAIN APP COLORS */
body { background: var(--charcoal); color: var(--text-primary); }
.main-app { background: var(--charcoal); min-height: 100vh; }
.portfolio-section {
    padding: 100px 0;
    position: relative;
}
.portfolio-section.section-dark {
    background: linear-gradient(180deg, var(--charcoal-soft) 0%, var(--charcoal) 100%);
}
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.section-header-block { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(201, 162, 75, 0.12);
    border: 1px solid rgba(201, 162, 75, 0.35);
    color: var(--gold-light);
    border-radius: 100px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.section-title-main {
    font-family: var(--font-title);
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 14px;
    line-height: 1.15;
}
.solid-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 18px;
    font-size: 16px;
    line-height: 1.6;
}
.section-underline {
    width: 80px; height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto;
    border-radius: 3px;
}

/* ============================================================ TOP HEADER */
.top-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(201, 162, 75, 0.15);
    transition: transform 0.3s ease;
}
.top-header.hidden { transform: translateY(-100%); }
.header-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 14px 28px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.header-brand { display: flex; align-items: center; gap: 14px; }
.header-logo-big {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    box-shadow: var(--shadow-gold);
}
.header-name {
    font-family: var(--font-title);
    font-size: 18px; font-weight: 700;
    color: var(--text-primary);
    margin: 0; line-height: 1.2;
}
.header-title {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.header-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle-btn, .header-admin-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 12px;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}
.theme-toggle-btn:hover, .header-admin-btn:hover {
    background: var(--gold); color: var(--charcoal);
    transform: translateY(-2px);
}

/* ============================================================ FROZEN NAV (más grande) */
.frozen-nav.frozen-nav-large {
    position: fixed; top: 80px; left: 0; right: 0; z-index: 90;
    background: rgba(15, 40, 71, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 75, 0.2);
    transition: transform 0.3s ease;
    padding: 10px 0;
}
.frozen-nav.frozen-nav-large.header-hidden { transform: translateY(-100%); }
.frozen-nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 28px;
    display: flex; gap: 8px; flex-wrap: wrap;
    justify-content: center; align-items: center;
}
.fnav-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;                          /* más grande */
    background: rgba(201, 162, 75, 0.06);
    border: 1.5px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;                             /* más grande */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.fnav-btn i { color: var(--gold); font-size: 16px; }
.fnav-btn:hover, .fnav-btn.active {
    background: rgba(201, 162, 75, 0.18);
    border-color: var(--gold);
    transform: translateY(-2px);
    color: var(--gold-light);
}
.fnav-btn.fnav-music {
    background: linear-gradient(135deg, rgba(201, 162, 75, 0.25), rgba(168, 133, 47, 0.15));
    border-color: rgba(201, 162, 75, 0.5);
}

@media (max-width: 1024px) {
    .frozen-nav.frozen-nav-large { display: none; }
}

/* ============================================================ MOBILE FAB MENU */
.mobile-menu-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 95;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border: none;
    font-size: 22px;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    display: none;
    align-items: center; justify-content: center;
}
@media (max-width: 1024px) { .mobile-menu-fab { display: flex; } }

/* ============================================================ MOBILE DRAWER */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-drawer {
    position: fixed; top: 0; right: -340px; bottom: 0;
    width: 320px; max-width: 90vw;
    background: linear-gradient(180deg, var(--navy) 0%, var(--charcoal) 100%);
    border-left: 1px solid rgba(201, 162, 75, 0.3);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    padding: 24px 22px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}
.mobile-nav-drawer.open { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid rgba(201, 162, 75, 0.2); }
.drawer-brand { color: var(--gold-light); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.drawer-close { background: transparent; border: none; color: var(--text-primary); font-size: 22px; cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.drawer-links a, .drawer-music-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: rgba(201, 162, 75, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600; font-size: 15px;
    transition: all 0.25s ease;
    cursor: pointer; text-align: left;
}
.drawer-links a i, .drawer-music-link i { color: var(--gold); font-size: 18px; width: 22px; }
.drawer-links a:hover, .drawer-music-link:hover {
    background: rgba(201, 162, 75, 0.15);
    border-color: var(--gold);
    transform: translateX(4px);
}
.drawer-admin-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 16px;
    justify-content: center;
}

/* ============================================================ ABOUT (premium) */
.about-grid-v2 {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}
.bio-highlight-box {
    position: relative;
    background: linear-gradient(135deg, var(--charcoal-card), var(--navy-soft));
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 22px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}
.bio-photo-wrapper.bio-photo-full-mobile {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
}
.bio-photo.bio-photo-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}
@media (max-width: 768px) {
    .bio-photo-wrapper.bio-photo-full-mobile {
        aspect-ratio: auto;
        height: auto;
    }
    .bio-photo.bio-photo-cover {
        width: 100%; height: auto;
        object-fit: contain;
        background: linear-gradient(180deg, var(--navy-soft), var(--charcoal));
    }
}
.bio-quote-mark {
    position: absolute; top: 20px; right: 24px;
    color: var(--gold);
    font-size: 32px;
    opacity: 0.6;
}
.bio-statement {
    padding: 22px 26px 28px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}
.profile-justification {
    margin-top: 28px;
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.18);
    border-radius: 18px;
    padding: 28px;
}
.justify-title { color: var(--gold-light); font-family: var(--font-title); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.justify-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(201, 162, 75, 0.15); }
.justify-item:last-child { border-bottom: 0; }
.justify-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(201, 162, 75, 0.15);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 18px;
}
.justify-content h4 { color: var(--text-primary); font-size: 15px; margin: 0 0 6px; font-weight: 700; }
.justify-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }
.justify-content strong { color: var(--gold-light); font-weight: 700; }

.about-card-stack { display: flex; flex-direction: column; gap: 22px; }
.section-footer-cta-inline { display: flex; gap: 12px; flex-wrap: wrap; }
.section-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}
.section-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,162,75,0.4); }
.section-cta-btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold-light);
    box-shadow: none;
}
.section-cta-btn-outline:hover { background: var(--gold); color: var(--charcoal); }

.about-ai-card.claude-terminal {
    background: #0d0e16;
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 16px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: var(--shadow-deep);
}
.ai-card-header { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #1a1d2b; border-bottom: 1px solid rgba(201,162,75,0.15); }
.ai-card-dot { width: 10px; height: 10px; border-radius: 50%; }
.ai-card-dot.green { background: #4caf50; }
.ai-card-dot.yellow { background: #ffc107; }
.ai-card-dot.red { background: #f44336; }
.ai-card-title { color: var(--text-muted); font-size: 12px; margin-left: 10px; }
.ai-card-body { padding: 18px; }
.ai-card-body code { display: block; }
.code-line { display: block; padding: 3px 0; font-size: 13px; color: var(--text-secondary); }
.code-prompt { color: var(--gold); font-weight: 700; }
.code-comment { color: var(--text-muted); font-style: italic; }
.code-keyword { color: #4caf50; }
.code-string { color: var(--gold-light); }
.code-cursor { animation: blink 1s step-end infinite; color: var(--gold); }
@keyframes blink { 50% { opacity: 0; } }

.skills-radar-card {
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.18);
    border-radius: 16px;
    padding: 24px;
}
.skills-radar-card h4 { color: var(--gold-light); margin: 0 0 18px; font-family: var(--font-title); display: flex; align-items: center; gap: 10px; }
.skill-bar-item { margin-bottom: 14px; }
.skill-bar-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.skill-bar-track { height: 6px; background: rgba(201, 162, 75, 0.1); border-radius: 100px; overflow: hidden; }
.skill-bar-fill {
    height: 100%;
    width: var(--fill-width);
    background: var(--gradient-gold);
    border-radius: 100px;
    box-shadow: 0 0 12px rgba(201, 162, 75, 0.5);
}
.skill-bar-fill.claude-fill { background: linear-gradient(90deg, #FF6B35, var(--gold-light), var(--gold)); }

@media (max-width: 1024px) { .about-grid-v2 { grid-template-columns: 1fr; } }

/* ============================================================ ACCORDION PREMIUM */
.accordion-block.accordion-premium {
    background: linear-gradient(135deg, var(--charcoal-card), var(--navy-soft));
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    margin-top: 30px;
}
.accordion-premium-toggle {
    display: flex; width: 100%;
    align-items: center; justify-content: space-between;
    padding: 26px 32px;
    background: linear-gradient(135deg, rgba(201, 162, 75, 0.08), transparent);
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}
.accordion-premium-toggle:hover { background: rgba(201, 162, 75, 0.15); }
.accordion-premium-toggle .acc-left { display: flex; align-items: center; gap: 18px; }
.acc-icon-premium {
    width: 56px; height: 56px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--charcoal);
    font-size: 22px;
    box-shadow: var(--shadow-gold);
}
.acc-icon-dark { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--gold); border: 2px solid var(--gold); }
.acc-label strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
    margin-bottom: 4px;
}
.acc-label small { display: block; color: var(--text-muted); font-size: 13px; }
.acc-chevron {
    color: var(--gold);
    font-size: 18px;
    transition: transform 0.3s ease;
}
.accordion-premium-toggle[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
.accordion-premium-panel {
    padding: 32px;
    border-top: 1px solid rgba(201, 162, 75, 0.18);
    background: rgba(10, 15, 30, 0.4);
}

/* ============================================================ WEBAPPS PREMIUM */
.webapp-categories {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 24px;
    justify-content: center;
}
.webapp-cat-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: rgba(201, 162, 75, 0.08);
    border: 1.5px solid rgba(201, 162, 75, 0.25);
    border-radius: 100px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}
.webapp-cat-btn i { color: var(--gold); }
.webapp-cat-btn:hover, .webapp-cat-btn.active {
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.webapp-cat-btn.active i, .webapp-cat-btn:hover i { color: var(--charcoal); }

.webapp-gallery-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.webapp-card.premium-webapp {
    position: relative;
    background: linear-gradient(135deg, var(--navy-soft), var(--charcoal-card));
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 18px;
    padding: 24px;
    display: flex; flex-direction: column;
    gap: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.webapp-card.premium-webapp::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.webapp-card.premium-webapp:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.webapp-card.premium-webapp:hover::before { transform: scaleX(1); }
.webapp-card-icon-wrap { display: flex; align-items: center; justify-content: space-between; }
.webapp-card-icon {
    width: 60px; height: 60px;
    background: rgba(201, 162, 75, 0.15);
    border: 2px solid var(--gold);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(201, 162, 75, 0.2);
}
.webapp-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.webapp-badge.comida { background: rgba(255, 138, 76, 0.15); color: #FF8A4C; border: 1px solid #FF8A4C; }
.webapp-badge.esteticas { background: rgba(236, 72, 153, 0.15); color: #EC4899; border: 1px solid #EC4899; }
.webapp-badge.salud { background: rgba(34, 197, 94, 0.15); color: #22C55E; border: 1px solid #22C55E; }
.webapp-badge.gimnasios { background: rgba(168, 85, 247, 0.15); color: #A855F7; border: 1px solid #A855F7; }
.webapp-badge.imprentas { background: rgba(59, 130, 246, 0.15); color: #3B82F6; border: 1px solid #3B82F6; }
.webapp-badge.otros { background: rgba(201, 162, 75, 0.15); color: var(--gold-light); border: 1px solid var(--gold); }
.webapp-card-info h4 {
    margin: 0 0 8px;
    font-family: var(--font-title);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
}
.webapp-card-info p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
}
.webapp-card-url {
    color: var(--gold-light);
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}
.webapp-card-url i { margin-right: 4px; }
.webapp-card-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px;
    background: rgba(201, 162, 75, 0.1);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.webapp-card-cta:hover {
    background: var(--gradient-gold);
    color: var(--charcoal);
    transform: translateY(-2px);
}
.webapp-counter { text-align: center; margin-top: 26px; }
.counter-highlight {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 100px;
    color: var(--gold-light);
    font-weight: 600;
}
.counter-highlight strong { color: var(--gold); }

/* ============================================================ DESIGN PREMIUM */
.design-tools-showcase {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
.design-tool-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
}
.design-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.design-card.premium-card {
    position: relative;
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.2);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.design-card.premium-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.design-card-frame { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.design-card-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.design-card.premium-card:hover .design-card-frame img { transform: scale(1.08); }
.design-card-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 5px 11px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}
.design-card-overlay {
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(10, 15, 30, 0.9));
}
.design-card-cat {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(201, 162, 75, 0.15);
    color: var(--gold-light);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}
.design-card-overlay h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-title);
}
.design-tools-tag {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold-light);
    font-size: 12px;
}

/* ============================================================ LIGHTBOX */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-content { max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox-content img { max-width: 100%; max-height: 75vh; border-radius: 12px; box-shadow: var(--shadow-deep); }
.lightbox-info { color: var(--text-primary); text-align: center; }
.lightbox-info h4 { font-family: var(--font-title); margin: 0 0 4px; font-size: 20px; color: var(--gold-light); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    width: 50px; height: 50px;
    background: rgba(201, 162, 75, 0.2);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-light);
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    color: var(--gold-light);
    font-weight: 700;
    background: rgba(201, 162, 75, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
}

/* ============================================================ VIDEO */
.video-showcase { display: grid; gap: 26px; }
.video-featured {
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 18px;
    overflow: hidden;
}
.video-player-container { position: relative; aspect-ratio: 16/9; }
.video-player-container iframe { width: 100%; height: 100%; border: 0; }
.video-featured-info { padding: 20px 24px; border-top: 1px solid rgba(201, 162, 75, 0.18); }
.video-ai-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201, 162, 75, 0.18);
    color: var(--gold-light);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.video-featured-info h3 { color: var(--text-primary); font-family: var(--font-title); margin: 0 0 4px; font-size: 20px; }
.video-featured-info p { color: var(--text-secondary); margin: 0; font-size: 14px; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.video-thumb.premium-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--navy-soft), var(--charcoal-card));
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.video-thumb.premium-thumb:hover, .video-thumb.premium-thumb.active {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.thumb-number { font-family: var(--font-title); font-size: 28px; font-weight: 800; color: rgba(201, 162, 75, 0.4); }
.thumb-overlay {
    position: absolute; inset: 0;
    background: rgba(10, 15, 30, 0.4);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-thumb.premium-thumb:hover .thumb-overlay, .video-thumb.premium-thumb.active .thumb-overlay { opacity: 1; }
.thumb-tool { position: absolute; bottom: 6px; left: 6px; right: 6px; font-size: 10px; color: var(--gold-light); text-align: center; opacity: 0.7; }
.video-tools-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.tool-badge {
    padding: 8px 16px;
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================================ ARQUITECTOS ACORDEÓN */
.architect-acc-container { display: flex; flex-direction: column; gap: 14px; }
.arch-acc-item {
    background: linear-gradient(135deg, var(--charcoal-card), var(--navy-soft));
    border: 1px solid rgba(201, 162, 75, 0.22);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.arch-acc-item.open { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.arch-acc-toggle {
    width: 100%;
    display: flex; align-items: center; gap: 18px;
    padding: 22px 26px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}
.arch-acc-toggle:hover { background: rgba(201, 162, 75, 0.08); }
.arch-acc-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 16px;
}
.arch-acc-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(201, 162, 75, 0.15);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 18px;
}
.arch-acc-text { flex: 1; }
.arch-acc-text strong { display: block; font-family: var(--font-title); font-size: 17px; color: var(--text-primary); margin-bottom: 4px; }
.arch-acc-text small { color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.arch-acc-chevron { color: var(--gold); font-size: 16px; transition: transform 0.3s ease; }
.arch-acc-item.open .arch-acc-chevron { transform: rotate(180deg); }
.arch-acc-panel {
    padding: 26px;
    border-top: 1px solid rgba(201, 162, 75, 0.18);
    background: rgba(10, 15, 30, 0.4);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 26px;
    align-items: start;
}
.arch-acc-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(201, 162, 75, 0.2);
}
.arch-acc-info p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.arch-acc-features { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.arch-acc-features li {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary);
    font-size: 14px;
}
.arch-acc-features li i { color: var(--gold); font-size: 14px; }
.arch-acc-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}
@media (max-width: 768px) { .arch-acc-panel { grid-template-columns: 1fr; } }

/* ============================================================ PROJECTS PREMIUM */
.projects-showcase-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}
.project-card.premium-project {
    position: relative;
    background: linear-gradient(135deg, var(--charcoal-card), var(--navy-soft));
    border: 1px solid rgba(201, 162, 75, 0.22);
    border-radius: 18px;
    padding: 28px;
    transition: all 0.35s ease;
    overflow: hidden;
}
.project-card.premium-project::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s ease;
}
.project-card.premium-project:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.project-card.premium-project:hover::after { transform: scaleX(1); }
.project-card.featured-project { background: linear-gradient(135deg, rgba(201, 162, 75, 0.18), var(--charcoal-card)); border-color: var(--gold); }
.project-icon {
    width: 64px; height: 64px;
    background: rgba(201, 162, 75, 0.15);
    border: 2px solid var(--gold);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 16px;
}
.project-icon.claude-glow { animation: claudeGlow 2.5s ease-in-out infinite; }
@keyframes claudeGlow { 0%,100% { box-shadow: 0 0 16px rgba(201,162,75,0.3); } 50% { box-shadow: 0 0 28px rgba(201,162,75,0.7); } }
.project-badge {
    display: inline-block;
    padding: 4px 11px;
    background: rgba(201, 162, 75, 0.18);
    color: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.project-card h3 { color: var(--text-primary); font-family: var(--font-title); margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.project-card p { color: var(--text-secondary); margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span {
    padding: 4px 10px;
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(201, 162, 75, 0.2);
    border-radius: 6px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
}

/* ============================================================ TECH STACK */
.tech-integrated-block { margin-top: 40px; }
.section-header-inner { margin-bottom: 36px; }
.tech-category-block {
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.18);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 22px;
}
.tech-category-block.primary-tech {
    background: linear-gradient(135deg, rgba(201, 162, 75, 0.12), var(--charcoal-card));
    border-color: var(--gold);
}
.tech-cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tech-cat-icon {
    width: 48px; height: 48px;
    background: rgba(201, 162, 75, 0.15);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 20px;
}
.tech-cat-icon.claude-icon-glow { animation: claudeGlow 2.5s ease-in-out infinite; }
.tech-cat-header h3 { color: var(--text-primary); font-family: var(--font-title); margin: 0; font-size: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-core { padding: 3px 10px; background: var(--gradient-gold); color: var(--charcoal); border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.tech-justification { color: var(--text-secondary); margin: 0 0 18px; font-size: 14px; line-height: 1.6; }
.tech-pills-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    background: rgba(201, 162, 75, 0.08);
    border: 1px solid rgba(201, 162, 75, 0.22);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.tech-pill i { color: var(--gold); }
.tech-pill:hover { background: rgba(201, 162, 75, 0.18); border-color: var(--gold); transform: translateY(-2px); }
.tech-pill.featured { background: rgba(201, 162, 75, 0.18); border-color: var(--gold); color: var(--gold-light); }
.tech-pill.claude-pill { background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(201, 162, 75, 0.2)); border-color: var(--gold); }
.pill-badge { padding: 2px 8px; background: var(--gold); color: var(--charcoal); border-radius: 6px; font-size: 10px; font-weight: 800; margin-left: 4px; }

/* ============================================================ CERTIFICATIONS PREMIUM */
.cert-institutions-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}
.cert-inst-card.cert-inst-premium {
    position: relative;
    background: linear-gradient(135deg, var(--charcoal-card), var(--navy-soft));
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 22px;
    padding: 32px 28px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.cert-inst-card.cert-inst-premium:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.cert-inst-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(201, 162, 75, 0.15), transparent 70%);
    pointer-events: none;
}
.cert-inst-icon {
    width: 64px; height: 64px;
    background: var(--gradient-gold);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--charcoal);
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-gold);
}
.cert-inst-card h3 {
    font-family: var(--font-title);
    color: var(--gold-light);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}
.cert-inst-card h4 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.4;
}
.cert-inst-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.cert-inst-card strong { color: var(--gold-light); }
.cert-inst-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-inst-badges img {
    width: 90px; height: 90px;
    object-fit: contain;
    background: var(--charcoal);
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 14px;
    padding: 8px;
}
.cert-inst-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.cert-inst-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: rgba(201, 162, 75, 0.06);
    border: 1px solid rgba(201, 162, 75, 0.18);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.cert-inst-list li i { color: var(--gold); }
.cert-inst-list li:hover {
    background: rgba(201, 162, 75, 0.15);
    border-color: var(--gold);
    transform: translateX(4px);
}
.cert-inst-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}
.cert-inst-list a:hover { color: var(--gold-light); }

/* Galería de certificaciones premium (BD) */
.cert-gallery-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}
.cert-premium-card {
    position: relative;
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.22);
    border-radius: 18px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.cert-premium-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}
.cert-premium-icon {
    width: 56px; height: 56px;
    background: rgba(201, 162, 75, 0.15);
    border: 2px solid var(--gold);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 14px;
}
.cert-premium-image { margin-bottom: 14px; }
.cert-premium-image img { width: 100%; max-height: 140px; object-fit: contain; }
.cert-premium-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(201, 162, 75, 0.15);
    color: var(--gold-light);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cert-premium-body h4 {
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 17px;
    margin: 0 0 8px;
}
.cert-premium-issuer { color: var(--gold-light); font-size: 13px; margin: 0 0 8px; }
.cert-premium-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.cert-premium-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cert-premium-level, .cert-premium-date {
    padding: 3px 10px;
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
}
.cert-premium-cta, .cert-premium-verify {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
    transition: all 0.25s ease;
}
.cert-premium-cta {
    background: var(--gradient-gold);
    color: var(--charcoal);
}
.cert-premium-cta:hover { transform: translateY(-2px); }
.cert-premium-verify {
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

/* ============================================================ CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}
.contact-info-block { display: flex; flex-direction: column; gap: 16px; }
.contact-card-item {
    display: flex; gap: 14px; align-items: center;
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.2);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s ease;
}
.contact-card-item:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-icon {
    width: 48px; height: 48px;
    background: rgba(201, 162, 75, 0.15);
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-detail h4 { margin: 0 0 4px; color: var(--text-primary); font-size: 13px; font-weight: 700; }
.contact-detail a, .contact-detail span { color: var(--gold-light); text-decoration: none; font-weight: 600; font-size: 14px; }
.cta-whatsapp-big {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 20px 32px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}
.cta-whatsapp-big:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5); }
.contact-form {
    background: var(--charcoal-card);
    border: 1px solid rgba(201, 162, 75, 0.2);
    border-radius: 18px;
    padding: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: flex; align-items: center; gap: 8px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
}
.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-gold);
    color: var(--charcoal);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.form-success, .form-error {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    display: flex !important; align-items: center; gap: 8px;
}
.form-success { background: rgba(34, 197, 94, 0.15); color: #4ADE80; border: 1px solid #22C55E; }
.form-error { background: rgba(239, 68, 68, 0.15); color: #F87171; border: 1px solid #EF4444; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================ FOOTER */
.main-footer {
    background: var(--charcoal-soft);
    border-top: 1px solid rgba(201, 162, 75, 0.2);
    padding: 40px 0;
}
.footer-container {
    max-width: 1280px; margin: 0 auto;
    padding: 0 28px;
    text-align: center;
    display: flex; flex-direction: column; gap: 18px;
}
.footer-logo { font-family: var(--font-title); font-size: 22px; font-weight: 800; color: var(--text-primary); }
.footer-logo .accent { color: var(--gold); }
.footer-brand p { color: var(--text-secondary); margin: 6px 0 0; }
.footer-powered { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.footer-powered > span { color: var(--text-muted); font-size: 13px; }
.footer-ai-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-ai-badges span {
    padding: 6px 14px;
    background: rgba(201, 162, 75, 0.1);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
}
.claude-badge-footer { background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(201, 162, 75, 0.2)) !important; }
.footer-copy { color: var(--text-muted); font-size: 13px; padding-top: 14px; border-top: 1px solid rgba(201, 162, 75, 0.1); }

/* ============================================================ MUSIC PLAYER */
.music-player {
    position: fixed; bottom: 24px; left: 24px; z-index: 950;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--gold);
    border-radius: 100px;
    box-shadow: var(--shadow-deep);
    backdrop-filter: blur(20px);
    animation: mpIn 0.4s ease-out;
    max-width: calc(100% - 48px);
}
@keyframes mpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.mp-btn {
    width: 36px; height: 36px;
    background: rgba(201, 162, 75, 0.15);
    border: 1px solid rgba(201, 162, 75, 0.4);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.mp-btn:hover { background: var(--gold); color: var(--charcoal); }
.mp-info { display: flex; flex-direction: column; padding: 0 8px; min-width: 110px; }
.mp-label { color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.mp-track { color: var(--text-primary); font-size: 12px; }
.mp-volume { width: 80px; accent-color: var(--gold); }
@media (max-width: 640px) {
    .music-player { left: 12px; right: 12px; max-width: calc(100% - 24px); bottom: 90px; }
    .mp-volume { display: none; }
}

/* ============================================================ TOAST */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--gold);
    color: var(--text-primary);
    padding: 12px 22px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: var(--shadow-deep);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================ DAY MODE */
body.day-mode {
    background: var(--day-bg);
    color: var(--day-fg);
}
body.day-mode .main-app { background: var(--day-bg); }
body.day-mode .top-header,
body.day-mode .frozen-nav.frozen-nav-large { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--day-border); }
body.day-mode .header-name { color: var(--day-fg); }
body.day-mode .header-title { color: var(--day-muted); }
body.day-mode .fnav-btn { color: var(--day-fg); background: rgba(201, 162, 75, 0.1); }
body.day-mode .fnav-btn:hover, body.day-mode .fnav-btn.active { background: rgba(201, 162, 75, 0.25); color: var(--day-accent); }
body.day-mode .portfolio-section { color: var(--day-fg); }
body.day-mode .portfolio-section.section-dark { background: linear-gradient(180deg, #F1F5F9, #E2E8F0); }
body.day-mode .section-title-main { color: var(--day-fg); }
body.day-mode .section-subtitle { color: var(--day-muted); }
body.day-mode .bio-highlight-box,
body.day-mode .profile-justification,
body.day-mode .skills-radar-card,
body.day-mode .accordion-block.accordion-premium,
body.day-mode .arch-acc-item,
body.day-mode .webapp-card.premium-webapp,
body.day-mode .design-card.premium-card,
body.day-mode .project-card.premium-project,
body.day-mode .tech-category-block,
body.day-mode .cert-inst-card.cert-inst-premium,
body.day-mode .cert-premium-card,
body.day-mode .contact-card-item,
body.day-mode .contact-form,
body.day-mode .video-featured,
body.day-mode .video-thumb.premium-thumb {
    background: var(--day-card);
    border-color: var(--day-border);
    color: var(--day-fg);
}
body.day-mode .bio-statement,
body.day-mode .justify-content p,
body.day-mode .webapp-card-info p,
body.day-mode .project-card p,
body.day-mode .tech-justification,
body.day-mode .arch-acc-info p { color: var(--day-muted); }
body.day-mode .justify-content h4,
body.day-mode .webapp-card-info h4,
body.day-mode .project-card h3,
body.day-mode .tech-cat-header h3,
body.day-mode .cert-inst-card h4,
body.day-mode .cert-premium-body h4,
body.day-mode .arch-acc-text strong { color: var(--day-fg); }
body.day-mode .form-group input,
body.day-mode .form-group select,
body.day-mode .form-group textarea {
    background: #F1F5F9;
    color: var(--day-fg);
    border-color: var(--day-border);
}
body.day-mode .neural-canvas { opacity: 0.25; }
body.day-mode .main-footer { background: #E2E8F0; color: var(--day-fg); }
body.day-mode .footer-logo, body.day-mode .footer-copy { color: var(--day-fg); }
body.day-mode .music-player { background: rgba(255, 255, 255, 0.95); }

/* ============================================================ NEURAL CANVAS */
.neural-canvas {
    position: fixed; inset: 0; z-index: -1;
    pointer-events: none;
}

/* ============================================================ LOADING SCREEN */
.loading-screen {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ai-brain-loader { position: relative; width: 100px; height: 100px; }
.brain-ring {
    position: absolute; inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: rotate 1.6s linear infinite;
}
.ring-2 { inset: 12px; animation-duration: 2.2s; animation-direction: reverse; border-top-color: var(--gold-light); }
.ring-3 { inset: 24px; animation-duration: 1.4s; border-top-color: #FF6B35; }
.brain-core {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 24px;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.loader-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.loader-label { color: var(--gold-light); font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.loader-bar { width: 220px; height: 4px; background: rgba(201, 162, 75, 0.15); border-radius: 100px; overflow: hidden; }
.loader-progress { height: 100%; width: 0; background: var(--gradient-gold); transition: width 0.2s ease; }
.loader-percent { color: var(--gold); font-size: 13px; font-weight: 700; }

/* ============================================================ RESPONSIVE */
@media (max-width: 768px) {
    .portfolio-section { padding: 70px 0; }
    .section-container { padding: 0 18px; }
    .header-name { font-size: 16px; }
    .header-title { font-size: 11px; }
    .header-logo-big { width: 44px; height: 44px; }
    .top-header { padding: 0; }
    .header-inner { padding: 12px 18px; }
    .frozen-nav.frozen-nav-large { display: none; }
    .accordion-premium-toggle { padding: 18px 22px; }
    .acc-icon-premium { width: 46px; height: 46px; font-size: 18px; }
    .acc-label strong { font-size: 15px; }
    .accordion-premium-panel { padding: 22px 18px; }
    .webapp-gallery-premium { grid-template-columns: 1fr; }
    .design-grid-premium { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .arch-acc-toggle { padding: 18px 18px; gap: 12px; }
    .arch-acc-num { width: 40px; height: 40px; font-size: 14px; }
    .arch-acc-icon { width: 36px; height: 36px; font-size: 14px; }
    .arch-acc-text strong { font-size: 15px; }
    .arch-acc-panel { padding: 20px 18px; }
    .cert-institutions-premium { grid-template-columns: 1fr; }
    .projects-showcase-premium { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-fullbleed-content { padding: 0 18px 80px; }
    .hero-stack-buttons { gap: 8px; }
    .ai-chip-btn { padding: 11px 16px; font-size: 12px; }
    .cta-primary { padding: 14px 28px; font-size: 13px; }
    .section-title-main { font-size: clamp(22px, 6vw, 32px); }
}
@media (max-width: 480px) {
    .design-grid-premium { grid-template-columns: 1fr 1fr; gap: 10px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-inst-card.cert-inst-premium { padding: 24px 20px; }
}

/* Justificación de textos */
.bio-statement, .justify-content p, .arch-acc-info p, .cert-premium-desc, .tech-justification, .section-subtitle, .webapp-card-info p, .project-card p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
@media (max-width: 640px) {
    .bio-statement, .section-subtitle { text-align: left; }
}
