/* Lovapi — hoja de estilo única para todas las páginas */

:root {
  --bg: #101a24;
  --bg-alt: #16232f;
  --bg-contrast: #e9edf0;
  --ink: #e3e9ee;
  --ink-soft: #8b9aa6;
  --ink-dark: #101a24;
  --accent: #3fb3ae;
  --accent-soft: #1d6f6c;
  --sand: #d8a15a;
  --line: rgba(139, 154, 166, 0.34);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gap: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- bandas de sección ---------- */

.band {
  --bg: #101a24;
  background: #101a24;
  padding: var(--gap) 0;
}

.band-alt {
  --bg: #16232f;
  background: #16232f;
}

.band-contrast {
  --bg: #e9edf0;
  background: #e9edf0;
  color: var(--ink-dark);
  --ink: #101a24;
  --ink-soft: #4b5b67;
  --line: rgba(16, 26, 36, 0.28);
  --accent: #1d6f6c;
  --sand: #9a6a25;
}

/* ---------- tipografía ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

h1 {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.12;
  margin: 26px 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.4rem, 2.9vw, 1.95rem);
  line-height: 1.24;
  margin: 0 0 18px;
}

h3 {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 30px 0 10px;
}

p { margin: 0 0 22px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.12rem; }

.soft { color: var(--ink-soft); }

.num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 14px;
}

.caption {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- rejilla de celdas ---------- */

.cells {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.cell {
  background: var(--bg);
  padding: 26px 24px;
  grid-column: span 12;
}

.cell.pause { padding: 0; min-height: 64px; }

.c2 { grid-column: span 2; }
.c3 { grid-column: span 3; }
.c4 { grid-column: span 4; }
.c5 { grid-column: span 5; }
.c6 { grid-column: span 6; }
.c7 { grid-column: span 7; }
.c8 { grid-column: span 8; }
.c9 { grid-column: span 9; }
.c12 { grid-column: span 12; }

/* ---------- separador tejido ---------- */

.weave { margin: 0; }
.weave::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
}
.weave::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--sand);
  margin-top: 6px;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- cabecera y navegación ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 28px;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--accent); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- portada ---------- */

.hero { padding: 56px 0 var(--gap); }

.hero-line-top,
.hero-line-bottom {
  height: 2px;
  background: var(--accent);
}

.hero-line-bottom { background: var(--sand); height: 1px; }

.hero h1 { max-width: 100%; }

.hero-title-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.hero-title-row h1 { grid-column: span 9; }

.hero-cells { margin-top: 34px; }

/* ---------- imágenes ---------- */

figure { margin: 0; }

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

.figure-cell { padding: 24px; }

/* ---------- listas ---------- */

ul.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

ul.checks li {
  background: var(--bg);
  padding: 16px 18px 16px 40px;
  position: relative;
  font-size: 0.97rem;
  line-height: 1.55;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

ul.plain {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

ul.plain li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--sand);
}

ul.plain li:last-child { margin-bottom: 0; }

/* ---------- páginas interiores ---------- */

.page-head { padding: 52px 0 0; }

.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }

.doc {
  display: grid;
  grid-template-columns: 3fr 1px 8fr;
  gap: 0 34px;
  padding: var(--gap) 0;
}

.doc-side {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.doc-side ul { list-style: none; margin: 0; padding: 0; }

.doc-side li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.doc-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  background: var(--sand);
}

.doc-divider { background: var(--line); }

.doc-body h2 { margin-top: 42px; }
.doc-body > h2:first-child { margin-top: 0; }

/* ---------- pie ---------- */

.site-foot {
  background: #0c151d;
  padding: 0 0 42px;
}

.foot-cells {
  --bg: #0c151d;
  margin-top: 0;
  padding-top: 1px;
}

.foot-cells .cell { padding: 24px; }

.foot-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.foot-cells p,
.foot-cells li,
.foot-cells a {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav li { margin-bottom: 6px; }
.foot-nav a { color: var(--ink-soft); text-decoration: none; }
.foot-nav a:hover { color: var(--accent); text-decoration: underline; }

.foot-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
  margin-bottom: 10px;
}

.foot-bottom {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-top: 22px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .doc-divider { height: 1px; }
  .cell.c2, .cell.c3, .cell.c4, .cell.c5, .cell.c6,
  .cell.c7, .cell.c8, .cell.c9 { grid-column: span 6; }
  .hero-title-row h1 { grid-column: span 12; }
}

@media (max-width: 620px) {
  :root { --gap: 44px; }
  body { font-size: 17px; }
  .cell,
  .cell.c2, .cell.c3, .cell.c4, .cell.c5, .cell.c6,
  .cell.c7, .cell.c8, .cell.c9 { grid-column: span 12; }
  .cell.pause { display: none; }
  ul.checks { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 var(--gap); }
  .cell { padding: 22px 18px; }
}
