* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #070b12;
  color: #fff;
}

a {
  color: inherit;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 8%;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  font-size: 14px;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffc107;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 8% 70px;
  background:
    linear-gradient(90deg, rgba(4,8,16,0.96) 0%, rgba(4,8,16,0.86) 38%, rgba(4,8,16,0.35) 72%, rgba(4,8,16,0.18) 100%),
    url('bg.jpg') center/cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,174,255,0.18), transparent 35%),
    radial-gradient(circle at 75% 40%, rgba(255,193,7,0.12), transparent 35%);
  pointer-events: none;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeUp 0.9s ease both;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(0,174,255,0.10);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 18px rgba(255,193,7,0.18);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span,
.page-hero h1 span {
  color: #ffc107;
  text-shadow: 0 0 32px rgba(255,193,7,0.35);
}

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 0 0 34px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #07101d;
  box-shadow: 0 14px 36px rgba(255,193,7,0.30);
}

.btn:hover,
.btn-outline:hover {
  transform: translateY(-3px);
}

.btn:hover {
  box-shadow: 0 18px 44px rgba(255,193,7,0.55);
}

.btn-outline {
  background: transparent;
  color: #ffc107;
  border: 1px solid rgba(255,193,7,0.5);
}

.btn-outline:hover {
  background: rgba(255,193,7,0.1);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.stat {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.86);
  font-size: 14px;
  font-weight: 700;
}

/* PAGE HERO */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 130px 8% 70px;
  background:
    linear-gradient(90deg, rgba(4,8,16,0.96), rgba(4,8,16,0.74)),
    url('bg.jpg') center/cover no-repeat;
}

/* SECTIONS */
.section {
  padding: 90px 8%;
  background: #070b12;
}

.section.alt {
  background: #0a1220;
}

.section h2 {
  margin: 0 0 34px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,193,7,0.15), transparent 40%);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,193,7,0.45);
  box-shadow: 0 22px 44px rgba(0,0,0,0.28);
}

.card:hover::after {
  opacity: 1;
}

.card a {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card h3 {
  margin: 0 0 12px;
  color: #ffc107;
  font-size: 22px;
}

.card p,
.text-block p,
.text-block li {
  margin: 0;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

.text-block {
  max-width: 900px;
}

.text-block ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.contact-box {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.contact-link {
  display: inline-flex;
  width: fit-content;
  color: #ffc107;
  text-decoration: none;
  font-weight: 800;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffc107;
  color: #07101d;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 0 30px rgba(255,193,7,0.45);
  transition: 0.25s ease;
}

.floating-call:hover {
  transform: translateY(-4px) scale(1.04);
}

.footer {
  padding: 30px 8%;
  background: #050810;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 70px 24px;
    background:
      linear-gradient(rgba(4,8,16,0.80), rgba(4,8,16,0.88)),
      url('bg.jpg') center/cover no-repeat;
  }

  .page-hero {
    min-height: auto;
    padding: 70px 24px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -1px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }

  .section {
    padding: 64px 24px;
  }

  .brand-badge {
    font-size: 13px;
  }

  .brand-logo,
  .logo-link img {
    width: 38px;
    height: 38px;
  }

  .floating-call {
    width: 56px;
    height: 56px;
  }
}
