/* Web de Vicus: portada y política de privacidad. Sin fuentes ni scripts de
   otros sitios. Colores del icono: teja, crema y cielo. */

:root {
  --bg: #fbf6ec;
  --surface: #ffffff;
  --text: #2b2118;
  --muted: #6b5d4f;
  --accent: #b5502f;
  --accent-text: #ffffff;
  --sky: #5d97c9;
  --border: #e6dccb;
  --hero-from: #4e88c4;
  --hero-to: #a8c4a0;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Ubuntu, Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1712;
    --surface: #26201a;
    --text: #f1e8da;
    --muted: #bfae98;
    --accent: #e07a55;
    --accent-text: #1c1712;
    --sky: #8ab8e0;
    --border: #3a3128;
    --hero-from: #1f3b5a;
    --hero-to: #34452f;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 10;
}

/* Cabecera */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 22px/1 var(--serif);
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

/* Portada */

.hero {
  background: linear-gradient(180deg, var(--hero-from), var(--hero-to));
  color: #fff;
  padding: 56px 0 48px;
}

.hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 5fr 7fr;
  }
}

.hero h1 {
  font: 700 clamp(48px, 9vw, 84px)/1 var(--serif);
  margin: 0 0 12px;
  text-shadow: 0 3px 12px rgb(0 0 0 / 0.3);
}

.hero .tagline {
  font-size: 21px;
  margin: 0 0 20px;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
}

.hero .shot {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.3);
}

.badge {
  display: inline-block;
  background: rgb(0 0 0 / 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
}

.features {
  padding: 48px 0;
}

.features h2,
.gallery h2 {
  font: 700 30px/1.2 var(--serif);
  margin: 0 0 24px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.card h3 {
  font: 700 19px/1.3 var(--serif);
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  padding: 0 0 56px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  border-radius: 12px;
  border: 1px solid var(--border);
}

.gallery figcaption {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

/* Política de privacidad */

.legal {
  padding: 40px 0 56px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font: 700 38px/1.15 var(--serif);
  margin: 0 0 4px;
}

.legal h2 {
  font: 700 22px/1.3 var(--serif);
  margin: 32px 0 8px;
}

.updated {
  color: var(--muted);
  margin: 0 0 24px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
}

.summary ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* Pie */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}
