:root {
  --navy:       #1B2D4F;
  --navy-light: #2a4270;
  --bg:         #F2F2F0;
  --white:      #FFFFFF;
  --text:       #1B2D4F;
  --muted:      #5a6a80;
  --border:     #d8d8d4;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 64px;
  transition: box-shadow 0.3s, background-color 0.45s ease;
}
nav.scrolled {
  background: var(--white);
}
body { padding-top: 64px; }
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 3px;
  margin-left: 0;
}
.nav-logo-icon { height: 30px; width: auto; filter: brightness(0) invert(1); transition: filter 0.45s ease; }
.nav-logo-name { height: 22px; width: auto; filter: brightness(0) invert(1); transition: filter 0.45s ease; position: relative; top: -1px; }
nav.scrolled .nav-logo-icon,
nav.scrolled .nav-logo-name { filter: none; }
.nav-logo-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  transition: color 0.45s ease;
}
nav.scrolled .nav-logo-text { color: var(--navy); }
.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  margin-right: 40px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.45s ease;
}
.nav-links a:hover,
.nav-links a.active { border-color: var(--white); }
nav.scrolled .nav-links a { color: var(--navy); }
nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active { border-color: var(--navy); }
.btn-nav {
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 32px;
  margin-right: 40px;
  border: 1px solid rgba(255,255,255,0.75);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 102;
  transition: background 0.2s, border-color 0.45s ease, color 0.45s ease;
}
.btn-nav:hover { background: rgba(255,255,255,0.15); }
nav.scrolled .btn-nav { background: var(--navy); border-color: var(--navy); }
nav.scrolled .btn-nav:hover { background: var(--navy-light); border-color: var(--navy-light); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 102;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background-color 0.45s ease;
}
nav.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.32) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 101;
  min-width: 180px;
  padding-top: 64px;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  padding: 18px 28px 18px 40px;
  text-align: right;
  white-space: nowrap;
}
/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 80px 40px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 40px;
}
.footer-logo img { height: 80px; width: auto; }
.footer-logo-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.4;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--navy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; font-weight: 300; color: var(--muted); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 12px; font-weight: 400; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--navy); }
.footer-socials { display: flex; gap: 16px; align-items: center; }
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.75; }
.si-fb { background: #1877F2; }
.si-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.si-li { background: #0A66C2; color: white; }

/* ── SCROLL FADE ── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SHARED RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px 0 0; }
  .nav-links { display: none; }
  .btn-nav { display: block; font-size: 10px; padding: 8px 12px; margin-left: auto; margin-right: 12px; }
  .hamburger { display: flex; }
  footer { padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
