/* ЛАЙВ МАНІ — ремонт комп'ютерів */
:root {
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-border: #30363d;
  --color-accent: #58a6ff;
  --color-accent-hover: #79b8ff;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Consolas', 'Monaco', monospace;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero .cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.hero .cta:hover {
  background: var(--color-accent-hover);
}

/* Sections */
section {
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-text);
}

/* Thematic images */
.thematic-block {
  display: grid;
  gap: 48px;
  align-items: center;
}

.thematic-block:nth-child(even) .thematic-img {
  order: 2;
}

.thematic-block:nth-child(even) .thematic-text {
  order: 1;
}

.thematic-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.thematic-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.thematic-text h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.thematic-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* About */
.about-content {
  max-width: 720px;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Contact */
.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.contact-list a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Privacy page */
.privacy-page .container {
  padding: 48px 24px 80px;
}

.privacy-page h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.privacy-page .updated {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.35rem;
  margin: 36px 0 16px;
  color: var(--color-accent);
}

.privacy-page p, .privacy-page li {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.privacy-page ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.privacy-page .back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.privacy-page .back-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .thematic-block {
    grid-template-columns: 1fr 1fr;
  }
}
