@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bg: #f5f7fb;
  --white: #ffffff;
  --navy: #0b1320;
  --green: #11b67a;
  --blue: #2563eb;
  --soft: #e7edf5;
  --text: #111827;
  --muted: #64748b;
  --line: rgba(11, 19, 32, 0.1);
  --shadow: 0 18px 50px rgba(11, 19, 32, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(11, 19, 32, 0.07);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 248px 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-family: "Sora", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 12px;
  letter-spacing: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  padding: 27px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--green);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--blue);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(11, 19, 32, 0.18);
}

.btn.primary {
  background: var(--green);
}

.btn.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn.light {
  background: var(--white);
  color: var(--navy);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 100;
  width: min(86vw, 380px);
  padding: 26px;
  background: var(--white);
  box-shadow: -18px 0 50px rgba(11, 19, 32, 0.18);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 19, 32, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.mobile-links {
  display: grid;
  gap: 8px;
}

.mobile-links a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-weight: 700;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 26px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero.compact {
  min-height: 470px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 19, 32, 0.9) 0%, rgba(11, 19, 32, 0.62) 42%, rgba(11, 19, 32, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 19, 32, 0.9) 0%, rgba(11, 19, 32, 0.1) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 58px;
}

.hero-content.wide {
  width: min(var(--max), calc(100% - 40px));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(40px, 6vw, 82px);
}

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 19px);
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.metric {
  padding: 22px 22px 0 0;
}

.metric strong {
  display: block;
  color: var(--white);
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section.white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2,
.section-title {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 52px);
}

.section-head p,
.section-copy {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.dark h2,
.dark h3,
.dark .section-title {
  color: var(--white);
}

.dark .section-copy,
.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.dark .editorial-card h3,
.dark .price-card h3,
.dark .editorial-card p,
.dark .price-card p {
  color: var(--text);
}

.dark .price-card .tag,
.dark .editorial-card .tag {
  color: #08774f;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.image-card {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(11, 19, 32, 0.08);
}

.image-card.tall {
  min-height: 520px;
}

.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 19, 32, 0.86), rgba(11, 19, 32, 0.08) 60%);
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--white);
}

.image-card-content h3 {
  color: var(--white);
  font-size: 25px;
}

.image-card-content p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 18px;
}

.stack {
  display: grid;
  gap: 18px;
}

.editorial-card,
.service-card,
.stat-card,
.article-card,
.testimonial-card,
.support-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 19, 32, 0.06);
}

.editorial-card {
  padding: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 182, 122, 0.12);
  color: #08774f;
  font-size: 12px;
  font-weight: 800;
}

.editorial-card h3 {
  margin-top: 18px;
  font-size: clamp(24px, 3vw, 36px);
}

.editorial-card p {
  color: var(--muted);
}

.service-grid,
.stat-grid,
.article-grid,
.support-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.stat-card,
.support-card,
.price-card {
  padding: 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
  font-family: "Sora", Arial, sans-serif;
  font-weight: 800;
}

.service-card h3,
.support-card h3,
.price-card h3 {
  font-size: 22px;
}

.service-card p,
.support-card p,
.price-card p,
.article-card p,
.stat-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-body {
  padding: 22px;
}

.article-body h3 {
  font-size: 23px;
}

.testimonial-shell {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
}

.testimonial-card {
  min-width: calc((100% - 36px) / 3);
  padding: 28px;
}

.quote {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.person {
  margin-top: 24px;
}

.person strong {
  display: block;
  font-family: "Sora", Arial, sans-serif;
}

.person span {
  color: var(--muted);
  font-size: 14px;
}

.slider-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.newsletter h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: min(100%, 460px);
}

.newsletter-form input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 19, 32, 0.92), rgba(11, 19, 32, 0.24));
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 52px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 58px);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 19, 32, 0.06);
}

.contact-form textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-footer {
  padding: 64px 0 30px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid h3,
.footer-grid h4 {
  color: var(--white);
}

.footer-grid h4 {
  margin-bottom: 16px;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .desktop-only,
  .header-actions .cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: 620px;
  }

  .category-grid,
  .service-grid,
  .stat-grid,
  .article-grid,
  .support-grid,
  .price-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-grid,
  .split,
  .contact-layout,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: calc((100% - 18px) / 2);
  }
}

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

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero,
  .hero.compact {
    min-height: 540px;
  }

  .hero-content,
  .hero-content.wide {
    width: min(100% - 28px, var(--max));
    padding: 84px 0 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .metrics,
  .category-grid,
  .service-grid,
  .stat-grid,
  .article-grid,
  .support-grid,
  .price-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .metrics {
    gap: 0;
  }

  .metric {
    padding-top: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .image-card,
  .image-card.tall {
    min-height: 330px;
  }

  .split-media img {
    height: 360px;
  }

  .newsletter,
  .final-cta-content {
    padding: 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .testimonial-card {
    min-width: 100%;
  }

  .footer-bottom {
    display: block;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 11.5px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .icon-btn {
    width: 35px;
    height: 35px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    padding: 0 16px;
  }
}
