/* ==========================================================
   JUANMA CANO · LOCO PERDIDO / OCTUBRE 2026
   Capa visual de la nueva campaña. Conserva home.css, home.js,
   los IDs de formulario, tracking y los archivos originales.
   ========================================================== */
:root {
    --color-bg: #101820;
    --color-bg-soft: #18232d;
    --color-card: rgba(24, 35, 45, 0.94);
    --color-gold: #99adbb; /* Alias histórico usado por componentes preexistentes. */
    --color-gold-light: #d4e1e8;
    --color-ivory: #f3f1ed;
    --color-text: #fff;
    --color-muted: #b5c0c7;
    --border-soft: rgba(186, 204, 215, .24);
    --shadow: 0 30px 75px rgba(2, 7, 13, .53);
    --color-accent: #c7d6df;
    --color-ice: #86a8be;
    --color-luminous: #eef6fb;
}
html { scroll-padding-top: 100px; }
body {
    background: #101820;
    color: var(--color-ivory);
    line-height: 1.5;
}
body::before {
    background: url('../../loco-perdido-video.jpg') center top / cover no-repeat;
    filter: blur(48px) grayscale(.24);
    opacity: .12;
    transform: scale(1.09);
}
body::after {
    background:
      radial-gradient(ellipse at 81% 17%, rgba(100, 136, 160, .20), transparent 38%),
      radial-gradient(ellipse at 8% 74%, rgba(126, 151, 170, .11), transparent 32%),
      linear-gradient(115deg, rgba(9, 15, 21, .98), rgba(19, 30, 40, .94) 53%, rgba(9, 15, 22, .98));
}
::selection { background: #9cbdd0; color: #091018; }

/* Header editorial */
.home-skip {
    position: fixed; left: 12px; top: 6px; z-index: 4000;
    transform: translateY(-140%); padding: 10px 14px;
    background: #fff; color: #111; border-radius: 6px;
}
.home-skip:focus { transform: none; }
.site-header {
    position: relative; z-index: 15;
    border-bottom: 1px solid rgba(206,220,231,.12);
    background: rgba(12, 20, 28, .83);
    backdrop-filter: blur(16px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; gap: 13px; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-mark { position: relative; font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 2.2rem; color: #e7f0f6; letter-spacing: -.15em; line-height: 1; padding-right: 9px; }
.brand-spark { position: absolute; top: -2px; right: -5px; font-family: 'Montserrat', sans-serif; font-size: .53rem; letter-spacing: 0; color: #aec9db; }
.brand-name { display: grid; gap: 1px; font-size: .76rem; font-weight: 700; letter-spacing: .25em; color: #fff; line-height: 1.3; }
.brand-name small { font-size: .48rem; font-weight: 500; letter-spacing: .35em; color: #a2b4c2; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: clamp(12px, 2.3vw, 30px); }
.header-nav a { text-decoration: none; font-size: .76rem; font-weight: 600; color: #bfcbd3; transition: color .2s ease; }
.header-nav a:hover { color: #fff; }
.header-nav .nav-booking { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid rgba(190, 212, 225, .42); border-radius: 999px; color: #f6fafc; }
.header-nav .nav-booking i { font-size: .65rem; }

/* Portada editorial */
.hero { min-height: min(790px, calc(100vh - 92px)); padding: clamp(65px, 8vw, 120px) 0 clamp(80px, 9vw, 145px); position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 77% 45%, rgba(117, 151, 175, .16), transparent 49%); pointer-events: none; }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(36px, 6vw, 96px); }
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.release-label { margin-bottom: 27px; background: rgba(175, 200, 214, .075); color: #d1e5f1; border-color: rgba(187, 211, 224, .25); font-size: .72rem; letter-spacing: .19em; gap: 10px; }
.release-label::before { display: none; }
.release-label i { font-size: .93rem; }
.artist-name { font-size: .86rem; letter-spacing: .5em; color: #bcd0df; margin-bottom: 14px; }
.hero h1 { font-size: clamp(5.1rem, 10vw, 9.1rem); line-height: .78; margin-bottom: 30px; color: #f7f5f2; letter-spacing: -.048em; }
.hero h1 em, .section-heading em, .previous-copy h2 em, .info-card h2 em { display: block; font-style: italic; font-weight: 500; color: #c2d7e4; }
.hero-lead { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 3.1vw, 2.4rem); line-height: 1.14; font-weight: 500; color: #f2f0ed; max-width: 570px; }
.hero-lead strong { color: #b6d0df; font-weight: 600; }
.release-description { margin-top: 20px; max-width: 540px; font-size: .98rem; line-height: 1.8; color: #b9c5cf; }
.release-description strong { color: #f5f5f5; }
.release-date { margin-top: 26px; gap: 12px 20px; font-size: .75rem; letter-spacing: .025em; color: #c7d2d9; }
.release-date i { color: #b6d1e2; }
.actions { margin-top: 32px; gap: 11px; }
.btn { border-radius: 8px; padding: 13px 18px; font-size: .79rem; letter-spacing: .01em; min-height: 52px; }
.btn-youtube { background: #e7eef2; box-shadow: 0 12px 38px rgba(181,213,231,.17); color: #10202b; }
.btn-youtube:hover { background: #fff; }
.btn-spotify { background: rgba(135, 178, 145, .13); color: #c5edd1; border: 1px solid rgba(117,196,142,.3); box-shadow: none; }
.btn-spotify:hover { background: rgba(98, 165, 119, .25); }
.btn-outline { border: 1px solid rgba(200, 218, 230, .30); background: rgba(255,255,255,.035); }
.hero-footer-note { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: #8ea8ba; font-weight: 600; font-size: .64rem; letter-spacing: .22em; }
.line-decor { display: block; height: 1px; width: 36px; background: #7c98a9; }
.cover-stage { position: relative; max-width: 510px; width: 100%; margin: 0 auto; }
.cover-halo { position: absolute; inset: 4% -12% -15%; background: radial-gradient(ellipse at 50% 50%, rgba(150, 184, 210, .27), transparent 58%); filter: blur(25px); }
.cover-wrapper { border-radius: 3px; max-width: 510px; overflow: visible; box-shadow: 0 35px 90px rgba(0,0,0,.50); transform: rotate(1.25deg); }
.cover-wrapper::before { content: ''; position: absolute; inset: -9px; border: 1px solid rgba(192,216,230,.25); pointer-events: none; z-index: -1; }
.cover { display: block; border-radius: 2px; border: 1px solid rgba(220,231,238,.28); width: 100%; height: 100%; object-fit: cover; }
.cover-caption { position: absolute; right: 2px; bottom: -30px; color: #b4c9d7; font-size: .58rem; letter-spacing: .23em; font-weight: 600; }
.cover-caption span { padding: 0 4px; color: #8ea8ba; }

/* Títulos y medios */
.video-section { padding: 92px 0 115px; position: relative; border-top: 1px solid rgba(193, 213, 224, .12); background: linear-gradient(180deg, rgba(30,45,55,.36), rgba(14,22,31,.05)); }
.section-eyebrow { color: #a4c0d0; letter-spacing: .29em; font-size: .67rem; font-weight: 700; text-align: center; display: block; margin-bottom: 18px; }
.video-section .section-eyebrow { display: flex; justify-content: center; gap: 15px; align-items: center; }
.eyebrow-line { width: 28px; height: 1px; background: rgba(183,209,223,.52); }
.section-heading { font-size: clamp(3.1rem, 7vw, 5.7rem); line-height: .91; margin-bottom: 23px; color: #f2f2ee; }
.section-heading em { display: inline; }
.section-intro { color: #c0cbd3; max-width: 680px; margin-bottom: 40px; }
.section-intro strong { color: #f3f5f5; }
.video-card { max-width: 1010px; padding: 10px; border: 1px solid rgba(198,219,232,.28); border-radius: 12px; background: #101820; box-shadow: 0 32px 75px rgba(0,0,0,.4); }
.video-container { border-radius: 5px; }
.video-caption { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 21px 20px 12px; }
.video-label { font-size: .61rem; letter-spacing: .25em; color: #99b6c9; font-weight: 700; }
.video-caption p { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; color: #f4f1ed; }
.video-caption p span { color: #88a0ad; }
.video-external { display: inline-flex; align-items: center; gap: 10px; color: #e0e8ed; font-weight: 700; font-size: .76rem; text-decoration: none; border-bottom: 1px solid rgba(213,226,235,.38); padding-bottom: 5px; white-space: nowrap; }
.video-external:hover { color: white; }
.video-external .fa-youtube { color: #ff5672; font-size: 1.03rem; }
.video-external .fa-arrow-up-right-from-square { font-size: .6rem; }

/* Ecosistema social */
.platforms-section { padding: 6px 0 105px; }
.platforms-shell { background: linear-gradient(135deg, rgba(32,48,60,.90), rgba(13,23,31,.93)); border: 1px solid var(--border-soft); border-radius: 20px; padding: clamp(28px,5vw,58px); }
.platforms-grid--current { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.platform-card { border-radius: 12px; min-height: 145px; background: rgba(204,227,243,.035); border: 1px solid rgba(195,220,236,.14); }
.platform-card:hover { border-color: rgba(191,216,231,.52); background: rgba(225,239,248,.085); }
.platform-spotify i { color: #61d991; }
.platform-youtube i { color: #ff456a; }
.platform-instagram i { color: #d8acdc; }
.platform-whatsapp i { color: #7de6a2; }
.youtube-subscribe-box { background: rgba(177,204,223,.045); border-color: rgba(183,210,226,.17); }
.youtube-subscribe-copy strong { color: #f5f3f0; }
.btn-subscribe { background: #f0f4f7; color: #1a2932; box-shadow: none; }
.btn-subscribe:hover { background: white; }

/* Archivo del lanzamiento anterior */
.previous-section { padding: 32px 0 118px; }
.previous-grid { max-width: 940px; display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 52px; border-top: 1px solid rgba(204,218,229,.20); padding-top: 55px; }
.previous-art { position: relative; }
.previous-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(255,255,255,.21); box-shadow: 0 22px 45px rgba(0,0,0,.29); }
.previous-copy .section-eyebrow { text-align: left; margin-bottom: 13px; }
.previous-copy h2 { font: 600 clamp(2.3rem, 4.5vw, 3.8rem)/.95 'Cormorant Garamond', serif; color: #fff; margin-bottom: 17px; }
.previous-copy h2 em { display: inline; }
.previous-copy p { color: #b9c8d2; font-size: .91rem; line-height: 1.8; max-width: 540px; }
.previous-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.previous-actions .btn { min-height: 46px; }

/* Info + bookings */
.info-section { padding: 10px 0 110px; }
.info-grid { grid-template-columns: 1.12fr .88fr; gap: 20px; }
.info-card { background: rgba(28,43,54,.92); border-radius: 18px; border-color: rgba(191,215,230,.20); box-shadow: 0 15px 46px rgba(0,0,0,.21); }
.info-card .section-eyebrow { text-align: left; }
.info-card h2 { font-size: clamp(2.2rem,4.2vw,3.5rem); line-height: 1.02; }
.info-card h2 em { display: inline; }
.info-card p { color: #c0cbd3; }
.credit-row { border-color: rgba(203,220,231,.14); }
.credit-label { color: #b6d1e0; }
.booking-card { background: linear-gradient(135deg, rgba(54,76,89,.85),rgba(20,35,45,.94)); }
.booking-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(205,227,238,.10); border: 1px solid rgba(209,231,242,.23); color: #d7e6ef; font-size: 1.35rem; margin-bottom: 25px; }
.booking-card .social-title { margin: 0 0 13px; }
.booking-card h2 { margin-bottom: 19px; }
.contact-button { color: #0c1b25; background: linear-gradient(135deg, #eff6fa, #b0c8d6); box-shadow: 0 12px 32px rgba(155,188,208,.17); margin-top: 24px; }
.contact-button:hover { background: linear-gradient(135deg, #fff, #ccdde8); }
.booking-socials { display: flex; gap: 16px; margin-top: 28px; }
.booking-socials a { color: #c9dbe6; transition: color .2s ease; }
.booking-socials a:hover { color: #fff; }
.social-title { color: #b3cdda; }

/* n8n community keeps its original form nodes, input names and JS event listeners. */
.community-shell { background: linear-gradient(135deg,rgba(33,51,64,.97),rgba(13,23,31,.96)); border-radius: 20px; }
.community-kicker, .community-card-icon { color: #c5dce9; }
.community-kicker::before { background: #9cbacb; box-shadow: none; }
.community-card { background: rgba(200,225,240,.045); border-color: rgba(191,220,237,.16); }
.community-field label { color: #d9e5ec; }
.community-field input::placeholder { color: #a4b1be; }
.community-consent { color: #aebec9; }
.community-benefits span { border-color: rgba(192,219,235,.23); color: #d5e4ed; background: rgba(187,211,227,.08); }
.community-benefits i, .community-welcome-note i { color: #bfd7e5; }
.community-welcome-note { border-color: rgba(187,211,227,.19); color: #b8ccd7; }
.community-note { color: #a8bbc9; }
.community-submit { color: #152631; background: linear-gradient(135deg,#f3f7fa,#aec9d9); box-shadow: none; }
.community-submit:hover { background: linear-gradient(135deg,#fff,#c4dce9); }
.floating-booking { border-color: rgba(215,230,240,.5); color: #12232d; background: linear-gradient(135deg,#e9f3f9,#a9c5d5); box-shadow: 0 13px 33px rgba(0,0,0,.38); }
.floating-booking:hover { box-shadow: 0 18px 40px rgba(0,0,0,.4); }
footer { color: #a9bdcb; border-top: 1px solid rgba(183,211,231,.13); background: rgba(9,17,24,.65); }
footer a { color: #d8e5ee; }

/* Tablet & mobile */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 76px 0 105px; }
    .hero-content { max-width: 700px; text-align: center; }
    .hero h1 { font-size: clamp(6.2rem,14vw,8.5rem); }
    .hero-lead,.release-description { margin-left: auto; margin-right: auto; }
    .hero-footer-note { justify-content: center; }
    .cover-stage { width: min(68vw,430px); margin-top: 15px; }
    .cover-wrapper { max-width: 100%; }
    .info-grid { grid-template-columns: 1fr; }
    .platforms-grid--current { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .header-inner { min-height: 74px; }
    .header-nav { gap: 11px; }
    .header-nav a:not(.nav-booking) { display: none; }
    .header-nav .nav-booking { padding: 10px 12px; font-size: .66rem; }
    .hero { padding: 56px 0 95px; }
    .hero h1 { font-size: clamp(5.2rem, 18vw, 7.8rem); margin-bottom: 24px; }
    .hero-lead { font-size: 1.85rem; }
    .hero .release-description { margin-top: 15px; font-size: .9rem; }
    .cover-stage { width: min(82vw,430px); }
    .video-section { padding: 74px 0 80px; }
    .video-caption { padding: 18px 7px 8px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .platforms-section { padding-bottom: 75px; }
    .platforms-grid--current { grid-template-columns: 1fr; }
    .previous-section { padding: 20px 0 90px; }
    .previous-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 45px; }
    .previous-art { width: min(54vw,240px); }
    .previous-copy .section-eyebrow { text-align: left; }
    .info-section { padding-bottom: 75px; }
}
@media (max-width: 400px) {
    .brand-name { font-size: .67rem; }
    .brand-mark { font-size: 1.8rem; }
    .header-nav .nav-booking { font-size: .62rem; }
    .hero h1 { font-size: 18vw; }
    .release-label { font-size: .62rem; letter-spacing: .13em; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
