/* Sitio de eco: misma marca que la app (crema, tinta, terracota; Fraunces e Inter). */
@font-face {
  font-family: 'Fraunces';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  src: url('fonts/fraunces-var-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}
:root {
  --ground: #faf8f5;
  --side: #f3eee7;
  --paper: #ffffff;
  --line: #e7e0d6;
  --line-soft: #efe9e1;
  --text: #1f1b16;
  --slate: #5e554c;
  --mist: #72675d;
  --accent: #c2553a;
  --accent-strong: #b04a30;
  --accent-soft: #f6e8e1;
  --ink: #1f1b16;
  --on-ink: #f2ede5;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.008em;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11';
}
img {
  max-width: 100%;
  /* Con width/height en el HTML (para reservar espacio), sin esto la imagen se deforma al achicarse */
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0;
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(40px, 6vw, 68px);
}
h2 {
  font-size: clamp(30px, 4vw, 44px);
}
h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
}
p {
  margin: 0 0 14px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.muted {
  color: var(--slate);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  transition: background 0.15s;
}
.btn:hover {
  background: var(--side);
}
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.btn.primary:hover {
  background: #37302a;
}
.btn.sm {
  padding: 10px 15px;
  font-size: 14.5px;
  border-radius: 10px;
}

/* Cabecera */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  border-bottom-color: var(--line-soft);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.top .logo svg {
  height: 26px;
  width: auto;
  display: block;
}
.top nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  margin-left: 12px;
}
.top nav a {
  color: var(--slate);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--text);
}
.top .actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.top .actions a.entrar {
  color: var(--slate);
  text-decoration: none;
}

/* Portada */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-strong);
}
.hero .lead {
  max-width: 640px;
  margin: 22px auto 30px;
  font-size: 19.5px;
  color: var(--slate);
}
.hero .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mist);
}
.shot {
  margin: 56px auto 0;
  max-width: 1180px;
  padding: 0 24px;
}
.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(31, 27, 22, 0.04),
    0 40px 80px -40px rgba(31, 27, 22, 0.35);
  overflow: hidden;
}
.frame .bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbf9f6;
}
.frame .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3dcd2;
}

/* Franja de plataformas */
.works {
  padding: 44px 0 8px;
  text-align: center;
  color: var(--mist);
  font-size: 15px;
}
.works ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  gap: 10px 34px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--slate);
  font-weight: 550;
  font-size: 16px;
}

/* Secciones */
section.block {
  padding: 96px 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.split.rev > :first-child {
  order: 2;
}
.split .text h2 {
  margin-bottom: 18px;
}
.split .text p {
  color: var(--slate);
  font-size: 18px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checks li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' stroke='%23b04a30' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.card-img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(31, 27, 22, 0.35);
  background: var(--paper);
  overflow: hidden;
}
.tilt {
  transform: rotate(-1deg);
}
.tilt-r {
  transform: rotate(1deg);
}

/* Tres momentos */
.moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.moment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.moment h3 {
  margin-bottom: 10px;
}
.moment p {
  color: var(--slate);
  font-size: 16px;
  margin: 0;
}
.moment .when {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent-strong);
  font-size: 17px;
  margin-bottom: 8px;
}

/* Privacidad (franja oscura) */
.dark {
  background: var(--ink);
  color: var(--on-ink);
}
.dark .muted {
  color: #b9afa3;
}
.privacy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 48px;
  margin-top: 48px;
}
.privacy h3 {
  font-size: 21px;
  margin-bottom: 8px;
  color: #fff;
}
.privacy p {
  color: #b9afa3;
  font-size: 16px;
  margin: 0;
}
.receipt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #2a241e;
  color: #d9d0c4;
  font-size: 14.5px;
}
.receipt b {
  color: #7fd1a3;
  font-weight: 600;
}

/* Precios */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: start;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.plan .name {
  font-weight: 650;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan .tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
}
.plan .price {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 16px 0 2px;
  line-height: 1;
}
.plan .per {
  color: var(--mist);
  font-size: 14.5px;
  min-height: 44px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 9px;
  font-size: 15.5px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.plan .btn {
  width: 100%;
  justify-content: center;
}
.prices-note {
  margin-top: 22px;
  text-align: center;
  color: var(--mist);
  font-size: 14.5px;
}

/* Preguntas frecuentes */
.faq {
  max-width: 780px;
  margin: 40px auto 0;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.012em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-weight: 400;
  color: var(--mist);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 12px 0 0;
  color: var(--slate);
}

/* Cierre y pie */
.closing {
  text-align: center;
  padding: 104px 0;
}
.closing h2 {
  max-width: 760px;
  margin: 0 auto 26px;
}
footer.foot {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 56px;
  font-size: 14.5px;
  color: var(--slate);
}
.foot .cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.foot .logo svg {
  height: 24px;
  width: auto;
}
.foot h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.foot a {
  text-decoration: none;
  color: var(--slate);
}
.foot a:hover {
  color: var(--text);
}
.foot .made {
  margin-top: 14px;
  color: var(--mist);
}

/* Páginas legales */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  font-size: 16.5px;
}
.legal h1 {
  font-size: 44px;
  margin-bottom: 10px;
}
.legal h2 {
  font-size: 26px;
  margin: 36px 0 10px;
}
.legal h3 {
  font-size: 20px;
  margin: 24px 0 8px;
}
.legal ul {
  padding-left: 22px;
}
.legal .draft {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14.5px;
  margin: 18px 0 28px;
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.legal th,
.legal td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  vertical-align: top;
}

/* Guías, perfiles y comparativas */
.articulo {
  padding: 28px 0 72px;
}
.migas {
  font-size: 14px;
  color: var(--mist);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.migas a {
  color: var(--slate);
  text-decoration: none;
}
.migas a:hover {
  text-decoration: underline;
}
.art-head {
  max-width: 800px;
  padding: 36px 0 32px;
}
.art-head h1 {
  font-size: clamp(36px, 5vw, 56px);
}
.art-head .lead {
  font-size: 19px;
  color: var(--slate);
  margin-top: 18px;
  max-width: 680px;
}
.kicker {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.art-head .meta {
  font-size: 14px;
  color: var(--mist);
  margin: 0;
}
.art-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 56px;
  border-top: 1px solid var(--line-soft);
  padding-top: 36px;
}
.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 14px;
}
.toc p {
  font-weight: 600;
  margin-bottom: 10px;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  padding-left: 14px;
  color: var(--slate);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover {
  color: var(--text);
}
.prosa {
  font-size: 17.5px;
  line-height: 1.72;
}
.prosa h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin: 48px 0 14px;
  scroll-margin-top: 88px;
}
.prosa h2:first-child {
  margin-top: 0;
}
.prosa h3 {
  font-size: 21px;
  margin: 30px 0 10px;
}
.prosa p,
.prosa ul,
.prosa ol {
  margin: 0 0 18px;
}
.prosa ul,
.prosa ol {
  padding-left: 22px;
}
.prosa li {
  margin-bottom: 6px;
}
.prosa li > ul {
  margin: 6px 0 0;
}
.prosa a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}
.prosa blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--slate);
  font-style: italic;
}
.prosa code {
  font-size: 0.9em;
  background: var(--side);
  padding: 1px 5px;
  border-radius: 5px;
}
.prosa .table {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.prosa table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.5;
}
.prosa th,
.prosa td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.prosa thead th {
  background: var(--side);
  font-weight: 600;
}
.prosa tbody th {
  font-weight: 600;
}
.prosa tr:last-child > * {
  border-bottom: 0;
}
.prosa .faq {
  margin: 12px 0 0;
}
.prosa .faq summary {
  font-size: 19px;
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  font-size: 16px;
  line-height: 1.55;
}
.cta-box strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.012em;
  display: block;
  margin-bottom: 6px;
}
.cta-box p {
  margin: 0;
  color: var(--slate);
}
.cta-box .btn {
  flex: none;
}
.relacionados {
  margin-top: 72px;
  border-top: 1px solid var(--line-soft);
  padding-top: 40px;
}
.relacionados h2 {
  font-size: 30px;
  margin-bottom: 22px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-decoration: none;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.5;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.card-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}
.card-link strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text);
}
.card-link .k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.card-link.destacada {
  background: var(--accent-soft);
}

/* Plantilla descargable */
.plantilla {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}
.descargas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hoja {
  margin: 36px 0 0;
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 48px -24px rgb(31 27 22 / 25%);
  aspect-ratio: 210 / 297;
  padding: 34px 30px;
  font-size: 11px;
  color: var(--slate);
}
.hoja .h {
  font-family: var(--display);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 14px;
}
.hoja dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  margin: 0 0 12px;
}
.hoja dt {
  font-weight: 600;
}
.hoja dd {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.hoja .s {
  font-weight: 600;
  color: var(--accent-strong);
  margin: 14px 0 6px;
}
.hoja .l {
  height: 14px;
  border-bottom: 1px solid var(--line);
}
.hoja table {
  width: 100%;
  border-collapse: collapse;
}
.hoja th,
.hoja td {
  border: 1px solid var(--line);
  height: 20px;
  text-align: left;
  padding: 2px 6px;
  font-weight: 600;
}

/* Comparación de la portada */
.versus {
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.versus table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15.5px;
}
.versus th,
.versus td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.versus thead th {
  font-weight: 600;
  background: var(--side);
}
.versus thead th.eco {
  background: var(--ink);
  color: var(--on-ink);
}
.versus td.eco {
  background: var(--accent-soft);
  font-weight: 500;
}
.versus tr:last-child > * {
  border-bottom: 0;
}
.versus tbody th {
  font-weight: 600;
}

/* Para quién (portada) */
.perfiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

/* Botón fijo en el celular */
.cta-movil {
  display: none;
}
@media (max-width: 720px) {
  .cta-movil:not([hidden]) {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px -12px rgb(31 27 22 / 35%);
    font-size: 14px;
    color: var(--slate);
  }
}

.nf {
  padding: 72px 24px 48px;
  max-width: 720px;
}
.nf .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .shot {
    max-width: 360px;
  }
}
@media (max-width: 900px) {
  .top nav {
    display: none;
  }
  .split,
  .split.rev {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.rev > :first-child {
    order: 0;
  }
  .moments,
  .plans,
  .privacy {
    grid-template-columns: 1fr;
  }
  .art-grid,
  .plantilla {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .toc {
    display: none;
  }
  .hoja {
    position: static;
    max-width: 380px;
  }
  .perfiles {
    grid-template-columns: 1fr 1fr;
  }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot .cols {
    grid-template-columns: 1fr 1fr;
  }
  section.block {
    padding: 64px 0;
  }
  .hero {
    padding-top: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
