/* =========================================================
   Casa González — paleta cruda, verde y madera
   ========================================================= */
:root {
  --crudo: #f4eee3;
  --crudo-2: #ebe2d2;
  --beige: #dccbb0;
  --madera: #a37a52;
  --madera-osc: #6e4f33;
  --salvia: #8a9a7b;
  --salvia-claro: #c5cdb6;
  --oliva: #3d4a36;
  --oliva-osc: #2a3326;
  --tinta: #2e2a24;
  --tinta-suave: #6b6256;
  --blanco: #fbf8f2;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--crudo);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h2 em, h1 em { font-style: italic; color: var(--madera); font-weight: 400; }
p { margin: 0 0 1.1em; }
::selection { background: var(--salvia-claro); color: var(--oliva-osc); }

.section { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 { margin-bottom: .4em; }
.section__lead { color: var(--tinta-suave); max-width: 560px; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--salvia); font-weight: 500; margin-bottom: 1.2em; display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.9em; border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--crudo); color: var(--oliva-osc); }
.btn--light::before { background: var(--madera); }
.btn--light:hover { color: var(--blanco); }
.btn--ghost { border-color: rgba(251, 248, 242, .6); color: var(--blanco); }
.btn--ghost::before { background: var(--blanco); }
.btn--ghost:hover { color: var(--oliva-osc); }
.btn--solid { background: var(--oliva); color: var(--crudo); }
.btn--solid::before { background: var(--madera); }
.btn--small { padding: .7em 1.3em; font-size: .72rem; }
.btn--big { padding: 1.15em 2.4em; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--madera); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); color: var(--blanco);
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(244, 238, 227, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--oliva-osc); padding-block: 12px; box-shadow: 0 1px 0 rgba(110, 79, 51, .12);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease), background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease); }
.nav__brand { display: flex; align-items: center; gap: .55em; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.nav__script { font-family: "Sacramento", cursive; font-size: 2.3rem; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1; padding-top: 4px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 4px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav:not(.is-scrolled) .nav__links .btn--solid { background: var(--crudo); color: var(--oliva-osc); }
.nav:not(.is-scrolled) .nav__links .btn--solid:hover { color: var(--blanco); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 2; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  color: var(--blanco); overflow: hidden; padding: 120px var(--gutter) 100px;
}
.hero__media { position: absolute; inset: -8% 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(42, 51, 38, .28), rgba(42, 51, 38, .62) 70%),
    linear-gradient(to bottom, rgba(42, 51, 38, .55), rgba(42, 51, 38, .1) 40%, rgba(42, 51, 38, .6));
}
.hero__content { max-width: 1120px; }
.hero__logo { margin: 0 auto 10px; width: clamp(250px, 34vw, 460px); filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .25)); }
.hero__logo img { width: 100%; height: auto; }
.hero__tagline { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; margin-bottom: 1.6em; opacity: .95; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; opacity: .85;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--blanco), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--blanco); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- Bienvenida ---------- */
.welcome { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.welcome__text h2 { margin-bottom: .7em; }
.welcome__text p:not(.eyebrow) { color: var(--tinta-suave); max-width: 520px; }
.welcome__sign { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--madera-osc); }
.welcome__sign svg { width: 36px; height: 36px; color: var(--salvia); }
.welcome__media { position: relative; padding-bottom: 18%; }
.welcome__main { margin: 0; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.welcome__main img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.welcome__float {
  position: absolute; width: 48%; left: -14%; bottom: 0; margin: 0; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 8px solid var(--crudo); box-shadow: 0 30px 60px -30px rgba(46, 42, 36, .45);
}
.welcome__float img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* ---------- Marquee ---------- */
.marquee { background: var(--oliva); color: var(--crudo); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee svg { width: 30px; height: 30px; color: var(--salvia-claro); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mundos ---------- */
.worlds__wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.worlds__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(110, 79, 51, .2); }
.worlds__list li { border-bottom: 1px solid rgba(110, 79, 51, .2); }
.world {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px;
  padding: clamp(16px, 2.4vw, 26px) 6px; text-decoration: none; position: relative;
  transition: padding .5s var(--ease), color .4s var(--ease);
}
.world::before {
  content: ""; position: absolute; inset: 0; background: var(--crudo-2); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); border-radius: 12px;
}
.world__n { font-size: .78rem; letter-spacing: .2em; color: var(--salvia); font-weight: 500; }
.world__name { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; transition: transform .5s var(--ease), color .4s; }
.world__arrow { font-size: 1.6rem; color: var(--madera); opacity: 0; transform: translateX(-14px); transition: all .5s var(--ease); }
.world.is-active, .world:hover { padding-left: 22px; padding-right: 22px; }
.world.is-active::before, .world:hover::before { transform: scaleY(1); }
.world.is-active .world__name, .world:hover .world__name { font-style: italic; color: var(--madera-osc); }
.world.is-active .world__arrow, .world:hover .world__arrow { opacity: 1; transform: none; }
.worlds__preview { position: relative; }
.worlds__preview img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(46, 42, 36, .5); transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.worlds__preview img.is-changing { opacity: 0; transform: scale(.97); }
.worlds__preview p {
  position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0;
  background: rgba(244, 238, 227, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 16px 20px; border-radius: 14px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--oliva-osc);
  transition: opacity .4s var(--ease);
}

/* ---------- Taller ---------- */
.studio { max-width: none; background: var(--oliva); color: var(--crudo); }
.studio > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head--light .eyebrow { color: var(--salvia-claro); }
.section__head--light h2 em { color: var(--beige); }
.section__head--light .section__lead { color: rgba(244, 238, 227, .78); max-width: 640px; }
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.studio__steps { display: flex; flex-direction: column; gap: 8px; }
.step {
  display: flex; gap: 20px; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 20px 22px; border-radius: 18px; color: rgba(244, 238, 227, .55);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.step__n {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center; font-family: var(--sans); font-size: 1rem; font-weight: 400; transition: all .5s var(--ease);
}
.step__body strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.step__body span { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease); font-size: .98rem; }
.step:hover { color: rgba(244, 238, 227, .85); }
.step.is-active { background: rgba(244, 238, 227, .08); color: var(--crudo); }
.step.is-active .step__n { background: var(--beige); color: var(--oliva-osc); border-color: var(--beige); }
.step.is-active .step__body span { max-height: 140px; opacity: .85; }
.studio__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--oliva-osc); }
.studio__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.studio__media img.is-active { opacity: 1; transform: scale(1); }
.studio__progress { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 2px; background: rgba(244, 238, 227, .3); border-radius: 2px; overflow: hidden; }
.studio__progress i { display: block; height: 100%; width: 0; background: var(--crudo); }
.studio__progress i.run { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }

.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(60px, 8vw, 100px); }
.moment { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--oliva-osc); }
.moment img, .moment video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.moment:hover img, .moment:hover video { transform: scale(1.04); }
.moment figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px;
  background: linear-gradient(transparent, rgba(42, 51, 38, .85));
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.25; color: var(--crudo);
}
.moment--video::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%;
  background: #e9b9a6; box-shadow: 0 0 0 4px rgba(233, 185, 166, .3); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(233, 185, 166, 0); } }
.studio__cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 56px; text-align: center; }
.studio__cta p { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-style: italic; color: var(--beige); }

/* ---------- Frase ---------- */
.quote { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; padding: 100px var(--gutter); text-align: center; color: var(--blanco); }
.quote__media { position: absolute; inset: -15% 0; z-index: -2; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
.quote__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(42, 51, 38, .55), rgba(42, 51, 38, .7)); }
.quote__text { margin: 0; max-width: 900px; }
.quote__text svg { width: 48px; height: 48px; margin: 0 auto 20px; display: block; color: var(--beige); }
.quote__text p { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.2; margin: 0; }
.quote__text em { color: var(--beige); }

/* ---------- Galería ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 20vw, 270px); grid-auto-flow: dense; gap: 18px; }
.g {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; cursor: zoom-in;
  border-radius: 18px; overflow: hidden; background: var(--crudo-2); position: relative;
}
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g::after {
  content: "+"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(244, 238, 227, .92); color: var(--oliva-osc); display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
  opacity: 0; transform: scale(.6); transition: all .45s var(--ease);
}
.g:hover img { transform: scale(1.05); }
.g:hover::after, .g:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Cómo comprar ---------- */
.how { text-align: center; }
.how .section__head { margin-left: auto; margin-right: auto; }
.how .eyebrow { justify-content: center; }
.how .eyebrow::before { display: none; }
.how__list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how__item {
  background: var(--blanco); border-radius: var(--radius); padding: 40px 28px 34px; text-align: center;
  border: 1px solid rgba(110, 79, 51, .1); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.how__item:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -36px rgba(61, 74, 54, .5); }
.how__icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--salvia-claro); color: var(--oliva-osc); transition: transform .6s var(--ease); }
.how__item:hover .how__icon { transform: rotate(-8deg) scale(1.06); }
.how__icon svg { width: 36px; height: 36px; }
.how__item h3 { font-size: 1.75rem; margin-bottom: .5em; }
.how__item p { color: var(--tinta-suave); margin: 0; font-size: .98rem; }
.how__help { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--madera-osc); }
.how__help a { color: var(--oliva); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; padding-top: 0; }
.faq__intro h2 { margin-bottom: 36px; }
.faq__img { margin: 0; border-radius: var(--radius) var(--radius) 200px 200px; overflow: hidden; max-width: 340px; aspect-ratio: 3 / 4; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
.faq__list { border-top: 1px solid rgba(110, 79, 51, .2); }
details { border-bottom: 1px solid rgba(110, 79, 51, .2); }
summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.25;
  transition: color .3s;
}
summary::-webkit-details-marker { display: none; }
summary::after, summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1.5px; background: var(--madera);
  transition: transform .45s var(--ease);
}
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0); }
summary:hover { color: var(--madera-osc); }
details p { color: var(--tinta-suave); padding-right: 40px; margin: 0; padding-bottom: 26px; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 86vh; display: grid; place-items: center; text-align: center; color: var(--blanco); overflow: hidden; padding: 100px var(--gutter); }
.cta__media { position: absolute; inset: -12% 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(42, 51, 38, .5), rgba(42, 51, 38, .8)); }
.cta__content { max-width: 720px; }
.cta__sprig { width: 56px; height: 56px; margin: 0 auto 18px; display: block; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .4em; }
.cta h2 em { color: var(--beige); }
.cta p { font-size: 1.15rem; opacity: .9; margin-bottom: 2.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--oliva-osc); color: var(--crudo); padding: 70px var(--gutter) 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer__brand p { font-family: var(--serif); font-size: 1.25rem; opacity: .75; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer h4 { font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--salvia-claro); margin: 0 0 14px; }
.footer__cols a { display: block; text-decoration: none; opacity: .8; padding: 4px 0; transition: opacity .3s, transform .3s var(--ease); }
.footer__cols a:hover { opacity: 1; transform: translateX(4px); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(244, 238, 227, .15); padding-top: 24px; margin: 20px 0 0; font-size: .85rem; opacity: .6; }

/* ---------- Botón flotante ---------- */
.float-shop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--madera); color: var(--blanco); text-decoration: none;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 16px 40px -14px rgba(110, 79, 51, .7);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.float-shop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-shop:hover { background: var(--madera-osc); }
.float-shop svg { width: 22px; height: 22px; }

/* ---------- Aviso suave ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translate(-50%, 20px);
  background: var(--oliva-osc); color: var(--crudo); padding: 14px 22px; border-radius: 14px;
  font-family: var(--serif); font-size: 1.2rem; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: all .5s var(--ease); text-align: center; max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(42, 51, 38, .94);
  display: grid; place-items: center; padding: 60px 70px; animation: fadeIn .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .4); animation: zoomIn .5s var(--ease); }
.lightbox button { position: absolute; background: rgba(244, 238, 227, .12); border: 0; color: var(--crudo); cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; transition: background .3s; }
.lightbox button:hover { background: rgba(244, 238, 227, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Textura ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal--img { transform: translateY(40px) scale(.97); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; background: var(--crudo); color: var(--oliva-osc);
    flex-direction: column; justify-content: center; gap: 26px;
    clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease);
  }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav.is-open { color: var(--oliva-osc); }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 2rem; letter-spacing: .02em; text-transform: none; }
  .nav__brand { position: relative; z-index: 2; }
  .nav:not(.is-scrolled) .nav__links .btn--solid { background: var(--oliva); color: var(--crudo); }

  .welcome, .worlds__wrap, .studio__grid, .faq { grid-template-columns: 1fr; }
  .welcome__media { max-width: 520px; margin-left: auto; padding-bottom: 14%; }
  .welcome__float { left: -6%; }
  .worlds__preview { order: -1; max-width: 520px; }
  .worlds__preview img { aspect-ratio: 4 / 3; }
  .studio__media { aspect-ratio: 4 / 3; order: -1; }
  .how__list { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .faq__img { display: none; }
  .moments { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .moments::-webkit-scrollbar { display: none; }
  .moment { scroll-snap-align: center; }
}
@media (max-width: 600px) {
  .nav__brand { font-size: 1.1rem; }
  .nav__script { font-size: 1.9rem; }
  .welcome__float { width: 52%; left: -4%; border-width: 6px; }
  .world { grid-template-columns: 34px 1fr auto; }
  .worlds__preview p { font-size: 1.05rem; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  .step { padding: 16px 14px; gap: 14px; }
  .step__body strong { font-size: 1.4rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g { border-radius: 12px; }
  .footer { grid-template-columns: 1fr; }
  .float-shop span { display: none; }
  .float-shop { padding: 14px; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
}

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