﻿:root {
    --bg-dark: #0a0e27;
    --blue-deep: #08112b;
    --blue-soft: #111a48;
    --pink: #ff00ff;
    --white: #ffffff;
    --text: #e8e8ff;
    --text-muted: #b0b6d6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--white);
    background: radial-gradient(circle at top, rgba(255,255,255,.03), transparent 30%), var(--bg-dark);
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.welcome,
.music-links,
.timeline,
.experience,
.testimonials,
footer {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle,
.menu-backdrop {
    display: none;
}

.menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--bg-dark);
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.22);
}

.brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--bg-dark);
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    color: var(--bg-dark);
    font-size: 0.95rem;
    transition: color .25s, transform .25s, background .25s;
}

.nav-menu a:hover {
    color: var(--pink);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

.hero {
    --hero-bg-x: 50%;
    --hero-bg-y: 50%;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background:
        linear-gradient(180deg, rgba(10,14,39,0.72) 0%, rgba(10,14,39,0.92) 100%),
        url('img/portada.jpg') var(--hero-bg-x) var(--hero-bg-y) / cover no-repeat fixed;
    overflow: hidden;
}

.hero::before,
.hero::after,
.hero-overlay,
.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    background-image: radial-gradient(circle at 14% 20%, rgba(255,0,255,0.2), transparent 12%),
                      radial-gradient(circle at 78% 10%, rgba(0,255,255,0.12), transparent 14%),
                      radial-gradient(circle at 40% 75%, rgba(255,255,255,0.14), transparent 18%);
    opacity: 0.85;
    mix-blend-mode: screen;
}

.hero::after {
    content: '';
    background: linear-gradient(135deg, rgba(255,0,255,0.04), transparent 32%),
                linear-gradient(45deg, rgba(0,255,255,0.04), transparent 36%);
    opacity: 0.16;
    transform: translate3d(0,0,0);
    animation: shimmer 40s linear infinite;
}

.hero-overlay {
    background: radial-gradient(circle at 20% 20%, rgba(255,0,255,.16), transparent 18%),
                radial-gradient(circle at 80% 15%, rgba(0,255,255,.14), transparent 16%),
                radial-gradient(circle at 50% 65%, rgba(255,255,255,.12), transparent 14%);
    mix-blend-mode: screen;
}

.hero-glow {
    background: radial-gradient(circle at 30% 40%, rgba(255,0,255,.08), transparent 12%),
                radial-gradient(circle at 70% 20%, rgba(0,255,255,.1), transparent 14%),
                radial-gradient(circle at 50% 80%, rgba(255,255,255,.12), transparent 18%);
    animation: drift 14s ease infinite;
}

.hero-spheres {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-spheres .sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.7;
    transform: translate3d(0,0,0);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.hero-spheres .sphere1 {
    width: 150px;
    height: 150px;
    left: 10%;
    top: 35%;
    background: rgba(255, 0, 255, 0.28);
    box-shadow: 0 0 90px rgba(255, 0, 255, 0.35);
    animation-name: floatSphere1;
    animation-duration: 18s;
}

.hero-spheres .sphere2 {
    width: 120px;
    height: 120px;
    left: 70%;
    top: 20%;
    background: rgba(0, 255, 255, 0.24);
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.3);
    animation-name: floatSphere2;
    animation-duration: 22s;
    animation-delay: 3s;
}

.hero-spheres .sphere3 {
    width: 180px;
    height: 180px;
    left: 55%;
    top: 60%;
    background: rgba(154, 0, 255, 0.22);
    box-shadow: 0 0 100px rgba(154, 0, 255, 0.28);
    animation-name: floatSphere3;
    animation-duration: 20s;
    animation-delay: 1s;
}

.hero-spheres .sphere4 {
    width: 90px;
    height: 90px;
    left: 25%;
    top: 68%;
    background: rgba(0, 200, 255, 0.18);
    box-shadow: 0 0 64px rgba(0, 200, 255, 0.22);
    animation-name: floatSphere4;
    animation-duration: 16s;
    animation-delay: 2s;
}

.hero-spheres .sphere5 {
    width: 100px;
    height: 100px;
    left: 80%;
    top: 50%;
    background: rgba(255, 0, 190, 0.18);
    box-shadow: 0 0 70px rgba(255, 0, 190, 0.24);
    animation-name: floatSphere5;
    animation-duration: 24s;
    animation-delay: 4s;
}

@keyframes floatSphere1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    50% { transform: translate(18px, -42px) scale(1.05); opacity: 0.12; }
}

@keyframes floatSphere2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(-30px, 48px) scale(1.1); opacity: 0.16; }
}

@keyframes floatSphere3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.66; }
    50% { transform: translate(24px, -30px) scale(1.08); opacity: 0.14; }
}

@keyframes floatSphere4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.63; }
    50% { transform: translate(32px, -22px) scale(1.02); opacity: 0.1; }
}

@keyframes floatSphere5 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.68; }
    50% { transform: translate(-16px, 36px) scale(1.05); opacity: 0.12; }
}

@keyframes drift {
    0% { transform: translateX(-10%); }
    100% { transform: translateX(10%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
}

.hero-label {
    color: var(--text-muted);
    letter-spacing: 4px;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    letter-spacing: 0.35rem;
    line-height: 1.05;
    margin: 0;
    font-family: 'Sirin Stencil', cursive;
}

.hero-subtitle {
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    letter-spacing: 0.32rem;
}

.hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    margin: 28px auto 18px;
}

.hero-copy {
    color: var(--text);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 999px;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.16rem;
    transition: background .3s, transform .3s, color .3s;
}

.btn-outline:hover {
    background: rgba(255,0,255,0.18);
    color: var(--pink);
    transform: translateY(-2px);
}

.music-links {
    padding: 80px 20px 70px;
    background:
        linear-gradient(180deg, rgba(10, 14, 39, 0.86), rgba(10, 14, 39, 0.96)),
        url('img/experience-event.jpg') center center / cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.music-links::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.06), transparent 18%),
                radial-gradient(circle at 20% 40%, rgba(255,0,255,0.12), transparent 20%),
                radial-gradient(circle at 85% 30%, rgba(0,255,255,0.1), transparent 20%);
    pointer-events: none;
}

.music-links-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.music-links-inner a {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.38);
    border-radius: 50%;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform .3s, background .3s, box-shadow .3s;
}

.music-links-inner a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.24);
}

.music-links-inner a i,
.music-links-inner .beatport-logo {
    font-size: 1.3rem;
}

.music-links-inner .beatport-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.music-links-inner .beatport-logo {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}

.welcome,
.timeline,
.experience,
.testimonials,
footer {
    padding: 80px 20px;
}

.welcome-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    align-items: center;
}

.welcome-copy {
    text-align: left;
}

.section-tag {
    display: inline-block;
    color: var(--pink);
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.welcome-copy h2 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-family: 'Roboto', sans-serif;
}

.welcome-copy p {
    color: var(--text);
    line-height: 1.75;
    margin: 0 0 18px;
    font-size: 1rem;
}

.video-card {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
    background: #050b1f;
}

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

.video-poster {
    display: block;
    padding: 0;
    cursor: pointer;
    background: #050b1f;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,17,43,0.12), rgba(8,17,43,0.38));
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 0, 0, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    transition: transform .25s ease, background .25s ease;
}

.video-poster:hover .video-play {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(255, 0, 0, 1);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    letter-spacing: 0.18rem;
}

.logo-r {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.divider-small {
    width: 120px;
    height: 2px;
    margin: 18px auto;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.timeline-grid,
.testimonial-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.timeline-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline-card,
.test-item {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    text-align: left;
}

.timeline-card h4,
.test-item h4 {
    margin: 0 0 16px;
    font-size: 1.15rem;
    letter-spacing: 0.08rem;
}

.timeline-card p,
.test-item p {
    color: var(--text);
    line-height: 1.75;
    margin: 0;
}

.test-item .label {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: var(--pink);
}

.stars {
    color: var(--pink);
    margin-bottom: 18px;
    font-size: 1rem;
}

.experience {
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(8,17,43,0.94), rgba(10,14,39,0.98));
}

.testimonials {
    background:
        linear-gradient(180deg, rgba(8,17,43,0.9), rgba(10,14,39,0.94)),
        url('img/experience-bg.jpg') center center / cover no-repeat fixed;
}

.experience-header p {
    margin: 14px auto 24px;
    max-width: 720px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.mosaic-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 1.6fr) minmax(220px, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "large small"
        "medium medium";
    gap: 20px;
}

.mosaic-item {
    min-height: 240px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,14,39,0.04), rgba(10,14,39,0.32));
}

.media-reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.media-fade-up {
    transform: translate3d(0, 34px, 0);
}

.media-zoom-in {
    transform: translate3d(0, 20px, 0) scale(0.92);
}

.media-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.media-fade-up.is-visible {
    animation: mediaFadeUp .85s cubic-bezier(.2,.8,.2,1) both;
}

.media-zoom-in.is-visible {
    animation: mediaZoomIn .9s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes mediaFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 42px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes mediaZoomIn {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.mosaic-large {
    grid-area: large;
    min-height: 420px;
    background-image: url('img/experience-bg.jpg');
    background-position: 30% 35%;
}

.mosaic-small {
    grid-area: small;
    min-height: 260px;
    background-image: url('img/experience-1.jpg');
    background-position: 50% 18%;
}

.mosaic-medium {
    grid-area: medium;
    min-height: 320px;
    background-image: url('img/experience-event.jpg');
    background-position: 50% 76%;
}

.test-item {
    --paper-rotate-x: 0deg;
    --paper-rotate-y: 0deg;
    --paper-shift-y: 0px;
    position: relative;
    isolation: isolate;
    padding: 42px 34px;
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.94), rgba(233,238,255,0.88)),
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    border: 1px solid rgba(198,208,255,0.34);
    box-shadow:
        0 26px 70px rgba(3, 8, 31, 0.34),
        0 10px 22px rgba(8, 17, 43, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.72);
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: perspective(1200px) rotateX(var(--paper-rotate-x)) rotateY(var(--paper-rotate-y)) translateY(var(--paper-shift-y));
    transform-style: preserve-3d;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.test-item::before,
.test-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.test-item::before {
    inset: 12px;
    border: 1px solid rgba(48, 62, 112, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.42), transparent 24%),
        repeating-linear-gradient(
            180deg,
            rgba(86, 103, 159, 0.07) 0,
            rgba(86, 103, 159, 0.07) 1px,
            transparent 1px,
            transparent 34px
        );
    opacity: 0.9;
    mix-blend-mode: normal;
}

.test-item::after {
    inset: auto -12% -32%;
    height: 62%;
    background: radial-gradient(circle at top, rgba(79, 116, 255, 0.16), transparent 62%);
    opacity: 0.85;
    z-index: -1;
}

.test-item.is-visible {
    animation: paperRise .85s cubic-bezier(.2,.8,.2,1) both;
}

.test-item.is-floating {
    animation:
        paperRise .85s cubic-bezier(.2,.8,.2,1) both,
        paperFloat 4.8s ease-in-out 1s infinite;
}

.test-item:hover {
    --paper-shift-y: -8px;
    border-color: rgba(255, 0, 255, 0.18);
    box-shadow:
        0 36px 90px rgba(3, 8, 31, 0.4),
        0 14px 28px rgba(8, 17, 43, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.85);
}

.test-item .stars {
    justify-content: center;
    display: inline-flex;
    position: relative;
    z-index: 1;
    color: #f022ff;
    text-shadow: 0 0 18px rgba(240, 34, 255, 0.22);
    letter-spacing: 0.18rem;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.test-item p {
    position: relative;
    z-index: 1;
    color: #19203c;
    line-height: 1.9;
    margin: 0 auto 26px;
    max-width: 92%;
    font-size: 1.12rem;
}

.test-item .label {
    display: inline-block;
    position: relative;
    z-index: 1;
    color: #bf16da;
    font-weight: 700;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@keyframes paperRise {
    from {
        opacity: 0;
        transform: perspective(1200px) rotateX(10deg) rotateY(-7deg) translateY(38px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: perspective(1200px) rotateX(var(--paper-rotate-x)) rotateY(var(--paper-rotate-y)) translateY(var(--paper-shift-y)) scale(1);
    }
}

@keyframes paperFloat {
    0%,
    100% {
        transform: perspective(1200px) rotateX(var(--paper-rotate-x)) rotateY(var(--paper-rotate-y)) translateY(0) scale(1);
    }
    50% {
        transform: perspective(1200px) rotateX(calc(var(--paper-rotate-x) + 1deg)) rotateY(calc(var(--paper-rotate-y) - 1deg)) translateY(-8px) scale(1.01);
    }
}

footer {
    background: linear-gradient(180deg, rgba(10,14,39,0.92), rgba(8,17,43,0.98));
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

footer p {
    margin: 0;
    color: var(--text-muted);
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-align: center;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.footer-logo-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}

.footer-logo-wrap a:hover {
    transform: translateY(-3px);
}

.footer-logo {
    max-width: 112px;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    order: 3;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: transform .25s, background .25s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: rgba(255,0,255,0.18);
}

.copy {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-bottom: 24px;
}

.whatsapp-btn,
.scroll-top {
    position: fixed;
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: rgba(17, 27, 75, 0.92);
    color: var(--white);
    box-shadow: 0 18px 35px rgba(0,0,0,0.28);
    transition: transform .2s, background .2s, opacity .2s;
    z-index: 30;
}

.whatsapp-btn {
    left: 20px;
    bottom: 20px;
    background: #25d366;
    color: #ffffff;
    cursor: pointer;
}

.whatsapp-btn i {
    font-size: 1.6rem;
    line-height: 1;
}

.scroll-top {
    right: 20px;
    bottom: 20px;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    background: #1ebe5b;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: rgba(255,0,255,0.96);
}

.whatsapp-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 40;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 42, 0.78);
    backdrop-filter: blur(8px);
}

.whatsapp-modal-card {
    position: relative;
    width: min(520px, calc(100% - 40px));
    background: rgba(7, 12, 34, 0.96);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 32px 30px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    z-index: 2;
}

.whatsapp-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.whatsapp-modal-title {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-size: 0.8rem;
    color: var(--pink);
}

.whatsapp-modal-card h2 {
    margin: 0 0 16px;
    font-size: 2rem;
    line-height: 1.05;
}

.whatsapp-modal-copy {
    margin: 0 0 24px;
    color: var(--text);
    line-height: 1.75;
}

.whatsapp-modal-form {
    display: grid;
    gap: 18px;
}

.whatsapp-modal-form label {
    display: grid;
    gap: 10px;
    text-align: left;
    font-size: 0.95rem;
    color: var(--white);
}

.whatsapp-modal-form input,
.whatsapp-modal-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    color: var(--white);
    padding: 14px 18px;
    font-size: 0.95rem;
    resize: none;
}

.whatsapp-modal-form input:focus,
.whatsapp-modal-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255,0,255,0.08);
}

input[type="submit"],
input[type="button"],
button[type="submit"],
.whatsapp-modal-form button,
.formbutton,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #d633ff !important;
    background: linear-gradient(90deg, #ff00ff 0%, #8000ff 100%) !important;
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.25s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button[type="submit"]:hover,
.whatsapp-modal-form button:hover,
.formbutton:hover,
.btn-submit:hover {
    opacity: 0.8 !important;
    transform: translateY(-2px);
}

.scroll-top {
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 900px) {
    .welcome-grid,
    .mosaic-container {
        grid-template-columns: 1fr;
    }

    .mosaic-container {
        grid-template-rows: auto;
        grid-template-areas:
            "large"
            "small"
            "medium";
    }

    .hero {
        padding-top: 100px;
    }
}

@media (max-width: 720px) {
    .site-header {
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(16, 24, 58, 0.08);
        box-shadow: 0 12px 30px rgba(8, 17, 43, 0.08);
    }

    .header-inner {
        min-height: 72px;
        padding: 12px 16px;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 14px;
        position: relative;
    }

    .menu-toggle,
    .menu-backdrop {
        display: flex;
    }

    .brand {
        font-size: 1.28rem;
        line-height: 1;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: max-content;
        max-width: calc(100% - 96px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        bottom: 0;
        width: min(84vw, 320px);
        padding: 10px 14px 24px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        background: transparent !important;
        backdrop-filter: none !important;
        border-right: none !important;
        box-shadow: none !important;
        transform: translateX(-105%);
        opacity: 0;
        visibility: hidden;
        transition: transform .32s ease, opacity .32s ease, visibility .32s ease;
        z-index: 31;
    }

    .nav-menu::before {
        content: none;
    }

    .nav-menu a {
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        color: var(--bg-dark);
        padding: 15px 16px;
        border-radius: 18px;
        background: rgba(255,255,255,0.92) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.55),
            0 12px 28px rgba(8,17,43,0.08);
    }

    .nav-menu a:hover {
        color: var(--bg-dark);
        background: rgba(255,255,255,1) !important;
        transform: translateX(4px);
    }

    .menu-backdrop {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(5, 10, 31, 0.42);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
        z-index: 30;
    }

    body.menu-open .nav-menu {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    body.menu-open .menu-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .hero,
    .welcome,
    .timeline,
    .experience,
    .testimonials,
    footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        min-height: auto;
        padding-top: 108px;
        padding-bottom: 54px;
        align-items: flex-start;
        --hero-bg-x: 56%;
        background-attachment: scroll;
    }

    .hero::before {
        background-image:
            radial-gradient(circle at 20% 18%, rgba(255,0,255,0.18), transparent 16%),
            radial-gradient(circle at 84% 14%, rgba(0,255,255,0.12), transparent 16%),
            radial-gradient(circle at 50% 72%, rgba(255,255,255,0.12), transparent 20%);
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 20px 18px 22px;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(8,17,43,0.4), rgba(8,17,43,0.16));
        backdrop-filter: blur(4px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    }

    .hero-label {
        margin-bottom: 14px;
        letter-spacing: 0.24rem;
        font-size: 0.78rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        letter-spacing: 0.16rem;
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .hero-subtitle {
        margin-top: 14px;
        font-size: 0.95rem;
        letter-spacing: 0.18rem;
    }

    .hero-divider {
        margin: 20px auto 16px;
        width: 92px;
    }

    .hero-copy {
        font-size: 0.96rem;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.45);
        letter-spacing: 0.12rem;
    }

    .welcome,
    .timeline,
    .experience,
    .testimonials,
    footer {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .welcome-grid,
    .timeline-grid,
    .testimonial-grid,
    .mosaic-container,
    .footer-inner {
        width: 100%;
    }

    .welcome-grid {
        gap: 22px;
    }

    .welcome-copy {
        padding: 0 2px;
    }

    .section-tag {
        font-size: 0.74rem;
        letter-spacing: 0.14rem;
    }

    .welcome-copy h2 {
        font-size: 1.85rem;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .welcome-copy p {
        font-size: 1rem;
        line-height: 1.72;
        margin-bottom: 16px;
    }

    .video-card {
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.28);
    }

    .music-links {
        padding: 54px 16px 52px;
        background-attachment: scroll;
    }

    .testimonials {
        background-attachment: scroll;
    }

    .music-links-inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        max-width: 420px;
    }

    .music-links-inner a {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 24px;
        background: rgba(7, 14, 36, 0.56);
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h3 {
        font-size: 1.4rem;
        letter-spacing: 0.12rem;
    }

    .logo-r {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
    }

    .timeline-grid,
    .testimonial-grid {
        gap: 18px;
    }

    .timeline-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .timeline-card p {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .whatsapp-btn,
    .scroll-top {
        width: 52px;
        height: 52px;
        bottom: 16px;
    }

    .whatsapp-btn i {
        font-size: 1.45rem;
    }

    .whatsapp-btn {
        left: 16px;
    }

    .scroll-top {
        right: 16px;
    }

    .test-item {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .test-item.is-floating {
        animation:
            paperRise .85s cubic-bezier(.2,.8,.2,1) both,
            paperFloat 3.8s ease-in-out 1s infinite;
    }

    .test-item p {
        font-size: 0.98rem;
        line-height: 1.75;
        max-width: 100%;
    }

    .test-item .stars {
        font-size: 1.45rem;
    }

    .test-item .label {
        letter-spacing: 0.16rem;
        font-size: 0.78rem;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        text-align: center;
    }

    footer p,
    .copy {
        font-size: 0.82rem;
    }

    footer p {
        text-align: center;
        line-height: 1.3;
    }

    .footer-logo-wrap {
        justify-self: auto;
    }

    .social-icons {
        width: 100%;
        justify-content: center;
        justify-self: auto;
        gap: 12px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 96px;
        padding-bottom: 44px;
    }

    .hero h1 {
        font-size: 2.22rem;
        letter-spacing: 0.08rem;
    }

    .brand {
        font-size: 1.15rem;
        max-width: calc(100% - 88px);
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .nav-menu {
        width: min(88vw, 300px);
        top: 68px;
        padding: 16px 14px 24px;
    }

    .nav-menu a {
        padding: 14px 14px;
        font-size: 0.98rem;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }

    .hero-content {
        padding: 18px 14px 20px;
        border-radius: 22px;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.18rem;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        letter-spacing: 0.12rem;
    }

    .hero-copy {
        font-size: 0.92rem;
    }

    .welcome-copy h2 {
        font-size: 1.55rem;
    }

    .welcome-copy p,
    .timeline-card p,
    .experience-header p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .music-links {
        padding-top: 44px;
        padding-bottom: 44px;
        background-attachment: scroll;
    }

    .testimonials {
        background-attachment: scroll;
    }

    .music-links-inner {
        gap: 12px;
    }

    .music-links-inner a {
        border-radius: 20px;
    }

    .timeline-card,
    .test-item {
        padding: 22px 18px;
    }

    .mosaic-large,
    .mosaic-small,
    .mosaic-medium {
        min-height: 220px;
    }

    .mosaic-container {
        gap: 14px;
        overflow: hidden;
    }

    .whatsapp-btn,
    .scroll-top {
        width: 50px;
        height: 50px;
    }

    .footer-logo {
        max-width: 86px;
    }

    .copy {
        width: calc(100% - 32px);
        max-width: 320px;
        padding: 0 16px 22px;
    }

    .section-header {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-reveal,
    .media-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .test-item,
    .test-item.is-visible {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}
