:root {
  --navy: #06275a;
  --navy-2: #021936;
  --blue: #0c3d78;
  --green: #0d8b4a;
  --yellow: #ffd100;
  --gold: #f3a600;
  --white: #ffffff;
  --offwhite: #f6f8fb;
  --text: #101827;
  --muted: #5b6474;
  --line: rgba(6, 39, 90, 0.14);
  --shadow: 0 24px 70px rgba(2, 25, 54, 0.13);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 64px;
  height: 58px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(13, 139, 74, 0.09);
  color: var(--green);
}

.nav-links .nav-cta {
  background: var(--yellow);
  color: var(--navy);
  margin-left: 6px;
  box-shadow: 0 10px 24px rgba(255, 209, 0, 0.28);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 209, 0, 0.28), transparent 28%),
    radial-gradient(circle at 10% 20%, rgba(13, 139, 74, 0.18), transparent 30%),
    linear-gradient(135deg, #f9fbff 0%, #ffffff 54%, #eef4ff 100%);
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: auto -10% -38% -10%;
  height: 420px;
  background: linear-gradient(90deg, var(--navy), var(--green), var(--yellow));
  clip-path: ellipse(50% 38% at 50% 100%);
  opacity: 0.08;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  min-height: 690px;
  padding: 70px 0;
}

.hero-copy h1,
.page-hero h1 {
  margin: 14px 0 18px;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy p,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 3px;
  border-radius: 8px;
  background: var(--yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(6, 39, 90, 0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 50px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(6, 39, 90, 0.98), rgba(2, 25, 54, 0.96)),
    radial-gradient(circle at top right, rgba(255, 209, 0, 0.35), transparent 38%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border: 36px solid rgba(13, 139, 74, 0.42);
  border-radius: 50%;
  right: -120px;
  top: -110px;
}

.hero-card img {
  position: relative;
  width: min(380px, 100%);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.32));
}

.service-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.service-strip span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.stats-section {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.soft-bg {
  background: var(--offwhite);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2,
.split-grid h2,
.cta-band h2,
.map-header h2 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.service-cards,
.process-grid,
.catalog-grid,
.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.process-card,
.product-card,
.mini-product-card,
.contact-card,
.contact-form,
.info-panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(2, 25, 54, 0.08);
}

.service-card,
.process-card,
.product-card,
.mini-product-card {
  padding: 28px;
}

.icon-circle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: rgba(13, 139, 74, 0.1);
  border-radius: 18px;
  font-size: 28px;
}

.service-card h3,
.process-card h3,
.product-card h3,
.mini-product-card h3 {
  color: var(--navy);
  margin: 22px 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.service-card p,
.process-card p,
.product-card p,
.mini-product-card p,
.split-grid p,
.info-panel p {
  color: var(--muted);
}

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

.align-center {
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 900;
}

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

.mini-product-card span,
.product-badge {
  display: inline-flex;
  padding: 6px 10px;
  background: rgba(255, 209, 0, 0.22);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.page-hero {
  padding: 90px 0;
}

.page-hero.compact {
  padding: 72px 0;
}

.service-hero {
  padding: 82px 0;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  margin-bottom: 34px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13, 139, 74, 0.09);
}

.catalog-group + .catalog-group {
  margin-top: 48px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.category-title h2 {
  margin: 0;
  color: var(--navy);
}

.category-title span {
  color: var(--green);
  font-weight: 900;
}

.product-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}

.product-card dt {
  color: var(--muted);
  font-weight: 700;
}

.product-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.product-card a {
  color: var(--green);
  font-weight: 900;
}

.info-panel {
  padding: 30px;
  border-top: 7px solid var(--yellow);
}

.info-panel h2 {
  color: var(--navy);
  margin-top: 0;
}

.process-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list div {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.benefit-list strong {
  color: var(--green);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
}

.contact-card,
.contact-form {
  padding: 30px;
}

.contact-card h2,
.contact-form h2 {
  margin-top: 0;
  color: var(--navy);
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 139, 74, 0.1);
}

.contact-row p {
  margin: 0;
  color: var(--muted);
}

.contact-row strong,
.contact-row a {
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: 8px;
}

.alert {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.alert.success {
  background: rgba(13, 139, 74, 0.1);
  color: var(--green);
}

.alert.error {
  background: rgba(217, 44, 32, 0.1);
  color: #b71c1c;
}

.map-section {
  padding: 0 0 92px;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.map {
  height: 460px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 66px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 44px;
}

.footer-logo {
  width: 88px;
  margin-bottom: 16px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin-top: 0;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin: 10px 0;
}

.footer-bottom {
  margin-top: 46px;
  padding: 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

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

@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-card {
    min-height: 460px;
  }

  .stats-grid,
  .service-cards,
  .process-grid,
  .catalog-grid,
  .product-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
}

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

  .brand span {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-card {
    padding: 28px;
    min-height: 390px;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid,
  .service-cards,
  .process-grid,
  .catalog-grid,
  .product-preview-grid {
    grid-template-columns: 1fr;
  }

  .cta-content,
  .map-header,
  .category-title {
    align-items: start;
    flex-direction: column;
  }

  .section,
  .page-hero,
  .service-hero {
    padding: 62px 0;
  }
}
