/* en 3: paleta crema, oliva y óxido, alineada con Pozuelo en 3 */
:root {
  --cream: #f6ede3;
  --cream-deep: #efe3d3;
  --paper: #fffaf4;
  --ink: #2a231c;
  --ink-soft: #5a4f45;
  --rust: #8b3a2a;
  --rust-dark: #6e2d21;
  --olive: #5c6b4a;
  --olive-dark: #3f4a32;
  --olive-soft: #dce3d2;
  --line: #e2d4c4;
  --shadow: 0 10px 30px rgba(42, 35, 28, 0.07);
  --radius: 18px;
  --max: 70rem;
  --sans: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 650;
  font-display: swap;
  src: url("fonts/fraunces-650.woff2") format("woff2"),
       url("fonts/fraunces-650.woff") format("woff");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-400.woff2") format("woff2"),
       url("fonts/source-sans-400.woff") format("woff");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-600.woff2") format("woff2"),
       url("fonts/source-sans-600.woff") format("woff");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-700.woff2") format("woff2"),
       url("fonts/source-sans-700.woff") format("woff");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.01em;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { font-size: 1.15rem; color: var(--rust); }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  font-weight: 600;
}
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rust); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--rust);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.btn:hover { background: var(--rust-dark); }
.btn-olive { background: var(--olive); }
.btn-olive:hover { background: var(--olive-dark); }
.btn-ghost {
  background: transparent;
  color: var(--rust) !important;
  box-shadow: none;
  border: 1.5px solid var(--rust);
}
.btn-ghost:hover { background: #f3e4dc; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.hero {
  padding: 2.4rem 0 2.2rem;
  text-align: center;
}
.hero-copy { max-width: 38rem; margin-inline: auto; }
.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
}
.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 0.6rem;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 3.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--rust);
  margin: 0 0 0.8rem;
}
.lede {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.08em;
}
.hero .btn-row { justify-content: center; }

.section { padding: 2.1rem 0; }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.section-lead {
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
  max-width: 38rem;
}
.section-head { margin-bottom: 0.2rem; }

.cards, .city-grid, .how-grid {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}
.card .icon {
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--olive-soft);
  margin-bottom: 0.55rem;
}
.card p { margin: 0; color: var(--ink-soft); }
.card p + p { margin-top: 0.7rem; }

.city-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.2rem 1.45rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(42, 35, 28, 0.1);
}
.city-card .city-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 0 0.85rem;
}
.city-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.city-card .tagline {
  margin: 0 0 1.05rem;
  flex: 1;
}
.city-card .btn { width: 100%; max-width: 16rem; }
.ig-mini {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--olive-dark);
}
.ig-mini:hover { color: var(--rust); }

.invite {
  background: var(--olive-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  border: 1px solid #cfd8c4;
}
.invite h2 { margin-bottom: 0.4rem; }
.invite p { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.invite .btn-row { margin-top: 1.1rem; }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1.6rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer-inner { display: grid; gap: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--rust); }

.page-404 { text-align: center; padding: 4rem 0 3rem; }
.page-404 h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--rust);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
.page-404 p { margin: 0 auto 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.page-404 .btn-row { justify-content: center; }

@media (min-width: 720px) {
  .city-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .invite { padding: 1.8rem 2rem; }
  .header-inner { flex-wrap: nowrap; }
  .hero { padding: 3.4rem 0 3rem; }
  .hero-logo { width: 104px; height: 104px; }
  .section { padding: 2.5rem 0; }
}
@media (min-width: 960px) {
  body { font-size: 1.125rem; }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .city-card { transition: none; }
  .city-card:hover { transform: none; }
}
