:root {
  --primary: #c9a227;
  --primary-strong: #8f6a0f;
  --primary-soft: #f3e2a1;
  --bg: #f3ecdc;
  --surface: #fffaf0;
  --surface-alt: #efe3c7;
  --text: #2a1d1a;
  --muted: #6b5a45;
  --accent: #25d366;
  --ring: rgba(201, 162, 39, 0.4);
  --outline: rgba(143, 106, 15, 0.2);
  --max: 1180px;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-gold: 0 6px 18px rgba(201, 162, 39, 0.26);
  --shadow-soft: 0 8px 22px rgba(42, 29, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f8f2e3 0%, #f3ecdc 44%, #efe5cf 100%),
    radial-gradient(circle at 92% 8%, rgba(201, 162, 39, 0.1), transparent 34%),
    var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7.25rem) 0;
}

.section-compact {
  padding: clamp(2.3rem, 4.8vw, 3.7rem) 0;
}

.kicker,
.tag {
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 240, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 29, 26, 0.2);
  box-shadow: 0 6px 16px rgba(42, 29, 26, 0.09);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-text {
  display: none;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--outline);
}

.nav-toggle {
  border: 1px solid rgba(42, 29, 26, 0.18);
  background: #f4eedf;
  color: var(--text);
  border-radius: 999px;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.header-controls {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav {
  display: none;
  position: absolute;
  top: 4.65rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
  gap: 0.7rem;
}

.nav.open {
  display: flex;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a.active {
  color: var(--primary-strong);
}

.header-cta {
  display: none;
}

.header-wa {
  width: 2.45rem;
  height: 2.45rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.44);
  background: #e4f9ed;
  color: #1d9f4f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.header-wa:hover {
  transform: translateY(-1px);
  background: #25d366;
  color: #ffffff;
}

.header-wa i {
  font-size: 1.12rem;
}

.header-yt {
  width: 2.45rem;
  height: 2.45rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 0, 0.42);
  background: #ffe9e9;
  color: #ff0000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.header-yt:hover {
  transform: translateY(-1px);
  background: #ff0000;
  color: #ffffff;
}

.header-yt i {
  font-size: 1.1rem;
}

.nav-toggle:hover,
.nav-toggle:active {
  background: #e9ddc3;
}

.nav-toggle:focus-visible,
.header-yt:focus-visible,
.header-wa:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  font-family: "Work Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  color: #181102;
  background: linear-gradient(135deg, #d4af37 0%, #f5e050 50%, #d4af37 100%);
  background-size: 200% auto;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-position: right center;
}

.btn-secondary {
  color: var(--text);
  border-color: var(--outline);
  background: #f4eedf;
}

.btn-youtube {
  color: #ffffff;
  border-color: #ff0000;
  background: #ff0000;
}

.btn-youtube:hover {
  background: #cc0000;
  border-color: #cc0000;
}

.btn-tertiary {
  color: var(--primary-strong);
  border-radius: 0;
  border: 0;
  padding: 0;
  border-bottom: 2px solid rgba(212, 175, 55, 0.46);
}

.hero {
  position: relative;
  padding: clamp(1.6rem, 4.8vw, 3.1rem) 0 clamp(2.2rem, 6vw, 3.4rem);
  min-height: clamp(560px, 84vh, 760px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./musicos-de-dios-hero-banner.png");
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 29, 26, 0.4);
  z-index: 0;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
}

.hero-content {
  width: min(100%, 38rem);
  display: grid;
  gap: 0.8rem;
  background: #fffaf0;
  border: 1px solid rgba(143, 106, 15, 0.24);
  border-radius: 1.1rem;
  box-shadow: 0 8px 24px rgba(42, 29, 26, 0.14);
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.05rem, 8vw, 3.9rem);
  color: var(--text);
}

.hero-lead {
  color: #3a2a21;
  font-size: clamp(1.14rem, 3.8vw, 1.34rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 0.3rem 0.55rem 0.3rem 0.32rem;
}

.hero-badge img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
}

.hero-badge span {
  font-family: "Work Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
}

.hero-badge i {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: #e4f9ed;
  font-size: 1.14rem;
  line-height: 1;
  color: #1d9f4f;
}

.hero .hero-card,
.hero .hero-floating {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.section:nth-of-type(even) {
  background: var(--surface-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
}

.playlist-filters {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0.72rem;
  scrollbar-width: none;
}

.playlist-filters::-webkit-scrollbar {
  display: none;
}

.playlist-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--outline);
  background: var(--surface-alt);
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.playlist-chip.is-active {
  background: linear-gradient(135deg, #d4af37 0%, #f5e050 100%);
  color: #191205;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.playlist-grid,
.video-grid,
.perks-grid,
.soon-grid,
.levels-grid,
.info-grid {
  display: grid;
  gap: 0.52rem;
}

.playlist-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--outline);
  box-shadow: 0 3px 12px rgba(42, 29, 26, 0.06);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.playlist-card:hover,
.card:hover {
  border-color: var(--primary);
  box-shadow: inset 0 0 14px rgba(212, 175, 55, 0.24), var(--shadow-soft);
  transform: translateY(-1px);
}

.card-body {
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.playlist-cover {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.playlist-card .playlist-cover {
  aspect-ratio: 3 / 2;
}

.playlist-card .card-body {
  padding: 0.42rem;
  gap: 0.18rem;
}

.playlist-card h3 {
  font-size: clamp(0.72rem, 2.1vw, 0.9rem);
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-card p {
  display: none;
}

.playlist-card .btn {
  font-size: 0.6rem;
  padding: 0.32rem 0.46rem;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
  align-self: flex-start;
}

.perk,
.soon,
.notice {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--outline);
  padding: 1rem;
}

.lyric-card {
  background: #fff8df;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.lyric-card p {
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 3.2vw, 1.8rem);
  color: #3a2f1e;
  line-height: 1.28;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  font-family: "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 0.32rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  margin-top: 4rem;
  background: #ece8df;
  border-top: 1px solid var(--outline);
}

.footer-inner {
  padding: 1.4rem 0;
  display: grid;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.centered {
  max-width: 740px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: #fff1bf;
  color: #5f4710;
  font-family: "Work Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.52rem;
}

@media (min-width: 760px) {
  .brand-text {
    display: inline;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: 1rem;
    margin-left: 0.8rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero {
    min-height: clamp(620px, 88vh, 840px);
  }

  .hero::before {
    background-attachment: fixed;
  }

  .hero::after {
    background: rgba(42, 29, 26, 0.35);
  }

  .hero-content {
    padding: 1.2rem 1.25rem;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .playlist-card p {
    display: -webkit-box;
    font-size: 0.66rem;
    color: var(--muted);
    line-height: 1.2;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .perks-grid,
  .soon-grid,
  .levels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .playlist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    background-attachment: scroll !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
