/* Tríptico de SIXMA: dos hojas A4 horizontales (frente y dorso), tres paneles cada una. */
:root {
  --ink: #0a0f18;
  --ink-2: #0f1622;
  --ink-3: #152033;
  --line: rgba(232, 236, 242, 0.14);
  --cream: #e8ecf2;
  --muted: #9aa6b8;
  --jade: #93b8e6;
  --amber: #d9b46c;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
body {
  background: #05080f;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 10.5pt;
  line-height: 1.45;
  padding-bottom: 40px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 20px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.bar a {
  color: var(--jade);
  text-decoration: none;
}
.bar p {
  color: var(--muted);
  flex: 1;
}
.bar button {
  font: inherit;
  font-weight: 600;
  background: var(--cream);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Hoja */
.sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1123px, 100% - 32px);
  margin: 28px auto 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 4.5mm;
  min-height: 210mm;
  padding: 11mm 9mm 8mm;
  border-right: 1px dashed rgba(232, 236, 242, 0.18);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}
.panel:last-child {
  border-right: 0;
}

/* Pasos */
.step {
  display: flex;
  align-items: center;
  gap: 3.5mm;
  font-family: var(--serif);
  font-size: 19pt;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.step span {
  flex: none;
  display: grid;
  place-items: center;
  width: 11mm;
  height: 11mm;
  border-radius: 50%;
  background: var(--jade);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14pt;
  font-weight: 500;
}
.step--text {
  display: block;
  font-size: 20pt;
}
.visual {
  border: 1px solid var(--line);
  border-radius: 3mm;
  overflow: hidden;
  background: #050a13;
  box-shadow: 0 6mm 10mm rgba(0, 0, 0, 0.35);
}
.visual img {
  width: 100%;
  height: auto;
}
.visual--card {
  display: grid;
  place-items: center;
  padding: 7mm 5mm;
  border: 0;
  box-shadow: none;
  background: radial-gradient(circle at 50% 50%, rgba(147, 184, 230, 0.22), transparent 70%);
}
.visual--card img {
  border-radius: 5%;
  transform: rotate(-4deg);
  box-shadow: 0 6mm 12mm rgba(0, 0, 0, 0.55);
}
.body {
  color: #c4cedd;
  font-size: 11.5pt;
  line-height: 1.5;
}
.body b {
  color: var(--cream);
  font-weight: 600;
}
.body--lead {
  font-family: var(--serif);
  font-size: 15pt;
  line-height: 1.2;
  color: var(--cream);
}
.gain {
  margin-top: auto;
  padding: 4mm 4.5mm;
  border-left: 1.2mm solid var(--jade);
  background: var(--ink-3);
  border-radius: 0 2.5mm 2.5mm 0;
}
.gain small {
  display: block;
  font-family: var(--mono);
  font-size: 7.5pt;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 1mm;
}
.gain p {
  font-family: var(--serif);
  font-size: 12.5pt;
  line-height: 1.25;
}
.foot {
  font-family: var(--mono);
  font-size: 7pt;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-top: 2.5mm;
  border-top: 1px solid var(--line);
}

/* Por qué elegirme */
.why {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 5mm;
  margin-bottom: auto;
}
.why li {
  padding-left: 4.5mm;
  border-left: 1px solid var(--jade);
  color: #c4cedd;
  font-size: 11pt;
}
.why b {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14.5pt;
  line-height: 1.15;
  margin-bottom: 0.8mm;
}

/* Precios */
.prices {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2.4mm;
}
.prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0 3mm;
  padding: 3mm 4mm;
  border: 1px solid var(--line);
  border-radius: 2.5mm;
  background: var(--ink-3);
}
.prices li.best {
  border-color: var(--jade);
}
.prices span {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 15pt;
}
.prices b {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14pt;
}
.prices em {
  grid-column: 1 / -1;
  grid-row: 2;
  font-style: normal;
  color: var(--muted);
  font-size: 8.5pt;
}
.notes {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.8mm;
  color: #c4cedd;
  font-size: 9.5pt;
}
.notes li {
  padding-left: 4mm;
  position: relative;
}
.notes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--jade);
}
.small {
  margin-top: auto;
  font-size: 8pt;
  color: var(--amber);
}

/* Cierre */
.next {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 3mm;
}
.next li {
  display: flex;
  align-items: center;
  gap: 3.5mm;
}
.next span {
  flex: none;
  display: grid;
  place-items: center;
  width: 8mm;
  height: 8mm;
  border-radius: 50%;
  border: 1px solid var(--jade);
  color: var(--jade);
  font-family: var(--mono);
  font-size: 10pt;
}
.qr {
  display: flex;
  align-items: center;
  gap: 5mm;
  padding: 4mm;
  border-radius: 3mm;
  background: var(--ink-3);
  border: 1px solid var(--line);
}
.qr img {
  width: 32mm;
  height: 32mm;
  border-radius: 2mm;
}
.qr p {
  display: grid;
  gap: 1mm;
}
.qr b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17pt;
}
.qr small,
.me small {
  color: var(--muted);
  font-size: 9pt;
}
.me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4mm;
}
.me p {
  display: grid;
}
.me b {
  font-weight: 500;
}
.me__photo {
  flex: none;
  width: 16mm;
  height: 16mm;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
}
.me__photo img {
  width: 240%;
  max-width: none;
  margin: -4% 0 0 -70%;
}

/* En pantalla chica, los paneles van uno abajo del otro */
@media (max-width: 900px) {
  .sheet {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px dashed rgba(232, 236, 242, 0.18);
  }
  body {
    font-size: 12pt;
  }
}

/* Impresión: cada hoja es una A4 horizontal */
@page {
  size: A4 landscape;
  margin: 0;
}
@media print {
  body {
    background: var(--ink);
    padding: 0;
  }
  .bar {
    display: none;
  }
  .sheet {
    width: 297mm;
    height: 210mm;
    margin: 0;
    border: 0;
    border-radius: 0;
    grid-template-columns: repeat(3, 99mm);
    page-break-after: always;
    break-after: page;
  }
  .sheet:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }
  .panel {
    height: 210mm;
    min-height: 0;
    overflow: hidden;
  }
}
