/* ============================================================
   VBannaCorp — 2026 neo-editorial UI
   Brand preserved: navy + amber/orange
   Trends used: bento grid, dark-first hero, editorial type pairing,
   warm stone neutrals, glass sticky header, hairline borders,
   restrained motion. No 3D. No neon.
   ============================================================ */

:root {
  --navy: #1a2433;
  --navy-2: #243044;
  --ink: #0e141c;
  --paper: #f7f3ec;
  --cream: #efe8dc;
  --white: #fffcf7;
  --amber: #e57a2e;
  --amber-deep: #c45f18;
  --text: #1c1917;
  --muted: #5a6270;
  --line: rgba(26, 36, 51, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(14, 20, 28, 0.08);
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.sm { padding: 10px 16px; font-size: 13.5px; }
.btn.lg { padding: 16px 26px; font-size: 15.5px; }
.btn-accent { background: var(--amber); color: #fff; }
.btn-accent:hover { background: var(--amber-deep); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--amber-deep);
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

/* ---------- Topbar + Header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.topbar a { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo img { height: 40px; width: auto; }
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy); color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600;
}
.word { font-weight: 700; letter-spacing: 0.14em; font-size: 13px; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav > a, .has-sub > a { color: var(--muted); }
.nav > a:hover, .nav > a.is-active, .has-sub > a:hover { color: var(--text); }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -16px;
  min-width: 280px; padding: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  display: none;
}
.has-sub:hover .submenu { display: grid; }
.submenu a {
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text);
}
.submenu a:hover { background: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
}
.menu-toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--text); margin: 5px auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(229,122,46,.18), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 64px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.lede {
  max-width: 58ch;
  font-size: 17.5px;
  color: rgba(255,255,255,.78);
  font-weight: 300;
}
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 26px;
  backdrop-filter: blur(10px);
}
.panel-kicker {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 16px;
}
.flag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flag-list li {
  display: flex; gap: 10px; align-items: center;
  font-size: 14.5px; color: rgba(255,255,255,.88);
  padding-bottom: 12px; border-bottom: 1px solid var(--line-light);
}
.flag-list li:last-child { border: 0; padding-bottom: 0; }
.panel-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-ink { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.section-head.light h2 { color: #fff; }
.section-head.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(229,122,46,.35);
}
.card-lg { grid-column: span 3; grid-row: span 2; min-height: 320px; background: var(--navy); color: #fff; border-color: transparent; }
.card-lg p { color: rgba(255,255,255,.72); }
.card-lg .text-link { color: var(--amber); }
.card:not(.card-lg) { grid-column: span 3; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream); display: grid; place-items: center; font-size: 20px;
}
.card-lg .icon { background: rgba(255,255,255,.08); }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); flex: 1; }

/* ---------- Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: rgba(255,255,255,.04);
}
.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}
.metric span { color: rgba(255,255,255,.7); font-size: 14.5px; }

/* ---------- Jurisdictions ---------- */
.juris-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.juris {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}
.juris h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
  display: flex; gap: 8px; align-items: center;
}
.juris p { color: var(--muted); font-size: 14.5px; }
.disclaimer {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- CTA + Footer ---------- */
.cta-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta-inner h2 { font-size: 36px; margin: 6px 0 10px; }
.cta-inner p:last-child { color: var(--muted); max-width: 52ch; }

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer-blurb { margin-top: 12px; max-width: 36ch; font-size: 14.5px; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 14px;
}
.site-footer a, .site-footer p { display: block; font-size: 14.5px; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .metrics,
  .juris-grid,
  .footer-grid,
  .cta-inner,
  .section-head.split { grid-template-columns: 1fr; display: grid; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card-lg { grid-column: span 1; grid-row: auto; min-height: 200px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
  }
  .submenu { position: static; display: grid; box-shadow: none; border: 0; padding: 6px 0 6px 12px; }
  .menu-toggle { display: inline-block; }
  .header-actions .btn-ghost { display: none; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 640px) {
  .bento, .metrics { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
}

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.page-hero .lede { color: rgba(255,255,255,.76); max-width: 58ch; font-weight: 300; font-size: 17px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 32px; margin: 40px 0 14px; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.prose strong { color: var(--text); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
table.pricing {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 820px;
}
table.pricing th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
table.pricing td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text);
}
table.pricing tr:last-child td { border-bottom: 0; }
table.pricing td:first-child { font-weight: 600; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 760px;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.compare th { background: var(--navy); color: #fff; font-weight: 500; }
table.compare td:first-child { font-weight: 600; background: var(--cream); width: 18%; }

.note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.note.box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(229,122,46,.35);
  border-color: var(--amber);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: start;
}
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.side-card h3 { font-size: 22px; margin-bottom: 10px; }
.side-card p, .side-card a { color: var(--muted); font-size: 15px; display: block; margin-bottom: 8px; }

@media (max-width: 800px) {
  .form-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Store ---------- */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13.5px;
  color: var(--muted);
}
.chip:hover, .chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

.cat-block { margin-bottom: 48px; }
.cat-block h2 { font-size: 28px; margin-bottom: 8px; }
.cat-block .cat-intro { color: var(--muted); margin-bottom: 18px; max-width: 68ch; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product h3 { font-size: 22px; }
.product p { color: var(--muted); flex: 1; font-size: 14.5px; }
.product .price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}
.product .meta { font-size: 13px; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--amber);
  margin-bottom: 8px;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}
.blog-card .tag {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 600;
}
.blog-card h3 { font-size: 22px; }
.blog-card p { color: var(--muted); flex: 1; }
.blog-card time { font-size: 13px; color: var(--muted); }

.article { max-width: 72ch; }
.article h1 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 12px; }
.article .byline { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.article p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }

.login-wrap { max-width: 440px; margin: 0 auto; }

@media (max-width: 900px) {
  .product-grid, .blog-grid, .steps { grid-template-columns: 1fr; }
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.logo-fallback { display: flex !important; align-items: center; gap: 8px; }
.logo-fallback .mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 17px; font-weight: 600;
}
.logo-fallback .word { font-family: var(--sans); font-weight: 600; letter-spacing: .12em; font-size: 14px; color: var(--navy); }

/* ---------- Legal block (compliance-required, strategy §3.3) ---------- */
.footer-legal {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
}
.footer-legal p { margin-bottom: 10px; }
.footer-legal strong { color: rgba(255,255,255,.78); }
.footer-pdpa { margin-bottom: 0; }

/* ---------- Newsletter strip (blog) ---------- */
.newsletter {
  margin-top: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter h3 { font-size: 24px; }
.newsletter p { color: rgba(255,255,255,.66); font-size: 14.5px; margin-top: 6px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  min-width: 240px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-msg { font-size: 13.5px; margin-top: 10px; color: var(--amber); display: none; }

/* ---------- Form feedback ---------- */
.form-success {
  background: #eef7ee;
  border: 1px solid #bfe0bf;
  color: #23531f;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.form-error {
  background: #fdeeec;
  border: 1px solid #f2c4bd;
  color: #7c2d1e;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.form-error div + div { margin-top: 4px; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Mobile: sticky first column on comparison table ---------- */
@media (max-width: 640px) {
  table.compare td:first-child, table.compare th:first-child {
    position: sticky; left: 0; z-index: 1;
    box-shadow: 1px 0 0 var(--line);
  }
}

/* ---------- Motion restraint ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Multi-step inquiry form (main.js contract) ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.form-steps { margin-bottom: 22px; }
.step.ind {
  padding: 10px 14px; font-size: 13px; font-weight: 500;
  color: var(--muted); opacity: .72;
}
.step.ind.active { color: #fff; background: var(--navy); border-color: var(--navy); opacity: 1; }
.step.ind.done { color: var(--amber-deep); opacity: 1; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.req { color: var(--amber-deep); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
