/* Self-hosted Newsreader (no third-party CDN) */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #f7f8fb;
  --bg-soft: #eef0f5;
  --ink: #101828;
  --ink-soft: #3b4356;
  --muted: #667085;
  --line: #e4e7ec;
  --white: #ffffff;
  --accent: #c9692f;
  --accent-dark: #a8511f;
  --green: #2c7a3f;
  --green-bg: #e7f3e9;
  --amber: #8a7249;
  --amber-bg: #f3ede2;
  --radius: 14px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

/* Language dropdown */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.lang-btn:hover { background: var(--bg-soft); }
.lang-btn .caret { font-size: 0.7rem; opacity: 0.6; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  min-width: 210px; padding: 6px; box-shadow: 0 12px 32px rgba(16,24,40,0.12);
  list-style: none; margin: 0;
}
.lang-menu li a, .lang-menu li span {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 8px; font-size: 0.9rem;
  color: var(--ink); text-decoration: none;
}
.lang-menu li a:hover { background: var(--bg-soft); }
.lang-menu li a.active { background: var(--ink); color: #fff; }
.lang-menu li span { color: var(--muted); }
.lang-menu li span em { font-style: normal; font-size: 0.72rem; color: #98a2b3; }
.lang-menu[hidden] { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; cursor: pointer; font-size: 1rem; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 82vh; display: flex; align-items: flex-end;
  padding: 120px 0 96px;
  background:
    linear-gradient(180deg, rgba(10,15,28,0.42) 0%, rgba(10,15,28,0.30) 40%, rgba(10,15,28,0.62) 100%),
    url('/assets/images/hero.jpg') center/cover no-repeat;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.85); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 24px; max-width: 16ch;
}
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 0 36px; }
.btn {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 14px 30px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,0.14); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255,255,255,0.24); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow-line {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 700;
  color: var(--accent); margin: 0 0 12px;
}
.section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 22px;
}
.section p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 16px; }
.section p strong { color: var(--ink); }

/* Split image + text */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-img { margin: 0; }
.split-img img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.split-img figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.14s, box-shadow 0.14s;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(16,24,40,0.10); }
.card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: 0; }
.card p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--green-bg); color: var(--green); padding: 4px 10px; border-radius: 999px;
}
.tag.soon { background: var(--amber-bg); color: var(--amber); }
.link { font-size: 0.88rem; font-weight: 600; color: var(--accent); margin-top: auto; }
.link.muted { color: var(--muted); font-weight: 500; }
.card.soon { background: var(--bg); }

/* CTA band */
.cta {
  position: relative; color: #fff; padding: 96px 0; text-align: center;
  background:
    linear-gradient(rgba(10,15,28,0.55), rgba(10,15,28,0.55)),
    url('/assets/images/vence01.jpg') center/cover no-repeat;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 32px; }

/* Contact */
.mail { color: var(--accent); font-weight: 600; text-decoration: none; }
.mail:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--ink); }
.credits { font-size: 0.75rem; color: #98a2b3; margin-top: 14px; }
.credits a { color: #98a2b3; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 68vh; padding: 96px 0 72px; }
  .section { padding: 64px 0; }
}
