:root {
  --blue-950: #071632;
  --blue-900: #0b2d66;
  --blue-800: #113f88;
  --blue-600: #2f7de2;
  --blue-100: #eaf2ff;
  --ink: #0c1730;
  --muted: #66758b;
  --white: #ffffff;
  --black: #030407;
  --olive: #9aa76b;
  --line: rgba(12, 23, 48, 0.12);
  --shadow: 0 26px 80px rgba(7, 22, 50, 0.18);
  --shadow-dark: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f7f9ff;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.section {
  padding: 96px 0;
}

.site-header {
  min-height: 100vh;
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(47, 125, 226, 0.62), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(154, 167, 107, 0.38), transparent 25%),
    linear-gradient(130deg, var(--blue-900) 0%, var(--blue-800) 46%, var(--black) 46.1%, var(--black) 100%);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  z-index: -1;
}

.site-header::before {
  width: 640px;
  height: 640px;
  top: -360px;
  left: -210px;
}

.site-header::after {
  width: 760px;
  height: 760px;
  right: -300px;
  bottom: -370px;
}

.navbar {
  width: min(calc(100% - 36px), var(--max-width));
  height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.brand img {
  width: 78px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 60px;
  align-items: center;
  padding: 42px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.eyebrow.dark {
  color: var(--blue-800);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7.4vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-description {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 18px 34px rgba(47, 125, 226, 0.34);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    var(--white);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -100px -170px auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(47, 125, 226, 0.18);
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 36px;
  border: 1px solid rgba(12, 23, 48, 0.08);
  border-radius: 28px;
  background: #f9fbff;
}

.hero-logo-wrap img {
  width: min(100%, 330px);
  object-fit: contain;
}

.service-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-chips span {
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  font-size: 0.88rem;
}

.quick-bar {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.quick-grid span {
  padding: 22px 16px;
  text-align: center;
  background: var(--black);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title.centered .eyebrow {
  justify-content: center;
}

.section-title h2,
.values-copy h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.about-text,
.about-highlight,
.presentation-panel,
.contact-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-text {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #263653;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-highlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 125, 226, 0.46), transparent 35%),
    linear-gradient(145deg, var(--black), var(--blue-950));
}

.about-highlight img {
  width: 210px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
}

.about-highlight p {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(234, 242, 255, 0.82), rgba(255, 255, 255, 0.95));
}

.services::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  left: -230px;
  top: 90px;
  border: 42px solid rgba(47, 125, 226, 0.08);
  border-radius: 50%;
}

.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
    var(--blue-900);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--black);
}

.service-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 84px rgba(7, 22, 50, 0.25);
}

.service-card span {
  position: absolute;
  top: 24px;
  left: 28px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.38rem;
  line-height: 1.1;
}

.service-card p {
  color: rgba(255, 255, 255, 0.82);
}

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

.values-copy p:last-child {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.values-list {
  display: grid;
  gap: 18px;
}

.value-card {
  padding: 28px;
  border-radius: 24px;
  color: var(--blue-950);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
}

.value-card:nth-child(2) {
  margin-left: 36px;
}

.value-card:nth-child(3) {
  margin-left: 72px;
}

.presentation {
  background:
    linear-gradient(130deg, var(--blue-900), var(--blue-800) 45%, var(--black) 45.2%, var(--black));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.presentation .section-title h2,
.presentation .eyebrow {
  color: var(--white);
}

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.presentation-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-dark);
}

.presentation-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.presentation-image figcaption {
  padding: 16px 22px;
  color: var(--white);
  background: var(--black);
  font-weight: 800;
  text-align: center;
}

.presentation-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: clamp(30px, 4.5vw, 48px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.presentation-panel img {
  width: 240px;
}

.presentation-panel p {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.2;
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 14% 14%, rgba(47, 125, 226, 0.46), transparent 25%),
    linear-gradient(145deg, var(--black), var(--blue-950));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(330px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.contact-copy p:last-child {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.3rem;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.contact-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.contact-item span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-950);
  background: var(--white);
  font-weight: 900;
}

.contact-item small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 1.05rem;
}

.footer {
  padding: 26px 0;
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer img {
  width: 108px;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
}

.footer strong {
  display: block;
  text-align: right;
}

.footer p {
  color: rgba(255, 255, 255, 0.66);
}

.floating-phone,
.top-button {
  position: fixed;
  right: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(7, 22, 50, 0.25);
}

.floating-phone {
  bottom: 22px;
  color: var(--white);
  background: var(--blue-600);
  font-size: 1.35rem;
}

.top-button {
  bottom: 88px;
  border: 0;
  color: var(--blue-950);
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.top-button.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.animated {
  animation: revealUp 0.7s ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    background:
      radial-gradient(circle at 18% 16%, rgba(47, 125, 226, 0.62), transparent 26%),
      linear-gradient(150deg, var(--blue-900) 0%, var(--blue-800) 58%, var(--black) 58.2%, var(--black) 100%);
  }

  .hero,
  .about-grid,
  .values-grid,
  .presentation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 22px;
  }

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

  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    margin-left: 0;
  }

  .presentation-image img {
    min-height: auto;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .navbar {
    height: 82px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 70px;
    height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    inset: 74px 0 auto auto;
    width: min(310px, calc(100vw - 28px));
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(3, 4, 7, 0.96);
    box-shadow: var(--shadow-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    width: 100%;
    padding: 14px 16px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.6rem);
  }

  .hero-card {
    padding: 20px;
    border-radius: 28px;
  }

  .hero-logo-wrap {
    min-height: 250px;
    padding: 24px;
  }

  .quick-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid span {
    padding: 18px 14px;
  }

  .about-text,
  .about-highlight,
  .presentation-panel,
  .contact-card {
    border-radius: 26px;
  }

  .contact-item {
    grid-template-columns: 48px 1fr;
    padding: 14px;
  }

  .contact-item span {
    width: 48px;
    height: 48px;
  }

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

  .footer strong {
    text-align: left;
  }

  .floating-phone,
  .top-button {
    right: 16px;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 18px;
  }

  .section-title h2,
  .values-copy h2,
  .contact-copy h2 {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
