/*
 * Página de inicio de Collage App (/, antes /presentacion/). HTML y CSS estáticos; el único script es entrada.js (solo cambia la dirección).
 * Dirección visual «Álbum de formas», ajustada: uva profundo en la portada y la galería, lectura sobre papel claro.
 * Reglas (docs/presentacion.md): las formas decorativas nunca tocan ni recortan una foto; el coral es solo decoración;
 * el botón es el del editor (teal con arista inferior). Todo es del propio dominio: la política de public/_headers
 * (style-src-elem 'self', font-src 'self', img-src 'self') no cambia.
 */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-black.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --deep: #2b1773;
  --uva: #5b34e0;
  --paper: #f7f6fb;
  --lilac: #ece8fa;
  --white: #fbf8ff;
  --ink: #14161c;
  --text-2: #3d4350;
  --on-deep-2: #ece7ff;
  --teal: #0b6e68;
  --teal-key: #064b47;
  --mint: #3dd6c6;
  --mint-key: #1b8f84;
  --sun: #ffb703;
  --coral: #ef476f;
  --tint: #e6f3f2;
  --card: #fff;
  --line: #14161c;
  --link: #064b47;
  --btn-ink: #14161c;
  --f-brand: 'Archivo Black', system-ui, sans-serif;
  --f-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: max(clamp(16px, 5vw, 56px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 56px), env(safe-area-inset-right, 0px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--f-body);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--f-brand);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.in {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* El máximo ancho lo da .in; el padding de las bandas es solo vertical. */
.band {
  padding-block: clamp(36px, 7vw, 76px);
}

.band > .in {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.band h2 {
  font-size: clamp(26px, 4.6vw, 40px);
}

.k {
  font: 800 12px/1 var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Foco visible: blanco con halo uva sobre fondos oscuros, uva sobre claros. */
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #5b34e0;
  outline-offset: 3px;
  border-radius: 6px;
}

.top a:focus-visible,
.top summary:focus-visible,
.hero a:focus-visible,
.gal a:focus-visible,
.gal summary:focus-visible,
.final a:focus-visible,
.foot a:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px #5b34e0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: #fff;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.skip:focus {
  top: 12px;
}

/* Botones: el del editor, con la arista inferior como una tecla. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font: 400 16px/1.1 var(--f-brand);
  text-align: center;
  text-decoration: none;
}

.btn.sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.btn.mint {
  background: var(--mint);
  color: var(--btn-ink);
  box-shadow: 0 4px 0 var(--mint-key);
}

.btn.teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 0 var(--teal-key);
}

.btn.line {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 4px 0 rgba(251, 248, 255, 0.3);
}

.btn.line.dk {
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 4px 0 rgba(20, 22, 28, 0.25);
}

/* ---------- Cabecera ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--deep);
  color: var(--white);
}

.top .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}

.brand img {
  height: 32px;
  width: auto;
}

.nav-desk {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(10px, 2vw, 22px);
  font-size: 14px;
  font-weight: 700;
}

.nav-desk a {
  padding: 8px 2px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-desk a:hover {
  border-bottom-color: var(--mint);
}

.menu-m {
  display: none;
}

.menu-m summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 2px solid var(--white);
  border-radius: 10px;
  font: 800 14px/1 var(--f-body);
  list-style: none;
  cursor: pointer;
}

.menu-m summary::-webkit-details-marker {
  display: none;
}

.menu-m nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-bottom: 4px solid var(--deep);
}

.menu-m nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--gutter-r) 0 var(--gutter);
  font: 800 17px/1.2 var(--f-body);
  text-decoration: none;
  border-top: 1px solid #dcd8ee;
}

.menu-m nav a:last-child {
  background: var(--tint);
  color: var(--teal-key);
}

.menu-m nav a:focus-visible {
  outline-color: var(--uva);
  box-shadow: none;
  outline-offset: -3px;
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(70% 90% at 90% 0%, rgba(91, 52, 224, 0.55), transparent 70%);
}

.hero > .in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding-block: clamp(28px, 5vw, 56px) clamp(52px, 7vw, 84px);
}

.hero .copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.hero .k {
  color: var(--mint);
}

.hero h1 {
  font-size: clamp(32px, 5.3vw, 54px);
  letter-spacing: -0.005em;
}

.hero h1 em {
  font-style: normal;
  color: var(--sun);
}

.hero .lead {
  max-width: 48ch;
  font-size: clamp(16px, 1.9vw, 19px);
  color: #f1edff;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--on-deep-2);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.fm {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 5px solid var(--white);
}

.fm.wide {
  grid-column: 1 / -1;
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--coral);
}

.fm.arch {
  border-radius: 999px 999px 14px 14px;
  box-shadow: 6px 6px 0 var(--sun);
}

.fm.soft {
  border-radius: 30px;
  box-shadow: 6px 6px 0 var(--mint);
}

.tag-ej {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--on-deep-2);
}

/* Dos formas sueltas en las esquinas de la portada: todo el confeti de la página. */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.d1 {
  left: -26px;
  bottom: -26px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--coral);
}

.d2 {
  right: -18px;
  top: -18px;
  width: 0;
  height: 0;
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-bottom: 76px solid var(--mint);
  transform: rotate(18deg);
}

/* ---------- Qué es ---------- */
.intro .cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.intro h2 {
  max-width: 24ch;
}

.intro .cols > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(20, 22, 28, 0.06), 0 10px 28px -18px rgba(43, 23, 115, 0.35);
}

.intro .cols h3 {
  font-size: 17px;
}

.intro .cols p,
.how li p {
  color: var(--text-2);
}

/* ---------- Cómo funciona ---------- */
.how {
  background: var(--lilac);
}

.how .row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start;
}

.how ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.how li > b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--uva);
  color: #fff;
  font: 400 18px/1 var(--f-brand);
}

.how li h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.how li.more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 58px;
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.phone {
  max-width: 280px;
  overflow: hidden;
  background: #fff;
  border: 6px solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--sun);
}

.shot figcaption {
  max-width: 30ch;
  font-size: 13px;
  text-align: center;
  color: var(--text-2);
}

/* ---------- Galería ---------- */
.gal {
  background: var(--deep);
  color: var(--white);
}

.gal .k {
  color: var(--mint);
}

.gal .head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gal .sub {
  max-width: 60ch;
  color: #f1edff;
}

.cols-g {
  column-gap: clamp(14px, 2.4vw, 24px);
  columns: 3 220px;
}

.card-g {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 clamp(14px, 2.4vw, 24px);
  break-inside: avoid;
}

.card-g.span {
  column-span: all;
}

.card-g.span .fm,
.card-g.span figcaption {
  max-width: 760px;
}

.card-g .fm {
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--mint);
}

.card-g:nth-child(3n + 2) .fm {
  box-shadow: 5px 5px 0 var(--sun);
}

.card-g:nth-child(3n) .fm {
  box-shadow: 5px 5px 0 var(--coral);
}

.card-g figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #f1edff;
}

.card-g figcaption b {
  color: #fff;
}

.gal .note {
  max-width: 70ch;
  padding-left: 12px;
  border-left: 5px solid var(--sun);
  font-size: 14.5px;
  color: #f1edff;
}

/* ---------- Ocasiones: ejemplos de cada diseño, sin convertir el index en otro editor ---------- */
.occs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
  align-items: start;
}

.occ {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  background: rgba(251, 248, 255, 0.07);
  border: 1px solid rgba(251, 248, 255, 0.2);
  border-radius: 18px;
}

.occ header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.occ h4 {
  margin: 0;
  font: 400 clamp(17px, 2.2vw, 21px) / 1.1 var(--f-brand);
}

.occ header p {
  display: flex;
  gap: 6px;
}

.occ-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.oc-fig {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.oc-fig .fm {
  border-width: 4px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--mint);
}

.occ-more .oc-fig .fm {
  box-shadow: 4px 4px 0 #a995ff;
}

.oc-fig figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  font-size: 13.5px;
  line-height: 1.25;
  color: #fff;
}

.occ-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 4px;
  padding: 0 14px;
  border: 2px solid rgba(251, 248, 255, 0.55);
  border-radius: 10px;
  font: 800 14px/1.2 var(--f-body);
  list-style: none;
  cursor: pointer;
}

.occ-more summary::-webkit-details-marker {
  display: none;
}

.occ-more summary::after {
  content: '+';
  margin-left: 10px;
  font: 400 18px/1 var(--f-brand);
}

.occ-more[open] summary::after {
  content: '–';
}

.occ-more[open] summary {
  margin-bottom: 14px;
}

.occ > .btn {
  align-self: flex-start;
}

/* ---------- Funciones ---------- */
.fgroup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fgroup > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

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

.fc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
}

.fc h3 {
  font-size: 17px;
}

.fc p {
  font-size: 14.5px;
  color: var(--text-2);
}

.st {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 99px;
  font: 800 12px/1 var(--f-body);
  white-space: nowrap;
}

.st.ok {
  background: #d3ece9;
  color: #064b47;
}

.st.dev {
  background: #fff0c2;
  color: #6b4500;
}

.st.fut,
.st.prm {
  background: #e8e2fb;
  color: #3a1fa8;
}

/* ---------- Gratis y Premium ---------- */
.plan {
  background: var(--lilac);
}

.pcols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.pbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 3px solid var(--line);
  border-radius: 18px;
}

.pbox.free {
  background: var(--tint);
  box-shadow: 7px 7px 0 var(--teal);
}

.pbox.prem {
  background: var(--card);
  border-style: dashed;
  box-shadow: 7px 7px 0 var(--uva);
}

.pbox h3 {
  font-size: 24px;
}

.pbox ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pbox li {
  position: relative;
  padding-left: 26px;
}

.pbox li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--teal);
}

.pbox.prem li::before {
  border-radius: 50%;
  background: var(--uva);
}

.pbox .small {
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Acerca y preguntas ---------- */
.acols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 5vw, 60px);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-text p {
  max-width: 60ch;
  color: var(--text-2);
}

.about-text a {
  color: var(--link);
  font-weight: 700;
}

.about-text .proj {
  padding-left: 12px;
  border-left: 5px solid var(--sun);
}

.faq {
  display: flex;
  flex-direction: column;
}

.faq h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3.4vw, 30px);
}

details.q {
  padding: 14px 0;
  border-top: 2px solid var(--line);
}

details.q:last-of-type {
  border-bottom: 2px solid var(--line);
}

details.q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  font: 800 17px/1.35 var(--f-body);
  list-style: none;
  cursor: pointer;
}

details.q summary::-webkit-details-marker {
  display: none;
}

details.q summary::after {
  content: '+';
  flex: none;
  font: 400 26px/1 var(--f-brand);
  color: var(--uva);
}

details.q[open] summary::after {
  content: '–';
}

details.q p {
  max-width: 60ch;
  padding-top: 8px;
  color: var(--text-2);
}

/* ---------- Cierre y pie ---------- */
.gal .req {
  color: #f1edff;
}

.gal .req a {
  color: var(--mint);
  font-weight: 700;
}

.ideas {
  background: var(--tint);
}

.ideas-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ideas-text p {
  max-width: 60ch;
  color: var(--text-2);
}

.final {
  background: var(--deep);
  color: var(--white);
  text-align: center;
  padding-block: clamp(28px, 5vw, 48px);
}

.final > .in {
  align-items: center;
}

.final h2 {
  max-width: 20ch;
}

.foot {
  background: #14161c;
  color: #e1e4ea;
  font-size: 13.5px;
}

.foot .in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
}

/* ---------- Galería por ocasión ---------- */
.gh {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  font-size: clamp(19px, 2.6vw, 24px);
}

.gsub {
  max-width: 70ch;
}

.b {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 99px;
  font: 800 12px/1 var(--f-body);
  white-space: nowrap;
}

.b.free {
  background: #d3ece9;
  color: #064b47;
}

.b.prem {
  background: #e8e2fb;
  color: #3a1fa8;
}

.how li.pay {
  display: block;
  padding: 12px 14px;
  background: var(--card);
  border-left: 5px solid var(--uva);
  border-radius: 8px;
}

.feat > .in > .sub {
  max-width: 62ch;
  color: var(--text-2);
}

/* ---------- Tema oscuro (el del editor: lo guardado o el del sistema; theme-init.js pone data-theme) ---------- */
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0f1116;
  --lilac: #161a24;
  --white: #fbf8ff;
  --ink: #eceef3;
  --text-2: #b9bfcc;
  --tint: #12201f;
  --card: #1b1f2a;
  --line: #4a5062;
  --link: #6fe3d6;
}

:root[data-theme='dark'] .st.ok,
:root[data-theme='dark'] .b.free {
  background: #123b38;
  color: #9ff0e6;
}

:root[data-theme='dark'] .st.dev {
  background: #4a3a0a;
  color: #ffe08a;
}

:root[data-theme='dark'] .st.fut,
:root[data-theme='dark'] .st.prm,
:root[data-theme='dark'] .b.prem {
  background: #2e2764;
  color: #d6ccff;
}

:root[data-theme='dark'] .pbox.free {
  box-shadow: 7px 7px 0 var(--mint-key);
}

:root[data-theme='dark'] .pbox.prem {
  box-shadow: 7px 7px 0 #3a1fa8;
}

:root[data-theme='dark'] .phone {
  border-color: #3a3f4f;
}

:root[data-theme='dark'] .how li > b {
  background: #6b4ef0;
}

:root[data-theme='dark'] details.q summary::after {
  color: #a995ff;
}

:root[data-theme='dark'] .menu-m nav {
  background: #161a24;
  color: var(--ink);
  border-bottom-color: #3a3f4f;
}

:root[data-theme='dark'] .menu-m nav a {
  border-top-color: #2c3140;
}

:root[data-theme='dark'] .menu-m nav a:last-child {
  background: var(--tint);
  color: var(--link);
}

:root[data-theme='dark'] .btn.line.dk {
  color: var(--ink);
  border-color: #8b92a5;
  box-shadow: 0 4px 0 rgba(236, 238, 243, 0.18);
}

:root[data-theme='dark'] .intro .cols > div {
  box-shadow: none;
  border: 1px solid #2c3140;
}

:root[data-theme='dark'] .skip {
  background: #fff;
  color: #14161c;
}

:root[data-theme='dark'] a:focus-visible,
:root[data-theme='dark'] summary:focus-visible {
  outline-color: #b9a8ff;
}

/* ---------- Móvil ---------- */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 68px;
  }

  .nav-desk {
    display: none;
  }

  .menu-m {
    display: block;
  }

  .top .in {
    gap: 10px;
  }

  .brand img {
    height: 26px;
  }

  .top .btn.sm {
    margin-left: auto;
    padding: 0 12px;
    font-size: 13px;
  }

  .top .menu-m summary {
    padding: 0 10px;
  }

  .hero > .in,
  .intro .cols,
  .fgrid,
  .pcols,
  .acols,
  .how .row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(32px, 9.4vw, 44px);
  }

  .d1 {
    left: -24px;
    bottom: -24px;
    width: 80px;
    height: 80px;
  }

  .d2 {
    display: none;
  }

  .cta .btn {
    flex: 1 1 auto;
  }

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

  .cols-g {
    columns: 2 130px;
  }

  .cols-g .card-g.span {
    column-span: all;
  }
}

/* 320 px: logo, «Crear mi collage» and «Menú» no longer fit in one row; the hero and the menu carry the same action. */
@media (max-width: 359px) {
  .top > .in > .btn {
    display: none;
  }

  .top .menu-m {
    margin-left: auto;
  }
}

@media print {
  .top,
  .hero,
  .gal,
  .final,
  .foot,
  .how,
  .plan {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* La portada y la galería comparten el uva profundo: una línea fina las separa. */
.gal {
  border-top: 1px solid rgba(251, 248, 255, 0.16);
}
