:root {
  --navy: #08213f;
  --navy-2: #12345d;
  --green: #09b83e;
  --green-dark: #078d31;
  --gold: #c59a37;
  --ink: #132033;
  --muted: #627184;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(8, 33, 63, 0.1);
  --shadow-soft: 0 10px 26px rgba(8, 33, 63, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background: #f7fafc;
}

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

img,
svg {
  max-width: 100%;
}

figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 230, 238, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(310px, 42vw);
  min-width: 190px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.nav-cta {
  padding: 10px 18px !important;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: auto;
  padding: clamp(30px, 4vw, 54px) clamp(20px, 6vw, 80px) clamp(34px, 4.5vw, 62px);
  background:
    radial-gradient(circle at 78% 18%, rgba(9, 184, 62, 0.16), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(197, 154, 55, 0.1), transparent 22%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 54%, #eef7f3 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 18px;
}

.button {
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary,
.button.line {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 32px rgba(9, 184, 62, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 22px 0 0;
}

.hero-stats div {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.pdf-card,
.pdf-showcase {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(197, 154, 55, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pdf-card img,
.pdf-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  margin: 0 0 0 auto;
  padding: 24px 18px;
  background: var(--navy);
  border: 12px solid #0d1726;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 90px;
  height: 6px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.chat {
  width: fit-content;
  max-width: 86%;
  margin-bottom: 16px;
  padding: 12px 14px;
  font-weight: 800;
  line-height: 1.45;
  border-radius: 18px;
}

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

.chat-out {
  margin-left: auto;
  color: var(--white);
  background: var(--green);
}

.task-stack {
  position: absolute;
  z-index: 3;
  right: clamp(0px, 2vw, 40px);
  bottom: 0;
  display: grid;
  gap: 10px;
  width: min(280px, 72%);
}

.task-stack span {
  padding: 12px 16px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(8, 33, 63, 0.1);
}

.section {
  padding: clamp(48px, 7vw, 84px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.problem-showcase,
.flow-showcase {
  width: min(100%, 680px);
  margin: 0 0 24px;
}

.problem-grid,
.area-grid,
.price-grid {
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid article,
.area-grid span {
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.service,
.pricing,
.message {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list div {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list strong {
  color: var(--green-dark);
  font-size: 1.08rem;
}

.service-list span {
  color: var(--navy);
  font-weight: 800;
}

.service-image {
  margin-top: 8px;
  width: min(100%, 360px);
  justify-self: end;
}

.area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.area-grid span {
  text-align: center;
}

.price-grid {
  grid-template-columns: repeat(2, minmax(0, 430px));
  align-items: stretch;
}

.price-card {
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border: 3px solid var(--gold);
}

.price-label {
  display: inline-flex;
  padding: 4px 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--green);
  border-radius: 999px;
}

.price {
  margin: 18px 0 22px;
  color: var(--navy);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.price span {
  margin-left: 8px;
  font-size: 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--navy);
  font-weight: 800;
}

.price-card li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 900;
  background: var(--navy);
  border-radius: 50%;
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.flow-list p,
.message p,
.contact-box p {
  color: var(--muted);
}

.message {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(8, 33, 63, 0.96), rgba(8, 33, 63, 0.84)),
    url("/assets/pdf-mission.jpg");
  background-position: center right;
  background-size: cover;
}

.message > div {
  max-width: 860px;
  margin-right: auto;
}

.message h2,
.message p {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.26);
}

.message .eyebrow {
  color: #87f5a8;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-image {
  align-self: stretch;
  max-height: 300px;
}

.contact-image img {
  height: 100%;
  object-fit: contain;
  background: var(--white);
}

.contact-box code {
  padding: 2px 6px;
  background: var(--soft);
  border-radius: 6px;
}

.contact-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 36px clamp(20px, 6vw, 80px);
  color: var(--white);
  background: var(--navy);
}

.site-footer p,
.site-footer dl,
.site-footer dd {
  margin: 0;
}

.site-footer dl {
  display: grid;
  gap: 8px;
}

.site-footer div {
  min-width: 0;
}

.site-footer dt {
  color: #b8c7d8;
  font-size: 0.82rem;
}

.site-footer small {
  grid-column: 1 / -1;
  color: #b8c7d8;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .phone {
    margin: 0 auto;
  }

  .problem-grid,
  .area-grid,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-stats,
  .problem-grid,
  .area-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    padding: 12px 10px;
  }

  .hero-stats dt {
    font-size: 0.75rem;
  }

  .hero-stats dd {
    font-size: 0.95rem;
  }

  .hero-visual {
    display: none;
  }

  .task-stack {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-image img {
    height: auto;
  }

  .problem-showcase img,
  .flow-showcase img,
  .service-image img {
    max-height: none;
    object-fit: contain;
  }
}
