/* SG Tactical Security — clean, modern, mobile-first */
:root{
  --bg:#0b1220;
  --bg2:#0f1b33;
  --card:#0e1730;
  --text:#eef2ff;
  --muted:#b9c2dd;
  --line:rgba(255,255,255,.12);
  --white:#ffffff;
  --accent:#2f6bff;
  --accent2:#00d4ff;
  --shadow: 0 18px 45px rgba(0,0,0,.35);
  --radius: 18px;
  --container: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(47,107,255,.35), transparent 55%),
              radial-gradient(1000px 700px at 90% 0%, rgba(0,212,255,.25), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
code{background:rgba(255,255,255,.08); padding:.15rem .35rem; border-radius:10px}
.container{max-width:var(--container); margin:0 auto; padding:0 18px}
.section{padding:74px 0}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{margin-bottom:22px}
.section-head h2{margin:0 0 6px;font-size:34px;letter-spacing:.2px}
.section-head p{margin:0;color:var(--muted)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  border-radius:999px;
  padding:12px 16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:650;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.09)}
.btn:active{transform: translateY(0)}
.btn-primary{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-color: rgba(255,255,255,.0);
  color: #071022;
}
.btn-primary:hover{background: linear-gradient(90deg, #3b76ff, #24ddff)}
.btn-ghost{background:transparent}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.62);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; gap:14px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; min-width: 210px}
.brand-mark{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(47,107,255,.95), rgba(0,212,255,.85));
  color:#061027;font-weight:900;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.brand-name{font-weight:900;letter-spacing:.2px}
.brand-tag{color:var(--muted);font-size:12px;margin-top:2px}

.site-nav{display:flex; gap:14px; margin-left:auto}
.site-nav a{color:var(--muted); font-weight:650; padding:10px 10px; border-radius:12px}
.site-nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.header-cta{display:none}

.nav-toggle{display:none; margin-left:auto; border:1px solid var(--line); background:rgba(255,255,255,.06); border-radius:12px; padding:10px}
.nav-toggle-bar{display:block;width:22px;height:2px;background:var(--text); margin:4px 0; border-radius:2px}
.sr-only{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.hero{position:relative; padding:68px 0 74px}
.hero-inner{display:grid; grid-template-columns: 1.15fr .85fr; gap:26px; align-items:center}
.kicker{color:var(--muted); font-weight:750; letter-spacing:.3px}
.hero h1{margin:10px 0 12px; font-size:52px; line-height:1.02}
.lead{color:var(--muted); font-size:18px; line-height:1.6; margin:0 0 18px}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.trust-row{list-style:none; padding:0; margin:18px 0 0; display:flex; gap:10px; flex-wrap:wrap; color:var(--muted)}
.trust-row li{border:1px solid var(--line); background:rgba(255,255,255,.04); padding:8px 10px; border-radius:999px; font-weight:650; font-size:13px}

.hero-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-card img{aspect-ratio: 4/3; object-fit:cover}
.hero-card-caption{padding:14px 14px 16px; color:var(--muted)}
.hero-wave{
  position:absolute; left:0; right:0; bottom:-1px; height:60px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.04));
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:16px;
}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted); line-height:1.55}

.about{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:start}
.checks{list-style:none; padding:0; margin:12px 0 0}
.checks li{margin:10px 0; padding-left:26px; position:relative; color:var(--muted)}
.checks li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  width:18px;height:18px; border-radius:6px;
  display:grid;place-items:center;
  background: rgba(47,107,255,.18);
  border:1px solid rgba(47,107,255,.35);
  color: #cfe0ff;
  font-weight:900;
}
.about-box{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.about-box h3{margin:0 0 10px}
.about-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gallery figure{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.gallery img{width:100%; height:160px; object-fit:cover; transition: transform .25s ease}
.gallery figure:hover img{transform: scale(1.03)}
.gallery figcaption{padding:10px 10px 12px; color:var(--muted); font-size:12px}

.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:16px;
}
label{display:block; font-weight:700; margin:10px 0 0}
input, select, textarea{
  width:100%;
  margin-top:8px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(8,14,28,.55);
  color:var(--text);
  padding:12px 12px;
  font: inherit;
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color: rgba(0,212,255,.65)}
.form-row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.fineprint{color:var(--muted); font-size:12px; line-height:1.5; margin:12px 0 0}

.contact{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px}
.contact-cards{display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin:14px 0}
.contact-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:14px;
}
.contact-card:hover{background: rgba(255,255,255,.07)}
.contact-label{color:var(--muted); font-weight:750; font-size:12px}
.contact-value{font-weight:900; font-size:16px; margin-top:4px}
.footer-cta{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.site-footer{border-top:1px solid var(--line); padding:18px 0; color:var(--muted)}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

.muted{color:var(--muted)}

@media (max-width: 900px){
  .hero-inner{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr 1fr}
  .gallery{grid-template-columns: 1fr 1fr}
  .about,.contact{grid-template-columns:1fr}
  .header-cta{display:none}
}

@media (max-width: 720px){
  .site-nav{display:none}
  .nav-toggle{display:inline-block}
  .site-nav.open{
    display:flex;
    position:absolute;
    left:18px; right:18px; top:64px;
    flex-direction:column;
    background: rgba(11,18,32,.92);
    border:1px solid var(--line);
    border-radius: 16px;
    padding:10px;
    box-shadow: var(--shadow);
  }
  .site-nav.open a{padding:12px}
  .hero h1{font-size:40px}
  .form-row{grid-template-columns: 1fr}
  .cards{grid-template-columns: 1fr}
  .contact-cards{grid-template-columns: 1fr}
}

.brand-logo{padding:0; background:transparent; box-shadow:none; border:1px solid rgba(255,255,255,.18); overflow:hidden}
.brand-logo img{width:42px;height:42px;object-fit:cover; display:block}


/* Cinematic Intro Overlay */
.intro-overlay{
  position:fixed; inset:0; z-index:9999;
  display:grid; place-items:center;
  background: radial-gradient(1000px 600px at 20% 10%, rgba(47,107,255,.22), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(0,212,255,.18), transparent 65%),
              rgba(5,9,18,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.10);
  animation: introFadeIn .35s ease both;
}
@keyframes introFadeIn{from{opacity:0}to{opacity:1}}
.intro-hide{animation: introFadeOut .8s ease forwards}
@keyframes introFadeOut{to{opacity:0; transform: scale(1.01)}}

.intro-filmgrain{
  position:absolute; inset:-30%;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="220"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="220" height="220" filter="url(%23n)" opacity=".35"/></svg>');
  mix-blend-mode: overlay;
  opacity:.14;
  animation: grain 1.2s steps(2) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0)}
  25%{transform:translate(-2%,1%)}
  50%{transform:translate(1%,-2%)}
  75%{transform:translate(2%,2%)}
  100%{transform:translate(0,0)}
}

.intro-content{
  position:relative;
  text-align:center;
  padding:22px 20px 18px;
  width:min(520px, calc(100% - 36px));
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.intro-logo{
  width:78px; height:78px;
  margin: 0 auto 10px;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.intro-logo img{width:100%; height:100%; object-fit:cover}
.intro-title{
  font-weight: 950;
  letter-spacing: .4px;
  font-size: 30px;
  margin: 2px 0 4px;
}
.intro-subtitle{color: var(--muted); font-weight: 750; font-size: 13px; letter-spacing:.2px}
.intro-tag{
  display:inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(0,212,255,.35);
  background: rgba(0,212,255,.10);
  color: #d7fbff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .6px;
}
.intro-loading{display:flex; justify-content:center; gap:7px; margin-top: 14px}
.intro-loading span{
  width:8px; height:8px; border-radius:999px;
  background: rgba(255,255,255,.75);
  animation: pulse 1.1s ease-in-out infinite;
}
.intro-loading span:nth-child(2){animation-delay:.15s}
.intro-loading span:nth-child(3){animation-delay:.3s}
@keyframes pulse{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(-4px);opacity:1}}

.intro-skip{
  margin-top: 14px;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.16);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor:pointer;
}
.intro-skip:hover{background: rgba(255,255,255,.06); color: var(--text)}

/* Map */
.map-wrap{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe{
  width:100%;
  height: 380px;
  border:0;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}
.map-note{
  padding:14px 16px 16px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9998; /* below intro overlay (9999) */
  display: none;
}
.lightbox.is-open{ display: block; }
.lightbox-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.lightbox-dialog{
  position: relative;
  max-width: min(980px, calc(100% - 28px));
  margin: 5vh auto;
  background: rgba(10,14,24,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
#lightboxImg{
  width: 100%;
  height: auto;
  display: block;
  background: rgba(255,255,255,.02);
}
.lightbox-caption{
  padding: 12px 14px 14px;
  color: rgba(255,255,255,.85);
  font-weight: 800;
}
.lightbox-close{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-size: 28px;
  line-height: 38px;
  cursor:pointer;
}
.lightbox-close:hover{
  background: rgba(255,255,255,.08);
}

/* Hiring / Careers */
.career-banner{
  padding: 86px 0 38px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(47,107,255,.28), transparent 55%),
    radial-gradient(1000px 700px at 90% 0%, rgba(0,212,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(11,18,32,.95), rgba(15,27,51,.75));
}
.career-banner-inner{max-width: 860px}
.career-badge{
  display:inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.84);
  font-weight: 850;
  letter-spacing: .2px;
  margin-bottom: 10px;
}
.label-block{margin-top: 12px;}
.hint{color: var(--muted); font-size: 12px; margin-top: 8px;}
.chips{display:flex; flex-wrap: wrap; gap:10px; margin-top: 10px;}
.chip{
  display:flex; align-items:center; gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-weight: 750;
  color: rgba(255,255,255,.88);
}
.chip input{width:18px; height:18px;}
.call-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f80ff, #56ccf2);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
