:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-2: #f7fbff;
  --text: #16324a;
  --muted: #5f7488;
  --primary: #2b6fb5;
  --primary-dark: #1f578f;
  --accent: #4cc4f6;
  --border: rgba(22, 50, 74, 0.1);
  --shadow: 0 20px 60px rgba(12, 44, 79, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(76, 196, 246, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #f9f053;
    text-shadow: 0 1px 4px black; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 32px)); }
.site-header {
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
  background: rgb(23 45 66 / 30%);
}
.header-inner, .footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0;
}
.brand img, .footer-brand img { width: 220px; height: auto; }
a.brand {text-shadow: none;}
.phone-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 999px; background: rgba(43, 111, 181, 0.1); color: #ffffff; font-weight: 700;
}
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 50, 88, 0.82), rgba(43, 111, 181, 0.7)),
    radial-gradient(circle at 20% 20%, rgba(76, 196, 246, 0.35), transparent 26%),
    linear-gradient(120deg, #234f79 0%, #183754 100%);
}
.hero::before, .hero::after {
  content: ''; position: absolute; inset: auto; border-radius: 50%; filter: blur(10px); opacity: 0.18;
}
.hero::before { width: 380px; height: 380px; right: -120px; bottom: -80px; background: #4cc4f6; }
.hero::after { width: 280px; height: 280px; left: -80px; top: 80px; background: #ffffff; }
.hero-content { position: relative; z-index: 2; padding: 96px 0 112px; color: #fff; }
.hero-badge {
  display: inline-flex; padding: 8px 14px; margin-bottom: 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.03em; }
.hero-text { max-width: 680px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.button-secondary { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); }
.section { padding: 88px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading.center { text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.copy-grid { display: grid; gap: 18px; }
.copy-grid p {
  margin: 0; padding: 28px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--muted); font-size: 17px;
}
.products-grid, .contacts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card, .contact-card {
  padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow);
}
.product-card img {
  width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf6fb 100%);
}
.product-card h3, .contact-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.product-card p, .contact-card p { margin: 0; color: var(--muted); }
.contact-card { text-align: center; }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 18px; font-size: 28px;
  background: linear-gradient(135deg, rgba(76, 196, 246, 0.18), rgba(43, 111, 181, 0.12)); color: var(--primary-dark);
}
.site-footer { padding: 22px 0 36px;background-color: #172d43;color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand p, .footer-meta span { margin: 0; color: var(--muted); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; }
@media (max-width: 960px) {
  .products-grid, .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner, .footer-brand { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand img, .footer-brand img { width: 180px; }
  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 88px; }
  .hero-text { font-size: 16px; }
  .section { padding: 72px 0; }
  .products-grid, .contacts-grid { grid-template-columns: 1fr; }
  .copy-grid p, .product-card, .contact-card { padding: 22px; }
}
