:root {
  --primary: #0b065a;
  --secondary: #fcaa23;
  --accent: #4d4d4d;
  --muted: #f7f5e7;
  --soft: #f7f8fb;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  color: #1f2340;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 10px 20px;
  font-size: 14px;
}
.navwrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 30px rgba(11,6,90,.08);
}
.brand img { width: 132px; }
nav { display: flex; gap: 22px; align-items: center; font-weight: 600; color: var(--primary); font-size: 15px; }
nav a:hover { color: var(--secondary); }
.quote, .primary, button {
  background: var(--secondary);
  color: var(--primary);
  border: 0;
  border-radius: 4px;
  padding: 14px 24px;
  font-weight: 800;
  cursor: pointer;
}
.secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  padding: 13px 24px;
  font-weight: 800;
}
.inline { display: inline-block; margin-top: 18px; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 20px 78px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 55px;
}
.hero h1, .page-hero h1 {
  color: var(--primary);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.03;
  margin: 14px 0 22px;
  letter-spacing: 0;
}
.hero p { font-size: 18px; line-height: 1.8; color: var(--accent); max-width: 620px; }
.actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 6px; min-height: 430px; object-fit: cover; box-shadow: 0 30px 70px rgba(11,6,90,.18); }
.metric-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: white;
  border-left: 6px solid var(--secondary);
  padding: 20px 24px;
  box-shadow: 0 22px 45px rgba(0,0,0,.14);
}
.metric-card b { display: block; font-size: 34px; color: var(--primary); }
.metric-card span { color: var(--accent); font-weight: 700; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 14px;
}

.section, .split, .service-list, .contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 20px;
}
.section h2, .split h2, .service-row h2, .cta h2 {
  color: var(--primary);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin: 12px 0 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: white;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 15px 45px rgba(11,6,90,.08);
  border: 1px solid #eef0f6;
}
.card img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 18px; }
.card h3 { color: var(--primary); margin: 0 0 12px; font-size: 21px; }
.card p, .split p, .service-row p, .post-card p, .contact-card p { color: var(--accent); line-height: 1.75; }
.card.center { text-align: center; }
.card.center img { margin-left: auto; margin-right: auto; }
.muted { background: var(--soft); max-width: none; padding-left: max(20px, calc((100vw - var(--max)) / 2)); padding-right: max(20px, calc((100vw - var(--max)) / 2)); }

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.split > img { border-radius: 6px; width: 100%; max-height: 560px; object-fit: cover; }
.checks { columns: 2; padding-left: 20px; color: var(--primary); font-weight: 700; line-height: 2; }
.software { text-align: center; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.logo-row img {
  height: 92px;
  object-fit: contain;
  margin: auto;
  filter: saturate(.95);
}

.page-hero {
  min-height: 310px;
  background: linear-gradient(90deg, rgba(11,6,90,.92), rgba(11,6,90,.72)), url("../public/assets/2025-07/sectionbg.png") center/cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px max(20px, calc((100vw - var(--max)) / 2));
}
.page-hero h1 { color: white; font-size: clamp(40px, 5vw, 64px); }
.page-hero p { color: #f7f5e7; font-weight: 700; }

.service-list { display: grid; gap: 64px; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.service-row.reverse .service-text { order: 2; }
.service-row img {
  height: 365px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}
.post-card {
  display: grid;
  grid-template-columns: .8fr 1fr;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11,6,90,.1);
}
.post-card img { height: 100%; object-fit: cover; }
.post-card div { padding: 42px; }
.post-card h2 { color: var(--primary); margin-top: 0; }

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
}
.contact-card, .contact-form {
  background: white;
  box-shadow: 0 20px 50px rgba(11,6,90,.1);
  border-radius: 6px;
  padding: 38px;
}
.contact-card h2 { color: var(--primary); margin-top: 0; }
.contact-card b, .footer span { display: block; margin: 11px 0; }
.contact-form { display: grid; gap: 16px; }
input, textarea {
  width: 100%;
  border: 1px solid #dfe3ee;
  border-radius: 4px;
  padding: 16px;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }

.cta {
  max-width: var(--max);
  margin: 50px auto 0;
  padding: 56px 20px;
  text-align: center;
  background: var(--muted);
  border-radius: 6px;
}
.cta p { color: var(--accent); margin-bottom: 28px; }

.footer {
  margin-top: 70px;
  background: #f7f5e7;
  color: var(--accent);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 20px;
  display: grid;
  grid-template-columns: 1.35fr .7fr .9fr 1.15fr;
  gap: 32px;
}
.footer h3 { color: var(--primary); margin-top: 0; }
.footer-logo { width: 138px; margin-bottom: 16px; }
.copyright {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .navwrap { flex-wrap: wrap; padding: 14px 20px; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; }
  .hero, .split, .service-row, .contact-section, .post-card { grid-template-columns: 1fr; }
  .service-row.reverse .service-text { order: initial; }
  .cards, .cards.three, .logo-row, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 54px; }
}

@media (max-width: 620px) {
  .quote { display: none; }
  .brand img { width: 110px; }
  nav { gap: 16px; font-size: 14px; }
  .hero h1 { font-size: 42px; }
  .hero-media img, .service-row img { min-height: 0; height: 260px; }
  .metric-card { position: static; margin-top: 16px; }
  .cards, .cards.three, .logo-row, .footer-grid { grid-template-columns: 1fr; }
  .checks { columns: 1; }
  .section, .split, .service-list, .contact-section { padding: 52px 18px; }
  .page-hero { min-height: 250px; }
}
