/* ТОВ «СОВ АЙТІ» — корпоративні стилі */
:root {
  --bg: #0c1118;
  --bg-card: #141b24;
  --text: #e8edf4;
  --text-muted: #9aa5b4;
  --accent: #3d8fd9;
  --accent-soft: rgba(61, 143, 217, 0.12);
  --border: #243041;
  --gold: #c9a227;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Segoe UI", system-ui, sans-serif;
  --max: 68rem;
  --r: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -20%, rgba(61, 143, 217, 0.18), transparent 55%),
    linear-gradient(180deg, #0a0e14 0%, var(--bg) 32%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
}

header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 17, 24, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo span {
  color: var(--gold);
  font-weight: 600;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
nav a:hover {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: #cbd5e1;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

p strong {
  color: #e2e8f0;
}

.text-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}
.text-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.text-block p:last-child {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

ul.list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
ul.list li {
  margin-bottom: 0.5rem;
}
ul.list li::marker {
  color: var(--accent);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
}
.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

.contact-block {
  background: var(--accent-soft);
  border: 1px solid rgba(61, 143, 217, 0.35);
  border-radius: var(--r);
  padding: 1.5rem 1.75rem;
}
.contact-block dl {
  margin: 0;
  display: grid;
  gap: 0.35rem 1rem;
}
@media (min-width: 500px) {
  .contact-block dl {
    grid-template-columns: auto 1fr;
  }
}
.contact-block dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-block dd {
  margin: 0;
  font-size: 1rem;
}

address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.65;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}
footer p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.legal {
  background: #080a0d;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-top: 1.5rem;
}
.legal p:last-child {
  margin-bottom: 0;
}
