/* ==========================================================================
   Dossier comercial imprimible — Luna Hair & Barber DEMO
   Formato A4 en pantalla y en impresión. Sin dependencias externas.
   ========================================================================== */

:root {
  --cream: #f7f1e8;
  --cream-deep: #efe4d6;
  --paper: #fffaf3;
  --ink: #241b15;
  --ink-soft: #40342b;
  --muted: #65574a;
  --copper: #8f502c;
  --copper-strong: #743b1c;
  --copper-light: #c58a5d;
  --sage: #556350;
  --success: #2d5c42;
  --line: rgba(36, 27, 21, 0.14);
  --line-strong: rgba(36, 27, 21, 0.28);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: #ded4c7;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 10.2pt;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
table {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p,
li {
  color: var(--ink-soft);
}

strong {
  color: var(--ink);
}

a {
  color: var(--copper-strong);
}

/* ------------------------------- Barra superior ---------------------------- */

.dossier-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(36, 27, 21, 0.15);
  background: rgba(247, 241, 232, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dossier-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.dossier-toolbar strong {
  color: var(--ink);
}

.dossier-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.dossier-btn--primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.dossier-btn:hover {
  border-color: var(--copper);
}

.dossier-btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* --------------------------------- Páginas -------------------------------- */

.page {
  position: relative;
  display: flex;
  width: 210mm;
  min-height: 297mm;
  flex-direction: column;
  margin: 22px auto;
  padding: 16mm 17mm 13mm;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(197, 138, 93, 0.09), transparent 70mm),
    var(--paper);
  box-shadow: 0 20px 50px rgba(36, 27, 21, 0.18);
}

.page--cover {
  padding: 0;
  background: var(--ink);
  color: var(--cream);
}

.page-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 8mm;
  color: var(--muted);
  font-size: 7.2pt;
  line-height: 1.4;
}

.page-footer p {
  margin: 0;
  color: inherit;
}

.page-footer .page-number {
  flex: 0 0 auto;
  color: var(--copper-strong);
  font-weight: 800;
}

/* ---------------------------------- Cover --------------------------------- */

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14mm 17mm 0;
}

.cover-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.cover-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.35);
  border-radius: 50%;
  color: var(--copper-light);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.cover-brand-name {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.1;
}

.cover-brand-sub {
  display: block;
  margin-top: 2px;
  color: rgba(247, 241, 232, 0.55);
  font-size: 7.5pt;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(197, 138, 93, 0.5);
  border-radius: 999px;
  color: var(--copper-light);
  font-size: 7pt;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 12mm 17mm 10mm;
}

.cover-eyebrow {
  margin-bottom: 5mm;
  color: var(--copper-light);
  font-size: 8pt;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cover-title {
  max-width: 155mm;
  margin-bottom: 7mm;
  color: var(--cream);
  font-size: 41pt;
  line-height: 0.98;
}

.cover-title em {
  color: var(--copper-light);
  font-style: italic;
}

.cover-subtitle {
  max-width: 130mm;
  margin-bottom: 9mm;
  color: rgba(247, 241, 232, 0.72);
  font-size: 12.5pt;
  line-height: 1.45;
}

.cover-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5mm;
  max-width: 160mm;
  padding-top: 5mm;
  border-top: 1px solid rgba(247, 241, 232, 0.18);
}

.cover-meta span {
  display: block;
  color: rgba(247, 241, 232, 0.45);
  font-size: 7pt;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 13pt;
  font-weight: 500;
}

.cover-visual {
  position: relative;
  height: 62mm;
  flex: 0 0 auto;
  overflow: hidden;
}

.cover-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.cover-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 2%, transparent 70%);
  content: "";
}

.cover-visual-caption {
  position: absolute;
  right: 17mm;
  bottom: 8mm;
  left: 17mm;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cover-visual-caption strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 15pt;
  font-weight: 500;
}

.cover-visual-caption span {
  color: rgba(247, 241, 232, 0.6);
  font-size: 7.5pt;
  text-align: right;
}

.cover-foot {
  padding: 0 17mm 9mm;
  color: rgba(247, 241, 232, 0.45);
  font-size: 7.2pt;
  line-height: 1.5;
}

.cover-foot strong {
  color: var(--copper-light);
}

/* ------------------------------- Encabezados ------------------------------- */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 7mm;
  padding-bottom: 3.5mm;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  margin-bottom: 2mm;
  color: var(--copper);
  font-size: 7.2pt;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-head h2 {
  margin: 0;
  font-size: 24pt;
}

.page-head .page-index {
  flex: 0 0 auto;
  color: var(--cream-deep);
  font-family: var(--font-display);
  font-size: 40pt;
  line-height: 0.8;
}

.lede {
  max-width: 160mm;
  margin-bottom: 5mm;
  color: var(--muted);
  font-size: 11.5pt;
  line-height: 1.55;
}

.section-title {
  margin: 0 0 3mm;
  font-size: 15pt;
}

.section-title--sm {
  font-size: 12.5pt;
}

/* --------------------------------- Bloques -------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5mm;
}

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

.card {
  padding: 4.5mm;
  border: 1px solid var(--line);
  border-radius: 3mm;
  background: rgba(255, 250, 243, 0.7);
}

.card--cream {
  background: var(--cream);
}

.card--dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--cream);
}

.card--dark h3,
.card--dark h4,
.card--dark strong {
  color: var(--cream);
}

.card--dark p,
.card--dark li {
  color: rgba(247, 241, 232, 0.7);
}

.card h3 {
  margin-bottom: 2mm;
  font-size: 13pt;
}

.card h4 {
  margin-bottom: 1.5mm;
  font-family: var(--font-body);
  font-size: 9pt;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card p,
.card li {
  font-size: 8.8pt;
  line-height: 1.5;
}

.card ul {
  margin: 0;
  padding-left: 4mm;
}

.card li {
  margin-bottom: 1mm;
}

.callout {
  padding: 4.5mm 5mm;
  border-left: 1.2mm solid var(--copper);
  border-radius: 0 2mm 2mm 0;
  background: rgba(197, 138, 93, 0.12);
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9.2pt;
  line-height: 1.5;
}

.callout strong {
  color: var(--copper-strong);
}

.callout--dark {
  border-left-color: var(--copper-light);
  background: var(--ink);
}

.callout--dark p,
.callout--dark strong {
  color: var(--cream);
}

.callout--dark em {
  color: var(--copper-light);
  font-style: normal;
}

.note {
  color: var(--muted);
  font-size: 7.8pt;
  line-height: 1.5;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3mm;
}

.stat {
  padding: 4mm;
  border: 1px solid var(--line);
  border-radius: 2.5mm;
  background: var(--cream);
}

.stat strong {
  display: block;
  color: var(--copper-strong);
  font-family: var(--font-display);
  font-size: 21pt;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 1.5mm;
  color: var(--muted);
  font-size: 7.6pt;
  line-height: 1.35;
}

/* --------------------------------- Tablas --------------------------------- */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8.5pt;
}

.table th {
  padding: 2.4mm 2.6mm;
  border-bottom: 1px solid var(--line-strong);
  background: var(--cream-deep);
  color: var(--muted);
  font-size: 7pt;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.table td {
  padding: 2.4mm 2.6mm;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table .is-highlight td {
  background: rgba(197, 138, 93, 0.14);
  color: var(--ink);
  font-weight: 750;
}

.table .num {
  text-align: right;
  white-space: nowrap;
}

/* ------------------------------- Listas check ------------------------------ */

.check-list {
  display: grid;
  gap: 1.6mm;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 6mm;
  color: var(--ink-soft);
  font-size: 8.7pt;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.1mm;
  left: 0;
  display: grid;
  width: 4mm;
  height: 4mm;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 92, 66, 0.1);
  color: var(--success);
  content: "✓";
  font-size: 6.5pt;
  font-weight: 900;
}

/* -------------------------------- Problemas ------------------------------- */

.problem-list {
  display: grid;
  gap: 3mm;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem {
  display: grid;
  grid-template-columns: 9mm minmax(0, 1fr);
  gap: 3.5mm;
  padding: 3.5mm 4mm;
  border: 1px solid var(--line);
  border-radius: 2.5mm;
  background: rgba(255, 250, 243, 0.65);
}

.problem-number {
  color: var(--copper-light);
  font-family: var(--font-display);
  font-size: 20pt;
  line-height: 0.9;
}

.problem h3 {
  margin-bottom: 1mm;
  font-family: var(--font-body);
  font-size: 9.5pt;
  font-weight: 850;
  letter-spacing: 0;
}

.problem p {
  margin: 0;
  color: var(--muted);
  font-size: 8.4pt;
  line-height: 1.45;
}

/* --------------------------------- Capas ---------------------------------- */

.layer {
  display: grid;
  grid-template-columns: 8mm minmax(0, 1fr);
  gap: 3.5mm;
  padding: 3.5mm 0;
  border-bottom: 1px solid var(--line);
}

.layer:last-child {
  border-bottom: 0;
}

.layer-num {
  display: grid;
  width: 7mm;
  height: 7mm;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--copper-light);
  font-size: 8pt;
  font-weight: 850;
}

.layer h3 {
  margin-bottom: 1mm;
  font-size: 12pt;
}

.layer p {
  margin: 0;
  color: var(--muted);
  font-size: 8.6pt;
  line-height: 1.45;
}

/* ------------------------------- Conversación ----------------------------- */

.chat {
  display: grid;
  gap: 2.5mm;
  padding: 4mm;
  border: 1px solid var(--line);
  border-radius: 3mm;
  background: var(--cream);
}

.chat-bubble {
  max-width: 84%;
  padding: 2.6mm 3.2mm;
  border-radius: 2.5mm;
  font-size: 8.4pt;
  line-height: 1.42;
}

.chat-bubble span {
  display: block;
  margin-bottom: 0.8mm;
  font-size: 6.3pt;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chat-bubble--bot {
  justify-self: start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.8mm;
  background: var(--paper);
  color: var(--ink-soft);
}

.chat-bubble--bot span {
  color: var(--copper-strong);
}

.chat-bubble--user {
  justify-self: end;
  border-bottom-right-radius: 0.8mm;
  background: var(--ink);
  color: var(--cream);
}

.chat-bubble--user span {
  color: var(--copper-light);
}

.chat-bubble--user strong {
  color: var(--cream);
}

.chat-code {
  display: inline-block;
  margin-top: 1mm;
  padding: 1mm 2mm;
  border-radius: 1mm;
  background: rgba(197, 138, 93, 0.18);
  color: var(--copper-strong);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 7.6pt;
  font-weight: 800;
}

/* ---------------------------------- Voz ----------------------------------- */

.phone-card {
  padding: 4.5mm;
  border-radius: 4mm;
  background: var(--ink);
  color: var(--cream);
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3mm;
  padding-bottom: 2.5mm;
  border-bottom: 1px solid rgba(247, 241, 232, 0.16);
}

.phone-head strong {
  color: var(--cream);
  font-size: 8.5pt;
}

.phone-head span {
  color: var(--copper-light);
  font-size: 6.8pt;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-line {
  display: grid;
  grid-template-columns: 17mm minmax(0, 1fr);
  gap: 3mm;
  padding: 1.6mm 0;
  font-size: 8.2pt;
  line-height: 1.4;
}

.phone-line dt {
  color: var(--copper-light);
  font-size: 6.8pt;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-line dd {
  margin: 0;
  color: rgba(247, 241, 232, 0.78);
}

/* ---------------------------------- Barras -------------------------------- */

.bar-chart {
  display: grid;
  gap: 3mm;
}

.bar-row {
  display: grid;
  grid-template-columns: 36mm minmax(0, 1fr) 22mm;
  align-items: center;
  gap: 3mm;
  font-size: 8pt;
}

.bar-row span {
  color: var(--muted);
}

.bar-row strong {
  text-align: right;
  white-space: nowrap;
}

.bar-track {
  height: 3.2mm;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream-deep);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--copper);
}

.bar-fill--voice {
  background: var(--sage);
}

.bar-fill--light {
  background: var(--copper-light);
}

/* -------------------------------- Precios --------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3mm;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 4mm;
  border: 1px solid var(--line);
  border-radius: 3mm;
  background: var(--paper);
}

.price-card--featured {
  border-color: var(--copper);
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--copper);
}

.price-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 2mm;
  padding: 1mm 2mm;
  border-radius: 999px;
  background: var(--ink);
  color: var(--copper-light);
  font-size: 6.2pt;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 1mm;
  font-size: 13pt;
}

.price {
  margin-bottom: 1mm;
  color: var(--copper-strong);
  font-family: var(--font-display);
  font-size: 20pt;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 7.2pt;
}

.price-desc {
  margin-bottom: 2.5mm;
  color: var(--muted);
  font-size: 7.6pt;
  line-height: 1.4;
}

.price-card ul {
  margin: 0;
  padding-left: 4mm;
}

.price-card li {
  margin-bottom: 1mm;
  color: var(--ink-soft);
  font-size: 7.6pt;
  line-height: 1.4;
}

/* -------------------------------- Timeline -------------------------------- */

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 22mm minmax(0, 1fr);
  gap: 4mm;
  padding: 2.6mm 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline strong {
  color: var(--copper-strong);
  font-size: 8pt;
  font-weight: 850;
}

.timeline span {
  color: var(--ink-soft);
  font-size: 8.4pt;
  line-height: 1.45;
}

/* --------------------------------- Cierre --------------------------------- */

.closing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5mm;
  align-items: start;
}

.cta-box {
  padding: 5mm;
  border-radius: 3mm;
  background:
    radial-gradient(circle at 90% 10%, rgba(197, 138, 93, 0.22), transparent 40mm),
    var(--ink);
  color: var(--cream);
}

.cta-box h3 {
  margin-bottom: 2mm;
  color: var(--cream);
  font-size: 17pt;
}

.cta-box p {
  color: rgba(247, 241, 232, 0.72);
  font-size: 8.6pt;
  line-height: 1.5;
}

.cta-box strong {
  color: var(--copper-light);
}

.contact-line {
  display: block;
  margin-top: 1.5mm;
  color: var(--cream);
  font-size: 9pt;
  font-weight: 700;
}

.legal-box {
  padding: 4mm;
  border: 1px dashed var(--line-strong);
  border-radius: 2.5mm;
  background: rgba(239, 228, 214, 0.5);
}

.legal-box h4 {
  margin-bottom: 1.5mm;
  color: var(--copper-strong);
  font-family: var(--font-body);
  font-size: 7.4pt;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-box p,
.legal-box li {
  color: var(--muted);
  font-size: 7.2pt;
  line-height: 1.45;
}

.legal-box ul {
  margin: 0;
  padding-left: 4mm;
}

.legal-box li {
  margin-bottom: 0.8mm;
}

.disclaimer-strong {
  margin-top: 3mm;
  padding: 2.5mm 3mm;
  border-radius: 1.5mm;
  background: var(--ink);
  color: var(--cream);
  font-size: 7.4pt;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
}

/* ------------------------------- Responsive ------------------------------- */

@media screen and (max-width: 880px) {
  body {
    background: var(--cream);
    font-size: 15px;
  }

  .dossier-toolbar {
    position: static;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .dossier-toolbar p {
    font-size: 12px;
  }

  .page {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 28px 20px 24px;
    border-bottom: 10px solid #ded4c7;
    box-shadow: none;
  }

  .page--cover {
    padding: 0;
  }

  .cover-top {
    padding: 26px 20px 0;
  }

  .cover-main {
    padding: 40px 20px 30px;
  }

  .cover-title {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .cover-subtitle {
    font-size: 1.05rem;
  }

  .cover-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cover-visual {
    height: 220px;
  }

  .cover-visual-caption,
  .cover-foot {
    right: 20px;
    left: 20px;
    padding: 0;
  }

  .cover-foot {
    padding: 0 20px 24px;
  }

  .page-head h2 {
    font-size: 1.9rem;
  }

  .page-head .page-index {
    font-size: 2.4rem;
  }

  .lede {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .stat-row,
  .price-grid,
  .closing {
    grid-template-columns: 1fr;
  }

  .table {
    font-size: 12px;
  }

  .table th,
  .table td {
    padding: 8px 7px;
  }

  .bar-row {
    grid-template-columns: 90px minmax(0, 1fr) 70px;
    font-size: 12px;
  }

  .problem {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .problem p,
  .card p,
  .card li,
  .check-list li,
  .layer p,
  .chat-bubble {
    font-size: 13px;
  }

  .phone-line {
    grid-template-columns: 58px minmax(0, 1fr);
    font-size: 12.5px;
  }

  .page-footer {
    font-size: 11px;
  }
}

/* --------------------------------- Impresión ------------------------------- */

@page {
  size: A4;
  margin: 0;
}

@media print {
  body {
    background: #fff;
  }

  .dossier-toolbar {
    display: none !important;
  }

  .page {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    padding: 16mm 17mm 13mm;
    break-after: page;
    page-break-after: always;
    box-shadow: none;
  }

  .page:last-of-type {
    break-after: auto;
    page-break-after: auto;
  }

  .page--cover {
    padding: 0;
  }

  a {
    text-decoration: none;
  }

  .card,
  .problem,
  .chat,
  .phone-card,
  .price-card,
  .cta-box,
  .legal-box {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .page-head {
    break-after: avoid;
  }

  h2,
  h3 {
    break-after: avoid;
  }
}
