:root {
  --ink: #0f172a;
  --navy-deep: #111827;
  --navy: #1b365d;
  --navy-hover: #142947;
  --cream: #f6f4ee;
  --cream-soft: #faf8f3;
  --white: #ffffff;
  --gold: #c59b38;
  --gold-bright: #e5c158;
  --gold-dark: #a67c2e;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --emerald-bg: #ecfdf5;
  --emerald-border: #6ee7b7;
  --emerald-ink: #065f46;
  --rose-bg: #fff1f2;
  --rose-border: #fda4af;
  --rose-ink: #9f1239;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}

code, .font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 155, 56, 0.22);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--cream-soft);
  padding: 4px;
  border: 1px solid rgba(197, 155, 56, 0.45);
  object-fit: contain;
}

.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f8fafc;
  display: block;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: #d6d3d1;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #e7e5e4;
  border-color: rgba(231, 229, 228, 0.28);
}

.btn-outline-light:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--navy);
  border-color: var(--stone-300);
}

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

.btn-whatsapp {
  background: #15803d;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #166534;
  transform: translateY(-1px);
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.25rem;
  background: #0d131f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.6rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: #e7e5e4;
  font-size: 0.92rem;
  padding: 0.4rem 0;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(197, 155, 56, 0.16), transparent 45%),
    linear-gradient(155deg, #0c1220 0%, #111827 52%, #1b365d 100%);
  color: #f8fafc;
  padding: 4.5rem 0 4.8rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(197, 155, 56, 0.14);
  border: 1px solid rgba(229, 193, 88, 0.35);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  line-height: 1.12;
  margin: 1.15rem 0 1rem;
  color: #ffffff;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-lead {
  font-size: 1.03rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-bright);
}

.metric-item span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.hero-card {
  background: rgba(250, 248, 243, 0.97);
  color: var(--ink);
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid rgba(197, 155, 56, 0.45);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
}

.hero-card-logo {
  width: 210px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.hero-card-divider {
  height: 1px;
  background: var(--stone-200);
  margin: 1.1rem 0;
}

.hero-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: var(--stone-700);
}

.hero-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-info-list strong {
  color: var(--navy);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}

.section-dark {
  background: linear-gradient(160deg, #0f172a 0%, #1b365d 100%);
  color: #f8fafc;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-dark .section-kicker {
  color: var(--gold-bright);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin: 0 0 0.75rem;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--stone-600);
  font-size: 0.96rem;
}

.section-dark .section-head p {
  color: #cbd5e1;
}

/* Practice Areas */
.grid-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.15rem;
}

.area-card {
  background: var(--cream-soft);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.area-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.area-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: #eef2f7;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.area-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
  color: var(--navy-deep);
}

.area-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--stone-600);
}

/* Smart Contracts & LegalTech Showcase */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 193, 88, 0.28);
  border-radius: 20px;
  padding: 2rem;
}

.pillar-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0.45rem 0 0.75rem;
}

.pillar-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #e2e8f0;
}

.check-list li::before {
  content: '✓ ';
  color: var(--gold-bright);
  font-weight: 700;
}

.steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.step-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold-bright);
  font-weight: 700;
}

.step-box strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.step-box span {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Public Verifier */
.verifier-card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--emerald-bg);
  color: var(--emerald-ink);
  border: 1px solid var(--emerald-border);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.verif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.dropzone {
  border: 2px dashed var(--stone-300);
  background: var(--cream-soft);
  border-radius: 16px;
  padding: 1.6rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dropzone.dragover,
.dropzone:hover {
  border-color: var(--navy);
  background: #f1efe7;
}

.dropzone strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.dropzone span {
  font-size: 0.78rem;
  color: var(--stone-500);
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.link-upload {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.78rem;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--stone-300);
  background: var(--cream-soft);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--ink);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.json-meta {
  margin-top: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--stone-700);
}

.verif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.verif-result {
  margin-top: 1.35rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--stone-300);
}

.verif-ok {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald-ink);
}

.verif-fail {
  background: var(--rose-bg);
  border-color: var(--rose-border);
  color: var(--rose-ink);
}

.verif-info {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--ink);
}

.verif-result-title {
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.verif-result-desc {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
}

.verif-hashes {
  background: rgba(255, 255, 255, 0.82);
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.76rem;
  display: grid;
  gap: 0.45rem;
  word-break: break-all;
}

.code-sm {
  font-size: 0.68rem;
}

/* Partners / Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.partner-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: var(--cream);
  border: 1px solid var(--stone-200);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.partner-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.28rem;
  color: var(--navy-deep);
}

.partner-mp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: block;
}

.partner-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--stone-600);
}

.compliance-banner {
  margin-top: 1.75rem;
  background: var(--cream-soft);
  border: 1px solid var(--stone-300);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  font-size: 0.84rem;
  color: var(--stone-700);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.contact-box {
  background: var(--navy-deep);
  color: #f8fafc;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-box h3 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  color: #ffffff;
}

.contact-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  font-size: 0.88rem;
}

.contact-items small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 0.15rem;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(197, 155, 56, 0.25);
  font-size: 0.8rem;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 45;
  background: #15803d;
  color: #ffffff;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.38);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #166534;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .verif-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 0.95fr 1.15fr;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-wrap {
    flex-direction: row;
    align-items: center;
  }
}
