﻿:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --accent: #ff8a00;
  --border: rgba(148, 163, 184, 0.22);
  --radius: 30px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 20%),
    radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.12), transparent 24%),
    var(--bg);
}

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

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

.site-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 22px 40px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  width: min(100% - 44px, 1400px);
  margin: 0 auto 28px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border-radius: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 26px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: white;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(37, 78, 203, 0.14);
}

.logo-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.logo-subtitle {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.header-action {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.header-action .button-small {
  min-width: 180px;
}

.header-action .button-primary {
  min-width: 160px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-small {
  padding: 12px 20px;
  border: 1px solid rgba(37, 78, 203, 0.16);
  background: white;
  color: var(--primary);
}

.button-primary {
  background: linear-gradient(135deg, #2563eb, #5b3bff);
  color: white;
  box-shadow: 0 18px 40px rgba(37, 78, 203, 0.18);
}

.button-secondary {
  border: 1px solid rgba(37, 78, 203, 0.18);
  background: white;
  color: var(--primary);
}

.hero-section {
  margin-top: 24px;
  padding: 72px 44px;
  border-radius: 38px;
  background: radial-gradient(circle at top left, rgba(84, 135, 255, 0.25), transparent 26%),
    linear-gradient(180deg, rgba(6, 26, 74, 0.96), rgba(5, 27, 72, 0.92));
  color: white;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.16), transparent 16%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 12%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 16px;
  border-radius: 999px;
  color: #dbeafe;
  display: inline-flex;
}

.hero-copy h1 {
  margin: 24px 0 0;
  font-size: clamp(3rem, 4.8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.text-accent {
  color: var(--accent);
}

.hero-copy p {
  margin: 28px 0 0;
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-actions .button-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-weight: 700;
  white-space: nowrap;
}

.hero-card {
  display: grid;
  gap: 28px;
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-card-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 18px;
}

.card-label {
  margin: 0;
  color: #7dd3fc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.card-title {
  margin: 14px 0 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

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

.hero-card-list div {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-list div:last-child {
  border-bottom: none;
}

.card-field {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
}

.card-value {
  margin: 0;
  color: white;
  font-weight: 700;
}

.hero-card-stats {
  display: grid;
  gap: 18px;
}

.hero-card-stats div {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.section-block {
  padding: 80px 0;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-intro h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.section-intro .eyebrow {
  color: #2563eb;
  background: transparent;
  border: none;
  padding: 0;
  letter-spacing: 0.18em;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 32px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.products-block {
  background: #f8fbff;
  padding-top: 90px;
  padding-bottom: 90px;
  border-radius: 36px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-meta {
  padding: 24px;
}

.product-meta h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.product-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card {
  padding: 32px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.why-card h3 {
  margin: 0 0 16px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
}

.credentials-block {
  background: transparent;
}

.cert-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cert-card {
  padding: 32px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.cert-card img {
  width: 64px;
  margin-bottom: 24px;
}

.cert-card h3 {
  margin: 0 0 12px;
}

.cert-card p {
  margin: 0 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.cert-preview {
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  margin-bottom: 22px;
}

.cert-preview-object {
  width: 100%;
  height: 250px;
  border: none;
}

.cert-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cert-ref {
  margin-top: 18px;
}

.cert-ref a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.cert-ref a:hover {
  text-decoration: underline;
}

.contact-block {
  padding: 64px;
  background: linear-gradient(180deg, #eff5ff 0%, #ffffff 100%);
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
}

.contact-panel {
  display: grid;
  gap: 28px;
}

.contact-block h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-links {
  display: grid;
  gap: 18px;
}

.contact-details {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.contact-details p {
  margin: 0;
  line-height: 1.7;
}

.site-footer {
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .site-shell {
    padding: 24px 18px 40px;
  }

  .site-nav {
    justify-content: center;
  }

  .header-action {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 24px;
  }
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .header-action {
    width: 100%;
    justify-content: flex-start;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-action .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-section {
    padding: 52px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .product-card img {
    height: 220px;
  }

  .product-meta {
    padding: 20px;
  }

  .contact-block {
    padding: 36px 24px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .section-block {
    padding: 60px 0;
  }

  .contact-block {
    padding: 28px 20px;
  }

  .button {
    padding: 14px 18px;
  }

  .product-card img {
    height: 180px;
  }

  .hero-section {
    padding: 40px 18px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

