:root {
  --primary: #0a7cc4;
  --primary-dark: #075e95;
  --dark: #13212e;
  --text: #4a5560;
  --muted: #f3f7fa;
  --radius: 10px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { color: var(--dark); line-height: 1.3; margin: 0 0 .6em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 14px;
  transition: background .2s;
}
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* Top bar & header */
.topbar { background: var(--dark); color: #cfd8e0; font-size: 14px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.topbar a { color: #fff; }

.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--dark); font-weight: 700; font-size: 18px; }
.logo img { width: 56px; height: 56px; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a { color: var(--dark); font-weight: 600; font-size: 14px; letter-spacing: .05em; }
.nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(rgba(10, 30, 50, .6), rgba(10, 30, 50, .6)), url("../img/hero.jpg") center/cover;
  color: #fff;
  text-align: center;
  padding: 140px 0;
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); text-transform: uppercase; margin-bottom: .2em; }
.hero p { font-size: clamp(22px, 3vw, 34px); margin: 0 0 1.4em; font-weight: 300; }

/* Sections */
.section { padding: 90px 0; }
.section-muted { background: var(--muted); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-title p { font-size: 17px; }

.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; gap: 60px; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: .3em; }
.card-label { text-transform: uppercase; font-size: 13px; letter-spacing: .1em; color: var(--primary); font-weight: 600; }

.features { display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; gap: 40px; align-items: center; }
.feature { margin-bottom: 36px; }
.feature:last-child { margin-bottom: 0; }
.feature h3 { font-size: 20px; margin-bottom: .2em; }
.features .left { text-align: right; }
.features .phone img { border-radius: 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, .15); margin: 0 auto; }

.counters { background: var(--primary); color: #fff; padding: 70px 0; }
.counters .grid { text-align: center; }
.counter strong { display: block; font-size: 48px; font-weight: 700; line-height: 1.1; }
.counter span { text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }

.cta { background: var(--dark); color: #cfd8e0; text-align: center; padding: 70px 0; }
.cta h2 { color: #fff; }
.cta .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Article */
.page-title { background: var(--dark); color: #fff; padding: 70px 0; text-align: center; }
.page-title h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0; }
.page-title .meta { color: #9fb0bf; font-size: 14px; margin-top: 10px; }
.article { max-width: 820px; margin: 0 auto; padding: 60px 20px 80px; }
.article img.cover { border-radius: var(--radius); margin-bottom: 36px; width: 100%; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .3em; }
.tags { margin-top: 40px; font-size: 14px; color: #8a96a0; }
.back { display: inline-block; margin-top: 30px; font-weight: 600; }

/* Footer */
.site-footer { background: #0c1620; color: #9fb0bf; font-size: 14px; padding: 30px 0; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: #fff; }
.social { display: flex; gap: 16px; }

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .features .left { text-align: left; }
  .features .phone { order: -1; }
  .nav { gap: 16px; }
  .site-header .container { flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  .section { padding: 60px 0; }
  .hero { padding: 90px 0; }
}
