@font-face {
  font-family: "Archivo";
  src: url("FONTS/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("FONTS/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("FONTS/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("FONTS/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #2251FF;
  --ink: #13232E;
  --muted: #5a6470;
  --line: #dde1e6;
  --soft: #f3f4f6;
  --shadow: 0 12px 30px rgba(19, 35, 46, 0.08);
  --white: #FFFFFF;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

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

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

h1,
h2,
h3 {
  font-family: "Archivo", Arial, sans-serif;
  line-height: 1.08;
  margin: 0;
}

.framework-title-line {
  display: block;
}

p {
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  min-height: 68px;
  display: grid;
  grid-template-columns: 190px 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 165px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav-links a,
.nav-trigger {
  position: relative;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.nav-links a::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-trigger:hover {
  color: var(--accent);
}

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

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 310px;
  padding: 10px;
  border: 1px solid rgba(19, 35, 46, 0.12);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: 0 8px 20px rgba(19, 35, 46, 0.08);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(19, 35, 46, 0.08);
  font-weight: 700;
}

.dropdown a:last-child {
  border-bottom: 0;
}

.dropdown span:first-child {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn.dark:hover {
  background: #fff;
  color: var(--ink);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(19, 35, 46, 0.18);
  background: #fff;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 18px 0 24px;
}

.mobile-menu a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(19, 35, 46, 0.08);
  font-weight: 700;
}

.mobile-menu a.simple {
  grid-template-columns: 1fr;
}

.mobile-menu small {
  color: var(--accent);
  font-weight: 700;
}

body.mobile-open .mobile-menu {
  display: block;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--accent);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("IMAGES/GENERATED/magentic_birds_hero.webp") center / cover;
  opacity: 0.86;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 35, 46, 0.82), rgba(34, 81, 255, 0.14));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

.page-hero h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 78px);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.split {
  width: min(var(--max), calc(100% - 40px));
  margin: 84px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.66fr);
  gap: 42px;
  align-items: start;
  min-height: auto;
  background: #fff;
}

.split-content {
  padding: 0;
  display: grid;
  gap: 18px;
}

.split-image {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 4 / 5;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.split-image:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 81, 255, 0.32);
  box-shadow: 0 16px 38px rgba(19, 35, 46, 0.11);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 35, 46, 0.04);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.content-block:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 81, 255, 0.34);
  box-shadow: var(--shadow);
}

.content-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 81, 255, 0.3);
  background: rgba(34, 81, 255, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.content-block h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.content-block p,
.content-block li {
  color: var(--ink);
  font-size: 15px;
}

.content-block ul {
  margin: 0;
  padding-left: 18px;
}

.details-section {
  background: linear-gradient(180deg, #fff, #f7f8fb);
  padding: 90px 0;
  border-top: 1px solid rgba(19, 35, 46, 0.08);
}

.details-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.details-grid h2 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
}

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

.detail-list li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 42px;
  border: 1px solid rgba(19, 35, 46, 0.1);
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 35, 46, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.detail-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 81, 255, 0.32);
  box-shadow: var(--shadow);
}

.framework-band {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.framework-card {
  position: relative;
  background: #fff;
  padding: 30px;
  min-height: 260px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.framework-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.framework-card:hover::after {
  transform: scaleX(1);
}

.framework-card strong {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 42px;
  font-family: "Archivo", Arial, sans-serif;
}

.contact-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #fff, #f7f8fb);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 22px;
}

.contact-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 81, 255, 0.34);
  box-shadow: var(--shadow);
}

.contact-method strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: "Archivo", Arial, sans-serif;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 81, 255, 0.26);
  background: rgba(34, 81, 255, 0.08);
  color: var(--accent);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 81, 255, 0.16);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.success {
  color: var(--accent);
  font-weight: 700;
}

.footer {
  padding: 72px 0 44px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-card {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 58px;
  min-height: 260px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.footer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 81, 255, 0.24);
  box-shadow: var(--shadow);
}

.footer-logo {
  width: 170px;
  margin-bottom: 28px;
}

.footer-label {
  margin-bottom: 4px;
  font-weight: 800;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.45;
}

.footer-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 81, 255, 0.22);
  background: rgba(34, 81, 255, 0.08);
  color: var(--accent);
}

.footer-icon svg,
.socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer small,
.footer p,
.footer a,
.footer span {
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.socials a,
.socials span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.socials a:hover {
  color: var(--accent);
  border-color: rgba(34, 81, 255, 0.28);
  transform: translateY(-2px);
}

.socials a:hover,
.socials span:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-content: start;
  justify-self: end;
  width: min(540px, 100%);
}

.footer-links,
.footer-legal-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-weight: 800;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.footer-links a:hover,
.footer-legal-list a:hover,
.legal a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 1 !important;
  transform: none !important;
  color: var(--ink);
  font-weight: 500;
}

.legal {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .logo {
    width: 142px;
  }

  .nav-actions .btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .split,
  .details-grid,
  .contact-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .split-image {
    position: relative;
    top: auto;
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .footer-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }

  .footer-links {
    justify-self: start;
  }

  .footer-menu {
    justify-self: start;
    width: 100%;
  }
}

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

  .page-hero {
    min-height: 390px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .split {
    width: min(100% - 28px, var(--max));
    margin: 58px auto;
  }

  .content-block {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .socials {
    flex-wrap: wrap;
  }

  .nav-actions .btn {
    padding: 0 10px;
  }
}

@media (max-width: 420px) {
  .container,
  .mobile-menu-inner {
    width: min(100% - 20px, var(--max));
  }

  .nav {
    gap: 6px;
  }

  .logo {
    width: 112px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }
}
