/* =========================================================
   Astria Systems — Website styles
   Built from Figma "Astria Website"
   Font: Inter · Palette sampled from the design
   ========================================================= */

:root {
  --ink: #262626;          /* dark top bar / footer            */
  --ink-2: #1f1f1f;
  --teal: #3fb4a6;         /* primary accent                   */
  --teal-strong: #2e9e90;  /* bold heading word                */
  --teal-soft: #86c8bf;    /* secondary heading word           */
  --blue: #2e93d9;
  --green: #4bbb8e;

  --nav-home: #5fd3a0;
  --nav-wwd: #4aa3df;
  --nav-connect: #43c8ff;

  --text: #4a4a4a;
  --muted: #7d7d7d;
  --muted-2: #9a9a9a;
  --line: #e7e7e7;
  --bg: #ffffff;

  --hero-ink: rgba(255, 255, 255, 0.86);
  --card-dark: rgba(15, 34, 46, 0.55);
  --card-dark-line: rgba(255, 255, 255, 0.14);

  --container: 1200px;
  --radius: 10px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; color: #2b2b2b; }
ul { margin: 0; padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- two-tone heading helper ---------- */
.h-tone { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
.h-tone b { color: var(--teal-strong); font-weight: 800; }
.h-tone span { color: var(--teal-soft); font-weight: 400; }

/* =========================================================
   Header
   ========================================================= */
.utilitybar {
  background: var(--ink);
  color: #cfcfcf;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.utilitybar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 34px;
}
.utilitybar a { color: #cfcfcf; }
.utilitybar a:hover { color: #fff; }
.utilitybar .util-right { display: flex; gap: 22px; }
@media (max-width: 640px) { .utilitybar .util-right { display: none; } }

.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.masthead .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 20px;
}

/* logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b {
  font-weight: 800; font-size: 24px; letter-spacing: 0.12em; color: #4a4a4a;
}
.logo-text span {
  font-weight: 600; font-size: 12px; letter-spacing: 0.42em; color: #9a9a9a;
  margin-top: 3px; padding-left: 2px;
}

/* nav */
.nav { display: flex; align-items: center; gap: 12px; }
.nav a.navbtn {
  --c: var(--teal);
  display: inline-block;
  padding: 9px 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.nav a.navbtn--home    { --c: var(--nav-home); }
.nav a.navbtn--wwd     { --c: var(--nav-wwd); }
.nav a.navbtn--connect { --c: var(--nav-connect); }
.nav a.navbtn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nav a.navbtn[aria-current="page"] {
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.5);
}

/* mobile nav toggle */
.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: #333;
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: #fff; padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a.navbtn { text-align: center; padding: 13px; font-size: 14px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(9,58,60,0.90) 0%, rgba(11,40,60,0.82) 52%, rgba(10,28,48,0.92) 100%);
}
.hero > .container { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 70px; }

/* hero badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 54px; }
.badge {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-line);
  border-radius: 8px;
  padding: 14px 18px;
  max-width: 320px;
  backdrop-filter: blur(3px);
}
.badge .badge-ic { flex: 0 0 auto; width: 26px; height: 26px; color: #fff; margin-top: 2px; }
.badge h3 { font-size: 13.5px; color: #fff; letter-spacing: 0.02em; }
.badge p { margin: 4px 0 0; font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.45; }

/* hero heading */
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 b { font-weight: 800; }
.hero-lead {
  max-width: 720px;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.86);
  margin-bottom: 46px;
}

/* hero feature cards */
.hero-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; max-width: 900px; }
.feature {
  display: flex; gap: 18px; align-items: flex-start;
}
.feature .feature-ic {
  flex: 0 0 auto; width: 64px; height: 64px; color: #fff;
}
.feature h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.feature p { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.5; margin: 0; }

@media (max-width: 720px) {
  .hero-features { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 78px 0; }
.section--tight { padding: 60px 0; }
.section-head { max-width: 860px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 16px; margin-top: 14px; }

.divider {
  border: 0;
  border-top: 2px dotted var(--teal-soft);
  opacity: 0.7;
  margin: 0;
}

/* two-column feature blocks (services) */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; }
@media (max-width: 780px) { .cols-2 { grid-template-columns: 1fr; gap: 40px; } }

.block .block-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.block .block-ic { flex: 0 0 auto; width: 56px; height: 56px; color: var(--teal); }
.block h3 { font-size: 24px; }
.block h3 b { color: var(--teal-strong); font-weight: 800; }
.block h3 span { color: var(--teal-soft); font-weight: 400; }
.block p { color: var(--muted); font-size: 14.5px; }

/* three-column values */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cols-3 { grid-template-columns: 1fr; } }

.value { text-align: center; padding: 0 8px; }
.value .value-ic { width: 62px; height: 62px; margin: 0 auto 18px; color: var(--teal); }
.value h3 { font-size: 20px; line-height: 1.25; }
.value h3 b { color: var(--teal-strong); font-weight: 800; display: block; }
.value h3 span { color: var(--teal-soft); font-weight: 500; }
.value p { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* =========================================================
   Why join us — reason grid (What We Do)
   ========================================================= */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 56px; }
@media (max-width: 780px) { .reasons { grid-template-columns: 1fr; } }
.reason { display: flex; gap: 18px; align-items: flex-start; }
.reason .reason-ic { flex: 0 0 auto; width: 46px; height: 46px; color: var(--teal); margin-top: 2px; }
.reason h3 { font-size: 19px; }
.reason h3 b { color: var(--teal-strong); font-weight: 800; }
.reason h3 span { color: var(--teal-soft); font-weight: 400; }
.reason p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* partners */
.partners {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: center;
  margin-top: 40px;
}
.partner {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--teal-strong);
  background: #fafafa;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.partner span { font-weight: 700; letter-spacing: 0.02em; font-size: 16px; }
.partner:hover,
.partner:focus-visible {
  color: #fff; background: var(--teal); border-color: var(--teal);
  transform: translateY(-2px);
  outline: none;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: #bdbdbd;
  padding: 40px 0;
}
.footer .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: #8b8b8b; }
.footer-nav { display: flex; gap: 26px; font-size: 13px; letter-spacing: 0.04em; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 12.5px; color: #8b8b8b; width: 100%; text-align: center; margin-top: 8px; }
@media (max-width: 560px) {
  .footer .container { flex-direction: column; text-align: center; }
}
