/* ==========================================================================
   LA BUENA HIERBA — Hoja de estilos principal
   Estilo: orgánico, rústico y vintage con diagramación contemporánea
   Paleta: Verde #50B496 · Verde oscuro #2F6D5A · Carbón #1C1C1C
           Hueso #F6F3EA · Madera #8B6B4A · Dorado #C2B280
   ========================================================================== */

:root {
    --primary: #50B496;
    --primary-dark: #2F6D5A;
    --primary-deep: #1E4A3E;
    --dark: #1C1C1C;
    --dark-soft: #24201C;
    --cream: #F6F3EA;
    --cream-deep: #EFEBE0;
    --wood: #8B6B4A;
    --wood-light: #A38260;
    --gold: #C2B280;
    --white: #FFFFFF;
    --text-body: #4A4640;
    --line: rgba(139, 107, 74, 0.18);
    --line-dark: rgba(246, 243, 234, 0.1);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 4px 14px rgba(28, 28, 28, 0.06);
    --shadow-md: 0 12px 30px rgba(28, 28, 28, 0.08);
    --shadow-lg: 0 25px 60px rgba(28, 28, 28, 0.12);

    --radius: 8px;
    --radius-sm: 4px;
    --header-h: 74px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: rgba(80, 180, 150, 0.3); }

/* ==========================================================================
   INTRO ANIMADA
   ========================================================================== */
.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at 50% 40%, var(--primary-deep) 0%, var(--dark) 75%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: opacity .8s var(--ease), visibility .8s;
}

.intro-loader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-logo-wrap { position: relative; width: 170px; height: 260px; display: grid; place-items: center; }

.intro-logo {
    max-width: 140px;
    max-height: 240px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.92) translateY(8px);
    animation: drawLogo 2.4s var(--ease) forwards;
    filter: drop-shadow(0 0 18px rgba(80, 180, 150, 0.55));
}

.loader-wreath {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.35;
    animation: rotateWreath 14s linear infinite;
}

.loader-wreath::before,
.loader-wreath::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px; height: 12px;
    background: var(--primary);
    border-radius: 50% 0 50% 50%;
    transform: translateX(-50%) rotate(-45deg);
}
.loader-wreath::after { top: auto; bottom: -6px; transform: translateX(-50%) rotate(135deg); }

.loader-text {
    margin-top: 26px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUpText 1.2s var(--ease) .55s forwards;
}

.loader-progress {
    width: 120px; height: 2px;
    background: rgba(246, 243, 234, 0.12);
    margin-top: 18px;
    border-radius: 2px;
    overflow: hidden;
}
.loader-progress-bar {
    display: block;
    width: 0%; height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    animation: fillProgress 2.6s var(--ease) forwards;
}

@keyframes drawLogo {
    0%   { opacity: 0; transform: scale(0.92) translateY(8px); }
    55%  { opacity: .55; transform: scale(0.97) translateY(2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes rotateWreath { to { transform: rotate(360deg); } }
@keyframes fadeInUpText { to { opacity: 1; transform: translateY(0); } }
@keyframes fillProgress { to { width: 100%; } }

/* ==========================================================================
   APP / NAVEGACIÓN
   ========================================================================== */
.app-container { opacity: 0; transition: opacity 1.1s var(--ease); }
.app-container.loaded { opacity: 1; }

.header-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(246, 243, 234, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: height .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.header-nav.scrolled {
    height: 60px;
    background: rgba(246, 243, 234, 0.97);
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.07);
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 42px; width: auto; object-fit: contain; }
.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--primary-dark);
}

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

.nav-link {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--dark);
    padding: 6px 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--primary-dark); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 42px; height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.mobile-nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s;
}
.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 50px) 5% 60px;
    overflow: hidden;
    color: var(--cream);
    background: var(--dark);
}

.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(80, 180, 150, 0.22) 0%, transparent 46%),
        radial-gradient(circle at 18% 82%, rgba(194, 178, 128, 0.14) 0%, transparent 46%);
    z-index: 1;
}

.hero-slider,
.hero-slide {
    position: absolute; inset: 0;
}
.hero-slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    filter: grayscale(30%) blur(1px);
    z-index: 0;
    transform: scale(1.03);
    transition: opacity 1.2s var(--ease), transform 8s linear;
}
.hero-slide.is-active { opacity: .5; transform: scale(1.08); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.hero-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--gold);
    border: 1px solid rgba(194, 178, 128, 0.35);
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(194, 178, 128, 0.08);
}

.hero-title { color: var(--cream); margin-bottom: 4px; }

.hero-name {
    display: block;
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tagline {
    display: block;
    font-size: clamp(1.15rem, 3vw, 1.7rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    margin-top: 10px;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(246, 243, 234, 0.85);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(246, 243, 234, 0.65);
}
.hero-meta-dot { color: var(--primary); }

.btn-video { border: 1px solid var(--gold); background: rgba(28, 28, 28, .55); color: var(--cream); }
.btn-video:hover { background: var(--gold); color: var(--dark); }
.btn-video[hidden] { display: none; }

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 28px;
    display: flex;
    gap: 10px;
}
.hero-dot { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(246, 243, 234, .38); }
.hero-dot.is-active { background: var(--gold); }

body.modal-open { overflow: hidden; }
.video-modal { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 16, 14, .9); backdrop-filter: blur(12px); }
.video-modal__dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(194, 178, 128, .34);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--primary-deep), var(--dark));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}
.video-modal__close { position: absolute; top: 12px; right: 16px; z-index: 2; border: 0; background: transparent; color: var(--cream); font-size: 2rem; line-height: 1; }
.video-modal__heading { padding: 0 40px 20px 0; color: rgba(246, 243, 234, .72); }
.video-modal__heading span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.video-modal__heading h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 3rem); }
.premium-video { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 9px; background: #000; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); }
.premium-video video { display: block; width: 100%; height: 100%; object-fit: contain; accent-color: var(--primary); }

/* ==========================================================================
   SHOW EN VIVO
   ========================================================================== */
.live-show {
    position: relative;
    overflow: hidden;
    background: var(--cream-deep);
}
.live-show::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    top: -220px;
    right: -140px;
    border: 1px solid rgba(80, 180, 150, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(80, 180, 150, .04), 0 0 0 140px rgba(80, 180, 150, .025);
}
.live-show__intro {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 42px;
}
.live-show__intro .section-title { max-width: 680px; margin-top: 8px; }
.live-show__intro > p { padding-left: 24px; border-left: 2px solid var(--gold); color: var(--text-body); }
.live-player { position: relative; border-radius: 14px; overflow: hidden; background: var(--dark); box-shadow: 0 30px 70px rgba(28, 28, 28, .22); }
.live-player__screen { position: relative; aspect-ratio: 16 / 9; background: #080a09; overflow: hidden; }
.live-player__screen video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.live-player__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10, 14, 12, .76), transparent 35%); transition: opacity .35s; }
.live-player__hero-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display:flex; flex-direction:column; align-items:center; gap:10px; border:0; background:transparent; color:var(--cream); font-size:.72rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; transition: transform .3s var(--ease), opacity .3s; }
.live-player__hero-play svg { width:76px; overflow:visible; }.live-player__hero-play circle { fill:rgba(28,28,28,.62); stroke:var(--gold); stroke-width:1.5; }.live-player__hero-play path { fill:var(--cream); }
.live-player__hero-play:hover { transform: scale(1.06); }
.live-player.is-playing .live-player__hero-play { opacity:0; pointer-events:none; }
.live-player__controls { position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; gap:13px; padding:18px 22px; opacity:0; transform:translateY(10px); transition:opacity .3s, transform .3s; }
.live-player__screen:hover .live-player__controls,.live-player.is-playing .live-player__controls { opacity:1; transform:none; }
.live-player__controls button { flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; border:0; background:transparent; color:var(--cream); }
.live-player__controls svg { width:22px; fill:currentColor; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.live-player__controls .icon-pause,.live-player.is-playing .live-player__controls .icon-play { display:none; }.live-player.is-playing .live-player__controls .icon-pause { display:block; }
.live-player__time { min-width:82px; color:rgba(246,243,234,.78); font-size:.72rem; font-variant-numeric:tabular-nums; }
.live-player__progress,.live-player__volume { accent-color:var(--primary); cursor:pointer; }.live-player__progress { flex:1; min-width:60px; }.live-player__volume { width:75px; }
.live-player__details { display:grid; grid-template-columns:auto minmax(220px,1fr) 1.6fr; align-items:center; gap:26px; padding:26px 32px; border-top:1px solid rgba(246,243,234,.1); color:var(--cream); }
.live-player__number { color:var(--gold); font-family:var(--font-heading); font-size:2.6rem; font-style:italic; opacity:.7; }
.live-player__title span { color:var(--primary); font-size:.66rem; font-weight:700; letter-spacing:1.7px; text-transform:uppercase; }.live-player__title h3 { color:var(--cream); font-size:1.65rem; }
.live-player__details dl { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:0; }.live-player__details dt { color:var(--gold); font-size:.6rem; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; }.live-player__details dd { margin:3px 0 0; color:rgba(246,243,234,.8); font-size:.8rem; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--cream);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(47, 109, 90, 0.28);
}
.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(80, 180, 150, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(246, 243, 234, 0.4);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section { padding: 100px 5%; position: relative; }
.section-container { max-width: 1200px; margin: 0 auto; }

.section-dark {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-subtitle {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 10px;
}
.section-dark .section-subtitle { color: var(--primary); }

.section-title {
    font-size: clamp(1.9rem, 4.5vw, 2.9rem);
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 2px;
    background: var(--primary);
}

.section-lead {
    margin-top: 18px;
    font-size: 1.02rem;
    color: var(--text-body);
}
.section-dark .section-lead { color: rgba(246, 243, 234, 0.75); }

/* ==========================================================================
   QUIÉNES SOMOS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-visual { display: flex; justify-content: center; }

.circular-stamp {
    position: relative;
    width: 330px; height: 330px;
    border-radius: 50%;
    padding: 12px;
    background: var(--white);
    border: 1px dashed var(--wood);
    box-shadow: var(--shadow-md);
}
.circular-stamp::before {
    content: 'LA BUENA HIERBA · DESDE 2006 ·';
    position: absolute;
    inset: auto;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: var(--font-heading);
    font-size: .78rem;
    letter-spacing: 3px;
    color: var(--wood-light);
    white-space: nowrap;
    opacity: .85;
    pointer-events: none;
}
.circular-stamp-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--cream);
}
.circular-stamp-inner img { width: 100%; height: 100%; object-fit: cover; }

.about-text { display: flex; flex-direction: column; gap: 20px; }

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--primary-dark);
    border-left: 3px solid var(--primary);
    padding-left: 22px;
    margin: 6px 0;
}

.about-description { font-size: 1.02rem; color: var(--text-body); }

/* ---------- Valores ---------- */
.values-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 70px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value-card::before {
    content: '';
    display: block;
    width: 34px; height: 34px;
    margin: 0 auto 14px;
    background: rgba(80, 180, 150, 0.14);
    border-radius: 50%;
    position: relative;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-title { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary-deep); }
.value-desc { font-size: .85rem; color: var(--text-body); line-height: 1.55; }

/* ==========================================================================
   INTEGRANTES
   ========================================================================== */
.integrantes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.member-card {
    background: rgba(246, 243, 234, 0.04);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 34px;
    transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(246, 243, 234, 0.07);
}

.member-head { border-bottom: 1px solid var(--line-dark); padding-bottom: 16px; margin-bottom: 16px; }
.member-head h3 { font-size: 1.6rem; color: var(--primary); }
.member-real { font-size: .8rem; color: var(--wood-light); margin-top: 2px; }
.member-role {
    display: inline-block;
    margin-top: 10px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    border: 1px solid rgba(194, 178, 128, 0.35);
    padding: 5px 12px;
    border-radius: 50px;
}
.member-desc { font-size: .95rem; color: rgba(246, 243, 234, 0.82); }
.member-participacion {
    margin-top: 14px;
    font-size: .82rem;
    color: rgba(80, 180, 150, 0.9);
    font-weight: 600;
}

/* ==========================================================================
   HISTORIA (línea de tiempo)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 30px auto 0;
    padding: 10px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--primary) 8%, var(--primary) 92%, transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 44px 46px 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding: 0 0 46px 44px;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid var(--primary-dark);
    z-index: 2;
    transition: transform .3s var(--ease), background .3s;
}
.timeline-item:nth-child(odd) .timeline-badge { right: -8px; }
.timeline-item:nth-child(even) .timeline-badge { left: -8px; }
.timeline-item:hover .timeline-badge { background: var(--primary); transform: scale(1.25); }

.timeline-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.timeline-item:hover .timeline-card { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.timeline-title { font-size: 1.12rem; margin-bottom: 6px; }
.timeline-desc { font-size: .9rem; color: var(--text-body); }
.timeline-place {
    display: inline-block;
    margin-top: 10px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--wood);
    font-weight: 600;
}

/* ==========================================================================
   MÚSICA
   ========================================================================== */
.music-box {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2A221B 0%, #14100D 100%);
    border: 3px solid var(--wood);
    border-radius: 14px;
    padding: 36px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.music-box::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(139, 107, 74, 0.35);
    border-radius: 9px;
    pointer-events: none;
}

.music-box-header {
    text-align: center;
    border-bottom: 1px solid rgba(139, 107, 74, 0.25);
    padding-bottom: 16px;
    margin-bottom: 26px;
}
.player-subtitle {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--wood-light);
}
.player-title { font-size: 1.7rem; color: var(--cream); margin-top: 4px; }

.player-interface {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 30px;
    align-items: center;
}

.vinyl-record {
    width: 128px; height: 128px;
    border-radius: 50%;
    background: radial-gradient(circle, #3a3a3a 4%, #111 5%, #111 16%, #222 17%, #111 26%, #000 72%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    justify-self: center;
}
.vinyl-center {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #000;
    box-shadow: 0 0 14px rgba(80, 180, 150, 0.6);
}
.vinyl-record.playing { animation: spinVinyl 3.2s linear infinite; }
@keyframes spinVinyl { to { transform: rotate(360deg); } }

.player-controls { display: flex; flex-direction: column; gap: 14px; }
.song-title { font-size: 1.25rem; font-weight: 600; color: var(--cream); font-family: var(--font-heading); }
.song-artist {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wood-light);
}

.playback-bar { display: flex; align-items: center; gap: 12px; }
.time-display { font-size: .72rem; color: var(--wood-light); font-family: ui-monospace, monospace; min-width: 34px; }
.progress-track {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: rgba(246, 243, 234, 0.12);
    cursor: pointer;
    position: relative;
}
.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.player-buttons { display: flex; align-items: center; gap: 14px; }
.play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-dark);
    color: var(--cream);
    display: grid;
    place-items: center;
    transition: transform .25s var(--ease), background .25s;
}
.play-btn:hover { background: var(--primary); color: var(--dark); transform: scale(1.06); }
.prev-btn, .next-btn {
    background: none;
    border: 1px solid rgba(139, 107, 74, 0.4);
    color: var(--wood-light);
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    transition: border-color .25s, color .25s;
}
.prev-btn:hover, .next-btn:hover { border-color: var(--gold); color: var(--gold); }

.tracks-list {
    margin-top: 26px;
    border-top: 1px solid rgba(139, 107, 74, 0.25);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(246, 243, 234, 0.72);
    font-size: .92rem;
    transition: background .25s, color .25s;
}
.track-item:hover { background: rgba(139, 107, 74, 0.16); color: var(--cream); }
.track-item.active { background: rgba(80, 180, 150, 0.14); color: var(--cream); }
.track-item.active .track-title { color: var(--primary); font-weight: 600; }
.track-status { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--wood-light); }

.music-note {
    margin-top: 20px;
    font-size: .82rem;
    text-align: center;
    color: rgba(246, 243, 234, 0.5);
}

/* ==========================================================================
   PRESENTACIONES
   ========================================================================== */
.agenda { display: flex; flex-direction: column; gap: 22px; max-width: 920px; margin: 0 auto; }

.event-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 28px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.event-date { text-align: center; }
.event-day {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-title { font-size: 1.2rem; margin-bottom: 4px; }
.event-lugar { font-size: .85rem; color: var(--wood); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.event-detalle { font-size: .9rem; color: var(--text-body); margin-top: 6px; }

.gira-highlight {
    margin-top: 50px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 34px;
    border: 1px dashed var(--wood);
    border-radius: var(--radius);
    background: var(--cream-deep);
}
.gira-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--wood);
    font-weight: 700;
}
.gira-text { margin-top: 10px; font-size: .98rem; color: var(--text-body); }

/* ==========================================================================
   CONTRATACIONES
   ========================================================================== */
.formatos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 60px;
}

.formato-card {
    background: rgba(246, 243, 234, 0.05);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.formato-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(246, 243, 234, 0.08);
}
.formato-title { font-size: 1.02rem; color: var(--primary); margin-bottom: 8px; }
.formato-text { font-size: .82rem; color: rgba(246, 243, 234, 0.7); line-height: 1.5; }

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel { display: flex; flex-direction: column; }
.contact-card {
    background: rgba(246, 243, 234, 0.05);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-heading { font-size: 1.4rem; color: var(--cream); }
.contact-description { font-size: .9rem; color: rgba(246, 243, 234, 0.75); }

.contact-item { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.contact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--wood-light); font-weight: 600; }
.contact-item strong, .contact-item a { color: var(--cream); font-size: .95rem; }
.contact-item a:hover { color: var(--primary); }

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 10px 20px;
    background: #25D366;
    color: #fff !important;
    font-weight: 600;
    font-size: .85rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.whatsapp-button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35); }

/* ---------- Formulario ---------- */
.premium-form {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    box-shadow: var(--shadow-md);
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-full-width { grid-column: span 2; }

.form-label {
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--primary-dark);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--dark);
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(80, 180, 150, 0.18);
}
.form-input.error { border-color: #d64545; }
textarea.form-input { resize: vertical; min-height: 90px; }

.form-response-msg {
    grid-column: span 2;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    font-weight: 500;
    text-align: center;
}
.form-response-msg.success { background: rgba(80, 180, 150, 0.16); color: var(--primary-deep); border: 1px solid var(--primary); }
.form-response-msg.error { background: rgba(214, 69, 69, 0.1); color: #a83232; border: 1px solid rgba(214, 69, 69, 0.3); }

.form-submit-row { grid-column: span 2; display: flex; justify-content: flex-end; }

/* ==========================================================================
   CONTACTO (pre-footer)
   ========================================================================== */
.contact-strip {
    background: linear-gradient(120deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
    color: var(--cream);
    padding: 70px 5%;
}
.contact-strip-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: center; }
.contact-strip .section-subtitle { color: var(--gold); }
.contact-strip-title { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--cream); margin-top: 6px; }
.contact-strip-desc { margin-top: 12px; color: rgba(246, 243, 234, 0.8); font-size: .98rem; }

.contact-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-channel {
    background: rgba(246, 243, 234, 0.08);
    border: 1px solid rgba(246, 243, 234, 0.14);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.contact-channel:hover { transform: translateY(-4px); background: rgba(246, 243, 234, 0.14); border-color: var(--gold); }
.channel-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.channel-value { font-size: .95rem; color: var(--cream); word-break: break-word; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: var(--cream);
    padding: 60px 5% 26px;
    border-top: 1px solid var(--line-dark);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { height: 64px; width: auto; object-fit: contain; align-self: flex-start; filter: brightness(0) invert(1); }
.footer-quote { font-family: var(--font-heading); font-style: italic; font-size: 1.05rem; color: var(--gold); }
.footer-slogan { font-size: .85rem; color: rgba(246, 243, 234, 0.55); text-transform: uppercase; letter-spacing: 2px; }

.footer-column h4 {
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    font-family: var(--font-body);
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(246, 243, 234, 0.72); font-size: .9rem; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    margin-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: rgba(246, 243, 234, 0.5);
    font-size: .8rem;
}
.footer-bottom strong { color: var(--gold); font-weight: 600; }

/* ---------- Botones flotantes ---------- */
.whatsapp-float, .instagram-float {
    position: fixed;
    right: 22px;
    z-index: 900;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, .82);
    overflow: hidden;
    line-height: 0;
    transform: translateZ(0);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float svg, .instagram-float svg {
    display: block;
    width: 27px;
    height: 27px;
    min-width: 27px;
    min-height: 27px;
    flex: 0 0 27px;
    fill: currentColor;
    overflow: visible;
}
.whatsapp-float { bottom: 22px; background-color: #25D366; }
.instagram-float { bottom: 90px; background: radial-gradient(circle at 30% 105%, #fdf497 0%, #fdf497 5%, #fd5949 40%, #d6249f 62%, #285AEB 100%); }
.whatsapp-float:hover, .instagram-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .36); }

/* ==========================================================================
   REVEAL (animación al hacer scroll)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .values-row { grid-template-columns: repeat(3, 1fr); }
    .formatos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-grid, .contact-layout, .contact-strip-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-strip { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-logo { align-self: center; }
    .event-card { grid-template-columns: 1fr; text-align: center; gap: 14px; }
    .event-action { justify-content: center; display: flex; }
    .live-show__intro { grid-template-columns: 1fr; gap: 20px; }
    .live-player__details { grid-template-columns: auto 1fr; }
    .live-player__details dl { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 76px 6%; }

    .mobile-nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: rgba(246, 243, 234, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: transform .35s var(--ease), opacity .35s, visibility .35s;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-links { flex-direction: column; gap: 0; padding: 10px 5%; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-link { display: block; padding: 14px 0; font-size: .92rem; }
    .nav-link::after { display: none; }

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

    .timeline::before { left: 18px; }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding: 0 0 40px 46px;
        text-align: left;
    }
    .timeline-badge, .timeline-item:nth-child(odd) .timeline-badge { left: 11px; right: auto; }

    .player-interface { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .player-buttons { justify-content: center; }
    .playback-bar { justify-content: center; }

    .premium-form { grid-template-columns: 1fr; padding: 26px; }
    .form-full-width, .form-response-msg, .form-submit-row { grid-column: span 1; }
    .form-submit-row { justify-content: center; }

    .contact-channels { grid-template-columns: 1fr; }
    .hero-name { letter-spacing: 1px; }
}

@media (max-width: 520px) {
    .values-row, .formatos-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .hero-actions .btn { width: 100%; }
    .whatsapp-float, .instagram-float { width: 50px; height: 50px; min-width: 50px; min-height: 50px; right: 16px; }
    .whatsapp-float svg, .instagram-float svg { width: 24px; height: 24px; min-width: 24px; min-height: 24px; flex-basis: 24px; }
    .instagram-float { bottom: 82px; }
    .video-modal { padding: 10px; }
    .video-modal__dialog { padding: 20px 12px 12px; }
    .video-modal__heading { padding-left: 6px; }
    .live-player { border-radius: 8px; }
    .live-player__controls { gap:4px; padding:10px 8px; }
    .live-player__time,.live-player__volume { display:none; }
    .live-player__hero-play svg { width:58px; }
    .live-player__details { grid-template-columns:1fr; padding:22px; gap:8px; }
    .live-player__number { display:none; }
    .live-player__details dl { grid-column:auto; grid-template-columns:1fr; margin-top:14px; }
}

/* ---------- Accesibilidad: reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .intro-loader { display: none; }
    .hero-slide { transition: none; transform: none; }
}
