

:root {
  --fondo: #eee9e9;
  --verde-papel: #f9fdf9;
  --tinta: #1c1c1c;
  --limon: #ffde5b;
  --limon-hover: #f5d44a;
  --crema: #fdfbf7;
  --f-titulo: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-papel: 'DotGothic16', 'DM Mono', ui-monospace, monospace;
  --f-texto: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --peso-base: 440;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-texto);
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  margin: 0;
  overflow-x: clip;
  background-color: var(--fondo);
  color: #000;
}

main { display: block; }

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  letter-spacing: 0;
  font-family: var(--f-titulo);
  font-style: normal;
  font-weight: 400;
  font-variation-settings: 'wght' var(--peso-base);
}


.palabra { display: inline; white-space: nowrap; }
.letra {
  display: inline;
  transition: font-variation-settings .15s ease, filter .15s ease;
}

h2 { font-size: 3.2em; margin: .5em 0; }

@media (max-width: 768px) {
  h2 { font-size: 2em; }
}

a { color: #000; }

:focus-visible { outline: 3px solid #2f4ef0; outline-offset: 3px; border-radius: 4px; }
.section :focus-visible, .nav :focus-visible, .cta :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px rgba(20, 20, 30, .55); }
.hero-button:focus-visible { outline-color: #1c1c1c; box-shadow: 0 0 0 6px #fff; }
.footer :focus-visible, .faq :focus-visible { outline-color: #2f4ef0; box-shadow: none; }


.section {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  color: var(--crema);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  overflow-x: hidden;
  scroll-margin-top: 0;
}


.fondo {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  overflow: hidden;
  background: #2a2c25;
}
.fondo.active { opacity: 1; }
.fondo-img, .fondo-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95) contrast(1.03) brightness(var(--br, .86));
}
.fondo-video { opacity: 0; transition: opacity .7s ease-in-out; }
.fondo-video.on { opacity: 1; }

[data-fondo="hero"] { --br: .82; }
[data-fondo="hero"] .fondo-img, [data-fondo="hero"] .fondo-video { filter: blur(2.5px) saturate(.95) contrast(1.02) brightness(var(--br)); transform: scale(1.04); }
[data-fondo="acerca"] { --br: .66; }
[data-fondo="fichas"] { --br: 1; }
[data-fondo="boletin"] { --br: .74; }
[data-fondo="planos"] { --br: .62; }


.nav {
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 20px;
  transition: all .3s ease;
}
.social-icons { display: flex; flex-direction: row; gap: 20px; }
.nav-link { color: #fff; text-decoration: none; font-weight: 500; }
.nav-link:hover { opacity: .7; transition: opacity .2s ease; }
.nav-link.icon { display: block; width: 50px; height: 50px; padding: 10px; }
.nav-link.icon svg { display: block; width: 30px; height: 30px; }
.nav.scrolled, .nav.scrolled .social-icons, .nav.scrolled .nav-link {
  mix-blend-mode: exclusion;
  filter: contrast(1000%);
}


.hero { padding: 40px; }
.logo-container {
  height: 100vh;
  height: 100svh;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.marca-hero {
  margin: 0 0 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Pixelify Sans', 'DotGothic16', ui-monospace, monospace;
  font-weight: 700;
  font-variation-settings: normal;
  font-size: 13.4vw;
  line-height: .98;
  letter-spacing: -.01em;
  color: #fff;
  text-align: center;
  -webkit-text-stroke: .16vw #fff;
  paint-order: stroke fill;
  filter: blur(.32vw);
  user-select: none;
}
.marca-hero span { display: block; }


.cta {
  position: fixed;
  z-index: 200;
  bottom: 60px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.cta > * { pointer-events: auto; }

.hero-button {
  position: relative;
  z-index: 1000;
  background-color: var(--limon);
  font: bold 1em/normal var(--f-texto);
  color: #000;
  padding: 15px 50px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color .2s ease-in-out, transform .2s ease-in-out;
  appearance: none;
  border: none;
  cursor: pointer;
  width: auto;
  text-align: center;
}
.hero-button:hover { background-color: var(--limon-hover); }
.hero-button:active { transform: scale(.97); }


.hero-button::after, .button::after {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 60px;
  background: radial-gradient(circle var(--btn-glow-radius, 80px) at var(--btn-cursor-x, 50%) var(--btn-cursor-y, 50%), var(--limon) 0%, rgba(255, 222, 91, 0) 100%);
  filter: blur(var(--btn-blur, 0px));
  opacity: var(--btn-glow-opacity, 0);
  pointer-events: none;
}

.button {
  position: relative;
  display: inline-block;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 100px;
  transition: all .2s ease-in-out;
  cursor: pointer;
  font: bold 1em/normal var(--f-texto);
  background: none;
  color: inherit;
}
.button:hover { opacity: .8; }
.button-outline { border: 2px solid #fff; }


.section-overlay-text {
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .34);
}
.section-overlay-text a { color: #fff; }


.section.about {
  padding: 150px 40px 60px;
}
.colgante {
  position: absolute;
  left: 50%;
  top: 14vh;
  width: min(400px, 82vw);
  aspect-ratio: 360 / 440;
  margin-left: calc(min(400px, 82vw) / -2 + 12px);
}
.colgante::before {
  content: '';
  position: absolute;
  left: 52.4%;
  bottom: 85%;
  width: 3px;
  height: 100vh;
  margin-left: -1px;
  background: linear-gradient(#2b2f3b, #14161d);
  box-shadow: 0 0 6px rgba(0, 0, 0, .35);
}
.colgante-cam { display: block; width: 100%; height: auto; overflow: visible; }
.colgante-pivote {
  transform-origin: 189px 57px;
  transform: rotate(-20deg);
  animation: balanceo 6.5s ease-in-out infinite alternate;
}
@keyframes balanceo {
  from { transform: rotate(-25deg); }
  to { transform: rotate(-15deg); }
}


.scattered-poems {
  width: 100vw;
  height: auto;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 70px;
  padding: 20px;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.scattered-poems::-webkit-scrollbar { display: none; }
.scattered-poems.arrastra { cursor: grabbing; user-select: none; }

.scattered-poem:hover { transform: translateY(-4px) rotate(0deg) !important; }

.scattered-poem p {
  margin: 0;
  padding-left: 2em;
  text-indent: -2em;
}
.poem-header p { text-align: center; padding-left: 0; text-indent: 0; }
.poem-border { padding: 10px 0; overflow: hidden; text-wrap: nowrap; }
.poem-border p { text-wrap: nowrap; }

.ficha, .scattered-poem {
  display: flex;
  box-sizing: content-box;
  width: 200px;
  min-width: 200px;
  padding: 30px 20px;
  flex-direction: column;
  align-items: center;
  border-radius: 2px;
  background: linear-gradient(180deg, #fdf8f8 0%, #f8f5f5 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .035), 0 24px 34px rgba(0, 0, 0, .025);
  font-family: var(--f-papel);
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: .42px;
  transition: transform .3s ease;
}
.scattered-poem { align-items: stretch; }
.scattered-poem .poem-header, .scattered-poem .poem-text { width: 100%; }


.section.fichas { height: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px 40px 60px; }
.fichas-row {
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  overflow-x: scroll;
  padding: 40px 20px;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  z-index: 1;
}
.fichas-row::-webkit-scrollbar { display: none; }
@media (max-width: 800px) {
  .fichas-row { justify-content: flex-start; }
}
.ficha:hover { transform: translateY(-4px) rotate(0deg) !important; }
.ficha-papel { transform: rotate(-4.857deg); }
.ficha-lente { transform: rotate(4.515deg); }
.ficha-memoria { transform: rotate(-6.049deg); }
.ficha p { margin: 0 0 1.3em; }
.ficha .attribution { text-align: center; }
.ficha .attribution p { margin: 0 0 .7em; }
.ficha-foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 0 0 1em;
}
.ficha-pie { width: 32px; height: 32px; mix-blend-mode: multiply; color: #000; }


.section.labor { padding-top: 100px; padding-bottom: 100px; }
.section.labor h2:first-child { margin-bottom: 60px; }
.caja-boletin {
  position: relative;
  max-width: 700px;
  min-height: 150px;
  margin: 0 auto;
  background: #fff;
  color: #444;
  text-shadow: none;
  font-family: var(--f-texto);
}
.form-aviso { text-align: center; }
.caja-boletin .form-aviso { padding: 26px 20px 40px; }
.form-fila { display: flex; justify-content: center; }
.form-aviso input[type="email"] {
  width: 252px;
  max-width: 62%;
  height: 40px;
  padding: 0 12px;
  font: 400 16px var(--f-texto);
  color: #333;
  background: #f4f9fd;
  border: 1px solid #a8d6f0;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}
.form-aviso input::placeholder { color: #888; }
.form-aviso button[type="submit"] {
  height: 40px;
  padding: 0 20px;
  font: 500 15px var(--f-texto);
  color: #3a4954;
  background: #a8d6f0;
  border: 1px solid #a8d6f0;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color .2s;
}
.form-aviso button[type="submit"]:hover { background: #92c9e8; }
.form-legal { margin: 14px auto 0; max-width: 340px; font-size: 12px; line-height: 1.35; color: #666; }
.form-ok { margin: 14px auto 0; font-size: 14px; line-height: 1.4; color: #1f6b3a; font-weight: 500; }
.caja-sello {
  position: absolute; right: 14px; bottom: 10px;
  font: 700 12px var(--f-texto); letter-spacing: .02em; color: #9aa;
}
.newsletter-caption { margin: 22px 0 0; }
.newsletter-caption .caption { margin: 0; font-size: 1em; line-height: 1.45; }
.nota-planos { margin: 20px 0 0; max-width: 520px; font-size: 1em; line-height: 1.45; }


.section.planos { padding-top: 100px; padding-bottom: 100px; }
.section.planos .button { margin-top: 18px; }


.section.faq {
  background-color: var(--verde-papel);
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 40px;
  align-items: start;
  height: auto;
  position: relative;
  z-index: 1;
  justify-content: stretch;
  color: var(--tinta);
}
.exploded-view {
  position: sticky;
  top: 20px;
  align-self: start;
  width: 100%;
  aspect-ratio: 900 / 560;
  overflow: visible;
}
.exploded-view svg { display: block; width: 100%; height: 100%; overflow: visible; }
.exploded-view .capa {
  transform: translate(calc((1 - var(--ex, 1)) * var(--ax, 0) * 1px), calc((1 - var(--ex, 1)) * var(--ay, 0) * 1px));
}
.exploded-view .guias { opacity: var(--ex, 1); }

.faq-text {
  color: var(--tinta);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.faq-text h2 { margin-top: 0; }
.faq-item { padding: 14px 0; }
.faq-question { margin: 0; font-family: var(--f-texto); font-weight: 500; font-variation-settings: normal; font-size: 1.2em; line-height: 1.1; }
.faq-question button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% + 28px);
  cursor: pointer;
  padding: 12px 14px;
  margin: -12px -14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: background-color .15s;
}
.faq-question button:hover { background-color: rgba(0, 0, 0, .05); }
.faq-toggle { font-size: 1.7em; font-weight: 400; margin-left: 20px; transition: transform .3s ease; flex: none; }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease-out;
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.45;
}
.faq-answer-in { overflow: hidden; min-height: 0; }
.faq-answer p { margin: 1em 0; }
.faq-answer-in p:last-child { margin-bottom: 0; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

@media (max-width: 1024px) {
  .section.faq { grid-template-columns: 1fr; }
  .exploded-view { position: relative; top: auto; max-height: 60vh; }
  .exploded-view svg { max-height: 60vh; }
}


.section.footer {
  min-height: auto;
  padding: 60px 40px 200px;
  background-color: var(--verde-papel);
  color: var(--tinta);
  z-index: 1;
}
.footer-quote {
  font-family: var(--f-titulo);
  font-size: 10vw;
  line-height: 1.05;
  text-align: justify;
  margin: 0 0 50px;
  width: 100%;
}
.footer-quote-line { display: block; text-align: justify; text-align-last: justify; }
.footer-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
  font-size: 1rem;
}
.footer-link { color: var(--tinta); text-decoration: none; transition: opacity .2s ease; }
.footer-link:hover { opacity: .7; text-decoration: underline; }
.footer-escribe { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.muestra { margin: 56px 0 0; text-align: center; font-size: 1rem; color: var(--tinta); }
.muestra a { color: var(--tinta); text-decoration: none; transition: opacity .2s ease; }
.muestra a:hover { opacity: .7; text-decoration: underline; }

@media (max-width: 768px) {
  .section.footer { padding: 40px 20px 200px; }
  .footer-quote { font-size: 8vw; }
  .section { padding: 40px; }
  .section.about { padding: 140px 40px 60px; }
  .logo-container { padding-bottom: 80px; }
  .marca-hero { font-size: 16.5vw; margin-bottom: 14vw; }
}


.aviso {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
  color: #000;
}
.aviso::backdrop { background: rgba(18, 20, 28, .5); backdrop-filter: blur(5px); }
.aviso[open] { animation: aviso-entra .35s cubic-bezier(.2, .9, .3, 1); }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(24px) rotate(2deg); } to { opacity: 1; transform: none; } }
.aviso-papel {
  width: min(88vw, 340px);
  padding: 30px 24px 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fdf8f8 0%, #f8f5f5 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .06), 0 28px 50px rgba(0, 0, 0, .3);
  font-family: var(--f-papel);
  font-size: 14px;
  line-height: 130%;
  letter-spacing: .42px;
  transform: rotate(-1.2deg);
}
.aviso-papel p { margin: 0; }
.aviso-cab { text-align: center; }
.aviso-papel .poem-border { padding: 10px 0; }
.aviso-cierra {
  position: absolute;
  top: -14px; right: -14px;
  z-index: 2;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: var(--limon);
  color: #000;
  font: 700 22px/1 var(--f-texto);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}
.aviso-cierra:hover { background: var(--limon-hover); }
.form-aviso-dialogo { text-align: left; }
.form-aviso-dialogo p { margin-bottom: 14px; }
.form-aviso-dialogo input[type="email"] {
  display: block;
  width: 100%;
  max-width: none;
  height: 42px;
  margin-bottom: 14px;
  padding: 0 12px;
  font: 14px var(--f-papel);
  letter-spacing: .42px;
  background: #fff;
  border: 1.5px dashed #555;
  border-radius: 2px;
}
.form-aviso-dialogo button[type="submit"].hero-button-mini {
  display: block; width: 100%; height: auto; padding: 12px 20px;
  font: bold 1rem var(--f-texto); color: #000;
  background: var(--limon); border: 0; border-radius: 40px;
}
.form-aviso-dialogo button[type="submit"].hero-button-mini:hover { background: var(--limon-hover); }
.form-aviso-dialogo .form-ok { margin: 14px 0 0; font: inherit; color: #1f6b3a; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .colgante-pivote { transform: rotate(-20deg); }
  .fondo-video { display: none; }
  .scattered-poems, .fichas-row { cursor: auto; }
}


@media (max-width: 767px) {
  .fondo-video { display: none; }
  .nav { padding: 20px; }
  .cta { bottom: 40px; }
  .colgante { top: 15vh; width: 68vw; margin-left: calc(68vw / -2 + 8px); }
  .ficha, .scattered-poem { min-width: 200px; }
}
