:root {
  --bg: #07101b;
  --bg-soft: #0f2238;
  --surface: #102a43;
  --surface-2: #173754;
  --surface-3: #1a4569;
  --text: #eff6ff;
  --muted: #a5bbd0;
  --primary: #44a6ff;
  --primary-strong: #1e87e7;
  --accent: #5be0ff;
  --accent-soft: rgba(91, 224, 255, 0.22);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, #204f80 0%, rgba(32, 79, 128, 0) 45%),
    radial-gradient(circle at 10% 10%, #15365c 0%, rgba(21, 54, 92, 0) 40%),
    var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(7, 16, 27, 0.8);
  border-bottom: 1px solid var(--border);
  transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  background: rgba(7, 16, 27, 0.95);
  border-bottom-color: rgba(141, 216, 255, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.brand span {
  color: var(--accent);
}

.brand-logo {
  height: 52px;
  width: auto;
  transition: transform 250ms ease, filter 250ms ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 10px rgba(120, 230, 255, 0.35));
}

.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;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text);
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, background-color 220ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: rgba(143, 231, 255, 0.8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 230ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent-soft);
  text-decoration: none;
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.42rem 0.58rem;
}

.hero {
  position: relative;
  padding: 6.2rem 0 4.9rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 16, 27, 0.95) 18%, rgba(7, 16, 27, 0.54) 62%),
    url("assets/hero-industrial.svg") center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 16, 27, 0.2), var(--bg));
  z-index: -1;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.2;
  max-width: 15ch;
  animation: fadeUp 700ms ease 70ms both;
}

.hero p {
  margin: 0;
  color: #c4d6e8;
  font-size: 1.08rem;
  max-width: 70ch;
  animation: fadeUp 700ms ease 170ms both;
}

.chip-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  animation: fadeUp 650ms ease both;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.chip:hover {
  transform: translateY(-3px);
  background: rgba(146, 231, 255, 0.16);
  border-color: rgba(146, 231, 255, 0.56);
}

.chip-row .chip:nth-child(1) {
  animation-delay: 230ms;
}

.chip-row .chip:nth-child(2) {
  animation-delay: 290ms;
}

.chip-row .chip:nth-child(3) {
  animation-delay: 350ms;
}

.chip-row .chip:nth-child(4) {
  animation-delay: 410ms;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  animation: fadeUp 680ms ease 250ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.82rem 1.22rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 240ms ease, filter 220ms ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 137, 235, 0.32);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.section {
  padding: 4.2rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.section-intro {
  margin: 0;
  max-width: 78ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.28rem;
  transition: transform 240ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.card h3 {
  margin: 0 0 0.55rem;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(131, 224, 255, 0.44);
  box-shadow: 0 16px 32px rgba(2, 10, 18, 0.45);
}

.list {
  margin: 0;
  padding-left: 1.15rem;
}

.list li + li {
  margin-top: 0.38rem;
}

.showcase {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--surface), var(--surface-3));
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.showcase img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 420ms ease, filter 320ms ease;
}

.showcase:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

.showcase:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.showcase-caption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #c9d9ea;
  border-top: 1px solid var(--border);
}

.stat-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  padding: 1rem 0.9rem;
  text-align: center;
  animation: floatPulse 4.2s ease-in-out infinite;
}

.stat:nth-child(2) {
  animation-delay: 350ms;
}

.stat:nth-child(3) {
  animation-delay: 700ms;
}

.stat:nth-child(4) {
  animation-delay: 1050ms;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 1.32rem;
}

.icon-card {
  position: relative;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  display: block;
}

.page-hero {
  position: relative;
  padding: 4.8rem 0 3.5rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(24, 69, 107, 0.72), rgba(7, 16, 27, 0.88)),
    url("assets/network-map.svg") center/cover no-repeat;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 16, 27, 0.14), var(--bg));
  z-index: -1;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.timeline-item {
  padding: 0.9rem;
  border-left: 3px solid #72e5ff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 10px 10px 0;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.timeline-item:hover {
  transform: translateX(5px);
  border-color: #95f0ff;
  background: rgba(130, 213, 255, 0.12);
}

.timeline-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.faq-item {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 230ms ease, border-color 230ms ease;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 221, 255, 0.42);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 260ms ease;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 380ms ease, filter 340ms ease;
}

.gallery-item figcaption {
  padding: 0.75rem 0.9rem;
  color: #cae0f3;
  font-size: 0.9rem;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(133, 223, 255, 0.44);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.legal-content {
  max-width: 920px;
}

.legal-content .card + .card {
  margin-top: 1rem;
}

.legal-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.legal-content p,
.legal-content li {
  color: #d6e6f5;
}

.legal-content ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.map-card {
  padding: 0.7rem;
}

.map-embed {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
  transition: filter 240ms ease, transform 240ms ease;
}

.map-card:hover .map-embed {
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.75rem;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-message {
  min-height: 1.2rem;
  font-size: 0.93rem;
}

.form-message.success {
  color: #88ffc0;
}

.form-message.error {
  color: #ff9f9f;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #1d4468, #143354);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.45rem;
  transition: transform 240ms ease, box-shadow 260ms ease;
}

.cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 8, 14, 0.66);
  padding: 1.9rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 76px;
    min-width: 220px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(7, 16, 27, 0.98);
    padding: 0.75rem;
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav.open {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.1rem;
  }

  .brand-logo {
    height: 44px;
  }
}
