:root {
  --bg: #090706;
  --bg-soft: #120d0b;
  --card: rgba(255, 248, 236, 0.07);
  --card-strong: rgba(255, 248, 236, 0.11);
  --gold: #d9a441;
  --gold-soft: #f2d28b;
  --wine: #6f1822;
  --coffee: #2a1711;
  --cream: #fff4df;
  --text: rgba(255, 244, 223, 0.92);
  --muted: rgba(255, 244, 223, 0.66);
  --line: rgba(242, 210, 139, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 30px;
  --radius-sm: 20px;
  --transition: 0.28s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #070504;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--wine));
  border: 3px solid #070504;
  border-radius: 999px;
}

::selection {
  color: #150e0a;
  background: var(--gold-soft);
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3 {
  color: var(--cream);
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-soft);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.intro__card h2 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.section-heading p {
  max-width: 640px;
  margin-inline: auto;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at center, rgba(217, 164, 65, 0.13), transparent 34%),
    var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  box-shadow: 0 0 0 12px rgba(217, 164, 65, 0.05);
  animation: pulse 1.6s ease-in-out infinite;
}

.preloader span {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 7, 6, 0.77);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(242, 210, 139, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

.brand strong {
  color: var(--gold-soft);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-flex;
  padding: 10px 14px;
  color: rgba(255, 244, 223, 0.78);
  border-radius: 999px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #150e0a;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  border-radius: 999px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

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

.btn--primary {
  color: #170f0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 18px 45px rgba(217, 164, 65, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 22px 70px rgba(217, 164, 65, 0.36);
}

.btn--ghost {
  color: var(--cream);
  border: 1px solid rgba(242, 210, 139, 0.2);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
  background:
    linear-gradient(135deg, rgba(9, 7, 6, 0.98), rgba(34, 17, 12, 0.94) 48%, rgba(111, 24, 34, 0.68)),
    radial-gradient(circle at 72% 28%, rgba(217, 164, 65, 0.18), transparent 35%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(242, 210, 139, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 210, 139, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 74%, transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.hero__glow--one {
  width: 220px;
  height: 220px;
  left: -92px;
  bottom: 18%;
  background: rgba(217, 164, 65, 0.28);
}

.hero__glow--two {
  width: 300px;
  height: 300px;
  right: -118px;
  top: 18%;
  background: rgba(111, 24, 34, 0.46);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 58px;
}

.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(3.7rem, 9vw, 7.5rem);
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--gold-soft);
  display: block;
  margin-top: -0.1em;
}

.hero__lead {
  max-width: 650px;
  font-size: 1.1rem;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero__verse {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 610px;
  padding: 14px 18px;
  color: var(--gold-soft);
  border: 1px solid rgba(242, 210, 139, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.artist-portrait {
  position: relative;
  max-width: 390px;
  justify-self: end;
}

.artist-portrait::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 32px;
}

.artist-portrait__image {
  position: relative;
  overflow: hidden;
  height: 470px;
  border: 1px solid rgba(242, 210, 139, 0.18);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.artist-portrait__image img {
  height: 100%;
  filter: saturate(0.94) contrast(1.04);
}

.artist-portrait__caption {
  position: absolute;
  left: -28px;
  bottom: 26px;
  width: min(280px, calc(100% + 10px));
  padding: 18px 20px;
  border: 1px solid rgba(242, 210, 139, 0.18);
  border-radius: 22px;
  background: rgba(9, 7, 6, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.artist-portrait__caption span,
.artist-portrait__caption small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artist-portrait__caption strong {
  display: block;
  margin: 5px 0;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.intro {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.intro__card {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 164, 65, 0.13), transparent 30%),
    var(--card);
  box-shadow: var(--shadow);
}

.intro__card::after {
  content: "Rancheras Cristianas";
  position: absolute;
  right: 34px;
  bottom: -14px;
  color: rgba(242, 210, 139, 0.05);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 9vw, 8rem);
  white-space: nowrap;
  pointer-events: none;
}

.intro__card p {
  position: relative;
  max-width: 820px;
  font-size: 1.05rem;
}

.featured {
  background:
    radial-gradient(circle at 18% 20%, rgba(111, 24, 34, 0.24), transparent 28%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.featured__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.section-copy p {
  margin-bottom: 24px;
}

.video-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 22px;
  border: 1px solid rgba(242, 210, 139, 0.2);
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.12), rgba(111, 24, 34, 0.22)),
    #120d0b;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 26px;
  text-align: center;
}

.video-placeholder i {
  color: #ff3b3b;
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.video-placeholder p {
  max-width: 420px;
  font-size: 0.94rem;
}

.identity {
  background:
    linear-gradient(180deg, var(--bg), var(--bg-soft)),
    radial-gradient(circle at 80% 18%, rgba(217, 164, 65, 0.12), transparent 28%);
}

.identity__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.identity-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  transition: var(--transition);
}

.identity-card:hover {
  transform: translateY(-7px);
  background: var(--card-strong);
  border-color: rgba(217, 164, 65, 0.36);
}

.identity-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #160f0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(217, 164, 65, 0.16);
}

.identity-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.identity-card p {
  font-size: 0.95rem;
}

.social-section {
  background:
    linear-gradient(135deg, rgba(111, 24, 34, 0.32), rgba(9, 7, 6, 0.96)),
    var(--bg);
}

.social-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.social-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.social-links a {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 210, 139, 0.19);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: #140d0a;
  background: var(--gold);
  transform: translateY(-5px);
}

.contact {
  background:
    radial-gradient(circle at 12% 22%, rgba(217, 164, 65, 0.1), transparent 26%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.contact__details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact__details a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  transition: var(--transition);
}

.contact__details a:hover {
  color: var(--gold-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--cream);
  font-weight: 750;
  font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(242, 210, 139, 0.16);
  outline: none;
  color: var(--cream);
  background: rgba(5, 4, 3, 0.46);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  transition: var(--transition);
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 244, 223, 0.38);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(217, 164, 65, 0.58);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.1);
}

.form-row.error input,
.form-row.error textarea {
  border-color: #ff6969;
}

.form-submit {
  width: fit-content;
  min-width: 190px;
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.form-alert {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.45;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  color: #d7ffe4;
  background: rgba(17, 140, 73, 0.18);
  border: 1px solid rgba(83, 229, 145, 0.28);
}

.form-alert.error {
  color: #ffe0e0;
  background: rgba(170, 32, 32, 0.18);
  border: 1px solid rgba(255, 105, 105, 0.26);
}

.footer {
  padding: 54px 0 26px;
  border-top: 1px solid rgba(242, 210, 139, 0.12);
  background: #050403;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr;
  gap: 34px;
}

.footer__brand p {
  margin-top: 16px;
}

.footer__column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer__column h3 {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.footer__column a {
  color: var(--muted);
  transition: var(--transition);
}

.footer__column a:hover {
  color: var(--gold-soft);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 210, 139, 0.1);
}

.footer__bottom p {
  font-size: 0.92rem;
}

.footer__bottom strong {
  color: var(--gold-soft);
}

.back-to-top,
.whatsapp-float {
  position: fixed;
  right: 20px;
  z-index: 950;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.whatsapp-float {
  bottom: 22px;
  color: #fff;
  background: #25d366;
  font-size: 1.45rem;
}

.back-to-top {
  bottom: 86px;
  color: #150e0a;
  background: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(9, 7, 6, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 62px;
  }

  .hero__grid,
  .featured__grid,
  .contact__grid,
  .social-card,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .artist-portrait {
    max-width: 430px;
    justify-self: start;
  }

  .artist-portrait__image {
    height: 430px;
  }

  .social-links {
    justify-content: flex-start;
  }

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

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .navbar {
    min-height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero__actions,
  .hero__verse {
    align-items: stretch;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__verse {
    border-radius: 22px;
  }

  .artist-portrait {
    max-width: 100%;
  }

  .artist-portrait::before {
    inset: 18px -10px -12px 18px;
  }

  .artist-portrait__image {
    height: 380px;
  }

  .artist-portrait__caption {
    position: relative;
    left: auto;
    bottom: auto;
    width: 92%;
    margin: -46px auto 0;
  }

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

  .section-heading {
    text-align: left;
  }

  .social-links a {
    width: 54px;
    height: 54px;
  }

  .form-submit {
    width: 100%;
  }
}
