/* ==========================================================================
   True Nova — site styles
   Palette drawn from the logo: deep navy through royal blue to bright cyan-blue
   ========================================================================== */

:root {
  --navy-900: #030d22;
  --navy-800: #04122e;
  --navy-700: #071a3f;
  --navy-600: #0d2657;
  --blue-700: #0b3db8;
  --blue-600: #0a57c0;
  --blue-500: #0a6fe6;
  --blue-400: #0097f9;
  --cyan-400: #00b4f0;

  --ink: #0b1b3a;
  --body: #3c4a63;
  --muted: #64748b;
  --line: #e4eaf3;

  --bg: #ffffff;
  --bg-alt: #f4f8fd;
  --bg-tint: #eaf2fd;

  --gradient: linear-gradient(118deg, #001030 0%, #0a3aaf 46%, #0a73e6 74%, #00a6f0 100%);
  --gradient-soft: linear-gradient(118deg, #04122e 0%, #0b3db8 60%, #0a6fe6 100%);

  --shadow-sm: 0 1px 2px rgba(4, 18, 46, .06), 0 2px 8px rgba(4, 18, 46, .05);
  --shadow-md: 0 10px 30px rgba(7, 26, 63, .10);
  --shadow-lg: 0 24px 60px rgba(7, 26, 63, .16);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --pad: clamp(1.15rem, 4vw, 2rem);

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); }

p { margin: 0 0 1.1rem; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--ink);
  padding: .7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 .9rem;
}
.section--dark .eyebrow { color: var(--cyan-400); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 111, 230, .32);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 111, 230, .42); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }
.btn--on-dark {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.arrow-link {
  font-family: var(--font-head);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.arrow-link svg { transition: transform .15s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
@media (max-width: 400px) { .brand img { height: 26px; } }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .4rem;
  cursor: pointer;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: .55rem .85rem;
  border-radius: 8px;
}
.nav a:hover { color: var(--blue-600); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav .btn { margin-left: .5rem; padding: .62rem 1.15rem; }
.nav .btn--primary { background: var(--blue-500); box-shadow: 0 4px 14px rgba(10, 111, 230, .28); }
.nav .btn--primary:hover { background: var(--blue-600); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .8rem var(--pad) 1.3rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .6rem; border-radius: 8px; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--gradient);
  color: #eaf1ff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(50% 80% at 5% 100%, rgba(0, 20, 48, .5), transparent 60%);
  z-index: -1;
}
.hero__inner {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  max-width: 820px;
}
.hero__logo { height: clamp(40px, 8vw, 60px); width: auto; max-width: 100%; margin-bottom: 1.6rem; }
.hero h1 { color: #fff; }
.hero__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--cyan-400);
  margin: 0 0 1.3rem;
}
.hero__value { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: #d5e3ff; max-width: 60ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--gradient);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f6; }
.pillar__kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.pillar h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: .5rem 0 .7rem; }
.pillar ul { margin: 1.1rem 0 1.5rem; display: grid; gap: .55rem; }
.pillar li {
  list-style: none;
  padding-left: 1.6rem;
  position: relative;
  color: var(--body);
  font-size: .97rem;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .55rem; height: .55rem;
  border-radius: 2px;
  background: var(--gradient);
}

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.feature .ico svg { width: 22px; height: 22px; stroke: #fff; }
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--body); }

/* ---------- dark section ---------- */
.section--dark {
  background: var(--gradient-soft);
  color: #d7e4ff;
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #cdddf9; }

.checklist { display: grid; gap: 1rem; margin-top: 1.5rem; }
.checklist li {
  list-style: none;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  color: #e7eefc;
}
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; stroke: var(--cyan-400); }

/* ---------- services page ---------- */
.catalogue { display: grid; gap: clamp(2.4rem, 6vw, 4rem); }
.cat-block__head { max-width: 60ch; margin-bottom: 2rem; }
.cat-block__head h2 { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.tag {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--bg-tint);
  padding: .3rem .7rem;
  border-radius: 999px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .16s ease, transform .16s ease;
}
.svc:hover { border-color: #cfe0f6; transform: translateY(-3px); }
.svc h3 {
  font-size: 1.12rem;
  margin-bottom: .5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--bg-tint);
}
.svc p { margin: 0; font-size: .95rem; }

/* ---------- about page ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
}
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-500);
  border-radius: 4px var(--radius) var(--radius) 4px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.mv-card h3 { color: var(--blue-600); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.mv-card p:last-child { margin: 0; }

.stance { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.stance li {
  list-style: none;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stance strong { color: var(--ink); font-family: var(--font-head); }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.field .req { color: var(--blue-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-400);
  background: #fff;
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-weight: 600; font-family: var(--font-head); color: var(--blue-600); }

.contact-aside {
  background: var(--gradient-soft);
  color: #e7eefc;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
}
.contact-aside h2 { color: #fff; font-size: 1.3rem; }
.contact-aside dl { margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.contact-aside dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan-400);
}
.contact-aside dd { margin: .2rem 0 0; color: #eaf1ff; }
.contact-aside dd a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.contact-aside dd a:hover { color: var(--cyan-400); }
.contact-aside .pending {
  display: inline-block;
  margin-top: .3rem;
  font-size: .82rem;
  color: #bcd0f5;
  font-style: italic;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e6ff; max-width: 52ch; margin-inline: auto; }
.cta-band .btn--on-dark { border-color: #fff; background: #fff; color: var(--blue-700); }
.cta-band .btn--on-dark:hover { background: #eaf2ff; color: var(--blue-700); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #9fb3d4;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.1fr;
  gap: 2rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer img.footer-logo { height: 26px; width: auto; margin-bottom: 1rem; }
.site-footer h4 {
  font-family: var(--font-head);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}
.site-footer ul { display: grid; gap: .5rem; }
.site-footer li { list-style: none; }
.site-footer a { color: #9fb3d4; }
.site-footer a:hover { color: #fff; }
.footer-desc { max-width: 34ch; color: #8fa4c6; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .85rem;
  color: #7f93b6;
}

/* ---------- misc ---------- */
.inline-list { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.2rem; }
.inline-list span {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: .4rem .8rem;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
