:root {
  --page: #f8fbf6;
  --surface: #ffffff;
  --surface-soft: #eaf9f0;
  --ink: #132026;
  --muted: #5f6b73;
  --line: #dce8df;
  --teal: #03a84e;
  --teal-dark: #02763a;
  --teal-soft: #dff8e9;
  --coral: #e76f51;
  --gold: #e9c46a;
  --blue: #335c67;
  --green: #03a84e;
  --shadow: 0 18px 46px rgba(20, 32, 38, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 246, 0.92);
  box-shadow: 0 1px 0 rgba(19, 32, 38, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu a {
  color: rgba(19, 32, 38, 0.78);
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--teal);
}

.nav-menu .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(3, 168, 78, 0.28);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.74);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  display: block;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: #f8fbf6;
  background-image:
    linear-gradient(90deg, rgba(248, 251, 246, 0.98) 0%, rgba(248, 251, 246, 0.95) 56%, rgba(223, 248, 233, 0.74) 56%, rgba(255, 250, 239, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(3, 168, 78, 0.055) 0 1px, transparent 1px 78px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 112px max(24px, calc((100vw - var(--max)) / 2)) 84px auto;
  width: min(42vw, 520px);
  z-index: -1;
  border: 1px solid rgba(3, 168, 78, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, rgba(3, 168, 78, 0.12), rgba(233, 196, 106, 0.16));
  box-shadow: 0 28px 70px rgba(3, 118, 58, 0.08);
}

.hero::after {
  content: "X";
  position: absolute;
  right: max(34px, calc((100vw - var(--max)) / 2 + 72px));
  bottom: 78px;
  z-index: -1;
  color: rgba(3, 168, 78, 0.1);
  font-size: clamp(13rem, 30vw, 24rem);
  font-weight: 900;
  line-height: 0.8;
}

.hero-overlay {
  display: none;
}

.hero-content {
  padding: 116px 0 62px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.45rem, 5.6vw, 4.6rem);
  font-weight: 860;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #394851;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal-dark);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(19, 32, 38, 0.14);
  color: var(--ink);
}

.btn-soft:hover,
.btn-soft:focus {
  border-color: rgba(3, 168, 78, 0.42);
  color: var(--teal-dark);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid rgba(19, 32, 38, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #3d4a51;
  font-weight: 700;
  font-size: 0.9rem;
}

.intro-band {
  position: relative;
  margin-top: -34px;
  z-index: 2;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.intro-grid article,
.service-card,
.product-card,
.proof-list article,
.process-grid article,
.seo-box,
.faq-item,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(20, 32, 38, 0.05);
}

.intro-grid article {
  padding: 24px;
}

.mini-icon,
.service-icon,
.process-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--teal-dark);
  font-weight: 850;
  font-size: 0.78rem;
}

.intro-grid h2,
.service-card h3,
.product-card h3,
.process-grid h3 {
  font-size: 1.22rem;
}

.intro-grid p,
.service-card p,
.product-card p,
.process-grid p,
.proof-list span,
.section-heading p,
.story-copy p,
.seo-box p,
.faq-intro p,
.faq-answer p,
.contact-box p,
.site-footer p {
  color: var(--muted);
}

.intro-grid p,
.service-card p,
.product-card p,
.process-grid p,
.proof-list span {
  margin: 10px 0 0;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.story-copy h2,
.seo-box h2,
.faq-intro h2,
.contact-box h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 1.06rem;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 34px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

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

.service-card {
  min-height: 240px;
  padding: 26px;
}

.service-icon {
  background: #fff5ea;
  color: #8f3d28;
}

.service-card:nth-child(2n) .service-icon {
  background: #edf7ff;
  color: var(--blue);
}

.service-card:nth-child(3n) .service-icon {
  background: #eef9f2;
  color: #1e6b4d;
}

.products-section {
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.product-card::before {
  content: "";
  height: 10px;
  position: absolute;
  inset: 0 0 auto;
  background: var(--teal);
}

.educar-card::before {
  background: var(--coral);
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.product-topline span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.educar-card .product-topline span {
  background: #fff1ed;
  color: #9b3c26;
}

.product-card h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  color: #34434b;
}

.clean-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.clean-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
}

.educar-card .clean-list li::before {
  background: var(--coral);
}

.product-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.story-section {
  background: #f0f5f7;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.story-copy p {
  font-size: 1.06rem;
}

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

.proof-list article {
  padding: 22px;
}

.proof-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.proof-list article:nth-child(1) {
  border-left: 5px solid var(--teal);
}

.proof-list article:nth-child(2) {
  border-left: 5px solid var(--gold);
}

.proof-list article:nth-child(3) {
  border-left: 5px solid var(--coral);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  padding: 24px;
  background: #ffffff;
}

.process-grid span {
  background: #edf7ff;
  color: var(--blue);
}

.seo-section {
  padding: 36px 0;
  background: #ffffff;
}

.seo-box {
  padding: 36px;
  box-shadow: none;
}

.seo-box p {
  max-width: 980px;
  margin: 16px 0 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

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

.faq-item {
  box-shadow: none;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-item button span:last-child {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--teal-dark);
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open button span:last-child {
  background: var(--teal);
  color: #fff;
}

.contact-section {
  padding: 36px 0 104px;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box .eyebrow,
.contact-box p {
  color: #fff;
}

.contact-box p {
  opacity: 0.78;
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-actions .btn-soft {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-actions p {
  margin: 8px 0 0;
}

.site-footer {
  padding: 54px 0 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 28px;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom a {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-menu {
    gap: 18px;
  }

  .hero::before {
    inset: 116px 24px 70px auto;
    width: min(38vw, 420px);
  }

  .intro-grid,
  .services-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-heading,
  .story-grid,
  .faq-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 14px;
    border-radius: 8px;
  }

  .nav-menu .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 76svh;
    background-image:
      linear-gradient(180deg, rgba(248, 251, 246, 0.98) 0%, rgba(248, 251, 246, 0.9) 60%, rgba(223, 248, 233, 0.78) 100%),
      repeating-linear-gradient(90deg, rgba(3, 168, 78, 0.055) 0 1px, transparent 1px 70px);
  }

  .hero::before {
    inset: 96px 14px auto auto;
    width: 48vw;
    height: 310px;
    opacity: 0.72;
  }

  .hero::after {
    right: -18px;
    bottom: 178px;
    opacity: 0.7;
  }

  .hero-content {
    padding: 92px 0 42px;
  }

  .hero-actions,
  .hero-points {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-points {
    display: none;
  }

  .hero-points li {
    width: max-content;
    max-width: 100%;
  }

  .intro-band {
    margin-top: 0;
    padding-top: 14px;
  }

  .intro-grid,
  .services-grid,
  .product-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .product-card {
    min-height: auto;
  }

  .seo-box,
  .contact-box {
    padding: 28px;
  }

  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
