/* ========================================
   MBA Artistic Solutions — Productora Musical
   Estética coherente con ensamblemba.com
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --red: #d44030;
    --green: #2d8c4e;
    --magenta: #cc00ff;
    --blue: #2862e9;
    --orange: #e88a20;
    --dark-orange: #c0441a;
    --cyan: #00b4d8;

    --bg-dark: #0a0a0a;
    --bg-light: #faf5f0;
    --text-light: #e8e0d8;
    --text-dark: #2a1f14;
    --text-muted: #8a8078;

    --circle-teal: #1a5c6b;
    --circle-maroon: #6b1a1a;
    --circle-purple: #5e1275;
    --circle-dark-green: #0d5e1a;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-orange);
}

ul {
    list-style: none;
}

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

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-gradient-line {
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--orange), var(--magenta), var(--blue), var(--green));
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.c1 { width: 400px; height: 400px; background: var(--circle-teal); top: 10%; left: -5%; animation: floatSlow 20s ease-in-out infinite; }
.c2 { width: 300px; height: 300px; background: var(--circle-maroon); top: 60%; right: -3%; animation: floatSlow 25s ease-in-out infinite reverse; }
.c3 { width: 250px; height: 250px; background: var(--circle-purple); bottom: 10%; left: 30%; animation: floatSlow 18s ease-in-out infinite; }
.c4 { width: 200px; height: 200px; background: var(--orange); top: 20%; right: 20%; opacity: 0.08; animation: floatSlow 22s ease-in-out infinite reverse; }
.c5 { width: 350px; height: 350px; background: var(--circle-dark-green); top: 40%; left: 50%; opacity: 0.1; animation: floatSlow 28s ease-in-out infinite; }

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(-20px, 30px); }
    75% { transform: translate(15px, 15px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Hero Logo — Respiración sutil */
.logo-breathing {
    width: clamp(280px, 40vw, 480px);
    margin: 0 auto 32px;
    opacity: 0;
    animation: logoFadeIn 1.5s ease forwards 0.3s;
}

.breath-logo {
    width: 100%;
    height: auto;
    animation: breatheLogo 6s ease-in-out infinite 1.8s;
    transform-origin: center center;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes breatheLogo {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.025);
        filter: brightness(1.08);
    }
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(18px, 3vw, 28px);
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}

.hero-sub {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.4s;
}

.hero-cta {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 40px;
    border: 1px solid var(--orange);
    color: var(--orange) !important;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.6s;
}

.hero-cta:hover {
    background: var(--orange);
    color: var(--bg-dark) !important;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--orange));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- SECTIONS (general) ---------- */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: var(--magenta);
}

.section-light .section-title {
    color: var(--magenta);
}

.section-intro {
    font-family: var(--font-accent);
    font-size: clamp(16px, 2.2vw, 22px);
    font-style: italic;
    max-width: 700px;
    margin-bottom: 64px;
    line-height: 1.8;
}

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

/* ---------- PROFILES ---------- */
.profiles {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.profile-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.profile-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-photo-wrap {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.profile-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--orange);
    margin: 0 auto;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-accent);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.section-light .profile-name { color: var(--text-dark); }
.section-dark .profile-name { color: var(--text-light); }

.profile-origin {
    font-family: var(--font-accent);
    font-size: 16px;
    font-style: italic;
    color: var(--orange);
    margin-bottom: 24px;
}

.profile-bio p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.section-light .profile-bio p { color: var(--text-dark); }
.section-dark .profile-bio p { color: var(--text-light); }

.bio-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.bio-expandable.expanded {
    max-height: 600px;
}

.btn-ver-mas {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 32px;
    padding: 6px 16px;
    background: var(--orange);
    color: var(--bg-dark);
    border: none;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-ver-mas:hover {
    background: var(--dark-orange);
}

.subsection-title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 400;
    color: var(--orange);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(232, 138, 32, 0.3);
}

.gestion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
}

.gestion-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.gestion-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* ---------- PRODUCCIONES ---------- */
.produccion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.produccion.visible {
    opacity: 1;
    transform: translateY(0);
}

.produccion:nth-child(even) {
    direction: rtl;
}

.produccion:nth-child(even) > * {
    direction: ltr;
}

.produccion-media {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #151515;
}

.produccion-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #151515, #1a1a1a);
    border: 1px solid #2a2a2a;
    min-height: 280px;
}

.placeholder-box span {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.placeholder-box small {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
}

.produccion-year {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
}

.produccion-title {
    font-family: var(--font-accent);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    margin: 8px 0 16px;
}

.produccion-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.produccion-credits p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.produccion-credits strong {
    color: var(--text-light);
}

/* ---------- ENSAMBLE MBA ---------- */
.ensamble-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ensamble-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.section-light .ensamble-text p { color: var(--text-dark); }
.section-dark .ensamble-text p { color: var(--text-light); }

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

.btn-ensamble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 32px;
    border: 1px solid var(--orange);
    color: var(--orange) !important;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-ensamble:hover {
    background: var(--orange);
    color: var(--bg-dark) !important;
}

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

.ensamble-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(18px, 3vw, 28px);
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.ensamble-logo-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ensamble-logo-img {
    max-width: 220px;
    height: auto;
}

.emba-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(14px, 1.8vw, 20px);
    letter-spacing: 0.25em;
    text-align: center;
}

.emba-word {
    color: var(--c);
    display: inline-block;
}

.emba-row {
    display: flex;
    gap: 14px;
}

/* ---------- ACTIVIDADES ---------- */
.actividad-categoria {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    margin-top: 56px;
}

.actividad-categoria:first-of-type {
    margin-top: 16px;
}

.cat-masterclass {
    color: var(--cyan);
}

.cat-concierto {
    color: var(--orange);
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.actividad-card {
    background: #fff;
    border: 1px solid #e5ddd2;
    border-radius: 4px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.section-dark .actividad-card {
    background: #111;
    border: 1px solid #222;
    box-shadow: none;
}

.actividad-card:hover {
    border-color: var(--orange);
}

.actividad-destacada {
    border-color: var(--orange);
}

.actividad-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--orange);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.actividad-tipo {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--magenta);
}

.actividad-title {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 400;
    margin: 8px 0 16px;
}

.actividad-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.actividad-meta p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.section-light .actividad-meta strong {
    color: var(--text-dark);
}

.section-dark .actividad-meta strong {
    color: var(--text-light);
}

.section-light .actividad-title {
    color: var(--text-dark);
}

/* ---------- FOOTER ---------- */
.footer {
    background: #050505;
    padding: 80px 0 32px;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.footer-contact a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    font-size: 14px;
    color: var(--text-muted) !important;
}

.social-link:hover {
    color: var(--orange) !important;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #555;
    letter-spacing: 0.05em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
    .profile-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .profile-photo-wrap {
        position: static;
        text-align: center;
    }

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

    .produccion {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .produccion:nth-child(even) {
        direction: ltr;
    }

    .ensamble-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ensamble-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #222;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

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

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

@media (max-width: 480px) {
    .logo-deconstructed {
        gap: 1px;
    }

    .section {
        padding: 60px 0;
    }

    .profile-photo {
        width: 160px;
        height: 160px;
    }

    .profiles {
        gap: 60px;
    }
}
