/* АКНЕТ — керування комп'ютерним устаткованням */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --accent-hover: #79b8ff;
  --green: #3fb950;
  --font: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: var(--accent-hover);
}

/* Header & Nav */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo span {
  color: var(--accent);
}
.nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(88, 166, 255, .1);
}

/* Main content */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.hero .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Sections */
.section {
  margin-bottom: 3rem;
}
.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-brand span {
  color: var(--accent);
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-contacts a:hover {
  color: var(--accent);
}
.footer-contacts svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Page title */
.page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
  max-width: 480px;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, .2);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover {
  background: var(--accent-hover);
}

/* List styles */
ul.list {
  list-style: none;
  margin: 1rem 0;
}
ul.list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}
ul.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Utility */
.mb-2 { margin-bottom: 2rem; }
