:root {
  --primary: #0a1f44;
  --accent: #f4b400;
  --white: #ffffff;
  --soft: #f8fafc;
  --ink: #1e293b;
  --muted: #64748b;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 18px 45px rgba(10, 31, 68, 0.08);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { color: var(--primary); font-size: 18px; }
.brand-copy small {
  color: rgba(10, 31, 68, 0.58);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}
.brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.brand-logo .custom-logo {
  width: auto;
  max-height: 84px;
}
.theme-logo-image {
  width: auto;
  max-height: 84px;
}
.primary-nav { display: flex; align-items: center; gap: 28px; }
.ledgerhives-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ledgerhives-nav-list a {
  color: rgba(10, 31, 68, 0.82);
  transition: color 0.25s ease;
}
.ledgerhives-nav-list a:hover,
.footer-links a:hover { color: var(--accent); }
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.btn-outline {
  border: 1px solid rgba(10, 31, 68, 0.16);
  background: var(--white);
  color: var(--primary);
}

.section { padding: 88px 0; }
.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.section-tag { color: var(--accent); }
.section h2,
.generic-article h1 {
  margin: 18px 0 0;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}
.section-intro,
.about-intro p,
.generic-article,
.entry-content { color: var(--muted); }

.hero {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(244, 180, 0, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(10, 31, 68, 1) 0%, rgba(16, 42, 92, 1) 60%, rgba(10, 31, 68, 0.92) 100%);
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 88px);
  padding: 72px 0;
}
.hero-copy h1 {
  margin: 22px 0 0;
  font-size: clamp(2.75rem, 6vw, 4.6rem);
  line-height: 1.05;
}
.hero-copy > p {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(226, 232, 240, 0.95);
  font-size: 18px;
}
.eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}
.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-actions { margin-top: 32px; }
.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 20px;
  color: rgba(226, 232, 240, 0.92);
}
.hero-points li::before,
.bullet-item span {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.hero-points li::before { top: 9px; }
.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hero-card img { border-radius: 24px; }
.hero-stats {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}
.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
}
.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 14px;
}

.services-section,
.testimonials-section,
.contact-section { background: var(--soft); }
.page-shell { background: var(--white); }
.page-hero {
  padding: 110px 0 70px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(244, 180, 0, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(10, 31, 68, 1) 0%, rgba(16, 42, 92, 1) 60%, rgba(10, 31, 68, 0.92) 100%);
}
.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.1;
}
.page-hero p {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 18px;
}
.services-grid,
.pricing-grid,
.testimonials-grid,
.team-grid,
.contact-cards {
  display: grid;
  gap: 24px;
}
.section-action {
  margin-top: 32px;
}
.homepage-preview-section .section-intro {
  max-width: 760px;
}
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 48px;
}
.service-card,
.testimonial-card,
.contact-cards article,
.generic-article,
.contact-form,
.mini-panel,
.bullet-panel,
.about-panels article,
.team-card,
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.service-card { padding: 28px; }
.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
}
.service-card h3,
.testimonial-card h3,
.about-panels h3,
.team-copy h3,
.contact-cards h3 {
  margin: 22px 0 0;
  color: var(--primary);
}
.service-card p,
.pricing-card p,
.testimonial-card p,
.about-panels p,
.team-copy p,
.contact-cards p { color: var(--muted); }
.service-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
}
.services-stack {
  display: grid;
  gap: 24px;
}
.service-detail-card {
  display: grid;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}
.service-detail-card h2 {
  margin: 0;
  font-size: 2rem;
}
.service-detail-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  gap: 36px;
  align-items: center;
}
.mini-panels {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.mini-panel { padding: 24px; }
.mini-panel.dark {
  background: var(--primary);
  color: var(--white);
}
.mini-panel.dark h3,
.mini-panel.dark p { color: var(--white); }
.bullet-panel { padding: 28px; }
.bullet-item {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
}
.bullet-item + .bullet-item { margin-top: 14px; }
.bullet-item span {
  position: relative;
  flex: 0 0 10px;
  top: 11px;
}
.bullet-item p { margin: 0; color: #334155; }

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 48px;
}
.pricing-card { padding: 32px; }
.pricing-card.featured {
  background: var(--primary);
  border-color: var(--accent);
}
.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured .plan-name { color: var(--white); }
.pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.plan-name,
.plan-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.plan-name { color: var(--muted); }
.plan-badge {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--primary);
}
.pricing-card h3 {
  margin: 16px 0 0;
  font-size: 34px;
}
.pricing-card ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.pricing-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 20px;
}
.pricing-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.testimonials-grid,
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 48px;
}
.testimonial-card { padding: 28px; }
.quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.testimonial-person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.about-section {
  color: var(--white);
  background: var(--primary);
}
.about-section h2,
.about-section h3,
.about-intro p,
.about-panels p { color: var(--white); }
.about-panels {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}
.about-panels article {
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.about-page-section {
  background: var(--soft);
}
.light-panels article {
  border-color: var(--border);
  background: var(--white);
}
.light-panels h3 {
  color: var(--primary);
}
.light-panels p {
  color: var(--muted);
}
.team-card { overflow: hidden; }
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.team-copy { padding: 24px; }
.role { color: #64748b; font-size: 14px; }

.cta-section { background: var(--white); }
.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(90deg, var(--primary), #12366f, var(--primary));
  color: var(--white);
  box-shadow: var(--shadow);
}
.cta-shell h2 { color: var(--white); }
.cta-shell p { color: rgba(226, 232, 240, 0.92); }

.contact-grid {
  display: grid;
  gap: 28px;
}
.contact-cards {
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.contact-cards article,
.contact-form { padding: 28px; }
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  font: inherit;
}
.form-row {
  display: grid;
  gap: 14px;
}

.site-footer {
  padding: 64px 0 0;
  background: var(--primary);
  color: var(--white);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.site-footer h3,
.site-footer h4 { margin: 0; }
.site-footer p,
.footer-links { color: rgba(226, 232, 240, 0.84); }
.footer-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.footer-links li + li { margin-top: 10px; }
.footer-bottom {
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.generic-page { padding: 72px 0; }
.generic-article { padding: 32px; }
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .about-panels,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split-layout { grid-template-columns: 0.95fr 1.05fr; }
  .about-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 0.92fr 1.08fr; }
  .footer-grid { grid-template-columns: 1.15fr 0.75fr 0.85fr 0.9fr; }
}

@media (max-width: 900px) {
  .mobile-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 16px;
    border-top: 1px solid rgba(10, 31, 68, 0.08);
    background: var(--white);
    box-shadow: 0 18px 45px rgba(10, 31, 68, 0.08);
  }
  .primary-nav.is-open { display: flex; }
  .ledgerhives-nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
  }
  .ledgerhives-nav-list a { color: var(--primary); }
  .nav-cta { width: 100%; }
  .cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-grid {
    min-height: auto;
    padding: 56px 0;
  }
  .hero-copy h1 { font-size: 2.5rem; }
  .container { width: min(1200px, calc(100% - 24px)); }
  .hero-card,
  .service-card,
  .service-detail-card,
  .testimonial-card,
  .pricing-card,
  .contact-form,
  .contact-cards article,
  .team-copy,
  .generic-article {
    padding-left: 22px;
    padding-right: 22px;
  }
}
