/* =========================================================
   MARSBARSPARS SITE CSS
   File: /public/assets/css/site.css
   ========================================================= */


/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */

:root {
  --navy: #061a36;
  --navy-2: #08264f;
  --blue: #1e63d6;
  --sky: #eaf4ff;
  --line: #d8e4f2;
  --muted: #5d6b7e;
  --soft: #f5f9fd;
  --ink: #0a1220;
  --shadow: 0 18px 55px rgba(8, 38, 79, .10);
}


/* =========================================================
   02. GLOBAL RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

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

section {
  padding: 68px 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   03. HEADER / NAVIGATION
   ========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 228, 242, .8);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.brand-title {
  display: block;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.03em;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #0a1528;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.mobile-menu {
  display: none;
  font-weight: 800;
  color: var(--navy);
}


/* =========================================================
   04. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 13px 21px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--navy);
  transition: .2s ease;
  cursor: pointer;
}

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

.btn.primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
}

.btn.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}


/* =========================================================
   05. PAGE HERO
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .93) 48%, rgba(234, 244, 255, .75) 100%),
    radial-gradient(circle at 80% 30%, rgba(30, 99, 214, .16), transparent 42%),
    linear-gradient(135deg, #f7fbff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 99, 214, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 99, 214, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}

.page-hero .container {
  position: relative;
  padding: 76px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--blue);
  display: block;
}

h1 {
  font-size: 54px;
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -.055em;
  color: var(--navy);
  max-width: 850px;
}

.lead {
  font-size: 18px;
  color: #1a2a42;
  margin: 0;
  max-width: 790px;
}


/* =========================================================
   06. SECTION HEADINGS
   ========================================================= */

.section-head {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 34px;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -.035em;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}


/* =========================================================
   07. GRID SYSTEM
   ========================================================= */

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}


/* =========================================================
   08. CARDS / PANELS / ICONS
   ========================================================= */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(8, 38, 79, .04);
  transition: .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -.01em;
}

.card p {
  font-size: 14px;
  margin: 0;
  color: #26364d;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 19px;
  color: #26364d;
  font-size: 14px;
}

.card li {
  margin: 7px 0;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: 30px;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -.035em;
  color: var(--navy);
}

.panel p {
  color: #26364d;
  margin: 0 0 14px;
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 0 18px;
  background: var(--sky);
  border: 1px solid #d2e5fa;
  color: var(--navy);
}

.icon svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* =========================================================
   09. DIRECTOR CARDS
   ========================================================= */

.director-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.director {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(8, 38, 79, .04);
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 2px solid #d2e5fa;
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 38, 79, .10);
}

.director strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.director span {
  display: block;
  color: #26364d;
  font-size: 14px;
  margin-top: 4px;
}


/* =========================================================
   10. LINKEDIN LINKS / BADGES
   ========================================================= */

.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.linkedin-badges {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.linkedin-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  transition: .18s ease;
  box-shadow: 0 6px 18px rgba(8, 38, 79, .04);
}

.linkedin-badge:hover {
  transform: translateY(-2px);
  border-color: #b9d4f2;
  box-shadow: 0 12px 28px rgba(8, 38, 79, .09);
}

.linkedin-badge.company {
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.linkedin-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #0a66c2;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: Arial, sans-serif;
  flex: 0 0 auto;
}

.linkedin-badge strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: var(--navy);
}

.linkedin-badge small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   11. CALL TO ACTION
   ========================================================= */

.cta {
  background:
    linear-gradient(90deg, rgba(6, 26, 54, .98), rgba(8, 38, 79, .95)),
    radial-gradient(circle at 78% 50%, rgba(30, 99, 214, .32), transparent 36%);
  color: #fff;
  padding: 48px 0;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 29px;
  letter-spacing: -.03em;
}

.cta p {
  margin: 0;
  color: #dbe8f8;
}

.cta .btn {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}


/* =========================================================
   12. CONTACT FORM
   ========================================================= */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 28px;
  align-items: start;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad9ea;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  background: #fbfdff;
}

.check input {
  width: auto;
  margin-top: 4px;
}

.check span {
  font-size: 13px;
  color: #26364d;
  font-weight: 700;
}

.notice {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.notice.success {
  background: #eaf8ef;
  color: #105a2b;
  border: 1px solid #bae6c8;
}

.notice.error {
  background: #fff1f1;
  color: #8a1f1f;
  border: 1px solid #ffd0d0;
}

.small-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

footer {
  background: #041326;
  color: #cbd8e8;
  padding: 46px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

footer h3 {
  font-size: 14px;
  color: #fff;
  margin: 0 0 14px;
}

footer a,
footer p {
  font-size: 14px;
  color: #cbd8e8;
  margin: 0 0 8px;
}

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

.footer-brand .brand-mark {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, .14);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  color: #9fb0c5;
}


/* =========================================================
   14. RESPONSIVE: TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1050px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 46px;
  }

  .nav-links {
    gap: 18px;
  }

  .form-wrap,
  .split {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   15. RESPONSIVE: TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .grid.three,
  .director-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   16. RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .nav {
    height: 74px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  section {
    padding: 50px 0;
  }

  .grid.two,
  .grid.four,
  .form-row,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .director {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}