/* ============================================================
   NOA Legacy Holdings — styles
   Palette: deep navy, gold accent, warm off-white
   ============================================================ */

:root {
  --navy: #0d1b2a;
  --navy-2: #102a43;
  --navy-3: #1b3a57;
  --gold: #c9a227;
  --gold-soft: #e3c766;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #16202b;
  --muted: #5b6b7a;
  --line: #e4e1d9;
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(13, 27, 42, 0.35);
  --shadow-sm: 0 6px 20px -10px rgba(13, 27, 42, 0.3);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { margin: 0 0 1rem; }
a { color: inherit; }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247, 244, 238, 0.45); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(247, 244, 238, 0.08); }

.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--navy-3); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(247, 244, 238, 0.08);
  transition: background 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(13, 27, 42, 0.98); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: rgba(247, 244, 238, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--cream); background: rgba(247, 244, 238, 0.07); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 120px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(201, 162, 39, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 90%, rgba(27, 58, 87, 0.6), transparent 70%),
    linear-gradient(160deg, #0d1b2a 0%, #102a43 100%);
}
.hero-inner { position: relative; max-width: 820px; }
.hero-title {
  color: var(--cream);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  margin-bottom: 0.5em;
}
.hero-title .accent { color: var(--gold); }
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: rgba(247, 244, 238, 0.8);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
}
.hero-trust li {
  font-size: 0.92rem;
  color: rgba(247, 244, 238, 0.7);
  display: flex;
  flex-direction: column;
}
.hero-trust strong { color: var(--gold); font-size: 1.05rem; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); color: var(--cream); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(247, 244, 238, 0.1);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.86rem; color: rgba(247, 244, 238, 0.72); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--paper); }
.sell { background: linear-gradient(180deg, var(--cream) 0%, #efe9df 100%); }

.section-head { max-width: 700px; margin: 0 0 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-lede { font-size: 1.1rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Markets ---------- */
.markets-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.markets-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.markets-copy > p { color: var(--muted); font-size: 1.05rem; }
.market-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.market-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
  color: var(--ink);
}
.market-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.market-note { font-size: 0.95rem; color: var(--muted); font-style: italic; }

.markets-visual { display: flex; justify-content: center; }
.map-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 360px;
}
.map-svg { width: 100%; height: auto; border-radius: 10px; }
.map-pin-label {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Sell / Lead form ---------- */
.sell-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.sell-benefits { list-style: none; padding: 0; margin: 8px 0 0; }
.sell-benefits li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.sell-benefits li:last-child { border-bottom: 0; }
.sell-benefits .check {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 1px;
}
.sell-benefits strong { color: var(--navy); }
.sell-benefits div { color: var(--muted); }

.lead-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.lead-form h3 { font-size: 1.45rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.field textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; }

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}
.form-status {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.form-status.success { color: #1f7a4d; }
.form-status.error { color: #b3261e; }

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.about-copy .btn { margin-top: 10px; }
.about-values {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.about-values h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 18px; }
.about-values ul { list-style: none; padding: 0; margin: 0; }
.about-values li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
  font-size: 0.96rem;
  color: rgba(247, 244, 238, 0.78);
}
.about-values li:last-child { border-bottom: 0; }
.about-values strong { color: var(--cream); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.25s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: clamp(64px, 9vw, 110px) 0;
}
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }
.contact > .container > .contact-inner > p,
.contact-inner > p { color: rgba(247, 244, 238, 0.8); font-size: 1.1rem; }
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 2.2rem 0;
}
.contact-method {
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.14);
  border-radius: 12px;
  padding: 18px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
a.contact-method:hover { background: rgba(247, 244, 238, 0.1); border-color: var(--gold); }
.cm-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.cm-value { font-size: 1.05rem; color: var(--cream); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #08111c; color: rgba(247, 244, 238, 0.7); padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}
.footer-brand .brand-name { color: var(--cream); font-size: 1.2rem; }
.footer-brand p { margin-top: 12px; max-width: 360px; font-size: 0.92rem; }
.footer-nav h4, .footer-contact h4 {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.footer-nav ul, .footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li, .footer-contact li { margin-bottom: 10px; }
.footer-nav a, .footer-contact a {
  text-decoration: none;
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-fine { max-width: 480px; opacity: 0.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .markets-grid, .about-grid, .sell-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-2);
    border-bottom: 1px solid rgba(247, 244, 238, 0.1);
    padding: 10px 16px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu a { padding: 14px 10px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta a { width: 100%; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(247, 244, 238, 0.1); }
  .stat:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 20px; }
  .hero-trust { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
