/* ── Resources section: nav + footer ── */
body { padding-top: 72px; }

nav.res-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(12,12,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.res-nav-logo { display: flex; align-items: center; text-decoration: none; }
.res-nav-logo img { height: 112px; width: auto; object-fit: contain; }

.res-nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.res-nav-links > li { position: relative; }
.res-nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none;
  position: relative; padding-bottom: 4px; transition: color 0.25s;
}
.res-nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: #5b9ba4; transition: width 0.3s;
}
.res-nav-links a:hover { color: #fff; }
.res-nav-links a:hover::after { width: 100%; }
.res-nav-links a.active { color: #5b9ba4; }
.res-nav-links a.active::after { width: 100%; background: #5b9ba4; }

/* ── Dropdown ── */
.res-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #131312;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid #5b9ba4;
  list-style: none;
  padding: 8px 0;
  z-index: 999;
}
.res-nav-links > li:hover .res-nav-dropdown { display: block; }
.res-nav-dropdown li a {
  display: block;
  padding: 12px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.res-nav-dropdown li a::after { display: none !important; }
.res-nav-dropdown li a:hover { color: #5b9ba4; background: rgba(255,255,255,0.04); }

.res-nav-cta {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #0c0c0d !important; background: #5b9ba4;
  padding: 10px 24px; text-decoration: none; transition: background 0.25s;
}
.res-nav-cta::after { display: none !important; }
.res-nav-cta:hover { background: #e8e4dc !important; }

.res-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.res-hamburger span { display: block; width: 24px; height: 2px; background: #fff; }

/* ── Footer ── */
.res-footer { background: #0f0e0c; border-top: 1px solid rgba(255,255,255,0.08); }
.res-footer-cta { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.res-footer-cta-inner {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.res-footer-cta-text {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(48px, 7vw, 100px); line-height: 0.9;
  text-transform: uppercase; letter-spacing: -0.02em; color: #fff;
}
.res-footer-cta-text span { color: #5b9ba4; }
.res-footer-meta {
  padding: 36px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.res-footer-legal { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.res-footer-links { display: flex; gap: 28px; list-style: none; }
.res-footer-links a {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s;
}
.res-footer-links a:hover { color: #5b9ba4; }

.btn-primary {
  display: inline-block; background: #5b9ba4; color: #0c0c0d;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 14px 40px; border: 1px solid #5b9ba4; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: transparent; color: #5b9ba4; }

@media (max-width: 900px) {
  nav.res-nav { padding: 0 24px; }
  .res-nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0;
    background: #0f0e0c; border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 24px; gap: 24px;
  }
  .res-nav-links.open { display: flex; }
  .res-hamburger { display: flex; }
  .res-footer-cta { padding: 56px 0; }
  .res-nav-dropdown {
    position: static; display: block;
    border: none; border-left: 2px solid #5b9ba4;
    background: transparent; padding: 8px 0 0 12px; margin-top: 8px;
    min-width: unset;
  }
  .res-nav-dropdown li a { padding: 8px 4px; font-size: 11px; }
}
