/* ═══════════════════════════════════════════════════
   VERTIENTE — Atelier de Montaña
   Paleta tierra sobre oscuro · Poppins + Montserrat
   ═══════════════════════════════════════════════════ */

:root {
  --bg:        #0c0a07;
  --bg-2:      #141009;
  --bg-3:      #1c1710;
  --line:      rgba(201, 162, 94, .18);
  --ink:       #ece3d0;
  --muted:     #a2937b;
  --sand:      #c9a25e;
  --sand-soft: #e2c99a;
  --terra:     #b4663a;
  --olive:     #8a8a55;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-disp: 'Montserrat', 'Poppins', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--sand); color: var(--bg); }

/* ────────── Botones ────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn--primary {
  background: linear-gradient(120deg, var(--sand), var(--terra));
  color: #16100a;
  box-shadow: 0 10px 30px -10px rgba(201, 162, 94, .55);
}
.btn--primary:hover { box-shadow: 0 18px 40px -10px rgba(201, 162, 94, .7); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--sand); color: var(--sand); }

.btn--small { padding: .6rem 1.4rem; font-size: .85rem; background: var(--sand); color: #16100a; }
.btn--big { padding: 1.2rem 3rem; font-size: 1.05rem; }

.btn--card {
  padding: .65rem 1.5rem;
  font-size: .85rem;
  background: transparent;
  border-color: var(--line);
  color: var(--sand);
}
.btn--card:hover { background: var(--sand); color: #16100a; border-color: var(--sand); }

/* ────────── Nav ────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, padding .4s;
}
.nav.is-scrolled {
  background: rgba(12, 10, 7, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 46px; width: auto; display: block; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--muted);
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ────────── Hero ────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
}
.hero__mountains--back  { height: 55%; fill: #171209; opacity: .9; }
.hero__mountains--front { height: 40%; fill: #0a0805; }
.hero__glow {
  position: absolute;
  top: -20%; left: 50%;
  width: 80vmin; height: 80vmin;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 162, 94, .16), transparent 65%);
  filter: blur(10px);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content { max-width: 900px; }
.hero__mark { width: 76px; height: auto; margin: 0 auto 1.4rem; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--sand);
}
.hero__eyebrow-line { width: 46px; height: 1px; background: var(--sand); display: inline-block; }

.hero__title {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(2.4rem, 10vw, 7.2rem);
  letter-spacing: .1em;
  line-height: 1.05;
  margin-top: 1.4rem;
  white-space: nowrap;
}
.hero__letter {
  display: inline-block;
  will-change: transform, opacity;
  background: linear-gradient(180deg, #f4ecdb 30%, var(--sand) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(.7rem, 2vw, 1rem);
  letter-spacing: .65em;
  text-indent: .65em;
  color: var(--muted);
  margin-top: .4rem;
}
.hero__claim {
  margin-top: 2.2rem;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 300;
}
.hero__claim em { color: var(--sand); font-style: normal; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.hero__desc {
  margin: 1rem auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: .98rem;
}
.hero__desc strong { color: var(--ink); font-weight: 500; }

.hero__cta {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__badges {
  margin-top: 2.8rem;
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__badges span {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1.1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--sand);
  animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ────────── Marquesina ────────── */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .3em;
  color: var(--sand);
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ────────── Secciones ────────── */
.section { padding: clamp(5rem, 10vw, 8.5rem) clamp(1.2rem, 5vw, 4rem); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 4rem; }
.section__eyebrow {
  font-size: .78rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
}
.section__title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: .02em;
  margin-top: .9rem;
}
.accent {
  background: linear-gradient(120deg, var(--sand), var(--terra));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lead { color: var(--muted); margin-top: 1.1rem; }

/* ────────── Colección ────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
  max-width: 1280px;
  margin: 0 auto;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s var(--ease);
  will-change: transform;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 94, .45);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .55),
              0 0 46px -16px rgba(201, 162, 94, .22);
}
.card__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-3); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: brightness(1.04);
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--sand), var(--terra));
  color: #16100a;
  padding: .4rem .9rem;
  border-radius: 999px;
}
.card__tag--alt { background: rgba(12, 10, 7, .75); color: var(--sand); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.card__body { padding: 1.5rem 1.5rem 1.7rem; }
.card__name { font-family: var(--font-disp); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; }
.card__meta { color: var(--muted); font-size: .82rem; margin-top: .35rem; }
.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.card__price {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--sand);
}
.coleccion__note {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 3rem;
}

/* ────────── Calidad ────────── */
.calidad { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  max-width: 1080px;
  margin: 0 auto 4.5rem;
}
.stat {
  text-align: center;
  padding: 2.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  transition: transform .5s var(--ease), border-color .5s;
}
.stat:hover { transform: translateY(-6px); border-color: rgba(201, 162, 94, .4); }
.stat__num {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--sand);
  line-height: 1;
}
.stat__num small { font-size: .35em; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-left: .3rem; }
.stat__label { color: var(--muted); font-size: .85rem; margin-top: .9rem; }

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 1080px;
  margin: 0 auto;
}
.feature {
  padding: 2rem 1.6rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(180, 102, 58, .5); }
.feature svg { width: 34px; height: 34px; color: var(--terra); }
.feature h3 { font-family: var(--font-disp); font-weight: 700; font-size: 1rem; margin-top: 1rem; letter-spacing: .03em; }
.feature p { color: var(--muted); font-size: .85rem; margin-top: .5rem; }

/* ────────── Filosofía ────────── */
.filosofia { position: relative; }
.filosofia__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.filosofia__peak { width: 215px; height: auto; margin: 0 auto 2.4rem; }
.filosofia__quote p {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: .02em;
}
.filosofia__text { color: var(--muted); margin-top: 2rem; font-size: .98rem; }
.filosofia__text strong { color: var(--sand); font-weight: 500; }
.filosofia__sign { margin-top: 2rem; color: var(--terra); letter-spacing: .25em; text-transform: uppercase; font-size: .75rem; }

/* ────────── FAQ ────────── */
.faq { background: var(--bg-2); border-block: 1px solid var(--line); }
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: .9rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color .4s;
}
.faq__item[open] { border-color: rgba(201, 162, 94, .45); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-weight: 400;
  font-size: .98rem;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sand); }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%; height: 1.5px;
  background: var(--sand);
  transition: transform .4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .9rem; }

/* ────────── CTA final ────────── */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(6rem, 12vw, 9rem) 1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(180, 102, 58, .22), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.cta-final__eyebrow { font-size: .78rem; letter-spacing: .4em; text-transform: uppercase; color: var(--terra); font-weight: 500; }
.cta-final__title {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  line-height: 1.12;
  margin-top: 1.2rem;
  background: linear-gradient(180deg, #f4ecdb, var(--sand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-final__price {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--sand);
  margin-top: 1.8rem;
}
.cta-final__price small { display: block; font-family: var(--font-body); font-weight: 300; font-size: .8rem; color: var(--muted); letter-spacing: .1em; margin-top: .3rem; }
.cta-final .btn { margin-top: 2rem; }
.cta-final__note { color: var(--muted); font-size: .82rem; margin-top: 1.4rem; }

/* ────────── Footer ────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 4rem clamp(1.2rem, 5vw, 4rem) 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}
.footer__logo { width: 175px; height: auto; }
.footer__tag { color: var(--muted); font-size: .82rem; margin-top: 1.2rem; }
.footer h4 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.1rem;
}
.footer__col a { display: block; color: var(--muted); font-size: .88rem; padding: .25rem 0; transition: color .3s; }
.footer__col a:hover { color: var(--sand); }
.footer__col p { color: var(--muted); font-size: .88rem; }
.footer__legal {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  margin-top: 1rem;
}

/* ────────── WhatsApp flotante ────────── */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sand), var(--terra));
  color: #16100a;
  box-shadow: 0 12px 30px -8px rgba(201, 162, 94, .6);
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(201, 162, 94, .6); }
  50%      { box-shadow: 0 12px 40px -4px rgba(201, 162, 94, .85); }
}

/* ────────── Animación gestionada solo por GSAP (sin CSS oculto) ────────── */

/* ────────── Responsive ────────── */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { padding-top: 6rem; }
  .card__row { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .btn--card { width: 100%; text-align: center; }
}

/* ────────── Accesibilidad: menos movimiento ────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__letter { opacity: 1 !important; transform: none !important; }
}
