/* ===== Hybrid Vision — brand colors from BRAND GUIDELINE =====
   Blue:  #152347   Green: #B4FF00 */

:root {
  --navy: #152347;
  --bg: #0c1429;
  --panel: #13204a;
  --panel-2: #1a2c5e;
  --green: #b4ff00;
  --ink: #f2f5fc;
  --muted: #a7b3d1;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --font-head: "Exo 2", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

img { max-width: 100%; display: block; }

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 20, 41, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-icon { width: 34px; height: 36px; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 26px; }

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--green); }

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

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--muted);
  font: 600 0.8rem var(--font-body);
  padding: 6px 13px;
  cursor: pointer;
  transition: 0.2s;
}

.lang-switch button.active {
  background: var(--green);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(180, 255, 0, 0.07), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(26, 44, 94, 0.6), transparent),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, 0.025) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.025) 79px 80px),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 72px);
  padding: 72px 0;
}

.hero-kicker {
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font: 600 0.98rem var(--font-body);
  padding: 14px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(180, 255, 0, 0.25);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(180, 255, 0, 0.13), transparent 65%);
  filter: blur(20px);
}

.hero-logo {
  position: relative;
  width: min(380px, 80%);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

/* ===== Sections ===== */
.section { padding: 96px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(21, 35, 71, 0.55), rgba(21, 35, 71, 0.2));
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: 48px; }

.section-kicker {
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
}

.section-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(180, 255, 0, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(180, 255, 0, 0.1);
  color: var(--green);
  margin-bottom: 20px;
}

.card-icon svg { width: 28px; height: 28px; }

.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(180, 255, 0, 0.75);
  transition: 0.25s;
}

.tile svg { width: 72px; height: 72px; opacity: 0.85; }

.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(transparent, rgba(8, 13, 28, 0.92));
}

/* scan-line effect on hover */
.tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -8%;
  height: 6%;
  background: linear-gradient(rgba(180, 255, 0, 0), rgba(180, 255, 0, 0.22), rgba(180, 255, 0, 0));
  opacity: 0;
}

.tile:hover { border-color: rgba(180, 255, 0, 0.45); }

.tile:hover::after {
  opacity: 1;
  animation: scan 1.6s linear infinite;
}

@keyframes scan {
  from { top: -8%; }
  to { top: 108%; }
}

.tile-1 { background: linear-gradient(135deg, #16264f, #0e1834); }
.tile-2 { background: linear-gradient(135deg, #122a45, #0c1429); }
.tile-3 { background: linear-gradient(135deg, #1a2c5e, #101c3d); }
.tile-4 { background: linear-gradient(135deg, #14315a, #0d1730); }
.tile-5 { background: linear-gradient(135deg, #182552, #0e1631); }
.tile-6 { background: linear-gradient(135deg, #112948, #0f1d40); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.contact-lead { color: var(--muted); margin-bottom: 28px; max-width: 44ch; }

.contact-list { list-style: none; display: grid; gap: 16px; }

.contact-list li { display: flex; align-items: center; gap: 14px; }

.contact-list a:hover { color: var(--green); }

.contact-ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(180, 255, 0, 0.1);
  color: var(--green);
}

.contact-ico svg { width: 20px; height: 20px; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { margin-bottom: 18px; }

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

.contact-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: 400 0.95rem var(--font-body);
  padding: 12px 14px;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(167, 179, 209, 0.55); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.contact-form .btn { width: 100%; }

.form-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .brand-icon { width: 26px; height: 28px; }

.site-footer .brand-name { font-size: 0.88rem; }

.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile:hover::after { animation: none; }
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .header-inner { gap: 14px; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 20, 41, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 4%;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }

  .site-nav a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 0;
    text-align: center;
  }

  .hero-cta { justify-content: center; }

  .hero-sub { margin-inline: auto; }

  .hero-visual { order: -1; }

  .hero-logo { width: min(240px, 60%); }

  .section { padding: 64px 0; }

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

  .form-row-2 { grid-template-columns: 1fr; }
}
