/* ============================================================
   Brijcode - Global / shared styles
   Navbar, footer, design tokens, reusable UI components
   ============================================================ */
:root {
  --ink-deep: #0f2233;
  --ink-deeper: #0a1826;
  --ink-mid: #16304a;
  --cream: #f2f6f9;
  --panel-bg: #ffffff;
  --ink: #0f2233;
  --muted: #16304a;
  --line: #dde6ed;
  --gold: #f29a1f;
  --lilac: #17907b;
  --marigold: #f29a1f;
  --marigold-deep: #c97c08;
  --teal: #17907b;
  --line-dark: rgba(221, 230, 237, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --font-mono: "Bricolage Grotesque", system-ui, sans-serif;

  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.container {
  max-width: 1350px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 3px;
}
::-webkit-scrollbar-track {
  background: 0 0;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--ink-deep), var(--marigold));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--marigold), var(--ink-deep));
}
/* ============ HEADER ============ */
.site-header {
  /* fixed (not in-flow sticky): keeps the existing overlay-on-hero layout
     with no extra top gap, and stays reliable with html/body overflow-x: clip */
  position: sticky;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 26, 51, 0.08);
  box-shadow: 0 4px 20px rgba(7, 26, 51, 0.06);
}

.site-header.scrolled .nav-links a {
  color: var(--ink-deep);
}

.site-header.scrolled .nav-links a:hover {
  color: var(--marigold);
}

.site-header.scrolled .navbar-toggler span {
  background: var(--ink-deep);
}

.site-header.is-nav-open .navbar-toggler span {
  background: #fff;
}

.navbar {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.brand-logo--dark {
  display: none;
}

.site-header.scrolled .brand-logo--light {
  display: none;
}

.site-header.scrolled .brand-logo--dark {
  display: block;
  mix-blend-mode: multiply;
}
.brand span {
  color: var(--marigold);
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff22;
  border-radius: 9px;
  color: #fff;
}

.nav-collapse {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #ffffffcc;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--marigold);
}

.btn-open-account {
  background: #ffffff;
  color: var(--ink-deep);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-open-account:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  color: var(--ink-deep);
}

.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.navbar-toggler span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(4, 12, 20, 0.28);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 40;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  /* transform: translateX(-50%) translateY(0); */
}
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--marigold-deep);
}

/* ============ SHARED UI ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9bccb;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--marigold);
  display: inline-block;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s;
}
.btn .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.btn-primary {
  background: var(--marigold);
  color: var(--ink-deep);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  background: #fff;
  border: 2px dashed var(--marigold);
  transform: translateY(-2px);
  color: var(--marigold);
}
.btn-primary:hover::after {
  left: 130%;
}

.btn-wa {
  background: var(--teal);
  color: #fff;
}
.btn-wa:hover {
  background: #fff;
  border: 3px dotted var(--teal);
  transform: translateY(-2px);
  color: var(--teal);
}

/* ============ FOOTER ============ */
/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: #a9bccb;
  padding: 6.25rem 0 2rem;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}

/* Contact Us page: desktop footer top padding should be tighter. */
@media (min-width: 992px) {
  .contact-page .site-footer {
    padding-top: 4rem;
  }
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-ico {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--marigold);
  margin-top: 0.2em;
}
.footer-contact-ico .ico {
  width: 17px;
  height: 17px;
}
.footer-address-text {
  min-width: 0;
}
.footer-address-label {
  display: block;
  line-height: 1.35;
  color: #fff;
  font-weight: 600;
}
.footer-address-text p {
  margin: 0.25rem 0 0;
  line-height: 1.45;
  color: #a9bccb;
}
.bottom-img {
  position: absolute;
  top: 25%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.bottom-img.bottom-left {
  left: 0;
}
.bottom-img.bottom-right {
  right: -52%;
}
.bottom-img img {
  width: min(800px, 100%);
  height: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr 1fr 1.15fr;
  gap: 2rem 1.75rem;
  margin-bottom: 3rem;
  color: #ffffff;
}
.site-footer .brand {
  color: #fff;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.site-footer li {
  margin: 0.55rem 0;
}
.site-footer a {
  font-size: 0.92rem;
  transition: color 0.15s;
}
.site-footer a:hover {
  color: var(--marigold);
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 280px;
  margin: 0.85rem 0 0;
  color: #a9bccb;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
}