/* Legalum Group — legalumgroup.info · Governance & Compliance Operations */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f5f1e8;
  --bg-dark: #0c1f1a;
  --surface: #fffcf7;
  --surface-2: #ebe6da;
  --surface-dark: #142a24;
  --text: #3d4f48;
  --heading: #0c1f1a;
  --muted: #7a8f86;
  --border: #d4cfc3;
  --border-dark: #2a4a40;
  --accent: #1e6b56;
  --accent-2: #c4a35a;
  --accent-hover: #165a48;
  --accent-glow: rgba(30, 107, 86, 0.14);
  --gradient: linear-gradient(125deg, #1e6b56 0%, #2d8a6e 40%, #c4a35a 100%);
  --gradient-dark: linear-gradient(160deg, #0c1f1a 0%, #1a3d32 60%, #0c1f1a 100%);
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --shadow: 0 16px 48px rgba(12, 31, 26, 0.09);
  --shadow-lg: 0 28px 60px rgba(12, 31, 26, 0.14);
  --max: 1140px;
  --header: 80px;
  --font: 'Outfit', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; font-family: var(--font); font-weight: 600; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: .75rem 1rem; z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 31, 26, 0.94);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  color: #f5f1e8; text-decoration: none;
}
.logo em { font-style: normal; color: var(--accent-2); }
.logo__mark { width: 40px; height: 40px; border-radius: 8px; }
.nav-toggle {
  display: none; padding: .55rem .95rem; border: 1px solid var(--border-dark);
  border-radius: var(--radius); background: var(--surface-dark);
  font-family: var(--font); font-weight: 600; font-size: .875rem; color: #e8e4da; cursor: pointer;
}
.nav-main ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; align-items: center;
}
.nav-main a {
  color: #a8bdb5; text-decoration: none; font-weight: 500; font-size: .9rem; transition: color .2s;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--accent-2); }
.nav-main .btn { margin-left: .35rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-main {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-dark); border-bottom: 1px solid var(--border-dark);
    padding: 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
  }
  .nav-main.is-open { display: block; }
  .nav-main ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav-main .btn { margin-left: 0; width: 100%; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .82rem 1.55rem; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: .9rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary {
  background: var(--accent-2); color: var(--bg-dark); border-color: var(--accent-2);
}
.btn--primary:hover { color: var(--bg-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,163,90,.35); }
.btn--outline {
  background: transparent; color: #f5f1e8; border-color: rgba(245,241,232,.35);
}
.btn--outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn--light {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn--light:hover { background: var(--accent-hover); color: #fff; }
.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }

/* Hero — split asymmetric */
.hero {
  position: relative; padding: 4.5rem 0 0; overflow: hidden;
  background: var(--gradient-dark); color: #b8cdc6;
}
.hero__pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: url("../img/bg-pattern.svg") repeat;
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3rem; align-items: end; padding-bottom: 0;
}
.hero__content { padding-bottom: 4rem; }
.hero__tag {
  display: inline-block; padding: .35rem .9rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(196,163,90,.1); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.5rem;
}
.hero h1 { color: #f5f1e8; margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.1rem; max-width: 32rem; margin-bottom: 2rem; color: #8fa89e; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__visual { position: relative; align-self: stretch; }
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid var(--border-dark); border-bottom: none;
  box-shadow: var(--shadow-lg);
}
.hero__ribbon {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--accent); border-top: 3px solid var(--accent-2);
}
.hero__ribbon div {
  padding: 1.35rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero__ribbon div:last-child { border-right: none; }
.hero__ribbon strong {
  display: block; font-family: var(--font-display); font-size: 1.5rem;
  color: #fff; margin-bottom: .2rem;
}
.hero__ribbon span { font-size: .78rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual img { border-radius: var(--radius-lg); border-bottom: 1px solid var(--border-dark); }
  .hero__ribbon { grid-template-columns: repeat(2, 1fr); }
  .hero__ribbon div:nth-child(2) { border-right: none; }
}

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3.5rem;
  padding: 2.25rem 1.5rem; background: var(--surface);
  border-bottom: 1px solid var(--border); font-size: .82rem; font-weight: 600;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}

/* Sections */
.section { padding: 5.5rem 0; }
.section--dark { background: var(--bg-dark); color: #a8bdb5; }
.section--dark h2, .section--dark h3 { color: #f5f1e8; }
.section--cream { background: var(--surface); }
.section__label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .85rem;
}
.section__label::before {
  content: ""; width: 24px; height: 2px; background: var(--accent-2);
}
.section__header { max-width: 38rem; margin-bottom: 3rem; }
.section__header--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__header p { margin-top: .75rem; font-size: 1.05rem; }

/* Bento grid */
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem;
}
.bento__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color .25s, box-shadow .25s;
}
.bento__item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.bento__item--wide { grid-column: span 7; }
.bento__item--narrow { grid-column: span 5; }
.bento__item--half { grid-column: span 6; }
.bento__item--third { grid-column: span 4; }
.bento__item--full { grid-column: span 12; }
.bento__item img { border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid var(--border); }
.bento__num {
  font-family: var(--font-display); font-size: 2.5rem; color: var(--accent-2);
  line-height: 1; margin-bottom: .75rem;
}

@media (max-width: 900px) {
  .bento__item--wide, .bento__item--narrow, .bento__item--half, .bento__item--third { grid-column: span 12; }
}

/* Split block */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media img {
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.split__list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.split__list li {
  position: relative; padding: .65rem 0 .65rem 1.75rem;
  border-bottom: 1px solid var(--border); font-size: .95rem;
}
.split__list li::before {
  content: ""; position: absolute; left: 0; top: 1rem;
  width: 8px; height: 8px; background: var(--accent-2); border-radius: 1px;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
}

/* Cards */
.card-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(30,107,86,.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--accent);
}
.card--media { padding: 0; overflow: hidden; }
.card--media .card__img { aspect-ratio: 5/3; overflow: hidden; }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card--media:hover .card__img img { transform: scale(1.05); }
.card--media .card__body { padding: 1.5rem; }

/* Metrics */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.metric {
  background: var(--surface); padding: 2rem 1.5rem; text-align: center;
}
.metric strong {
  display: block; font-family: var(--font-display); font-size: 2.1rem;
  color: var(--accent); margin-bottom: .35rem;
}
.metric span { font-size: .85rem; color: var(--muted); }

@media (max-width: 700px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* Quote */
.quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem;
}
.quote {
  background: var(--surface-dark); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 2rem; position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: .5rem; left: 1.25rem;
  font-family: var(--font-display); font-size: 3.5rem; color: var(--accent-2); opacity: .4; line-height: 1;
}
.quote p { font-style: italic; color: #c5d5cf; margin-bottom: 1.25rem; padding-top: 1.5rem; }
.quote cite { font-style: normal; font-size: .875rem; }
.quote cite strong { display: block; color: #f5f1e8; font-weight: 600; }

/* CTA */
.cta-panel {
  margin: 0 1.5rem 5rem; max-width: calc(var(--max) - 3rem);
  margin-left: auto; margin-right: auto;
  padding: 3.5rem 3rem; border-radius: var(--radius-xl);
  background: var(--gradient-dark); text-align: center;
  border: 1px solid var(--border-dark); position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--accent-2); opacity: .08;
}
.cta-panel h2 { color: #f5f1e8; margin-bottom: .75rem; position: relative; }
.cta-panel p { max-width: 34rem; margin: 0 auto 1.75rem; color: #8fa89e; position: relative; }

/* Page hero */
.page-head {
  padding: 4rem 0 3rem; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-head__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.page-head h1 { margin-bottom: .75rem; }
.page-head__lead { font-size: 1.1rem; max-width: 36rem; }
.page-head__img img {
  border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (max-width: 800px) {
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__img { order: -1; }
}

/* FAQ */
.faq-stack { max-width: 46rem; }
.faq-entry {
  border-bottom: 1px solid var(--border); padding: 0;
}
.faq-entry summary {
  padding: 1.35rem 0; font-weight: 600; color: var(--heading);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1.05rem;
}
.faq-entry summary::-webkit-details-marker { display: none; }
.faq-entry summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--accent); font-family: var(--font); font-size: 1.1rem;
}
.faq-entry[open] summary::after { content: "-"; background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-entry__body { padding: 0 0 1.35rem; font-size: .95rem; }

/* Contact */
.contact-layout {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start;
}
.info-block {
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1rem;
}
.info-block h3 { font-size: .95rem; margin-bottom: .4rem; }
.info-block p { font-size: .9rem; margin: 0; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; color: var(--heading); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: .95rem;
  background: var(--surface); color: var(--heading);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.form-status { margin-top: .75rem; color: var(--accent); font-size: .9rem; }

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

/* Pricing */
.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.tier {
  padding: 2.25rem 2rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.tier--highlight {
  border-color: var(--accent); box-shadow: var(--shadow);
  position: relative;
}
.tier--highlight::before {
  content: "Recommended"; position: absolute; top: -11px; left: 1.5rem;
  background: var(--accent-2); color: var(--bg-dark);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: var(--radius);
}
.tier .amount { font-family: var(--font-display); font-size: 2.1rem; color: var(--heading); }
.tier .amount small { font-size: .85rem; font-family: var(--font); color: var(--muted); font-weight: 400; }
.tier ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.tier li { padding: .35rem 0 .35rem 1.4rem; position: relative; font-size: .9rem; }
.tier li::before { content: ""; position: absolute; left: 0; top: .65rem; width: 6px; height: 6px; background: var(--accent-2); }

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

/* Team */
.team-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem;
}
.member {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.member__photo {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem;
  overflow: hidden; border: 2px solid var(--accent-2);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member .title { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.member p { font-size: .875rem; }

/* Timeline */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: yr;
}
.timeline__step {
  padding: 1.75rem 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent-2); counter-increment: yr;
}
.timeline__step::before {
  content: counter(yr, decimal-leading-zero);
  display: block; font-size: .72rem; font-weight: 700; color: var(--accent);
  letter-spacing: .08em; margin-bottom: .75rem;
}

@media (max-width: 800px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .timeline { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 42rem; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 2.25rem 0 .85rem; }
.prose h3 { font-size: 1.05rem; margin: 1.5rem 0 .65rem; }
.prose p, .prose li { font-size: .95rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.legal-date { font-size: .85rem; color: var(--muted); margin-bottom: 1.75rem; }

/* Footer */
.site-footer {
  margin-top: auto; background: var(--bg-dark); color: #8fa89e;
  padding: 4rem 0 2rem; border-top: 3px solid var(--accent-2);
}
.footer-cols {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-cols .logo { margin-bottom: .75rem; }
.footer-cols p { font-size: .9rem; max-width: 22rem; }
.footer-cols h4 {
  font-family: var(--font); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); margin-bottom: 1rem;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: .55rem; }
.footer-cols a { color: #8fa89e; text-decoration: none; font-size: .9rem; }
.footer-cols a:hover { color: #f5f1e8; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--border-dark); font-size: .85rem;
}
.footer-addr { font-size: .85rem; line-height: 1.65; margin-top: 1rem; font-style: normal; }

@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr; } }

/* Cookie */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 1.15rem 1.5rem; box-shadow: 0 -10px 40px rgba(12,31,26,.1);
  transform: translateY(110%); transition: transform .35s ease;
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar__row {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.cookie-bar p { flex: 1; margin: 0; font-size: .9rem; min-width: 200px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s, transform .55s; }
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.stagger.is-visible > *:nth-child(1) { transition-delay: .04s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .08s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .12s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .16s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .2s; opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .24s; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
}
