:root {
  --bg: #f5ede3;
  --panel: rgba(255, 251, 246, 0.84);
  --panel-strong: rgba(255, 248, 239, 0.92);
  --text: #4a2910;
  --muted: #7a5433;
  --accent: #9f5523;
  --accent-dark: #6d3314;
  --line: rgba(162, 104, 55, 0.16);
  --shadow: 0 18px 42px rgba(77, 42, 12, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: url("/assets/fondo_seo3.jpeg") center top / cover no-repeat fixed;
}

a { color: var(--accent-dark); }

.shell {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.6rem;
}

.brand {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.card {
  background: var(--panel);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.4rem 1.15rem 1.2rem;
  margin-bottom: 1rem;
  background: rgba(255, 250, 244, 0.76);
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
}

.lead,
.body-text,
li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.4rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(180deg, #b96228, #8f4519);
  color: #fff8f1;
  box-shadow: 0 14px 26px rgba(143, 69, 25, 0.26);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-align: center;
  min-width: 12rem;
  font-size: 1rem;
}

.btn.secondary {
  background: rgba(255,255,255,0.66);
  color: var(--accent-dark);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(77, 42, 12, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(143, 69, 25, 0.32);
  filter: saturate(1.04);
}

.btn.primary-cta {
  position: relative;
}

.btn.primary-cta::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(197, 123, 60, 0.34);
  pointer-events: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.chip {
  display: inline-block;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(250, 226, 197, 0.92);
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.card {
  padding: 1rem 1rem 0.95rem;
  margin-bottom: 0.9rem;
  background: rgba(255, 251, 246, 0.8);
}

.footer {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0 0;
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
