:root {
  --bg: #0b1727;
  --primary: #1f7ae0;
  --primary-dark: #155ca9;
  --text: #1d2430;
  --muted: #5f6b7a;
  --white: #ffffff;
  --section: #f5f8fc;
  --border: #dbe4ef;
  --shadow: 0 10px 24px rgba(16, 34, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  scroll-behavior: smooth;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 23, 39, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #dce6f8;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(11, 23, 39, 0.72), rgba(11, 23, 39, 0.72)),
    url("../images/hero.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 14px;
  max-width: 900px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

.hero p {
  margin: 0 auto 24px;
  max-width: 760px;
  color: #e3ebf8;
  font-size: 1.08rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--section);
}

.section h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Grid cards */
.grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* List */
.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

/* Form */
.contact-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  max-width: 640px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(31, 122, 224, 0.18);
}

.contact-form button {
  margin-top: 4px;
  width: fit-content;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 11px 18px;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: #0a1322;
  color: #d2def2;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0b1727;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    padding: 14px 4%;
    gap: 10px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 8px 0;
  }
}
