/* ============================================================
   ELIXIR SECRETO — Landing page
   CSS vanilla. Paleta: fondo negro-café, dorado, verde profundo.
   ============================================================ */

:root {
  --bg: #0d0b08;
  --bg-soft: #14110c;
  --bg-card: #1c1812;
  --gold: #c9a227;
  --gold-light: #e3c35c;
  --green: #1d4d3a;
  --green-light: #3e7d5f;
  --cream: #f4ead8;
  --text: #d8cdb8;
  --muted: #9a8e78;
  --line: rgba(201, 162, 39, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1408;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.45);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--cream);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.is-scrolled {
  background: rgba(13, 11, 8, 0.92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.brand__mark span {
  color: var(--cream);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--cream);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px !important;
}

.nav__cta:hover::after {
  width: 0;
}

.nav__cta:hover {
  border-color: var(--gold);
}

/* Toggle móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(29, 77, 58, 0.25), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(13, 11, 8, 0.92), rgba(13, 11, 8, 0.92)),
    repeating-linear-gradient(90deg, rgba(201, 162, 39, 0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(201, 162, 39, 0.05) 0 1px, transparent 1px 64px);
}

.hero__inner {
  position: relative;
  text-align: center;
  padding: 140px 0 80px;
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 1.02;
  color: var(--cream);
}

.hero__title-accent {
  display: block;
  font-style: italic;
  background: linear-gradient(120deg, var(--gold), var(--gold-light), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 640px;
  margin: 32px auto 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__subtitle strong {
  color: var(--cream);
}

.hero__launch {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--gold-light);
}

.hero__invite {
  margin-top: 22px;
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
}

.launch-form {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.launch-form input {
  width: min(320px, 100%);
  background: rgba(13, 11, 8, 0.7);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  padding: 14px 24px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s ease;
}

.launch-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.launch-form input::placeholder {
  color: var(--muted);
}

.launch-form__status {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--gold-light);
}

.hero__actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- Secciones ---------- */
.section {
  padding: 120px 0;
}

.section--dark {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 18px;
}

.section__desc {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--cream);
}

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

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col--flip {
  align-items: center;
}

.two-col__text p {
  margin-bottom: 18px;
  color: var(--muted);
}

.two-col__text p.lead {
  color: var(--cream);
}

/* Pilares */
.pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pillar {
  display: flex;
  gap: 20px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar:hover {
  transform: translateX(6px);
  border-color: var(--gold);
}

.pillar__num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}

.pillar h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.pillar p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Grids genéricos */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Tarjetas qué hacemos */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Productos */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.product__emoji {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.product h3 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.product p {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 92px;
}

.product__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Coctelería */
.bars-list {
  list-style: none;
  margin-top: 10px;
}

.bars-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--muted);
}

.bars-list li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  color: var(--gold);
}

.bars-visual {
  display: grid;
  place-items: center;
}

.bars-visual__glass {
  position: relative;
  width: 140px;
  height: 200px;
  border: 2px solid rgba(201, 162, 39, 0.5);
  border-width: 0 2px 2px 2px;
  border-radius: 0 0 24px 24px;
  transform: rotate(4deg);
}

.bars-visual__liquid {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 62%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, var(--green-light), var(--green));
  box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bars-visual__glass::after {
  content: "THC";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-family: var(--font-serif);
  letter-spacing: 0.3em;
  font-size: 1.4rem;
}

/* Regiones */
.region {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.region:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.region h3 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.region p {
  color: var(--muted);
}

.note {
  margin-top: 40px;
  padding: 20px 26px;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

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

/* Formulario */
.form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__field {
  margin-bottom: 20px;
}

.form__field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--cream);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s ease;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form__status {
  margin-top: 16px;
  color: var(--gold-light);
  font-size: 0.92rem;
  min-height: 1.4em;
}

/* Footer */
.footer {
  background: #090705;
  border-top: 1px solid var(--line);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand .brand__name {
  font-size: 1.4rem;
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
  border: 1px solid var(--gold);
}

.footer__brand p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.92rem;
}

.footer__legal h4,
.footer__contact h4 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer__legal p,
.footer__contact p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 7, 5, 0.94);
  backdrop-filter: blur(10px);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.age-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate__box {
  max-width: 520px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}

.age-gate__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}

.age-gate__img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.age-gate h2 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.age-gate p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.age-gate__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0;
}

.age-gate__note {
  font-size: 0.8rem !important;
  color: var(--gold) !important;
  margin-top: 8px;
}

/* ---------- Animaciones reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 80vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 40px 32px;
    background: rgba(13, 11, 8, 0.98);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav.is-open {
    transform: none;
  }

  .nav__link {
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .nav__cta {
    margin-top: 12px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .grid-products {
    grid-template-columns: 1fr;
  }

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

  .form {
    padding: 28px 22px;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}