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

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

:root {
  --primary: #0f274d;
  --primary-2: #173b72;
  --secondary: #d91f2a;
  --accent: #ffb703;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.82);
  --text: #102033;
  --muted: #5e6878;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(10, 21, 40, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(217, 31, 42, 0.08),
      transparent 28%
    ),
    radial-gradient(circle at 85% 15%, rgba(15, 39, 77, 0.12), transparent 26%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 80%);
  opacity: 0.4;
}

a {
  color: inherit;
}

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

.container {
  width: min(92%, 1200px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 10px 40px rgba(10, 21, 40, 0.06);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  text-decoration: none;
}

.mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--secondary), #ff5a3c);
  box-shadow: 0 16px 30px rgba(217, 31, 42, 0.24);
  font-size: 1.35rem;
  font-weight: 800;
}

.logo h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.logo span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

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

nav a {
  position: relative;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover,
nav a.active {
  color: var(--secondary);
}

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

#toggle {
  display: none;
  border: 1px solid rgba(16, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.2rem;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 39, 77, 0.94), rgba(15, 39, 77, 0.82)),
    radial-gradient(
      circle at top right,
      rgba(217, 31, 42, 0.22),
      transparent 30%
    ),
    linear-gradient(140deg, #0f274d 0%, #123569 52%, #09172d 100%);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 23, 45, 0.08),
    rgba(9, 23, 45, 0.18)
  );
}

.hero-content {
  position: relative;
  padding: 120px 0;
}

.hero h1,
.inner-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p,
.inner-hero .lead,
.section-title p,
.section-heading p,
.lead,
.card p,
.stats p,
.footer-grid p,
.footer-grid a,
.footer-grid h4 {
  color: var(--muted);
}

.hero p {
  max-width: 640px;
  margin: 22px 0 30px;
}

.hero-buttons,
.button-row,
.chip-row,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #ff5a3c);
  color: #fff;
  box-shadow: 0 16px 36px rgba(217, 31, 42, 0.28);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.section-title,
.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2,
.section-heading h2 {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--secondary);
}

.page-section,
.services-preview,
.form-wrap,
.about,
.products-section,
.services-section,
.contact-section {
  padding: 90px 0;
}

.grid-4,
.grid-3,
.cards-grid,
.products-grid,
.values-grid,
.services-grid,
.contact-grid,
.feature-grid,
.process-grid,
.timeline {
  display: grid;
  gap: 24px;
}

.grid-4,
.products-grid,
.values-grid,
.services-grid,
.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3,
.process-grid,
.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.section-split,
.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: end;
}

.card,
.product,
.service-card,
.info-card,
.hero-panel,
.contact-panel,
.metric,
.step-card {
  background: var(--surface);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
}

.card,
.product,
.service-card,
.info-card,
.step-card {
  padding: 28px;
}

.card,
.product,
.service-card,
.info-card,
.step-card,
.metric,
.contact-panel,
.hero-panel {
  position: relative;
}

.card::before,
.product::before,
.service-card::before,
.info-card::before,
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--secondary);
  pointer-events: none;
}

.card h3,
.product h3,
.service-card h3,
.info-card h3,
.step-card h3,
.metric h3 {
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.15;
}

.card:hover,
.product:hover,
.service-card:hover,
.info-card:hover,
.step-card:hover,
.metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(10, 21, 40, 0.16);
}

.services-preview .section-title {
  margin-bottom: 36px;
}

.stats {
  margin-top: 90px;
  padding: 84px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 39, 77, 0.96), rgba(15, 39, 77, 0.88)),
    radial-gradient(circle at left, rgba(255, 183, 3, 0.18), transparent 24%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stats h3 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}

.cta {
  padding: 96px 0;
  text-align: center;
}

.cta .container {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(15, 39, 77, 0.96),
    rgba(217, 31, 42, 0.94)
  );
  color: #fff;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
  color: #fff;
}

footer {
  background: #08111f;
  color: #fff;
  padding: 72px 0 54px;
}

footer a {
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 10px;
}

.inner-hero {
  padding: 88px 0 64px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 39, 77, 0.96), rgba(15, 39, 77, 0.84)),
    radial-gradient(
      circle at top right,
      rgba(255, 183, 3, 0.18),
      transparent 28%
    ),
    linear-gradient(145deg, #0f274d 0%, #123569 100%);
}

.inner-hero h1 {
  max-width: 11ch;
}

.inner-hero .lead {
  max-width: 60ch;
  margin-top: 18px;
}

.hero-panel,
.contact-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel ul,
.feature-list,
.service-list,
.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-panel li,
.feature-list li,
.service-list li,
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-panel li::before,
.feature-list li::before,
.service-list li::before,
.contact-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--secondary);
  flex: 0 0 auto;
}

.metric {
  background: rgba(255, 255, 255, 0.88);
  padding: 22px;
}

.metric strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.product .tag,
.service-card .tag,
.info-card .tag,
.step-card .tag,
.filters span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(217, 31, 42, 0.08);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product p,
.service-card p,
.info-card p,
.step-card p,
.card p,
.contact-panel p {
  color: var(--muted);
}

.product ul,
.service-card ul,
.contact-panel ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.product ul li,
.service-card ul li,
.contact-panel ul li {
  color: var(--muted);
}

.product ul li::before,
.service-card ul li::before,
.contact-panel ul li::before {
  content: "•";
  color: var(--secondary);
  margin-right: 8px;
}

.filters {
  justify-content: center;
  margin-bottom: 34px;
}

.filters span {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary);
  border: 1px solid rgba(16, 32, 51, 0.12);
}

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

label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(217, 31, 42, 0.45);
  box-shadow: 0 0 0 4px rgba(217, 31, 42, 0.1);
}

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

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

.field-full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  color: var(--primary);
  font-weight: 700;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.timeline {
  margin-top: 32px;
}

.step-card {
  background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1024px) {
  .grid-4,
  .products-grid,
  .values-grid,
  .services-grid,
  .feature-grid,
  .timeline,
  .footer-grid,
  .contact-grid,
  .section-split,
  .inner-hero-grid,
  .grid-3,
  .process-grid,
  .stats-grid,
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  #toggle {
    display: inline-grid;
    place-items: center;
  }

  nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: var(--shadow);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  nav a::after {
    display: none;
  }

  nav a:hover,
  nav a.active {
    background: rgba(217, 31, 42, 0.08);
  }

  .hero-content {
    padding: 96px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .inner-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .grid-4,
  .grid-3,
  .products-grid,
  .values-grid,
  .services-grid,
  .feature-grid,
  .timeline,
  .footer-grid,
  .contact-grid,
  .section-split,
  .inner-hero-grid,
  .process-grid,
  .stats-grid,
  .metrics-row,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .cta .container {
    padding: 34px 20px;
    border-radius: 24px;
  }
}

@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;
    scroll-behavior: auto !important;
  }
}
