/* =========================================================
   FINRAZ — United Capital. Shared Opportunity.
   ========================================================= */

:root {
  --navy-900: #061128;
  --navy-800: #0a1a3a;
  --navy-700: #10254f;
  --gold-100: #fbefc9;
  --gold-300: #f2d48a;
  --gold-500: #d4a548;
  --gold-700: #9a7128;
  --ink: #0d1b3a;
  --text: #2a3346;
  --muted: #6b7486;
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --green: #2fa84f;

  --gold-grad: linear-gradient(180deg, #fbe8ae 0%, #e6bd62 45%, #b8862f 100%);
  --gold-btn: linear-gradient(180deg, #f6d98e 0%, #e2b453 50%, #c08f35 100%);

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", system-ui, -apple-system, sans-serif;

  --header-h: 92px;
  --radius: 10px;
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, #071330 0%, #0b1b3d 100%);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent) 1;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

.header-inner {
  height: 100%;
  width: min(1520px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 62px; height: 62px; filter: drop-shadow(0 0 8px rgba(212, 165, 72, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  letter-spacing: .04em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tag {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.header-divider { width: 1px; height: 54px; background: linear-gradient(180deg, transparent, var(--gold-500), transparent); }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; }
.main-nav li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #f2f4fa;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--gold-300); }
.nav-link.active {
  background: var(--gold-btn);
  color: var(--navy-800);
  box-shadow: 0 0 18px rgba(242, 212, 138, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #0b1b3d;
  border: 1px solid rgba(212, 165, 72, .45);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s ease;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  color: #e7eaf3;
  font-size: 18px;
}
.dropdown a:hover { background: rgba(212, 165, 72, .15); color: var(--gold-300); }

.has-drop:hover .dropdown,
.has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .caret,
.has-drop.open .caret { transform: rotate(-135deg) translateY(-1px); }

.btn-login {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1.5px solid var(--gold-500);
  border-radius: 999px;
  background: rgba(6, 17, 40, .5);
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  transition: .25s;
}
.btn-login svg { width: 22px; height: 22px; fill: var(--gold-500); }
.btn-login:hover { background: var(--gold-500); color: var(--navy-900); }
.btn-login:hover svg { fill: var(--navy-900); }

.nav-toggle { display: none; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: clamp(520px, 62vw, 760px);
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
  z-index: -2;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 46% 38% at 50% 72%, rgba(5, 14, 36, .82) 0%, rgba(5, 14, 36, .55) 55%, rgba(5, 14, 36, 0) 100%),
    linear-gradient(180deg, rgba(5, 14, 36, .25) 0%, rgba(5, 14, 36, 0) 30%, rgba(5, 14, 36, .2) 100%);
}

.hero-content {
  text-align: center;
  padding: 120px 24px clamp(48px, 6vw, 84px);
  max-width: 980px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .6);
}
.hero h1 span { display: block; }
.hero .line-1 { color: #fff; font-size: clamp(30px, 4.2vw, 58px); letter-spacing: .01em; }
.hero .line-2 {
  font-size: clamp(34px, 4.8vw, 66px);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55));
}
.hero-rule {
  display: block;
  width: 240px;
  height: 2px;
  margin: 18px auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}
.hero-sub {
  margin: 0 0 34px;
  color: #f3f5fb;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.hero-ctas { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn .arrow { font-size: 20px; line-height: 1; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold {
  border: 0;
  background: var(--gold-btn);
  color: var(--navy-900);
  box-shadow: 0 6px 22px rgba(212, 165, 72, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 165, 72, .6); }
.btn-outline {
  border: 2px solid var(--gold-500);
  background: rgba(6, 17, 40, .65);
  color: #fff;
}
.btn-outline:hover { background: var(--gold-500); color: var(--navy-900); }
.btn.full { width: 100%; }

.hero-edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-300) 50%, var(--gold-500) 80%, transparent);
  box-shadow: 0 0 18px rgba(242, 212, 138, .8);
}

/* ================= PILLARS ================= */
.pillars {
  padding: 34px 24px 46px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f2f5 100%);
}
.section-title {
  margin: 0 auto 26px;
  max-width: 1420px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  color: var(--ink);
  text-align: center;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.section-title::after { background: linear-gradient(90deg, var(--gold-500), transparent); }

.pillar-grid {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar {
  --pos: 0% 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px 18px;
  min-height: 200px;
  border: 1.5px solid #e3c88a;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .78) 100%),
    url("../assets/hero.jpg") var(--pos) / 320% auto no-repeat;
  box-shadow: 0 8px 22px rgba(13, 27, 58, .08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(13, 27, 58, .18); border-color: var(--gold-500); }
.pillar:hover::after { transform: translateX(120%); }

.pillar-capital  { --pos: 2% 18%; }
.pillar-realty   { --pos: 92% 22%; }
.pillar-green    { --pos: 8% 78%; }
.pillar-services { --pos: 96% 86%; }

.pillar-icon { width: 62px; height: 62px; margin-bottom: 4px; }
.pillar-icon svg { width: 100%; height: 100%; fill: var(--gold-500); }
.pillar-capital .pillar-icon path[fill="none"] { stroke: #c08f35; }
.pillar-realty .pillar-icon .win { fill: #fff6dc; }
.pillar-icon .recycle { fill: var(--green); stroke: var(--green); }

.pillar h3 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 29px);
  color: var(--ink);
  letter-spacing: .01em;
}
.pillar p {
  margin: 0 0 16px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.2;
  color: #1d2742;
}
.pillar-go {
  margin-top: auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-btn);
  box-shadow: 0 3px 10px rgba(192, 143, 53, .45);
  display: grid;
  place-items: center;
  transition: transform .25s;
}
.pillar-go::before {
  content: "";
  width: 8px; height: 8px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateX(-2px) rotate(-45deg);
}
.pillar:hover .pillar-go { transform: translateX(4px); }

/* ================= TAGLINE BAND ================= */
.tagline-band {
  position: relative;
  padding: 26px 24px;
  background: linear-gradient(180deg, #0b1b3d 0%, #061128 100%);
  overflow: hidden;
}
.tagline-band::before,
.tagline-band::after {
  content: "";
  position: absolute;
  bottom: -40px;
  width: 340px;
  height: 120px;
  border-top: 10px solid var(--gold-500);
  border-radius: 50%;
  opacity: .9;
}
.tagline-band::before { left: -150px; transform: rotate(14deg); }
.tagline-band::after { right: -150px; transform: rotate(-14deg); }
.tagline-band p {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  font-size: clamp(19px, 2.1vw, 30px);
  text-align: center;
}
.tagline-band .rule { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.tagline-band .rule:last-child { background: linear-gradient(90deg, var(--gold-500), transparent); }

/* ================= GENERIC SECTION TYPE ================= */
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow.light { color: var(--gold-300); }
.heading {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.18;
  color: var(--ink);
}
.heading.light { color: #fff; }
.center { text-align: center; }
.lead { font-size: 22px; color: var(--ink); }
.muted { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }

/* ================= ABOUT ================= */
.about { padding: 100px 0 90px; background: var(--paper); }
.about-media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: url("../assets/hero.jpg") 50% 50% / 200% auto no-repeat;
  box-shadow: 0 24px 50px rgba(13, 27, 58, .25), 0 0 0 1px rgba(212, 165, 72, .5);
  position: relative;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold-500);
  border-radius: 14px;
  z-index: -1;
}

.values {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.value {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border-top: 3px solid var(--gold-500);
}
.value h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.value p { margin: 0; font-size: 17px; color: var(--text); }

.stats {
  margin-top: 60px;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 14px;
  background: linear-gradient(180deg, #0b1b3d, #061128);
  box-shadow: 0 20px 40px rgba(6, 17, 40, .25);
}
.stat { text-align: center; padding: 6px 10px; border-right: 1px solid rgba(212, 165, 72, .25); }
.stat:last-child { border-right: 0; }
.stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: #cfd5e4; font-size: 17px; }

/* ================= BUSINESS DETAIL ================= */
.biz-detail { padding: 90px 0; background: var(--paper-2); }
.biz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 70px;
}
.biz.reverse .biz-img { order: 2; }
.biz-img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: url("../assets/hero.jpg") var(--pos, 0 0) / 260% auto no-repeat;
  box-shadow: 0 20px 44px rgba(13, 27, 58, .2), 0 0 0 1px rgba(212, 165, 72, .45);
}
.img-capital  { --pos: 0% 8%; }
.img-realty   { --pos: 96% 18%; }
.img-green    { --pos: 4% 86%; }
.img-services { --pos: 100% 90%; }

.biz-body h3 { margin: 0; font-family: var(--font-display); font-size: 34px; color: var(--ink); }
.biz-sub { margin: 2px 0 14px; font-style: italic; color: var(--gold-700); font-size: 21px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-btn);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(.45em + 3px);
  width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ================= VISION ================= */
.vision {
  position: relative;
  padding: 110px 0;
  background: url("../assets/hero.jpg") center / cover fixed;
  isolation: isolate;
}
.vision-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 17, 40, .92), rgba(6, 17, 40, .86));
}
.vision .heading { max-width: 900px; margin-inline: auto; }
.vm-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-card {
  padding: 32px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(212, 165, 72, .4);
  backdrop-filter: blur(4px);
  color: #dfe4f0;
  transition: transform .3s, border-color .3s;
}
.vm-card:hover { transform: translateY(-4px); border-color: var(--gold-300); }
.vm-card h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vm-card p { margin: 0; }

/* ================= CONTACT ================= */
.contact { padding: 100px 0; background: var(--paper); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; font-size: 20px; color: var(--ink); }
.contact-list a:hover { color: var(--gold-700); }
.ci {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  font-size: 17px;
}

.contact-form,
#loginForm { display: grid; gap: 16px; }
.contact-form {
  padding: 34px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid #ecdcb3;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: grid;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d9e2;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 165, 72, .25);
}
.invalid { border-color: #c0392b !important; }
.form-note { margin: 0; font-size: 17px; min-height: 1.2em; }
.form-note.ok { color: #1e7a3c; }
.form-note.err { color: #b03a2e; }

/* ================= FOOTER ================= */
.site-footer { background: var(--navy-900); color: #c7cde0; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.brand.small .brand-name { font-size: 36px; }
.site-footer h5 {
  margin: 4px 0 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer .muted { color: #8a93ab; margin-top: 14px; }
.footer-bottom {
  padding: 18px 24px;
  text-align: center;
  font-size: 15px;
  color: #8a93ab;
  border-top: 1px solid rgba(212, 165, 72, .25);
}

/* ================= MODAL ================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 10, 26, .75); backdrop-filter: blur(4px); }
.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 36px 32px 28px;
  border-radius: 16px;
  background: #fff;
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  transform: translateY(14px);
  transition: transform .25s;
}
.modal.open .modal-card { transform: none; }
.modal-card h3 { margin: 0; font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.modal-card .muted { margin: 4px 0 20px; }
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
}
.modal-close:hover { color: var(--ink); }

/* ================= REVEAL ON SCROLL ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1280px) {
  .header-inner { gap: 20px; }
  .brand-name { font-size: 38px; }
  .brand-mark { width: 52px; height: 52px; }
  .nav-link { font-size: 19px; padding: 8px 12px; }
  .header-divider { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .brand-name { font-size: 34px; }
  .brand-tag { font-size: 9px; }
  .brand-mark { width: 46px; height: 46px; }

  .nav-toggle {
    display: grid;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid rgba(212, 165, 72, .5);
    border-radius: 8px;
    background: none;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-300); transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 16px 20px 24px;
    background: #0a1a3a;
    border-bottom: 1px solid rgba(212, 165, 72, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 16px; }
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, .04);
    margin: 4px 0 8px;
  }
  .has-drop:hover .dropdown { display: none; }
  .has-drop.open .dropdown { display: block; }
  .btn-login { padding: 8px 16px; font-size: 16px; }
  .btn-login { margin-left: auto; }
  .nav-toggle { margin-left: 0; }

  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .two-col, .biz { grid-template-columns: 1fr; gap: 36px; }
  .biz.reverse .biz-img { order: 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .vision { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  .header-inner { width: calc(100% - 32px); gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 28px; }
  .brand-tag { display: none; }
  .btn-login { padding: 8px 12px; font-size: 0; gap: 0; }
  .btn-login svg { width: 20px; height: 20px; }

  .hero-content { padding: 90px 16px 60px; }
  .hero-overlay { background: radial-gradient(ellipse 90% 45% at 50% 55%, rgba(5, 14, 36, .85) 0%, rgba(5, 14, 36, .5) 70%, rgba(5, 14, 36, .15) 100%); }
  .hide-sm { display: none; }
  .btn { padding: 13px 22px; font-size: 13px; }

  .pillars { padding: 28px 16px 36px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .section-title { gap: 12px; }

  .tagline-band p { gap: 10px; }
  .tagline-band .rule { display: none; }
  .tagline-band::before, .tagline-band::after { width: 200px; left: -130px; }
  .tagline-band::after { left: auto; right: -130px; }

  .container { width: calc(100% - 32px); }
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .value h4 { overflow-wrap: anywhere; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(212, 165, 72, .25); padding-bottom: 16px; margin-bottom: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .about-media::after { inset: 10px -8px -10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
