/* ========== Design tokens ========== */
:root {
  --navy-900: #0d2438;
  --navy-800: #123350;
  --navy-700: #17395c;
  --navy-600: #1f4a75;
  --blue-500: #2b74a8;
  --blue-400: #3f8fc4;
  --green-600: #1e7c3e;
  --green-500: #2f9e52;
  --green-400: #4cb469;
  --ink: #1c2b38;
  --ink-soft: #51667a;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-tint-green: #eaf6ee;
  --border: #e2e8ee;
  --shadow: 0 10px 30px -12px rgba(13, 36, 56, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(13, 36, 56, 0.15);
  --radius-lg: 22px;
  --radius-md: 14px;
  --font-head: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy-700);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5em; }

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-700);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ========== Eyebrows ========== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--green-600);
  margin-bottom: 0.9em;
}
.eyebrow-blue { color: var(--blue-500); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* backdrop-filter lives on a pseudo-element, not .site-header itself —
   filter/backdrop-filter on an ancestor creates a containing block for
   position:fixed descendants (the mobile nav panel), which breaks its
   full-viewport inset. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-700);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--navy-700); }
.main-nav a.nav-cta {
  background: var(--green-500);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
}
.main-nav a.nav-cta:hover { background: var(--green-600); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-700);
  border-radius: 2px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-block { width: 100%; }

/* ========== Hero ========== */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(43,116,168,0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(47,158,82,0.10), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--navy-800);
  font-weight: 500;
}
.hero-sub { color: var(--ink-soft); font-size: 1.02rem; }
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 1.6em;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media-glow {
  position: absolute;
  inset: -8%;
  background: linear-gradient(135deg, rgba(43,116,168,0.25), rgba(47,158,82,0.25));
  filter: blur(50px);
  border-radius: 50%;
  z-index: 0;
}
.hero-img {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 30px 60px -20px rgba(13,36,56,0.35);
  border: 6px solid #fff;
}

/* ========== Vision band ========== */
.vision-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.vision-quote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto 0.6em;
  line-height: 1.4;
}
.vision-sub {
  color: var(--green-400);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== Sections ========== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 760px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 2rem;
}

.check-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.check-list li, .risk li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-500);
  font-weight: 700;
}
.risk li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--blue-500);
  border-radius: 50%;
}
.plain-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.plain-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

.risk-list h3 { color: var(--navy-700); }

/* ========== Solution ========== */
.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 2.2rem;
}
.solution-cards {
  display: grid;
  gap: 22px;
}
.rounded-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.pull-quote {
  margin-top: 3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy-700);
  background: var(--bg-tint-green);
  border-left: 4px solid var(--green-500);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ========== Feature cards ========== */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.icon-blue { background: var(--blue-500); }
.icon-green { background: var(--green-500); }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.2rem;
}
.grid-cards .feature-card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ========== Steps ========== */
.steps {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.steps-big {
  gap: 20px;
}
.steps-big li {
  padding: 26px 30px;
  gap: 20px;
}
.steps-big li span:last-child {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.45;
}
.steps-big .step-num {
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
}

/* ========== Closing band ========== */
.closing-band {
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.closing-line {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.3em;
}
.closing-tag { opacity: 0.92; font-weight: 500; }

/* ========== Contact ========== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.contact-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 12px;
  font-weight: 500;
  color: var(--navy-800);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-700);
}
.form-row .optional { font-weight: 400; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.form-status {
  min-height: 1.2em;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.form-status.success { color: var(--green-600); }
.form-status.error { color: #b3261e; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-900);
  color: #cfe0ee;
  padding: 44px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { color: #fff; display: block; }
.footer-tag { font-size: 0.82rem; color: #90a9c0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #cfe0ee; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  padding: 18px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #7d94aa;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero-inner, .solution-grid, .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .hero-img { max-width: 320px; margin: 0 auto; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .grid-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
