:root {
  --bg: #f5f9ff;
  --surface: #ffffff;
  --surface-tint: #f8fbff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe7f5;
  --accent: #1587df;
  --accent-strong: #0d66bf;
  --accent-light: #5fc5ff;
  --accent-soft: #ebf6ff;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-blue: 0 14px 34px rgba(21, 135, 223, 0.24);
  --radius-lg: 16px;
  --radius-md: 12px;
  --space-section: clamp(56px, 8vw, 88px);
  --container: min(1120px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #f5f9ff 0%, #e8f1ff 54%, #dbeafe 100%);
  color: var(--text);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(44rem 44rem at 12% 8%, rgba(56, 138, 243, 0.18), rgba(56, 138, 243, 0)),
    radial-gradient(38rem 38rem at 84% 34%, rgba(30, 144, 255, 0.14), rgba(30, 144, 255, 0)),
    radial-gradient(44rem 44rem at 50% 100%, rgba(13, 102, 191, 0.16), rgba(13, 102, 191, 0));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.34'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--space-section) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(232, 232, 235, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 231, 245, 0.78);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 100%;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  height: 70px;
  overflow: visible;
  margin-right: 10px;
}

.logo {
  display: block;
  height: 150px;
  max-height: none;
  width: auto;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 28px;
}

.nav-links a {
  color: #334155;
  font-weight: 500;
  transition: color 0.22s ease;
}

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

.hero {
  padding: clamp(92px, 12vw, 116px) 0 clamp(92px, 10vw, 108px);
  padding-inline: clamp(24px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background-image: url("./assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #06101a;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 16%;
  width: clamp(280px, 36vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 197, 255, 0.22), rgba(95, 197, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1869bd;
}

.hero .eyebrow {
  color: #b7e4ff;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.8vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 700px;
  color: #f8fbff;
}

.hero-content p:not(.eyebrow):not(.micro-proof) {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.6;
}

.lead {
  margin-top: 24px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.7;
}

.hero .lead {
  color: rgba(239, 248, 255, 0.92);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  filter: saturate(1.07) brightness(1.02);
  box-shadow: 0 18px 34px rgba(21, 135, 223, 0.3);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: #8dcaf6;
  color: #0f172a;
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.micro-proof {
  margin-top: 18px;
  color: #6b7280;
  font-size: 0.92rem;
}

.hero .micro-proof {
  color: rgba(214, 233, 248, 0.84);
}

.hero-empty {
  min-height: 1px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #a8d7fa;
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.13);
}

.card-item {
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-item:hover {
  background: linear-gradient(135deg, #0B3C5D, #1E90FF);
  color: white;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-item:hover h3,
.card-item:hover p {
  color: white;
}

.card-item:hover svg,
.card-item:hover i {
  color: white;
}

.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  padding: 28px;
}

.service-icon-top {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.service-card:hover .service-icon-top {
  transform: scale(1.1);
}

.card-item:hover .service-icon-top {
  filter: brightness(0) invert(1);
}

.service-card h3,
.benefit-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-card p,
.benefit-card p {
  color: var(--muted);
}

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

.benefit-card {
  padding: 24px;
}

.clients {
  background: transparent;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.client-box {
  min-width: 220px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.client-box img {
  max-height: 80px;
  max-width: 130%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.88;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-box:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.approved-by {
  margin-top: 30px;
  text-align: center;
}

.approved-by p {
  font-size: 0.9rem;
  color: #64748b;
}

.approved-logos {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.approved-logos span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #334155;
}

.approved-logos img {
  height: 45px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.cta-wrap {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: clamp(28px, 5vw, 56px);
}

.cta-wrap h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
}

.cta-wrap p {
  max-width: 62ch;
  margin: 16px auto 24px;
  color: var(--muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  animation: form-entrance 0.55s ease both;
}

.form-row {
  display: flex;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group.full {
  width: 100%;
}

.lead-form label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #1f2937;
}

.lead-form input,
.lead-form textarea {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid #d1d9e4;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.lead-form input:hover,
.lead-form textarea:hover {
  border-color: #9ccffc;
  filter: brightness(1.01);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #64748b;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #0a66c2;
  box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.2);
  transform: translateY(-1px);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, #0a66c2, #1587df);
  box-shadow: 0 12px 24px rgba(10, 102, 194, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.form-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 30px rgba(10, 102, 194, 0.38);
  filter: brightness(1.03);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes form-entrance {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-status {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.success {
  color: #0f8a42;
}

.form-status.error {
  color: #c62828;
}

.footer {
  padding: 50px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #0a1f44, #0b2a5b, #0a66c2);
  color: #fff;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  font-size: 14px;
  column-gap: 30px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-top .address {
  justify-content: flex-start;
}

.footer-top .phone {
  justify-content: center;
}

.footer-item.email {
  justify-content: center;
}

.footer-top .linkedin {
  justify-content: flex-end;
}

.footer-divider {
  margin: 25px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #adb1b9;
}

.footer-item span,
.footer-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-item a:hover {
  color: #ffffff;
}

.footer-item.linkedin .linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-item.linkedin a:hover {
  text-decoration: underline;
}

.footer-contact {
  margin-top: 0;
  display: flex;
  align-items: center;
  font-size: inherit;
  color: inherit;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-item i {
  color: #3b82f6;
  font-size: 16px;
}

.footer-item.linkedin i {
  color: #0a66c2;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
  font-size: 16px;
  line-height: 1;
}

.footer-item.address span {
  white-space: nowrap;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-empty {
    display: none;
  }

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

  .clients-logos {
    gap: 18px;
  }

  .client-box {
    min-width: 200px;
  }
}

@media (max-width: 992px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 48px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .clients-logos {
    flex-direction: column;
    gap: 16px;
  }

  .client-box {
    width: min(100%, 360px);
    min-width: 0;
  }

  .approved-logos {
    gap: 18px;
  }

  .service-card {
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .footer-item {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .footer-item {
    justify-content: center;
  }

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

