/* =================================================================
   CARLOS PINTOR – Réplica fiel del WordPress original
   Paleta:  #0D0D0D fondo · #FF6E1A acento · Raleway
   ================================================================= */

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

:root {
    --bg:           #0D0D0D;
    --bg-alt:       #191D23;
    --bg-card:      #1E2229;
    --bg-input:     #252B34;

    --color-text:        #ffffff;
    --color-text-soft:   rgba(255, 255, 255, 0.92);
    --color-text-muted:  rgba(255, 255, 255, 0.78);
    --color-text-dim:    rgba(255, 255, 255, 0.62);

    --accent:        #FF6E1A;
    --accent-hover:  #0DCCCF;
    --accent-soft:   rgba(255, 110, 26, 0.15);

    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.30);

    --font-base: 'Raleway', system-ui, -apple-system, sans-serif;

    --container-max: 1400px;
    --header-h: 80px;
    --topbar-h: 50px;

    --t-fast: 0.2s ease;
    --t-mid:  0.4s ease;
    --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}

body {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--color-text-soft);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: var(--color-text);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* =================================================================
   TOPBAR
   ================================================================= */
.topbar {
    background: #000;
    border-bottom: 1px solid var(--border);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-social { display: flex; gap: 1.2rem; }
.topbar-social a { color: rgba(255,255,255,0.74); font-size: 1rem; }
.topbar-social a:hover { color: var(--accent); }

.topbar-actions { display: flex; align-items: center; gap: 1.5rem; }
.topbar-mail {
    color: rgba(255,255,255,0.74);
    font-size: 0.9rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.topbar-mail:hover { color: var(--accent); }

.topbar-login {
    background: var(--accent); color: #032414;
    font-weight: 700; font-size: 0.85rem;
    padding: 0.65rem 1.3rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: all var(--t-mid);
}
.topbar-login:hover { background: var(--accent-hover); color: #fff; border-radius: 8px; }

/* =================================================================
   HEADER
   ================================================================= */
.header {
    position: sticky; top: 0;
    height: var(--header-h);
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: background var(--t-mid), box-shadow var(--t-mid);
}
.header.scrolled { background: rgba(13,13,13,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { flex-shrink: 0; }
.logo img { height: 50px; width: auto; object-fit: contain; transition: transform var(--t-fast); }
.logo:hover img { transform: scale(1.05); }

.nav-list { display: flex; gap: 2.2rem; align-items: center; }
.nav-link {
    position: relative;
    color: rgba(255,255,255,0.74);
    font-weight: 600; font-size: 0.95rem;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--accent);
    transition: width var(--t-mid);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 110; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--color-text); transition: var(--t-mid); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   HERO (home)
   ================================================================= */
.hero {
    position: relative; min-height: 900px;
    display: flex; align-items: center;
    overflow: hidden; padding: 4rem 0;
}

.hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://carlospintor.com/wp-content/uploads/2025/05/BackgroundTry.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(360deg, #0D0D0D 0%, rgba(13,13,13,0) 20%);
    z-index: 1;
}

.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 40% 60%;
    gap: 3rem; align-items: center;
}

.hero-photo img {
    width: 100%; max-width: 530px; height: auto;
    object-fit: contain; margin: 0 auto;
    animation: heroFadeIn 1s var(--t-slow) both;
}

.hero-text { padding: 0 5%; animation: heroFadeIn 1.2s 0.3s var(--t-slow) both; }
.hero-title {
    font-size: 40px; font-weight: 800;
    text-transform: uppercase; line-height: 1.3;
    color: #fff; margin-bottom: 1.5rem;
}
.quote-mark { color: var(--accent); font-size: 1.2em; font-weight: 800; }
.hero-desc {
    font-size: 20px; font-weight: 300; color: #fff;
    margin-bottom: 1.5rem; line-height: 1.5;
}

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

/* =================================================================
   PAGE HEADER (resto de páginas)
   ================================================================= */
.page-header {
    background:
        linear-gradient(180deg, rgba(13,13,13,0.6) 0%, rgba(13,13,13,1) 100%),
        url('https://carlospintor.com/wp-content/uploads/2025/05/BackParallax.png');
    background-position: center center;
    background-size: cover;
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
}
.page-subtitle {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* =================================================================
   BOTONES
   ================================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 18px 28px;
    font-family: inherit; font-size: 16px;
    font-weight: 700; line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--t-mid);
}
.btn i { font-size: 0.9em; }
.btn-primary { background: var(--accent); color: #032414; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; border-radius: 8px; }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--accent-hover); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #032414; }
.btn-dark { background: var(--accent); color: #032414; border: 1px solid #212121; }
.btn-dark:hover { background: #212121; color: var(--accent); }
.btn-block { display: flex; width: 100%; }
.btn-small { padding: 10px 18px; font-size: 13px; }

/* =================================================================
   SECCIONES
   ================================================================= */
.section { padding: 80px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.section-title {
    font-size: 40px; font-weight: 800;
    text-transform: uppercase; color: #fff;
    letter-spacing: 0.02em;
}
.section-link {
    color: var(--accent); font-weight: 600; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.section-link:hover { color: var(--accent-hover); }
.section-action { text-align: center; margin-top: 3rem; }

/* =================================================================
   MY MUSIC GALLERY (home)
   ================================================================= */
.section-music {
    background: var(--bg);
    position: relative;
}
.section-music::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('https://carlospintor.com/wp-content/uploads/2025/05/BackParallax.png');
    background-position: center center; background-size: cover;
    opacity: 0.25; pointer-events: none;
}
.section-music > .container { position: relative; z-index: 1; }

.music-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.music-card {
    position: relative; aspect-ratio: 1/1;
    overflow: hidden; background: var(--bg-card);
    transition: transform var(--t-mid);
}
.music-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease; }
.music-card::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0); transition: background 800ms ease;
}
.music-card:hover img { transform: scale(1.08); }
.music-card:hover::after { background: rgba(0,0,0,0.5); }

/* =================================================================
   UPCOMING SHOWS
   ================================================================= */
.section-events { background: var(--bg); }
.section-events .section-header {
    flex-direction: row; justify-content: space-between;
    align-items: center; text-align: left; flex-wrap: wrap;
}

.events-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.events-grid-large { grid-template-columns: repeat(3, 1fr); }

.event-card {
    background-image: url('https://carlospintor.com/wp-content/uploads/2025/04/bg1.png');
    background-position: center center;
    background-repeat: no-repeat; background-size: 100% auto;
    background-color: var(--bg-card);
    padding: 45px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--t-mid);
}
.event-card:hover { border-color: var(--accent); transform: translateY(-6px); }

.event-date {
    font-size: 18px; font-weight: 600;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.event-title {
    font-size: 24px; font-weight: 700;
    color: #fff; margin-bottom: 0.6rem; line-height: 1.3;
}
.event-place {
    font-size: 18px; font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.6rem;
}

/* =================================================================
   BOOKING STRIP
   ================================================================= */
.booking-strip { background: var(--accent); padding: 30px 10px; }
.booking-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.booking-title {
    font-size: 36px; font-weight: 800;
    text-transform: uppercase;
    color: #212121; line-height: 1; letter-spacing: 0.02em;
}

/* =================================================================
   MERCH PREVIEW (home)
   ================================================================= */
.section-merch { background: var(--bg); }

.merch-preview {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.merch-card {
    background: var(--bg-card);
    padding: 1.2rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--t-mid);
    color: #fff;
}
.merch-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.merch-card img {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 1rem;
}
.merch-card span { font-size: 0.95rem; font-weight: 600; }

/* =================================================================
   GALLERY (home + page)
   ================================================================= */
.section-gallery { background: var(--bg); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}
.gallery-grid-large {
    grid-auto-rows: 240px;
}

.gallery-item {
    position: relative; overflow: hidden;
    background: var(--bg-card); cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid:not(.gallery-grid-large) .gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-grid:not(.gallery-grid-large) .gallery-item:nth-child(8) { grid-column: span 2; }

.gallery-grid-large .gallery-item:nth-child(7)  { grid-column: span 2; }
.gallery-grid-large .gallery-item:nth-child(11) { grid-column: span 2; }

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 800ms ease;
}
.gallery-item::after {
    content: '\\f00e';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); color: rgba(255,255,255,0);
    font-size: 2rem; transition: all var(--t-mid);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(0,0,0,0.55); color: var(--accent); }

/* =================================================================
   ABOUT PAGE
   ================================================================= */
.about-intro, .about-block { background: var(--bg); }

.about-grid-1, .about-grid-2 {
    display: grid; gap: 4rem; align-items: center;
}
.about-grid-1 { grid-template-columns: 1fr 1.3fr; }
.about-grid-2 { grid-template-columns: 1.3fr 1fr; }

.about-image img {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid var(--border);
}
.about-image {
    position: relative;
}
.about-image::before {
    content: ''; position: absolute;
    inset: -10px -10px auto auto;
    width: 80px; height: 80px;
    background: var(--accent); z-index: -1;
}

.about-text p {
    color: var(--color-text-soft);
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.7;
}
.about-text strong { color: #fff; font-weight: 700; }
.about-text em { color: var(--accent); font-style: italic; }

.about-quote {
    font-size: 28px; font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.about-text .highlight {
    color: #fff; font-weight: 600;
    font-size: 1.15rem;
    border-left: 3px solid var(--accent);
    padding-left: 1.2rem;
    margin-top: 2rem;
}

/* =================================================================
   MUSIC PAGE
   ================================================================= */
.players-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.player-block {
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.player-header {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
}
.player-header i { font-size: 1.6rem; }
.player-header h3 {
    font-size: 1.4rem; color: #fff;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.player-block iframe { border: 0; border-radius: 4px; display: block; }

.section-tracks { background: var(--bg-alt); }
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--t-mid);
    overflow: hidden;
}
.track-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.track-thumb {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.track-thumb img { width: 60%; opacity: 0.7; }
.track-play {
    position: absolute;
    width: 60px; height: 60px;
    background: var(--accent); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: transform var(--t-mid);
}
.track-card:hover .track-play { transform: scale(1.1); }
.track-info { padding: 1.2rem; }
.track-title {
    font-size: 1rem; color: #fff;
    margin-bottom: 0.6rem; font-weight: 600;
}
.track-meta {
    display: flex; justify-content: space-between;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}
.track-pts { color: var(--accent); font-weight: 700; }

/* =================================================================
   CHALLENGES PAGE
   ================================================================= */
.section-challenges-tools {
    background: var(--bg-alt);
    padding: 2rem 0;
}
.challenges-toolbar {
    display: flex; align-items: center; gap: 2rem;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1; min-width: 240px;
    position: relative;
}
.search-bar i {
    position: absolute; left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}
.search-bar input {
    width: 100%;
    background: var(--bg-input);
    border: none; border-radius: 4px;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    color: #fff;
}
.search-bar input::placeholder { color: var(--color-text-muted); }

.filter-group, .sort-group {
    display: flex; align-items: center; gap: 0.6rem;
}
.filter-label {
    font-size: 0.85rem; font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.filter-btn {
    background: var(--bg-input);
    color: var(--color-text-soft);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem; font-weight: 600;
    transition: all var(--t-fast);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent); color: #000;
}
.sort-select {
    background: var(--bg-input);
    border: none; border-radius: 4px;
    padding: 0.5rem 1rem;
    color: #fff; font-size: 0.85rem; font-weight: 600;
}

.section-challenges { background: var(--bg); }
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--t-mid);
}
.challenge-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.challenge-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.challenge-image img { width: 100%; height: 100%; object-fit: cover; }
.challenge-body { padding: 1.5rem; }
.challenge-title {
    font-size: 1.2rem; color: #fff;
    margin-bottom: 0.8rem; font-weight: 700;
}
.challenge-meta {
    display: flex; justify-content: space-between;
    font-size: 0.85rem; color: var(--color-text-muted);
    margin-bottom: 1rem;
}
.challenge-points { color: var(--accent); font-weight: 700; }
.challenge-desc {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.challenge-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.challenge-type {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.challenge-type i { color: var(--accent); }

/* =================================================================
   SHOP PAGE
   ================================================================= */
.section-sorteo {
    background: var(--bg);
    padding-top: 4rem; padding-bottom: 2rem;
}
.sorteo-card {
    background: linear-gradient(135deg, rgba(255,110,26,0.12), rgba(255,110,26,0.04));
    border: 1px solid rgba(255,110,26,0.4);
    padding: 2rem;
    display: flex; align-items: center; gap: 2rem;
    flex-wrap: wrap;
}
.sorteo-icon {
    width: 70px; height: 70px;
    background: var(--accent); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.sorteo-text { flex: 1; min-width: 200px; }
.sorteo-text h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.4rem;
}
.sorteo-text p {
    color: var(--color-text-soft);
}

.section-products, .section-talleres { background: var(--bg); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--t-mid);
}
.product-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.product-image {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-mid);
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 1rem; text-align: center; }
.product-name {
    font-size: 0.95rem; color: #fff;
    margin-bottom: 0.8rem; font-weight: 600;
}

.talleres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.taller-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--t-mid);
}
.taller-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.taller-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg);
}
.taller-image img { width: 100%; height: 100%; object-fit: cover; }
.taller-name {
    padding: 1rem;
    font-size: 0.95rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.section-contact { background: var(--bg); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 4rem; align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: #fff;
}
.contact-info > p {
    color: var(--color-text-soft);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-list {
    display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-list li {
    display: flex; align-items: flex-start; gap: 1rem;
}
.contact-list li i {
    width: 46px; height: 46px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1rem;
}
.contact-list .contact-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}
.contact-list a, .contact-list span {
    color: #fff; font-weight: 500;
}
.contact-list a:hover { color: var(--accent); }

/* Form */
.contact-form, .login-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
    display: block;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid transparent;
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color var(--t-fast);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.4em;
}
.form-status.success { color: var(--accent); }
.form-status.error { color: #ff6b6b; }

.form-checkbox {
    margin-bottom: 1.5rem;
}
.form-checkbox label {
    display: flex; align-items: flex-start; gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--color-text-soft);
    cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 3px;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.form-help {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    margin-left: 1.6rem;
}

/* =================================================================
   LOGIN PAGE
   ================================================================= */
.section-login { background: var(--bg); }
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
}
.login-card-register {
    grid-column: span 2;
    margin-top: 2rem;
}
.login-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.4rem;
}
.login-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.login-forgot {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background: #191D23;
    padding: 7rem 0 0;
    color: rgba(255,255,255,0.6);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}
.footer-logo { width: 65%; max-width: 220px; height: auto; }

.footer-heading {
    color: var(--accent);
    font-size: 18px; font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-list { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-list li { font-size: 16px; font-weight: 600; }
.footer-list a { color: rgba(255,255,255,0.6); }
.footer-list a:hover { color: var(--color-text); }
.footer-list strong {
    color: #fff; font-weight: 600;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
}

.footer-social { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.52);
    border-radius: 50%;
    transition: all var(--t-mid);
}
.footer-social a:hover {
    background: var(--accent); color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.30);
    padding: 1.5rem 0;
    background: #191D23;
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}
.footer-legal a { color: rgba(255,255,255,0.45); margin: 0 0.3rem; }
.footer-legal a:hover { color: var(--accent); }

/* =================================================================
   ANIMACIONES SCROLL
   ================================================================= */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1200px) {
    .nav-list { gap: 1.5rem; }
    .nav-link { font-size: 0.85rem; }
}

@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero { min-height: auto; padding: 3rem 0; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-photo { order: -1; }
    .hero-photo img { max-width: 70%; }
    .hero-text { padding: 0; }
    .hero-title { font-size: 34px; }

    .music-gallery, .events-grid, .merch-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .events-grid-large { grid-template-columns: repeat(2, 1fr); }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-grid:not(.gallery-grid-large) .gallery-item:nth-child(6) { grid-column: span 1; }
    .gallery-grid:not(.gallery-grid-large) .gallery-item:nth-child(8) { grid-column: span 2; }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

    .about-grid-1, .about-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-grid, .login-grid {
        grid-template-columns: 1fr;
    }
    .login-card-register { grid-column: span 1; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    body { font-size: 16px; }

    .topbar-inner { font-size: 0.8rem; }
    .topbar-mail { display: none; }

    .menu-toggle { display: flex; }

    .nav {
        position: fixed; top: 0; right: 0;
        width: 80%; max-width: 320px; height: 100vh;
        background: var(--bg-alt);
        padding: calc(var(--header-h) + 2rem) 2rem 2rem;
        transform: translateX(100%);
        transition: transform var(--t-slow);
        border-left: 1px solid var(--border);
        z-index: 105;
        overflow-y: auto;
    }
    .nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .nav-link { font-size: 1.05rem; }

    .hero-title { font-size: 24px; }
    .hero-desc { font-size: 16px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .page-header { padding: 4rem 0 3rem; }

    .section-events .section-header {
        flex-direction: column; text-align: center;
    }

    .events-grid, .events-grid-large, .music-gallery, .merch-preview {
        grid-template-columns: 1fr;
    }

    .event-card { padding: 35px 20px; }

    .booking-inner { flex-direction: column; text-align: center; }
    .booking-title { font-size: 28px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-grid .gallery-item:nth-child(6),
    .gallery-grid .gallery-item:nth-child(8) { grid-column: span 2; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-logo { margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .form-row { grid-template-columns: 1fr; }

    .challenges-toolbar { gap: 1rem; }
    .filter-group, .sort-group { width: 100%; }

    .sorteo-card { flex-direction: column; text-align: center; }

    .contact-form, .login-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .topbar-social { gap: 0.8rem; }
    .topbar-login { padding: 0.5rem 1rem; font-size: 0.75rem; }
    .logo img { height: 40px; }
    .btn { padding: 14px 22px; font-size: 14px; }

    .products-grid, .talleres-grid, .tracks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .challenges-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   OVERRIDES — visibilidad forzada de gallery-item y music-card
   (algunas versiones cacheadas del script.js los marcaban como .reveal)
   ================================================================= */
.gallery-item, .music-card,
.gallery-item.reveal, .music-card.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* =================================================================
   HERO BANNER (logo + foto TV vintage al inicio de la home)
   ================================================================= */
.hero-banner {
    width: 100%;
    background: var(--bg);
}
.hero-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}
.hero-banner img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
}
