:root{
  --bg:#fbfbfa;
  --ink:#111;
  --muted:#5b5b5b;
  --paper:#ffffff;
  --border:rgba(17,17,17,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

/* Header & Footer siempre visibles */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  background: rgba(251,251,250,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-footer{
  position: fixed;
  bottom:0; left:0; right:0;
  z-index: 40;
  background: rgba(251,251,250,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand a{
  text-decoration:none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.brand small{
  display:block;
  font-weight: 500;
  letter-spacing: .2px;
  color: var(--muted);
  text-transform:none;
  margin-top: 2px;
  font-size: 12px;
}

.nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  color: var(--ink);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 10px;
}

.nav a:hover{
  background: rgba(0,0,0,.05);
}

/* Área principal (se compensa por header+footer fijos) */
main{
  padding-top: 84px;   /* altura aprox header */
  padding-bottom: 84px;/* altura aprox footer */
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
}

.paper{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.kicker{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.h1{
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 10px 0 10px;
}

.lede{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.card{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.card h2{
  margin:0 0 6px;
  font-size: 18px;
}

.card p{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.cta{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
}

.cta:hover{
  background: rgba(0,0,0,.05);
}

.meta{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}
.footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-size: 13px;
}
.footer-links a:hover{ color: var(--ink); }

.article h1{
  margin-top: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
}
.article p{ color: #1a1a1a; }
.article .note{ color: var(--muted); font-size: 13px; }

.form{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.input{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}
.btn{
  cursor:pointer;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  background: rgba(0,0,0,.03);
}
.btn:hover{ background: rgba(0,0,0,.06); }

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}