:root {
  --bg: #0b1020;
  --card: #121935;
  --text: #e8ecff;
  --muted: #b4bddf;
  --accent: #5de4c7;
  --accent-2: #4da3ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #172044, var(--bg) 40%);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 14, 31, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.25));
  transition: transform 0.6s ease;
  transform-origin: center;
}

.brand:hover img {
  transform: rotate(360deg);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 70px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #021624;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.25);
}

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
}

section {
  padding: 44px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.timeline {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 8px;
  padding-left: 16px;
}

.timeline-item {
  margin-bottom: 20px;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

form {
  display: grid;
  gap: 10px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #0a1026;
  color: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 32px;
  color: var(--muted);
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.quick-contact a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-contact .wa-btn {
  background: #25d366;
}

.wa-icon {
  line-height: 1;
}

.wa-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quick-contact .call-btn {
  background: #2f7bff;
}

.quick-contact .mail-btn {
  background: #f25c54;
}

.quick-contact a:hover {
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .quick-contact {
    right: 12px;
    bottom: 12px;
  }

  .quick-contact a {
    width: 48px;
    height: 48px;
  }
}
