@font-face {
  font-family: 'Degular';
  src: url('../fonts/Degular-Medium.otf') format('opentype');
  font-weight: 400 600; font-display: swap;
}
@font-face {
  font-family: 'Playfair';
  src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 800; font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --bg:      #050C17;
  --bg2:     #0A1628;
  --bg3:     #0F1E38;
  --blue:    #1D6AE5;
  --blue2:   #4B8FFF;
  --blue-dim: rgba(29,106,229,0.13);
  --blue-glow: rgba(29,106,229,0.07);
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text:    #EBE8E0;
  --text2:   #8A9AB0;
  --text3:   #4A5A70;
  --serif:   'Playfair', Georgia, serif;
  --sans:    'Degular', system-ui, sans-serif;
}
body { font-family: var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.28) !important; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #0A1628 inset !important; -webkit-text-fill-color: #EBE8E0 !important; }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(5,12,23,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link, .nav-drop-btn {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--text2);
  text-decoration: none; background: none; border: none; cursor: pointer;
  padding: 0.4rem 0.7rem; border-radius: 5px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-link:hover, .nav-drop-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 8px; padding: 0.5rem 0.4rem 0.4rem;
  margin-top: 4px;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}
.nav-item.open .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 0.5rem 0.75rem;
  font-size: 0.8rem; color: var(--text2); text-decoration: none;
  border-radius: 5px; transition: color 0.15s, background 0.15s;
}
.nav-dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-lang { font-size: 0.78rem; color: var(--text3); padding: 0.4rem 0.5rem; text-decoration: none; transition: color 0.2s; }
.nav-lang:hover { color: var(--text2); }
.nav-cta {
  margin-left: 0.5rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  color: var(--bg); background: var(--blue);
  padding: 0.5rem 1.1rem; border-radius: 100px;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue2); transform: translateY(-1px); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-blue {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.72rem 1.7rem; font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  color: var(--bg); background: var(--blue); border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-blue:hover { background: var(--blue2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,106,229,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.72rem 1.5rem; font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  color: var(--text2); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2); border-radius: 100px;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); transform: translateY(-1px); }

/* ── LAYOUT ──────────────────────────────────────────── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 4.5rem 2rem; }
.section-divider { border-top: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue2); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: block; width: 16px; height: 1px; background: var(--blue2); }
.sh { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 400; line-height: 1.25; color: var(--text); }
.sh em { font-style: italic; color: var(--blue2); }
.ss { font-size: 0.93rem; color: var(--text2); line-height: 1.65; margin-top: 0.7rem; }

/* ── FADE UP ─────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  background: var(--bg);
}
.footer-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
}
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 26px; opacity: 0.6; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.8rem; color: var(--text3); line-height: 1.6; }
.footer-col h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--text3); text-decoration: none; margin-bottom: 0.45rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue2); }
.footer-bottom {
  max-width: 1080px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.72rem; color: var(--text3); }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { font-size: 0.75rem; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.footer-socials a:hover { color: var(--blue2); }

/* ── PAGE HEADER ─────────────────────────────────────── */
.page-header {
  padding: 9rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; color: var(--text); }
.page-header p { font-size: 1rem; color: var(--text2); max-width: 540px; margin: 0.8rem auto 0; line-height: 1.65; }

/* ── MOBILE ──────────────────────────────────────────── */
@media(max-width:640px){
  nav { padding: 0 1rem; }
  .nav-links .nav-item:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .wrap { padding: 3rem 1rem; }
  .page-header { padding: 7rem 1.5rem 3rem; }
}
