/* Andino Stack LLC — sin fuentes ni scripts de terceros */
:root {
  --ink: #13202b;
  --ink-soft: #3c4a56;
  --muted: #6b7681;
  --snow: #f7f4ee;
  --paper: #ffffff;
  --line: #e4ded3;
  --copper: #c4572f;
  --copper-soft: #f6e3d9;
  --radius: 18px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1ece3;
    --ink-soft: #c9c2b6;
    --muted: #9aa3ab;
    --snow: #0e171f;
    --paper: #15212b;
    --line: #26343f;
    --copper: #e48a63;
    --copper-soft: #33241d;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
}

a { color: inherit; }

.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }

/* Encabezado */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 14px; }
.top nav a {
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.top nav a:hover { border-color: var(--copper); }

/* Portada */
.hero { padding: 72px 0 88px; position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero p.lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: 19px;
  color: var(--ink-soft);
}
.ridges {
  position: absolute;
  right: 0;
  top: 40px;
  width: min(420px, 42%);
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 760px) {
  .ridges { position: static; width: 70%; margin: 0 0 28px; }
  .hero { padding-top: 24px; }
}

/* Secciones */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.block h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { font-size: 22px; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--copper-soft);
  color: var(--copper);
}
.card a.more {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--copper);
}
.card a.more:hover { text-decoration: underline; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.principles h3 { font-size: 18px; margin-bottom: 8px; }
.principles p { color: var(--ink-soft); font-size: 16px; }

.contact p { font-size: 19px; color: var(--ink-soft); max-width: 52ch; }
.contact a.mail {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--copper);
  text-underline-offset: 6px;
}

/* Pie */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
footer a { color: var(--muted); }

/* Páginas de texto (privacidad, 404) */
.doc { padding: 40px 0 72px; max-width: 70ch; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
