/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #0f1419;
  --color-surface: #1a2332;
  --color-surface-2: #243044;
  --color-text: #e6edf3;
  --color-text-muted: #8b9cb3;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-border: #2d3a4d;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 0.75rem;
  }
  .nav.nav-open {
    display: flex;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 50%, #0d1b2a 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 720px;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  max-width: 680px;
}

/* ===== Services ===== */
.section-services {
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.card-image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-2);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.services-extra {
  background: var(--color-surface-2);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
}

.services-extra h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.services-extra ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.services-extra li {
  margin-bottom: 0.5rem;
}

/* ===== About ===== */
.about-content p {
  margin: 0 0 1rem;
  max-width: 720px;
  color: var(--color-text-muted);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ===== Contact ===== */
.section-contact {
  background: var(--color-surface);
}

.contact-block {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  max-width: 560px;
}

.contact-block p {
  margin: 0 0 0.75rem;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-logo {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== Privacy page ===== */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-content {
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}

.page-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content ul {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0 0 1rem;
}

.page-content ul {
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.last-update {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
