/* =========================================================================
   SAC Express — site styles
   Replicates the visual language of the existing Bubble site so a faithful
   rebuild can be deployed on Cloudflare Pages.
   ========================================================================= */

:root {
  --color-brand: #154674;          /* primary blue */
  --color-brand-hover: #0f3658;
  --color-text: #121212;           /* near-black for headings */
  --color-text-muted: #555;
  --color-body: #000;
  --color-bg: #ffffff;
  --color-dark: #121212;           /* feature strip + CTA */
  --color-navy: #0e1e2f;           /* tower/safety section */
  --color-icon-bg: #eef3fa;        /* tinted blue square behind list icons */
  --color-border: #e5e7eb;

  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: Helvetica, Arial, sans-serif;

  --max-width: 1240px;
  --gutter: 24px;
  --radius: 5px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-brand);
  text-decoration: underline;
}
a:hover { color: var(--color-brand-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

/* =========================== Buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 0;
  padding: 10px 20px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-brand);
  color: #fff;
}
.btn-primary:hover { background: var(--color-brand-hover); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
}
.btn-outline:hover { background: #f5f8fc; color: var(--color-brand); }

/* =========================== Header =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.primary-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
}
.primary-nav a:hover { color: var(--color-brand); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================== Hero ================================= */
.hero { padding: 60px var(--gutter) 80px; }
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-welcome {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 60px;
  color: var(--color-text);
}
.hero-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 80px;
  color: var(--color-brand);
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  line-height: 1.4;
}
.hero-lede {
  font-family: var(--font-body);
  font-size: 16px;
  color: #333;
  margin: 0 0 16px;
}
.hero-bullets {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 24px;
  color: #333;
}
.hero-bullets > li { margin: 8px 0; }
.hero-sublist {
  list-style: none;
  padding-left: 8px;
  margin: 8px 0 0;
}
.hero-sublist > li {
  margin: 4px 0;
  position: relative;
  padding-left: 18px;
}
.hero-sublist > li::before {
  content: 'o';
  position: absolute;
  left: 0;
  color: #333;
  font-family: var(--font-body);
}
.hero-sublist a {
  color: var(--color-brand);
  text-decoration: underline;
  font-weight: 600;
}
.hero-cta { margin-top: 8px; }

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* ====================== Feature strip (dark) ====================== */
.feature-strip {
  background: var(--color-dark);
  padding: 60px var(--gutter);
}
.feature-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.feature-check {
  display: inline-flex;
  color: #2ecc71;     /* the green check we saw on the site */
  align-items: center;
  justify-content: center;
}

/* ============== Service sections (alternating bg) ============== */
.service-section { padding: 80px var(--gutter); background: #fff; }
.service-section--dark { background: var(--color-navy); color: #fff; }
.service-section--dark .service-title { color: #fff; }
.service-section--dark .service-lede { color: #cbd5e1; }
.service-section--dark .service-label { color: #fff; }

.service-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-inner--reverse > .service-image { order: 1; }
.service-inner--reverse > .service-copy  { order: 2; }

.service-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.service-lede {
  font-family: var(--font-body);
  font-size: 16px;
  color: #444;
  margin: 0 0 24px;
  font-style: italic;
  font-weight: 600;
  max-width: 540px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-list > li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-icon-bg);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-icon--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.service-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}
.service-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* =========================== CTA ================================== */
.cta-section { padding: 60px var(--gutter); background: #fff; }
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-dark);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
  border-radius: 4px;
}
.cta-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 44px;
  color: #fff;
  margin: 0 0 16px;
}
.cta-body {
  font-family: var(--font-body);
  color: #cbd5e1;
  font-size: 17px;
  max-width: 880px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.cta-button { font-size: 19px; padding: 14px 22px; }

/* =========================== Footer =============================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 32px var(--gutter);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-row--top { padding-bottom: 12px; }
.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
}
.footer-nav a:hover { color: var(--color-brand); }
.footer-social {
  margin-left: auto;
  color: #aaa;
  text-decoration: none;
}
.footer-social:hover { color: var(--color-brand); }

.footer-row--bottom {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer-row--bottom a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-row--bottom a:hover { color: var(--color-brand); }
.footer-copy { font-weight: 600; }
.footer-divider {
  width: 1px;
  height: 14px;
  background: #ccc;
}

/* =========================== Responsive =========================== */
@media (max-width: 900px) {
  .hero-inner,
  .service-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-inner--reverse > .service-image { order: 0; }
  .service-inner--reverse > .service-copy  { order: 0; }

  .hero-welcome { font-size: 44px; }
  .hero-brand   { font-size: 60px; }
  .service-title, .cta-title { font-size: 36px; }

  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }

  .feature-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-wrap: wrap; }
}
