/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0a5fa8;
  --blue-light: #1a7fd4;
  --blue-pale: #e8f4fd;
  --text: #1a202c;
  --text-muted: #64748b;
  --white: #fff;
  --gray-bg: #f8fafc;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(10, 95, 168, 0.12);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue);
}
.header-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.header-contacts a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-contacts a:hover {
  color: var(--blue);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-section img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 40, 80, 0.75) 0%,
    rgba(5, 40, 80, 0.35) 60%,
    transparent 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 560px;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  max-width: 480px;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* ===== SECTION COMMON ===== */
.section-wrap {
  padding: 4rem 0;
}
.section-wrap.alt {
  background: var(--gray-bg);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.feature-card .bi {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.service-item {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.service-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.service-item .bi {
  font-size: 1.5rem;
  color: var(--blue);
}
.service-item h3 {
  font-size: 1rem;
  font-weight: 700;
}
.service-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== INFO SECTION ===== */
.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.info-cols img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-text h2 {
  margin-bottom: 1rem;
}
.info-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.info-list .bi {
  color: var(--blue);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand h2 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-col ul .bi {
  font-size: 0.9rem;
  margin-top: 3px;
  color: var(--blue-light);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-contacts {
    display: none;
  }
  .info-cols {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
