:root {
  --green: #92c230;
  --green-deep: #5f8a12;
  --green-soft: #f3f9e4;
  --navy: #0f2147;
  --navy-2: #17315f;
  --ink: #243044;
  --muted: #5c6778;
  --line: #e4ebf3;
  --soft: #f4f7fb;
  --white: #ffffff;
  --danger: #b42318;
  --title: "Fira Sans", sans-serif;
  --text: "Barlow", sans-serif;
  --jost: "Jost", sans-serif;
  --shadow: 0 16px 40px rgba(15, 33, 71, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--muted);
  background: var(--white);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--title);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 700;
}
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; min-width: 0; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; color: #fff; }

.topbar {
  background: var(--green);
  color: var(--navy);
  font-family: var(--jost);
  font-size: 14px;
  font-weight: 600;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar p { margin: 0; }
.topbar a { color: var(--navy); border-bottom: 1px solid transparent; }
.topbar a:hover { border-bottom-color: var(--navy); color: var(--navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 33, 71, 0.06);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav { margin-left: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 46px; height: 52px; }
.brand-name {
  display: block;
  font-family: var(--title);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1;
  color: var(--navy);
}
.brand-name span { color: var(--green-deep); }
.brand-tag {
  display: block;
  margin-top: 4px;
  font-family: var(--jost);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #6d788a;
}
.header-tools { display: flex; align-items: center; gap: 14px; }
.nav { display: flex; align-items: center; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: block;
  padding: 10px 11px;
  color: var(--navy);
  font-family: var(--jost);
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
.nav a.active, .nav a:hover { color: var(--green-deep); }
.nav a.active:after, .nav a:hover:after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--green);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-quote { display: none; }
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before, .nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy);
  border: 2px solid var(--green);
  border-radius: 5px;
  padding: 15px 26px;
  font-family: var(--jost);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: #fff; color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.btn-wide { width: 100%; }

.hero {
  position: relative;
  min-height: 680px;
  display: block;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,33,71,.86) 0%, rgba(15,33,71,.55) 42%, rgba(15,33,71,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  max-width: 680px;
  padding: 88px 0;
  box-sizing: border-box;
}
.hero h1, .hero .lead { max-width: 100%; }
.hero h1 { color: #fff; font-size: clamp(42px, 5vw, 64px); margin-bottom: 16px; }
.hero .lead { color: rgba(255,255,255,.92); font-size: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--green-deep);
  font-family: var(--jost);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
}
.eyebrow.light { color: #d7f09a; }
.eyebrow.light:before { background: #d7f09a; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow:after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
}

.section { padding: 90px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head h2, .why h2, .intro-copy h2 { font-size: clamp(32px, 4vw, 44px); }
.light h2, .light .eyebrow { color: #fff; }
.light .eyebrow:before, .light .eyebrow:after { background: #d7f09a; }
.narrow { max-width: 720px; }
.center.narrow { margin-left: auto; margin-right: auto; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.75fr;
  gap: 36px;
  align-items: center;
}
.intro-photo img, .why-photo img, .story-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}
.checks { list-style: none; margin: 18px 0 26px; }
.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink);
}
.checks li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.2 11.4 13 4.6' fill='none' stroke='%230F2147' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.stat-stack { display: grid; gap: 16px; }
.stat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat-card h3 { margin: 0 0 2px; font-size: 18px; }
.stat-card p { margin: 0; font-size: 15px; }
.ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #e6edf5 0);
  flex: 0 0 auto;
}
.ring span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: var(--title);
  font-weight: 700;
  font-size: 18px;
}

.service-band { background: var(--navy); color: rgba(255,255,255,.84); }
.service-grid, .card-grid, .price-grid, .team-grid, .project-grid, .news-grid, .value-grid {
  display: grid;
  gap: 22px;
}
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .info-card, .price-card, .team-card, .project-card, .news-card, .quote-card, .value-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
  padding: 32px 22px 28px;
  box-shadow: none;
  transition: 0.25s ease;
}
.service-card:hover { background: var(--green); color: var(--navy); transform: translateY(-6px); }
.service-card h3 { color: inherit; font-size: 22px; }
.service-card p { color: inherit; margin: 0; font-size: 16px; }
.icon-bubble {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(146, 194, 48, 0.16);
  color: var(--green);
}
.service-card:hover .icon-bubble { background: rgba(15,33,71,.12); color: var(--navy); }
.icon-bubble svg { width: 34px; height: 34px; }

.promo { display: grid; grid-template-columns: 1.15fr 0.85fr; background: var(--green); color: var(--navy); }
.promo-copy { padding: 72px 7vw; }
.promo h2 { font-size: clamp(32px, 4vw, 46px); }
.promo p { color: var(--navy); }
.promo-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.offer {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.offer img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 4px solid var(--green-soft); }
.offer h3 { margin-bottom: 6px; font-size: 22px; }
.offer p { margin: 0; }
.text-link { font-family: var(--jost); font-weight: 700; }

.why { background: var(--soft) radial-gradient(#d5deea 1.1px, transparent 1.2px); background-size: auto, 18px 18px; }
.why-grid, .split, .quote-grid, .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-points { display: grid; gap: 14px; margin-top: 18px; }
.why-point { background: #fff; border-radius: 12px; padding: 16px 18px; border-left: 4px solid var(--green); }
.why-point h3 { font-size: 18px; margin-bottom: 4px; }
.why-point p { margin: 0; }

.band-soft { background: var(--soft); }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { padding: 34px 28px 28px; position: relative; border: 1px solid var(--line); }
.price-card .plan-name { font-family: var(--jost); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--green-deep); }
.price { font-family: var(--title); font-size: 52px; color: var(--navy); line-height: 1; margin: 10px 0; }
.price span { font-size: 16px; color: var(--muted); font-family: var(--text); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.price-card li:before { content: "✓"; position: absolute; left: 0; color: var(--green-deep); font-weight: 700; }
.price-card.featured {
  background: var(--green);
  color: var(--navy);
  transform: translateY(-18px);
  border-color: var(--green);
}
.price-card.featured .plan-name, .price-card.featured .price, .price-card.featured h3, .price-card.featured li { color: var(--navy); }
.price-card.featured li { border-bottom-color: rgba(15,33,71,.15); }
.price-card.featured li:before { color: var(--navy); }
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--navy);
  color: #fff;
  font-family: var(--jost);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.fine { font-size: 15px; margin-top: 22px; }

.cta {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: url("../images/friends.jpg") center / cover no-repeat;
}
.cta:before { content: ""; position: absolute; inset: 0; background: rgba(15, 33, 71, 0.78); }
.cta .container { position: relative; z-index: 1; padding: 70px 0; }
.cta h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); max-width: 760px; margin: 18px auto; }
.cta p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 22px; }
.round-link {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: var(--navy);
  margin-bottom: 8px;
}
.round-link svg { width: 26px; height: 26px; }

.quote-panel {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.quote-photo { position: relative; }
.quote-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 180px 180px 28px 28px;
}
.quote-photo:after {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 22px;
  border: 3px solid var(--green);
  border-radius: 180px 180px 28px 28px;
  z-index: -1;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d5deea;
  background: #fff;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(146,194,48,.25); }
.field .error-text { display: none; color: var(--danger); font-size: 13px; margin-top: 5px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field.error .error-text { display: block; }
.check-field { display: flex; gap: 10px; align-items: flex-start; }
.check-field input { width: auto; margin-top: 6px; }
.check-field label { margin: 0; font-weight: 500; }
.form-success {
  background: var(--green-soft);
  border: 1px solid var(--green);
  color: var(--navy);
  border-radius: 8px;
  padding: 18px 16px;
  font-family: var(--title);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
}
.form-note { font-size: 14px; }
.is-hidden { display: none !important; }

.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card div { padding: 22px; }
.news-card h3 { font-size: 22px; }
.tag {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: var(--jost);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr .9fr; gap: 32px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(255,255,255,.7); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--green); }
.footer-about { margin: 16px 0; }
.social { display: flex; gap: 10px; list-style: none; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.social a:hover { background: var(--green); color: var(--navy); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  font-size: 15px;
}
.footer-mail { color: #fff; font-weight: 600; }

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,33,71,.88), rgba(15,33,71,.55)); }
.page-hero .container { position: relative; z-index: 1; padding: 54px 0 36px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 54px); }
.crumbs { color: rgba(255,255,255,.84); margin: 0; }
.crumbs a { color: #fff; }

.prose h2 { font-size: 30px; margin-top: 28px; }
.prose h3 { font-size: 22px; margin-top: 22px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.toc {
  position: sticky;
  top: 110px;
  background: var(--soft);
  border-radius: 12px;
  padding: 18px;
}
.toc h2 { font-size: 16px; }
.toc a { display: block; font-size: 15px; padding: 5px 0; color: var(--navy); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.info-card, .value-card { padding: 26px; }
.value-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card { overflow: hidden; }
.team-card img { width: 100%; height: 320px; object-fit: cover; object-position: center top; }
.team-card div { padding: 20px 20px 24px; }
.role { color: var(--green-deep); font-family: var(--jost); font-weight: 700; margin-bottom: 8px; }
.project-grid { grid-template-columns: 1fr 1fr; }
.project-card { overflow: hidden; }
.project-card img { width: 100%; height: 240px; object-fit: cover; }
.project-card div { padding: 22px 24px 26px; }
.quote-card { padding: 26px; }
.quote-card p { color: var(--ink); font-size: 17px; }
.person { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; color: var(--navy); }
.steps { counter-reset: step; list-style: none; }
.steps li {
  position: relative;
  padding: 0 0 18px 68px;
  margin-bottom: 8px;
}
.steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  font-family: var(--title);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.notice {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--navy);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #fff;
  }
  .header-inner { position: relative; padding-right: 58px; }
  .header-cta { display: none; }
  .nav-quote { display: list-item; }
  .header-inner, .topbar-inner, .brand, .intro-grid > *, .split > *, .why-grid > *, .quote-grid > *, .story-grid > *, .offer, .footer-grid > * { min-width: 0; }
  .header-inner { position: relative; }
  .nav { margin-left: 0; }
  .header-tools { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 16px 30px rgba(15,33,71,.12);
    padding: 10px 20px 18px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 12px 4px; }
  .nav a.active:after, .nav a:hover:after { display: none; }
  .intro-grid, .service-grid, .price-grid, .footer-grid, .news-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 800px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .intro-grid, .promo, .offer-grid, .why-grid, .split, .quote-grid, .story-grid,
  .service-grid, .price-grid, .footer-grid, .news-grid, .card-grid, .team-grid,
  .project-grid, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 560px; }
  .quote-photo img { height: 380px; border-radius: 28px; }
  .quote-photo:after { display: none; }
  .intro-photo img, .why-photo img { height: 280px; }
  .brand-name { font-size: 20px; }
  .brand img { width: 38px; height: 43px; }
  .header-cta { display: none; }
  .nav-quote { display: list-item; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 40px; }
}
