/*
Theme Name: kix
Author: KIX
Description: Theme giao dien cong ty phan mem KIX
Version: 1.0
Requires PHP: 7.4
Text Domain: kix
*/

:root {
  --bg: #000000;
  --card: #0a0a0a;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.4);
  --accent: #21b3fc;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --container: 1200px;
  --font: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.flip {
  display: inline-flex;
  overflow: hidden;
  height: 1.5em;
}

.flip .fl {
  display: inline-flex;
  flex-direction: column;
  height: 1.5em;
  line-height: 1.5em;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--i) * 22ms);
  white-space: pre;
}

.btn:hover .flip .fl {
  transform: translateY(-1.5em);
}

.btn-black {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-black:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.btn-white {
  background: #ffffff;
  color: #000000;
}

.btn-white:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
  display: block;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 24px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}

.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  display: flex;
}

.hero {
  position: relative;
  aspect-ratio: 2400 / 1792;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 170px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero .badge {
  background: rgba(0, 20, 45, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.hero-content h1 {
  margin-top: 24px;
  text-shadow: 0 2px 30px rgba(0, 40, 90, 0.35);
}

.hero-sub {
  margin-top: 18px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 40, 90, 0.4);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

section {
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head h2 {
  margin-top: 24px;
}

.section-sub {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.services {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 2;
}

.anime-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anime-cloud {
  position: absolute;
  fill: #ffffff;
  opacity: 0.16;
  filter: blur(2px);
  animation: cloudDrift 36s ease-in-out infinite alternate;
}

.cloud-1 {
  width: 220px;
  top: 70px;
  left: -40px;
}

.cloud-2 {
  width: 170px;
  top: 180px;
  right: -30px;
  animation-duration: 46s;
  animation-delay: -14s;
}

.cloud-3 {
  width: 130px;
  bottom: 60px;
  left: 8%;
  animation-duration: 52s;
  animation-delay: -25s;
}

@keyframes cloudDrift {
  from {
    transform: translateX(-26px);
  }
  to {
    transform: translateX(26px);
  }
}

.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  fill: #9fd9f7;
  opacity: 0;
  animation: twinkle 3.4s ease-in-out infinite;
}

.sp-1 {
  top: 120px;
  left: 16%;
}

.sp-2 {
  top: 90px;
  right: 20%;
  width: 10px;
  height: 10px;
  animation-delay: 1.1s;
}

.sp-3 {
  top: 300px;
  right: 9%;
  animation-delay: 2s;
}

.sp-4 {
  bottom: 130px;
  left: 6%;
  width: 10px;
  height: 10px;
  animation-delay: 0.6s;
}

.sp-5 {
  bottom: 90px;
  right: 14%;
  width: 12px;
  height: 12px;
  animation-delay: 2.7s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1) rotate(25deg);
  }
}

.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 6px;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.service-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.service-tab svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.service-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.service-tab.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
}

@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.service-panel {
  position: relative;
  display: none;
  background:
    radial-gradient(circle at 88% 0%, rgba(33, 179, 252, 0.1), transparent 40%),
    radial-gradient(circle at 5% 100%, rgba(167, 139, 250, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(33, 179, 252, 0.04), var(--card) 45%);
  border: 1px solid rgba(33, 179, 252, 0.16);
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
}

.service-panel.active {
  display: block;
  animation: panelIn 0.45s ease;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: conic-gradient(from var(--beam-angle), transparent 0%, rgba(33, 179, 252, 0.9) 10%, rgba(167, 139, 250, 0.5) 16%, transparent 26%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: beamSpin 7s linear infinite;
  pointer-events: none;
}

@keyframes beamSpin {
  to {
    --beam-angle: 360deg;
  }
}

.service-info,
.service-projects {
  position: relative;
  z-index: 1;
}

.service-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.service-projects {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.projects-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.projects-count {
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(33, 179, 252, 0.12);
  border: 1px solid rgba(33, 179, 252, 0.3);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0;
}

.panel-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.service-side .service-stats {
  margin: 4px 0 18px;
}

.projects-head-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.case-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.case-visual:hover {
  border-color: rgba(33, 179, 252, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(33, 179, 252, 0.15);
}

.case-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-r {
  background: #ff5f57;
}

.dot-y {
  background: #febc2e;
}

.dot-g {
  background: #28c840;
}

.case-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.case-shot {
  position: relative;
  display: block;
  flex: 1;
  min-height: 236px;
  overflow: hidden;
}

.case-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.shot-top {
  object-position: center top;
}

.shot-mid {
  object-position: center 45%;
}

.shot-bottom {
  object-position: center bottom;
}

.case-visual:hover .case-img {
  transform: scale(1.045);
}

.case-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(4, 7, 14, 0.94), rgba(4, 7, 14, 0.45) 65%, transparent);
}

.case-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.case-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

.case-list {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
}

.case-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease;
}

.case-row:last-child {
  border-bottom: none;
}

.case-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.case-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.case-row.active .case-dot,
.case-row:hover .case-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(33, 179, 252, 0.8);
}

.case-main {
  flex: 1;
  min-width: 0;
}

.case-main strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-main em {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  font-style: normal;
  color: var(--text-faint);
}

.case-metric {
  flex-shrink: 0;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: rgba(33, 179, 252, 0.08);
  border: 1px solid rgba(33, 179, 252, 0.22);
  color: #9fd9f7;
  font-size: 11.5px;
  white-space: nowrap;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
}

.live::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.project-arrow {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: color 0.25s ease, transform 0.25s ease;
}

.project-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.case-row:hover .project-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.projects-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.projects-all svg {
  width: 14px;
  height: 14px;
}

.projects-all:hover {
  gap: 11px;
  color: #6fd0ff;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  padding: 15px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(33, 179, 252, 0.1);
  border: 1px solid rgba(33, 179, 252, 0.25);
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-info h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.service-info > p {
  margin-top: 12px;
  max-width: 680px;
  color: var(--text-muted);
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 22px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stat:hover {
  border-color: rgba(33, 179, 252, 0.35);
  background: rgba(33, 179, 252, 0.05);
}

.stat strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.stat span {
  font-size: 11.5px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.service-stack span {
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  font-size: 12.5px;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.service-stack span:hover {
  border-color: rgba(33, 179, 252, 0.4);
  color: #ffffff;
}

.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease, gap 0.25s ease;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
}

.link-arrow:hover {
  color: #ffffff;
  gap: 10px;
}

.cta {
  padding: 60px 0 120px;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 90px 40px;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 10, 25, 0.25), rgba(0, 10, 25, 0.45));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-top: 26px;
  text-shadow: 0 2px 24px rgba(0, 20, 50, 0.5);
}

.cta-content p {
  margin: 16px auto 34px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 20, 50, 0.5);
}

.cta-box .badge {
  background: rgba(0, 20, 45, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.footer {
  border-top: 1px solid var(--card-border);
  padding: 70px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-cols {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--text-faint);
}

.bw {
  display: inline-block;
}

.bc {
  display: inline-block;
  filter: blur(8px);
  opacity: 0;
  transition: filter 0.35s cubic-bezier(0, 0, 0.2, 1), opacity 0.35s cubic-bezier(0, 0, 0.2, 1);
  transition-delay: calc(var(--i) * 24ms);
}

.txt-in .bc {
  filter: blur(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

@media (max-width: 1024px) {
  .service-panel {
    padding: 36px;
  }

  .panel-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 100vh;
    padding-top: 140px;
  }

  .service-panel {
    padding: 28px;
  }

  .service-tabs {
    border-radius: 22px;
  }

  .service-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .service-stats {
    grid-template-columns: 1fr;
  }

  .case-shot {
    min-height: 200px;
  }

  .footer-cols {
    gap: 40px;
  }
}

.page-hero {
  position: relative;
  padding: 190px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(84, 169, 242, 0.14), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-top: 22px;
  font-size: clamp(30px, 4vw, 44px);
}

.page-hero .section-sub {
  margin-top: 16px;
}

.about-company {
  padding: 40px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story h2 {
  margin: 14px 0 18px;
  font-size: clamp(21px, 2.6vw, 27px);
}

.about-story p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-stats .stat {
  padding: 22px 20px;
}

.about-stats .stat strong {
  font-size: 26px;
}

.about-values {
  padding: 40px 0 110px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
}

.value-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: rgba(33, 179, 252, 0.1);
  border: 1px solid rgba(33, 179, 252, 0.25);
  color: var(--accent);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: 18px;
}

.value-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.contact {
  padding: 30px 0 120px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.25s ease;
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.contact-icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(33, 179, 252, 0.1);
  border: 1px solid rgba(33, 179, 252, 0.25);
  color: var(--accent);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-text span {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
}

.contact-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 1px;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: #ffffff;
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(33, 179, 252, 0.5);
  background: rgba(33, 179, 252, 0.04);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  border: none;
}

.form-notice {
  margin-bottom: 18px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.form-notice.success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.form-notice.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

@media (max-width: 1024px) {
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding-top: 150px;
  }
}

.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  transform: translateY(100%);
  pointer-events: none;
  will-change: transform;
}

html.js .page-wipe {
  transform: translateY(0);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.mobile-menu a.active {
  color: var(--accent);
}

.home-about {
  position: relative;
  padding: 110px 0 40px;
}

.home-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 55% at 85% 30%, rgba(33, 179, 252, 0.08), transparent 70%);
  pointer-events: none;
}

.home-about .container {
  position: relative;
}

.about-list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(33, 179, 252, 0.15) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2321b3fc" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m5 13 4 4 10-10"/></svg>') center / 10px no-repeat;
}

.about-stats .stat {
  align-items: center;
  text-align: center;
  padding: 26px 18px;
  background: linear-gradient(180deg, rgba(33, 179, 252, 0.05), var(--card) 60%);
}

.about-stats .stat strong {
  font-size: 30px;
  background: linear-gradient(120deg, #ffffff 30%, #9fd9f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.services-overview {
  position: relative;
  padding: 100px 0 40px;
  overflow: hidden;
}

.services-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(84, 169, 242, 0.1), transparent 70%);
  pointer-events: none;
}

.services-overview .container {
  position: relative;
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sv-card-lg {
  grid-column: span 3;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  padding: 34px 32px;
}

.sv-card-lg .sv-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.sv-card-md {
  grid-column: span 2;
}

.sv-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.sv-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(33, 179, 252, 0.5);
}

.sv-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 30px 36px;
  border-radius: 16px;
  border: 1px solid rgba(33, 179, 252, 0.3);
  background:
    radial-gradient(circle at 10% 0%, rgba(33, 179, 252, 0.14), transparent 50%),
    radial-gradient(circle at 95% 100%, rgba(167, 139, 250, 0.1), transparent 45%),
    var(--card);
}

.sv-cta-bar h3 {
  font-size: 17px;
}

.sv-cta-bar p {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.sv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.sv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 179, 252, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sv-card:hover {
  border-color: rgba(33, 179, 252, 0.35);
  transform: translateY(-5px);
  background: #0e1014;
  box-shadow: 0 18px 44px rgba(33, 179, 252, 0.1);
}

.sv-card:hover::before {
  opacity: 1;
}

.sv-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(33, 179, 252, 0.1);
  border: 1px solid rgba(33, 179, 252, 0.25);
  color: var(--accent);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sv-card:hover .sv-icon {
  background: rgba(33, 179, 252, 0.22);
  box-shadow: 0 0 22px rgba(33, 179, 252, 0.35);
  transform: scale(1.06);
}

.sv-icon svg {
  width: 100%;
  height: 100%;
}

.sv-card h3 {
  font-size: 17px;
}

.sv-card p {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.sv-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.25s ease;
}

.sv-more svg {
  width: 14px;
  height: 14px;
}

.sv-card:hover .sv-more {
  gap: 10px;
}

.sv-card-cta .btn {
  margin-top: 18px;
}

.footer-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-menu a {
  color: var(--text-faint);
  transition: color 0.25s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

.page-body {
  padding: 20px 0 110px;
}

.post-content {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.post-content h2 {
  font-size: 21px;
  margin: 30px 0 12px;
  color: #ffffff;
}

.post-content p {
  margin-bottom: 14px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.archive-card:hover {
  border-color: rgba(33, 179, 252, 0.35);
  transform: translateY(-4px);
}

.archive-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-card h3 {
  font-size: 16.5px;
}

.archive-card p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.archive-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.archive-back {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-card-lg {
    grid-column: span 6;
  }

  .sv-card-md {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .sv-card-lg,
  .sv-card-md {
    grid-column: span 6;
  }

  .sv-card-lg {
    flex-direction: column;
    gap: 0;
  }

  .sv-card-lg .sv-icon {
    margin-bottom: 20px;
  }

  .sv-cta-bar {
    padding: 26px 24px;
  }
}
