/* Linux Solutions Company — site stylesheet
   Design tokens carried over from the approved LSC Website design. */

:root {
  --navy: #004070;
  --navy-soft: #00304F;
  --blue: #00629B;
  --blue-dark: #004070;
  --green: #6FAF2E;
  --green-light: #8FD35A;

  --bg: #F6F8FA;
  --white: #FFFFFF;
  --ink: #0B1620;

  --ink-08: rgba(11,22,32,0.08);
  --ink-10: rgba(11,22,32,0.10);
  --ink-15: rgba(11,22,32,0.15);
  --ink-25: rgba(11,22,32,0.25);
  --ink-45: rgba(11,22,32,0.45);
  --ink-6: rgba(11,22,32,0.6);
  --ink-65: rgba(11,22,32,0.65);
  --ink-7: rgba(11,22,32,0.7);
  --ink-75: rgba(11,22,32,0.75);
  --ink-8: rgba(11,22,32,0.8);

  --white-25: rgba(255,255,255,0.25);
  --white-4: rgba(255,255,255,0.4);
  --white-55: rgba(255,255,255,0.55);
  --white-6: rgba(255,255,255,0.6);
  --white-75: rgba(255,255,255,0.75);
  --white-78: rgba(255,255,255,0.78);

  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max: 1240px;
  --max-narrow: 900px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--max-narrow); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--on-navy { color: var(--green-light); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,248,250,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-08);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.brand__tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--blue); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav a.is-active { color: var(--blue); }
.nav .btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

.mobile-nav { display: none; flex-direction: column; padding: 8px 28px 20px; border-top: 1px solid var(--ink-08); background: var(--bg); }
.mobile-nav a { padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(11,22,32,0.06); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 10px; text-align: center; }
.site-header.is-open .mobile-nav { display: flex; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 700px) {
  .hero { height: 560px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(11,22,32,0.82) 0%, rgba(11,22,32,0.92) 100%); }
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #EAF2F7; color: var(--navy); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid var(--white-4); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* Hero */
.hero { position: relative; width: 100%; height: 640px; overflow: hidden; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mirrored: the source photo's bright fibre-optic burst sits on the
     left, which would fall directly behind the text column otherwise. */
  transform: scaleX(-1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,22,32,0.94) 0%, rgba(0,64,112,0.82) 55%, rgba(0,64,112,0.42) 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__inner { max-width: 760px; }
.hero__inner h1 { font-size: clamp(34px,5vw,56px); line-height: 1.08; color: #fff; margin: 0 0 24px; }
.hero__inner p { font-size: 18px; line-height: 1.6; color: var(--white-78); max-width: 620px; margin: 0 0 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { background: var(--navy); padding: 96px 28px 64px; }
.page-hero__inner { max-width: var(--max-narrow); margin: 0 auto; }
.page-hero h1 { font-size: clamp(30px,4vw,44px); color: #fff; margin: 0 0 20px; }
.page-hero p { font-size: 17px; line-height: 1.65; color: var(--white-78); margin: 0; max-width: 640px; }

/* Section header row */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(26px,3vw,36px); max-width: 600px; }
.section-head .more-link { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Core service cards (home) */
.core-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 20px; }
.core-card {
  background: #fff;
  border: 1px solid var(--ink-08);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.core-card .index { font-family: var(--font-mono); font-size: 11px; color: var(--blue); margin-bottom: 14px; }
.core-card h3 { font-size: 19px; margin: 0 0 12px; }
.core-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-7); margin: 0 0 18px; }
.core-card .bullets { display: flex; flex-direction: column; gap: 8px; }
.core-card .bullets span { font-size: 13px; color: var(--ink-6); }

.minor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; }
.minor-card { border: 1px solid var(--ink-10); border-radius: 4px; padding: 26px 24px; text-decoration: none; color: inherit; display: block; }
.minor-card .index { font-family: var(--font-mono); font-size: 11px; color: var(--ink-45); margin-bottom: 10px; }
.minor-card h3 { font-size: 16px; margin: 0 0 8px; }
.minor-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-65); margin: 0; }

@media (max-width: 860px) {
  .core-grid, .minor-grid { grid-template-columns: 1fr !important; }
}

/* Reusable small icon-dot (blue/green circle with white center dot) */
.icon-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.icon-dot span { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.why-item .icon-dot { margin-bottom: 18px; }
.why-item h3 { font-size: 16px; margin: 0 0 8px; }
.why-item p { font-size: 14px; line-height: 1.6; color: var(--ink-65); margin: 0; }

@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Sectors pills */
.sectors-row { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 8px 0; }
.sectors-row__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--blue); opacity: 0.3; z-index: 0; }
.pill {
  position: relative; z-index: 1;
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dot--green { background: var(--green); }
.dot--blue { background: var(--blue); }
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.sector-card { background: #fff; border: 1px solid var(--ink-08); border-radius: 6px; padding: 28px; }
.sector-card h3 { font-size: 17px; margin: 0 0 10px; }
.sector-card p { font-size: 14px; line-height: 1.6; color: var(--ink-7); margin: 0; }

/* Trust / sovereign band */
.trust-band { padding: 88px 28px; background: var(--navy); position: relative; overflow: hidden; }
.trust-band__decoration { position: absolute; inset: 0; opacity: 0.35; }
.trust-grid { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.trust-grid h2 { font-size: clamp(24px,3vw,32px); color: #fff; }
.trust-grid p { font-size: 16px; line-height: 1.7; color: var(--white-8, rgba(255,255,255,0.8)); margin: 0; }
@media (max-width: 780px) { .trust-grid { grid-template-columns: 1fr !important; } }

/* CTA band */
.cta-band { padding: 72px 28px; }
.cta-band--green { background: var(--green); }
.cta-band--navy { background: var(--navy); }
.cta-band__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-size: clamp(22px,2.6vw,28px); max-width: 560px; margin: 0; }
.cta-band--green h2 { color: var(--ink); }
.cta-band--navy h2 { color: #fff; }

/* Services detail (timeline) */
.svc-timeline { max-width: var(--max-narrow); margin: 0 auto; padding: 0 28px; }
.svc-item { display: flex; gap: 24px; padding: 8px 0 56px; }
.svc-item--white { background: #fff; }
.svc-item--tint { background: var(--bg); }
.svc-rail { display: flex; flex-direction: column; align-items: center; flex: none; padding-top: 4px; }
.svc-rail__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); display: block; }
.svc-rail__dot--minor { width: 10px; height: 10px; background: var(--ink-25); }
.svc-rail__line { width: 1px; flex: 1; background: rgba(0,98,155,0.25); margin-top: 8px; }
.svc-body { flex: 1; padding-bottom: 8px; }
.svc-body .index { font-family: var(--font-mono); font-size: 11px; color: var(--blue); margin-bottom: 10px; }
.svc-body .index--minor { color: var(--ink-45); }
.svc-body h2 { font-size: 26px; margin: 0 0 14px; }
.svc-body h2.minor { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.svc-body p.lede { font-size: 15.5px; line-height: 1.7; color: var(--ink-7); margin: 0 0 24px; max-width: 620px; }
.svc-body p.lede.minor { font-size: 14.5px; line-height: 1.65; margin: 0 0 16px; }
.svc-body__media { margin-bottom: 20px; }
.svc-body__media img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.feature-grid div { display: flex; gap: 10px; font-size: 14px; color: var(--ink-75); }
.feature-grid div span.bullet { width: 6px; height: 6px; background: var(--green); margin-top: 7px; flex: none; border-radius: 1px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.feature-tags span { font-size: 13.5px; color: var(--ink-7); }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-item { flex-direction: column; gap: 12px; } .svc-rail { flex-direction: row; } .svc-rail__line { display: none; } }

/* About page */
.about-story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-story img { width: 100%; height: 380px; object-fit: cover; border-radius: 6px; }
.about-story p { font-size: 16px; line-height: 1.7; color: var(--ink-8); margin: 0 0 16px; }
@media (max-width: 860px) { .about-story { grid-template-columns: 1fr; } }

.value-card { background: #fff; border: 1px solid var(--ink-08); border-radius: 6px; padding: 26px; }
.value-card h3 { font-size: 16px; margin: 0 0 8px; }
.value-card p { font-size: 14px; line-height: 1.55; color: var(--ink-7); margin: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr !important; } }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-75); }
.form-group input, .form-group textarea, .form-group select {
  padding: 13px 14px;
  border: 1px solid var(--ink-15);
  border-radius: 3px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.form-alert { padding: 16px 18px; border-radius: 4px; font-size: 14.5px; }
.form-alert--success { background: #F1F7EC; border: 1px solid rgba(111,175,46,0.4); color: #3E6A17; }
.form-alert--error { background: #FDECEC; border: 1px solid #F3C6C6; color: #9A2A2A; }

.info-card { background: var(--bg); border: 1px solid var(--ink-08); border-radius: 4px; padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; }
.info-card .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.info-card p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--ink-8); }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: 6px; }

/* Footer */
.site-footer { background: var(--ink); padding: 64px 28px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand span { font-weight: 800; font-size: 15px; color: #fff; }
.footer-about { font-size: 13.5px; line-height: 1.6; color: var(--white-55); margin: 0; max-width: 280px; }
.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-4); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: var(--white-75); }
.footer-contact p { font-size: 13.5px; line-height: 1.7; color: var(--white-75); margin: 0; }
.footer-contact a { color: var(--white-75); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.footer-bottom span { font-size: 12.5px; color: var(--white-4); }
.footer-bottom .mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.section { padding: 88px 28px; }
.section--tight { padding: 56px 28px; }
.section--white { background: #fff; border-top: 1px solid rgba(11,22,32,0.06); border-bottom: 1px solid rgba(11,22,32,0.06); }
.section--bg { background: var(--bg); }
.text-center { text-align: center; }
