@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");


/* =========================================================
   VARIABLES GENERALES
   ========================================================= */

:root {
  --navy: #102a43;
  --navy-dark: #081c2d;
  --navy-soft: #234866;

  --blue-bg: #dfeaf3;
  --blue-section: #edf4f9;
  --blue-light: #f5f9fc;

  --white: #ffffff;
  --ivory: #fffaf0;

  --gold: #b58933;
  --gold-dark: #8f6920;
  --gold-soft: rgba(181, 137, 51, 0.22);

  --terracotta: #a85d42;

  --text: #172536;
  --text-soft: #526273;
  --border: #cbd9e4;

  --shadow-soft: 0 14px 38px rgba(16, 42, 67, 0.09);
  --shadow-medium: 0 18px 45px rgba(16, 42, 67, 0.14);

  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;

  --max-width: 1180px;
}


/* =========================================================
   AJUSTES GENERALES
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue-bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

main {
  width: 100%;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
}

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

em {
  font-style: italic;
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

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

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(181, 137, 51, 0.35);
  outline-offset: 3px;
}


/* =========================================================
   CABECERA Y MENÚ
   ========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 78px;
  padding: 0 4vw;

  border-bottom: 1px solid rgba(16, 42, 67, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 22px rgba(16, 42, 67, 0.07);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar nav a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: var(--gold);
  transition: width 0.2s ease;
}

.topbar nav a:hover::after {
  width: 100%;
}

.menu {
  display: none;

  width: 46px;
  height: 46px;
  padding: 0;

  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);

  font-size: 1.5rem;
  cursor: pointer;
}


/* =========================================================
   HERO PRINCIPAL
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;

  width: min(var(--max-width), calc(100% - 2rem));
  margin: 2.5rem auto 0;
  padding: clamp(2rem, 5vw, 5rem);

  border: 1px solid rgba(16, 42, 67, 0.1);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 244, 249, 0.96)
    );
  box-shadow: var(--shadow-medium);
}

.hero-copy {
  min-width: 0;
}

.hero-copy > p:not(.eyebrow):not(.lead):not(.note):not(.purchase-title) {
  max-width: 720px;
  color: var(--text-soft);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: var(--navy-soft);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.cover-wrap {
  display: flex;
  justify-content: center;
}

.cover-wrap img {
  width: min(100%, 390px);
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(8, 28, 45, 0.25);
  transform: rotate(1deg);
}


/* =========================================================
   BOTONES
   ========================================================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0.78rem 1.35rem;

  border: 2px solid transparent;
  border-radius: 999px;

  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(181, 137, 51, 0.2);
}

.btn.primary:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: var(--white);
}

.btn.secondary {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn.secondary:hover {
  background: var(--navy);
  color: var(--white);
}


/* =========================================================
   COMPRA POR PAÍS Y FORMATO
   ========================================================= */

.purchase-box {
  margin-top: 2rem;
  padding: 1.5rem;

  border: 1px solid rgba(181, 137, 51, 0.35);
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.purchase-title {
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.purchase-box label {
  display: block;
  margin: 1.2rem 0 0.45rem;
  color: var(--navy);
  font-weight: 700;
}

.purchase-box select {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;

  border: 1px solid #aebfcd;
  border-radius: 12px;

  background: var(--white);
  color: var(--text);

  cursor: pointer;
}

.purchase-box select:hover {
  border-color: var(--gold);
}

.purchase-box select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(181, 137, 51, 0.18);
}

.purchase-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.purchase-formats[hidden] {
  display: none;
}

.format-card {
  display: flex;
  min-height: 112px;
  padding: 1.2rem;

  border: 2px solid var(--gold);
  border-radius: 14px;

  flex-direction: column;
  justify-content: center;

  background: var(--ivory);
  color: var(--navy);
  text-decoration: none;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.13);
}

.format-card strong {
  margin-bottom: 0.3rem;
  color: inherit;
  font-size: 1.05rem;
}

.format-card span {
  color: inherit;
  font-size: 0.92rem;
}

.format-card.unavailable {
  border-color: #cfd6dc;
  background: #edf0f2;
  color: #74808a;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.note {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.purchase-box .note {
  margin-top: 1rem;
  margin-bottom: 0;
}


/* =========================================================
   BANDA DE TEMAS
   ========================================================= */

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;

  width: min(var(--max-width), calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding: 1.15rem;

  border: 1px solid rgba(16, 42, 67, 0.1);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.trust span {
  padding: 0.5rem 0.9rem;

  border: 1px solid rgba(16, 42, 67, 0.14);
  border-radius: 999px;

  background: var(--blue-light);
  color: var(--navy);

  font-size: 0.88rem;
  font-weight: 700;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 2rem auto;
  padding: clamp(2rem, 5vw, 4.5rem);

  border: 1px solid rgba(16, 42, 67, 0.1);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.section > :last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split h3 {
  margin-top: 1.6rem;
}

.split h3:first-child {
  margin-top: 0;
}

.signature {
  margin-top: 1.5rem;
  color: var(--gold-dark);
  font-size: 0.92rem;
  font-weight: 700;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.cards article {
  display: flex;
  min-height: 100%;
  padding: 2rem;

  border: 1px solid rgba(16, 42, 67, 0.11);
  border-radius: var(--radius-medium);

  flex-direction: column;

  background: var(--white);
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.cards article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.cards article > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  padding: 0 0.7rem;

  border-radius: 999px;
  background: var(--blue-section);
  color: var(--gold-dark);

  font-size: 0.88rem;
  font-weight: 800;
}

.cards article p {
  color: var(--text-soft);
}

.cards article .btn {
  align-self: flex-start;
  margin-top: auto;
}


/* =========================================================
   NEWSLETTER Y FORMULARIOS
   ========================================================= */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;

  background:
    linear-gradient(
      135deg,
      rgba(245, 249, 252, 0.98),
      rgba(255, 255, 255, 0.98)
    );
}

.newsletter form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;

  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--white);
}

.newsletter label,
form label {
  display: grid;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;

  border: 1px solid #b5c5d1;
  border-radius: 10px;

  background: var(--white);
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(181, 137, 51, 0.16);
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;

  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
}

form small {
  color: var(--text-soft);
  line-height: 1.5;
}


/* =========================================================
   CONFERENCIAS Y LLAMADAS A LA ACCIÓN
   ========================================================= */

.conference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-soft)
    );
  color: var(--white);
}

.conference h2,
.conference h3,
.conference strong {
  color: var(--white);
}

.conference .eyebrow {
  color: #f3cc75;
}

.conference p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.conference .btn.secondary {
  flex-shrink: 0;
  border-color: var(--white);
  color: var(--white);
}

.conference .btn.secondary:hover {
  background: var(--white);
  color: var(--navy);
}


/* =========================================================
   BLOQUE DE PRINCIPIOS
   ========================================================= */

.principles {
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.98),
      rgba(255, 255, 255, 0.98)
    );
}

.principles p {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  color: var(--text-soft);
}


/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;

  margin-top: 3rem;
  padding: 3rem max(4vw, calc((100% - var(--max-width)) / 2));

  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
}

footer strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

footer p {
  max-width: 430px;
  margin-top: 0.7rem;
  margin-bottom: 0;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f3cc75;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 960px) {

  .topbar {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .topbar nav {
    gap: 1rem;
  }

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

  .cover-wrap {
    order: -1;
  }

  .cover-wrap img {
    width: min(300px, 80%);
  }

  .split,
  .newsletter {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .conference {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

}


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

@media (max-width: 780px) {

  body {
    font-size: 16px;
  }

  .topbar {
    position: sticky;
    min-height: 70px;
  }

  .brand {
    max-width: calc(100% - 65px);
    font-size: 0.82rem;
  }

  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar nav {
    position: absolute;
    top: 70px;
    right: 1rem;
    left: 1rem;

    display: none;
    padding: 1rem;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: var(--white);
    box-shadow: var(--shadow-medium);
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    padding: 0.85rem 0.7rem;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
  }

  .topbar nav a:last-child {
    border-bottom: 0;
  }

  .topbar nav a::after {
    display: none;
  }

  .hero {
    width: min(100% - 1rem, var(--max-width));
    margin-top: 0.8rem;
    padding: 1.5rem;
    border-radius: 18px;
  }

  .section,
  .trust {
    width: min(100% - 1rem, var(--max-width));
  }

  .section {
    margin: 1rem auto;
    padding: 1.5rem;
    border-radius: 18px;
  }

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

  .cards article {
    padding: 1.5rem;
  }

  .purchase-formats {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .conference .btn {
    width: 100%;
  }

  footer {
    padding: 2.5rem 1.25rem;
  }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 1.25rem;
  }

  .cover-wrap img {
    width: min(250px, 85%);
  }

  .purchase-box {
    padding: 1.1rem;
  }

  .format-card {
    min-height: 96px;
  }

  .trust {
    justify-content: flex-start;
    padding: 1rem;
  }

  .trust span {
    font-size: 0.8rem;
  }

}
/* =========================================================
   RECURSOS: MODELO DE FEREDE
   ========================================================= */

.resource-steps {
  background:
    linear-gradient(
      135deg,
      rgba(245, 249, 252, 0.98),
      rgba(255, 255, 255, 0.98)
    );
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.steps-list article {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--white);
}

.steps-list article strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.steps-list article p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.resource-notice {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--ivory);
}

.resource-notice p {
  margin: 0.4rem 0 0;
}

.original-document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.original-document > div:first-child {
  max-width: 720px;
}

.original-document-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.8rem;
}

.privacy-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  border: 2px solid rgba(16, 42, 67, 0.18);
  background:
    linear-gradient(
      135deg,
      #eaf3fa,
      #ffffff
    );
}

.privacy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  font-size: 1.7rem;
}

.privacy-panel h2 {
  margin-bottom: 1rem;
}

.privacy-panel p:last-child {
  margin-bottom: 0;
}

.letter-generator {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.generator-heading {
  max-width: 800px;
  margin-bottom: 2rem;
}

.generator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: start;
}

.letter-form {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--blue-light);
}

.letter-form h3 {
  margin: 1rem 0 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
}

.letter-form h3:first-child {
  margin-top: 0;
}

.form-privacy-reminder {
  padding: 1rem;
  border: 1px solid rgba(16, 42, 67, 0.14);
  border-radius: var(--radius-small);
  background: var(--white);
}

.form-privacy-reminder p {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.generator-buttons {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.generator-buttons .btn {
  width: 100%;
}

.generator-buttons button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.preview-column {
  min-width: 0;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.preview-heading h3 {
  margin-bottom: 0;
}

.preview-badge {
  padding: 0.45rem 0.75rem;
  border: 1px solid #8cb49a;
  border-radius: 999px;
  background: #edf8f0;
  color: #245b35;
  font-size: 0.8rem;
  font-weight: 800;
}

.legal-letter {
  width: 100%;
  max-width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 18mm 17mm;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 18px 45px rgba(16, 42, 67, 0.15);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11.2pt;
  line-height: 1.48;
}

.legal-letter h2 {
  margin-bottom: 1.7rem;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14pt;
  line-height: 1.3;
  text-align: center;
}

.legal-letter p {
  margin-bottom: 1rem;
}

.legal-letter ol {
  margin: 0 0 1rem 1.4rem;
  padding: 0;
}

.legal-letter li {
  margin-bottom: 0.8rem;
  padding-left: 0.3rem;
}

.legal-letter ol ol {
  margin-top: 0.8rem;
}

.letter-field {
  display: inline;
  color: #444444;
  overflow-wrap: anywhere;
}

.letter-field.completed {
  color: #000000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.signature-space {
  margin-top: 3rem;
}

.letter-credit {
  margin-top: 3rem;
  padding-top: 0.8rem;
  border-top: 1px solid #cccccc;
  color: #555555;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8.5pt;
}


/* =========================================================
   IMPRESIÓN DEL MODELO
   ========================================================= */

@media print {

  body.printing-letter * {
    visibility: hidden !important;
  }

  body.printing-letter #ferede-letter,
  body.printing-letter #ferede-letter * {
    visibility: visible !important;
  }

  body.printing-letter #ferede-letter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 0;
    padding: 14mm 15mm;
    border: 0;
    box-shadow: none;
  }

}


/* =========================================================
   RECURSOS EN TABLET Y MÓVIL
   ========================================================= */

@media (max-width: 980px) {

  .generator-layout {
    grid-template-columns: 1fr;
  }

  .letter-form {
    position: static;
  }

  .original-document {
    align-items: flex-start;
    flex-direction: column;
  }

  .original-document-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

}

@media (max-width: 720px) {

  .steps-list {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-icon {
    width: 54px;
    height: 54px;
  }

  .original-document-actions {
    flex-direction: column;
  }

  .original-document-actions .btn {
    width: 100%;
  }

  .preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-letter {
    min-height: auto;
    padding: 1.25rem;
    font-size: 0.92rem;
  }

  .legal-letter h2 {
    font-size: 1.05rem;
  }

}
