:root {
  --page-bg: #eef3f9;
  --page-surface: rgba(255, 255, 255, 0.92);
  --page-surface-strong: #ffffff;
  --page-text: #0f1724;
  --page-muted: #5e6c7f;
  --page-accent: #071b33;
  --page-gold: #0b6efd;
  --page-line: rgba(7, 27, 51, 0.1);
  --page-shadow: 0 20px 50px rgba(7, 27, 51, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--page-text);
  background:
    radial-gradient(circle at top left, rgba(56, 182, 199, 0.08), transparent 26%),
    linear-gradient(180deg, #f5f7fb 0%, var(--page-bg) 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.banner {
  position: relative;
  margin-top: 96px;
  min-height: min(78vh, 820px);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  background:
    linear-gradient(135deg, rgba(3, 8, 16, 0.78), rgba(7, 13, 24, 0.58)),
    url('../images/fromsite/IMG-20211101-WA0011.webp') center/cover no-repeat;
  color: #fff;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.04), transparent 22%);
  pointer-events: none;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
}

.banner-left,
.banner-right,
.header-image {
  position: relative;
  z-index: 2;
}

.banner-left {
  width: min(960px, 100%);
  text-align: center;
}

.banner-left h1,
.banner-left h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.banner-right {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.banner-right .kennext-social-link {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.banner-right .kennext-social-link:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(11, 110, 253, 0.92);
  color: #fff;
}

.header-image {
  max-width: 280px;
  margin-bottom: 22px;
}

.content {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 40px;
}

.content,
.page-shell {
  color: var(--page-text);
}

.section-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.surface-card {
  background: var(--page-surface);
  border: 1px solid var(--page-line);
  border-radius: 24px;
  box-shadow: var(--page-shadow);
  backdrop-filter: blur(12px);
}

.section-title {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-accent);
}

.section-lead,
.intro-text {
  color: var(--page-muted);
  line-height: 1.8;
}

.btn,
.hero-button,
.btn-about,
.career-btn,
.qhse-btn,
.career-apply,
.read-more {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

@media (max-width: 900px) {
  .banner {
    margin-top: 80px;
    padding: 72px 18px;
    min-height: 62vh;
    clip-path: none;
  }

  .banner-right {
    right: 14px;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .banner-left h1,
  .banner-left h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .banner-right {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 22px;
  }
}
