/* =========================================================
   YOSI — Shared Styles  |  Inter + Navy & Cream  v3
   ========================================================= */

/* Inter — self-hosted for offline & preview support */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/inter-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 900; font-style: normal; font-display: swap; src: url('/fonts/inter-900.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — Navy & Cream */
  --bg:        #faf9f6;
  --bg-dark:   #0b1829;
  --surface:   #f0ede7;
  --border:    #e4e0d8;
  --text:      #0b1829;
  --muted:     #5e6e82;
  --accent:    #3a72b0;
  --accent-dk: #2a5a90;
  --accent-lt: #e6eef8;
  --white:     #ffffff;

  --max-w:  880px;
  --radius: 12px;
  --nav-h:  68px;

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── LAYOUT ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.divider { border: none; border-top: 1px solid var(--border); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--ff);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 100px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: var(--white); color: var(--text); border-color: var(--white); }

/* ── NAVIGATION ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled {
  background: rgba(250,249,246,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .25s;
}
.nav.scrolled .nav-logo { color: var(--text); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--text); }

.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--accent) !important;
  padding: 9px 20px;
  border-radius: 100px;
  transition: background .2s !important;
  letter-spacing: .02em !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; color: var(--white) !important; }
.nav.scrolled .nav-cta { color: var(--white) !important; }

/* ── PAGE HEADER (inner pages) ───────────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header .label { color: var(--accent); }
.page-header p { color: rgba(255,255,255,.5); max-width: 500px; margin: 16px auto 0; font-size: 0.95rem; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.45);
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 0.85rem; line-height: 1.7; }
.footer h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.85rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ── LANGUAGE SWITCHER ────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 3px;
}
.nav.scrolled .lang-switcher { background: var(--surface); }

.lang-btn {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  color: rgba(255,255,255,.6);
  transition: background .18s, color .18s;
  cursor: pointer;
}
.nav.scrolled .lang-btn { color: var(--muted); }
.lang-btn:hover { color: var(--white); }
.nav.scrolled .lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--accent);
  color: var(--white) !important;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav-links { display: none; }
}
