@font-face { font-family: "Cabinet Grotesk"; src: url("/static/fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/static/fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --blue: #1F4E9C;       /* azul cobalto fajalauza */
  --blue-deep: #12305F;
  --green: #2E7D4F;      /* verde fajalauza */
  --green-soft: #3FA56B;
  --white: #FBFAF6;      /* blanco esmalte */
  --paper: #F2F0E8;
  --ink: #111214;
  --ink-soft: #3A3D44;
  --line: rgba(17, 18, 20, .12);
  --radius: 14px;
  --wrap: 1180px;
  --head: 72px;
  --font: "Cabinet Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.35rem; }
.sub { font-weight: 500; font-size: 1.15rem; color: var(--ink-soft); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: .8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- cabecera ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; height: var(--head); z-index: 50; display: flex; align-items: center; transition: background .25s, box-shadow .25s, color .25s; color: var(--white); }
.site-head.solid, .site-head.page { background: rgba(251, 250, 246, .96); backdrop-filter: blur(8px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { height: 38px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a { text-decoration: none; font-weight: 800; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a.on::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-soft); }
.ig { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; text-decoration: none; flex: none; }
.ig svg { width: 20px; height: 20px; }
.ig:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- carrusel ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 960px; overflow: hidden; background: var(--blue-deep); color: var(--white); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: grid; }
.slide.on { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(38px) saturate(1.2); opacity: .55; transform: scale(1.1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 48, .88) 0%, rgba(10, 22, 48, .55) 55%, rgba(10, 22, 48, .25) 100%); }
.slide-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; align-content: center; gap: 48px; padding-top: var(--head); }
.slide-cover { aspect-ratio: 1; width: min(460px, 100%); justify-self: end; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); object-fit: cover; background: var(--blue); }
.slide h1 { margin-bottom: .2em; }
.slide .artist { font-size: 1.35rem; opacity: .9; margin-bottom: 1.6rem; }
.slide .date { font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #9FE0B8; margin-bottom: 1rem; display: block; }
.hero-dots { position: absolute; z-index: 3; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--white); }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.hero-arrow:hover { background: rgba(255, 255, 255, .12); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
.scroll-hint { position: absolute; z-index: 3; bottom: 70px; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 800 .95rem var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-soft); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { border-color: currentColor; background: transparent; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- secciones ---------- */
section { padding: 110px 0; }
.band { height: 26px; background: url("/static/img/tile.svg") repeat-x center / 26px 26px; opacity: .9; }
.tiled { background: linear-gradient(rgba(242, 240, 232, .86), rgba(242, 240, 232, .86)), url("/static/img/tile.svg") repeat; background-size: auto, 160px; }
.tiled-soft { position: relative; }
.tiled-soft::before { content: ""; position: absolute; inset: 0; background: url("/static/img/tile.svg") repeat; background-size: 140px; opacity: .07; pointer-events: none; }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.intro p.big { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 500; margin: 0; }
.intro p.big b { font-weight: 800; color: var(--blue); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--blue); }
.value:nth-child(2n) { border-top-color: var(--green); }
.value h3 { font-size: 1.1rem; margin-bottom: .25em; }
.value p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.playlists { margin-top: 90px; }
.pl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.pl { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blue); position: relative; color: var(--white); }
.pl img { width: 100%; height: 100%; object-fit: cover; }
.pl.empty { display: grid; place-items: center; text-align: center; padding: 18px; background: linear-gradient(rgba(31, 78, 156, .78), rgba(31, 78, 156, .78)), url("/static/img/tile.svg") center / 90px; }
.pl.empty span { background: rgba(18, 48, 95, .88); padding: 10px 14px; border-radius: 10px; font-size: .85rem; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.svc { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18, 48, 95, .14); }
.svc .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--white); margin-bottom: 6px; }
.svc:nth-child(2n) .ico { background: var(--green); }
.svc .ico svg { width: 26px; height: 26px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.svc .more { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.svc.feature { grid-column: span 2; background: var(--blue); color: var(--white); border: 0; }
.svc.feature p { color: rgba(255, 255, 255, .85); }
.svc.feature .ico { background: var(--white); color: var(--blue); }
.svc.feature .more { color: #9FE0B8; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
form.card { background: var(--white); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(18, 48, 95, .08); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
legend .n { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: .85rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
input, textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 500 1rem var(--font); background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 78, 156, .15); }
textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 14px; font-weight: 800; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: #B3261E; }
.hp { display: none; }

/* ---------- pie ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 60px 0 36px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-foot .logo svg { height: 44px; color: var(--white); }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot small { width: 100%; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; opacity: .6; }

/* ---------- páginas internas ---------- */
.page-hero { padding: calc(var(--head) + 70px) 0 60px; background: var(--blue-deep); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("/static/img/tile.svg") repeat; background-size: 150px; opacity: .08; }
.page-hero .wrap { position: relative; }
.page-hero .sub { color: rgba(255, 255, 255, .8); max-width: 640px; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.art { position: relative; }
.art-photo { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blue); }
.art-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.art:hover .art-photo img { transform: scale(1.05); }
.play { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--green); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .15s, background .2s; }
.play:hover { transform: scale(1.08); background: var(--green-soft); }
.play svg { width: 22px; height: 22px; }
.play .i-pause { display: none; }
.play.playing .i-play { display: none; } .play.playing .i-pause { display: block; }
.play.playing::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green-soft); animation: pulse 1.4s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.art h3 { margin: 14px 0 2px; font-size: 1.2rem; }
.art h3 a { text-decoration: none; }
.art h3 a:hover { color: var(--blue); }
.art .track { font-size: .88rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.artist-head { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: end; }
.artist-head img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.artist-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.bio p { margin-top: 0; }
.pending { border: 2px dashed rgba(31, 78, 156, .35); border-radius: var(--radius); padding: 22px; color: var(--ink-soft); background: rgba(31, 78, 156, .04); font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.sp-embed { width: 100%; border: 0; border-radius: 14px; }
.releases-mini { display: grid; gap: 12px; margin-top: 24px; }
.rel-mini { display: flex; gap: 14px; align-items: center; text-decoration: none; padding: 8px; border-radius: 12px; }
.rel-mini:hover { background: var(--paper); }
.rel-mini img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.rel-mini small { display: block; color: var(--ink-soft); }
.back { display: flex; width: max-content; gap: 8px; align-items: center; text-decoration: none; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: 24px; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.prod { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.prod-img { aspect-ratio: 1; background: linear-gradient(rgba(18, 48, 95, .8), rgba(18, 48, 95, .8)), url("/static/img/tile.svg") center / 110px; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body .tag { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.prod-body .price { font-weight: 800; font-size: 1.3rem; }
.prod-body .btn { margin-top: auto; justify-content: center; }
.pay-note { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 40px; color: var(--ink-soft); font-size: .92rem; }
.pay-note span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 800; font-size: .8rem; }
.soon { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.studio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.studio-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.studio-card .img { aspect-ratio: 16 / 9; background: linear-gradient(rgba(46, 125, 79, .82), rgba(18, 48, 95, .82)), url("/static/img/tile.svg") center / 120px; }
.studio-card .img img { width: 100%; height: 100%; object-fit: cover; }
.studio-card div.txt { padding: 24px; }
.studio-card p { margin: 0; color: var(--ink-soft); }
.booking { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.booking iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking .pending { margin: 24px; }

/* ---------- aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .slide { transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .intro, .contact, .artist-body { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc.feature { grid-column: span 2; }
  .pl-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-in { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .slide-cover { justify-self: start; width: min(300px, 70vw); order: -1; }
  .hero-arrow { display: none; }
}
@media (max-width: 760px) {
  section { padding: 76px 0; }
  .menu-btn { display: block; margin-left: auto; }
  .nav { position: fixed; inset: var(--head) 0 auto 0; flex-direction: column; gap: 0; background: var(--white); color: var(--ink); padding: 8px 16px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-120%); transition: transform .25s; margin: 0; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .ig { margin-left: 0; }
  .svc-grid, .studio-grid, .soon, .row, .values { grid-template-columns: 1fr; }
  .svc.feature { grid-column: auto; }
  .artist-head { grid-template-columns: 1fr; gap: 24px; }
  .artist-head img { width: 220px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .play { width: 44px; height: 44px; right: 8px; bottom: 8px; }
  form.card { padding: 22px; }
  .slide h1 { font-size: 2.3rem; }
}
