/* =============================================================
   Nortex Cyber Solutions — Site Refresh
   Design system: dark-mode, logo-matched blue→cyan accents
   Author: refresh build
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
  /* Base surfaces (near-black blue) */
  --bg:        #060a11;
  --bg-1:      #080d16;
  --bg-2:      #0b1220;
  --panel:     #0d1626;
  --panel-2:   #101b2e;
  --line:      rgba(120, 165, 220, 0.12);
  --line-2:    rgba(120, 165, 220, 0.22);

  /* Text */
  --ink:       #eaf2ff;
  --ink-soft:  #c4d4ea;
  --muted:     #8ea3c0;
  --muted-2:   #64778f;

  /* Brand — pulled from the logo gradient (deep blue → cyan) */
  --blue-deep: #1a4d9e;
  --blue:      #2c7fd6;
  --sky:       #35b6ff;
  --cyan:      #00e5ff;
  --cyan-soft: #00bbff;

  /* Secondary purple accent (used very sparingly) */
  --violet:    #9300f5;

  /* Signature gradient */
  --grad: linear-gradient(105deg, #1a4d9e 0%, #2c7fd6 32%, #00bbff 68%, #00e5ff 100%);
  --grad-soft: linear-gradient(105deg, rgba(44,127,214,0.18), rgba(0,229,255,0.18));

  /* Glow */
  --glow-cyan: 0 0 40px rgba(0, 200, 255, 0.35);

  /* Geometry */
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --gutter:    clamp(20px, 5vw, 48px);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --nav-h: 76px;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

::selection { background: rgba(0, 200, 255, 0.28); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #1c2c44; border-radius: 20px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: #274468; }

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.section--center .eyebrow { justify-content: center; }
.section--center .eyebrow::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; font-weight: 700; margin: 0; }

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-title strong { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.section-lead {
  font-size: clamp(16px, 1.9vw, 20px);
  color: var(--muted);
  max-width: 780px;
}
.section--center { text-align: center; }
.section--center .section-lead { margin-left: auto; margin-right: auto; }

.text-grad { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* Ambient decorative helpers */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(120,165,220,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,165,220,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
}
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(90px); opacity: .5;
}

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { color: #04121f; background: var(--grad); box-shadow: 0 10px 30px rgba(0,150,220,0.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,180,255,0.45); color: #04121f; }
.btn--ghost { color: var(--ink); background: rgba(255,255,255,0.03); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 24px rgba(0,200,255,0.18); }
.btn--sm { padding: 11px 22px; font-size: 14px; }

/* -------------------------------------------------------------
   5. Navigation
   ------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 10, 17, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__links a {
  position: relative; color: var(--ink-soft); font-family: var(--font-display); font-weight: 500;
  font-size: 15px; padding: 8px 14px; border-radius: 8px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; border-radius: 2px;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(255,255,255,0.03); color: var(--ink);
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(4, 8, 14, 0.96); backdrop-filter: blur(10px);
  flex-direction: column; padding: 28px var(--gutter);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-menu__top img { height: 30px; }
.mobile-menu a { color: var(--ink); font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .btn { margin-top: 28px; }

/* -------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(26,77,158,0.30), transparent 55%),
    radial-gradient(90% 70% at 80% 110%, rgba(0,187,255,0.14), transparent 60%),
    linear-gradient(180deg, #060a11 0%, #070d18 55%, #060a11 100%);
}
#particles-js { position: absolute; inset: 0; z-index: 1; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(120,165,220,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,165,220,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.hero__earth {
  position: absolute; left: 50%; bottom: -58%; transform: translateX(-50%);
  width: 160%; max-width: 1700px; aspect-ratio: 2/1; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,150,220,0.22), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 3; max-width: 900px; }
.hero__logo {
  width: min(560px, 82vw); margin: 0 auto 28px;
  filter: drop-shadow(0 8px 40px rgba(0, 180, 255, 0.25));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.hero__typed {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 5vw, 50px); letter-spacing: -0.01em; line-height: 1.15;
  color: var(--ink); min-height: 1.3em; margin-bottom: 16px;
}
.typed-cursor { color: var(--cyan); font-weight: 300; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__sub { color: var(--muted); font-size: clamp(15px, 2vw, 19px); max-width: 620px; margin: 0 auto 34px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted-2); font-family: var(--font-display); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; left:50%; top:7px; width:4px; height:8px; border-radius:2px; background: var(--cyan); transform: translateX(-50%); animation: wheel 1.6s ease infinite; }
@keyframes wheel { 0%{opacity:0; transform: translate(-50%,-4px);} 40%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }

/* Section top fades for seamless stacking */
.hero + * { position: relative; z-index: 2; }

/* -------------------------------------------------------------
   7. Credential strip (new, factual)
   ------------------------------------------------------------- */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.creds__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 5vw, 64px); padding: 26px 0;
}
.creds__item { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.creds__item svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.creds__sep { width: 1px; height: 26px; background: var(--line-2); }
@media (max-width: 720px){ .creds__sep { display: none; } }

/* -------------------------------------------------------------
   8. About
   ------------------------------------------------------------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__body p { color: var(--ink-soft); margin: 0 0 20px; }
.about__body p:last-child { margin-bottom: 0; }
.about__visual { position: relative; }
.about__visual img { border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,0.55); }
.about__visual::before {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--radius) + 2px);
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6; pointer-events: none;
}
.about__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 18px 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.about__badge svg { width: 34px; height: 34px; color: var(--cyan); flex: none; }
.about__badge span { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.35; }
@media (max-width: 860px){ .about__layout { grid-template-columns: 1fr; } .about__visual { order: -1; } .about__badge{ left: 10px; } }

/* -------------------------------------------------------------
   9. Services — What We Do
   ------------------------------------------------------------- */
.services { position: relative; overflow: hidden; background: var(--bg-1); }
.services__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/photos/network-ops.jpg");
  background-size: cover; background-position: center; opacity: .10;
}
.services__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, var(--bg-1) 0%, rgba(8,13,22,0.6) 40%, var(--bg-1) 100%); }
.services .container { position: relative; z-index: 1; }
.services__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px){ .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16,27,46,0.9), rgba(11,18,32,0.9));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 26px 50px rgba(0,0,0,0.45); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--cyan); }
.card h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* -------------------------------------------------------------
   10. Careers — hiring intro + benefits
   ------------------------------------------------------------- */
.careers { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.careers__glow { top: -120px; right: -100px; width: 460px; height: 460px; background: rgba(0,150,220,0.20); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
@media (max-width: 900px){ .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius-sm);
  background: rgba(16,27,46,0.55); border: 1px solid var(--line);
  transition: border-color .25s ease, background .25s ease;
}
.benefit:hover { border-color: var(--line-2); background: rgba(16,27,46,0.85); }
.benefit__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); border: 1px solid var(--line-2); }
.benefit__icon svg { width: 24px; height: 24px; color: var(--cyan); }
.benefit h3 { font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* -------------------------------------------------------------
   11. Jobs — ATS-style openings
   ------------------------------------------------------------- */
.openings { position: relative; z-index: 1; }
.openings__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.openings__head .section-title { margin-bottom: 8px; }

.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.jobs-search {
  position: relative; flex: 1 1 260px; min-width: 220px;
}
.jobs-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.jobs-search input {
  width: 100%; padding: 13px 16px 13px 46px; border-radius: 999px;
  background: rgba(16,27,46,0.7); border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.jobs-search input::placeholder { color: var(--muted-2); }
.jobs-search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,200,255,0.12); }

.jobs-filter {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.chip {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(16,27,46,0.6); color: var(--muted); font-family: var(--font-display); font-weight: 500; font-size: 14px;
  transition: all .2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--sky); }
.chip.is-active { color: #04121f; background: var(--grad); border-color: transparent; }

.jobs-list { display: flex; flex-direction: column; gap: 14px; }

.job {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16,27,46,0.7), rgba(11,18,32,0.7));
  overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease;
}
.job.is-open { border-color: var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.job__summary {
  display: flex; align-items: center; gap: 20px; width: 100%;
  padding: 24px 26px; background: none; border: none; text-align: left; color: inherit;
}
.job__summary:hover .job__title { color: var(--cyan); }
.job__main { flex: 1 1 auto; min-width: 0; }
.job__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); color: var(--ink); margin-bottom: 10px; transition: color .2s ease; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-family: var(--font-display); font-weight: 500; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-soft);
  background: rgba(255,255,255,0.02);
}
.tag svg { width: 13px; height: 13px; color: var(--cyan); }
.tag--accent { color: var(--cyan); border-color: rgba(0,200,255,0.35); background: rgba(0,200,255,0.06); }

.job__toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .25s ease, transform .35s ease, border-color .25s ease, color .25s ease;
}
.job__toggle svg { width: 20px; height: 20px; transition: transform .35s ease; }
.job.is-open .job__toggle { background: var(--grad); border-color: transparent; color: #04121f; }
.job.is-open .job__toggle svg { transform: rotate(45deg); }

.job__panel { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.job__panel-inner { padding: 4px 26px 30px; border-top: 1px solid var(--line); margin-top: 0; }
.job__panel-inner > .job__desc { color: var(--ink-soft); padding-top: 20px; }

.job__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin-top: 8px; }
@media (max-width: 720px){ .job__cols { grid-template-columns: 1fr; } }
.job__block { padding-top: 22px; }
.job__block h4 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 12px; font-weight: 600;
}
.job__block ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.job__block li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15px; }
.job__block li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; border-radius: 2px;
  background: var(--grad);
}
.job__apply { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.job__apply-note { color: var(--muted); font-size: 14px; }

.jobs-empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.jobs-note { margin-top: 22px; font-size: 13.5px; color: var(--muted-2); text-align: center; }
.jobs-note code { color: var(--sky); background: rgba(0,150,220,0.1); padding: 2px 7px; border-radius: 6px; font-size: 12.5px; }

/* -------------------------------------------------------------
   12. CTA — Apply Today
   ------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: 0; background: url("../img/photos/satellite-earth.jpg") center/cover no-repeat; }
.cta__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,10,17,0.85), rgba(6,10,17,0.78)), radial-gradient(80% 80% at 50% 50%, rgba(0,120,200,0.25), transparent 70%); }
.cta .container { position: relative; z-index: 1; }
.cta__title { font-size: clamp(30px, 5vw, 56px); letter-spacing: -0.02em; margin-bottom: 22px; }
.cta p { color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); max-width: 680px; margin: 0 auto 14px; }
.cta__actions { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------
   13. Contact
   ------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; background: var(--bg); }
.contact__bg { position: absolute; inset: 0; z-index: 0; background: url("../img/photos/washington-dc.webp") center/cover no-repeat; opacity: .16; }
.contact__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6,10,17,0.5) 50%, var(--bg) 100%); }
.contact .container { position: relative; z-index: 1; }
.contact__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; margin-top: 52px; }
@media (max-width: 860px){ .contact__layout { grid-template-columns: 1fr; } }

.glass {
  background: rgba(13, 22, 38, 0.72); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.contact__info h3 { font-size: 24px; margin-bottom: 22px; }
.contact__info h3 strong { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.contact-line a { color: var(--ink-soft); }
.contact-line a:hover { color: var(--cyan); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(6,10,17,0.6); border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,200,255,0.12); }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 12px; }
.contact__form .btn { width: 100%; }

/* -------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); padding: 56px 0 34px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 40px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 360px; margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { color: var(--ink-soft); font-family: var(--font-display); font-size: 15px; }
.footer__legal { padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.footer__legal p { margin: 0; color: var(--muted-2); font-size: 13px; line-height: 1.6; }
.footer__legal .wvosb { color: var(--ink-soft); font-family: var(--font-display); font-weight: 500; font-size: 14px; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(13,22,38,0.9); color: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; backdrop-filter: blur(8px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 24px rgba(0,200,255,0.25); }
.to-top svg { width: 22px; height: 22px; }

/* -------------------------------------------------------------
   15. Scroll reveal animations
   ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

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

/* -------------------------------------------------------------
   16. Responsive nav
   ------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}
