/* SoftTech International – site overrides. Tachyons + this file only. */

:root {
  --sti-navy: #0f172a;
  --sti-navy-muted: #1e293b;
  --sti-slate: #334155;
  --sti-off-white: #f8fafc;
  --sti-white: #ffffff;
  /* Accent: clear blue for emphasis, prices, links */
  --sti-accent: #0369a1;
  --sti-accent-hover: #0284c7;
  --sti-accent-subtle: #e0f2fe;
  /* Softer hero band: visible but not black */
  --sti-hero-bg: #1e4976;
  --sti-text: #1e293b;
  --sti-text-muted: #475569;
  --sti-border: #e2e8f0;
  --sti-border-light: #f1f5f9;
}

/* Site background: same light blue tint as packages page (overrides theme bg-near-white) */
body {
  background-color: var(--sti-accent-subtle) !important;
  color: var(--sti-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Headers: dark navy/slate */
.bg-sti-navy { background-color: var(--sti-navy); }
.bg-sti-slate { background-color: var(--sti-slate); }

/* CTAs – primary = accent blue (white text), high contrast */
.sti-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}
.sti-btn-primary {
  background-color: var(--sti-accent) !important;
  color: var(--sti-white) !important;
  border-color: var(--sti-accent);
}
.sti-btn-primary:hover {
  background-color: var(--sti-accent-hover) !important;
  color: var(--sti-white) !important;
  border-color: var(--sti-accent-hover);
}
/* Secondary on dark: transparent with white border */
.sti-btn-secondary {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.sti-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: #ffffff;
}

/* ----- Home page: same container and card style as packages page ----- */
/* .sti-home and .sti-home-content are structural wrappers in markup; no styles. */
.sti-home-wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
}
@media (min-width: 48em) {
  .sti-home-wrap { padding-left: 2rem; padding-right: 2rem; }
}

/* Hero – soft blue band, same container; elegant middle ground */
.sti-home-hero {
  background: var(--sti-hero-bg);
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.sti-home-hero__title {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}
@media (min-width: 48em) {
  .sti-home-hero__title { font-size: 2.125rem; }
}
.sti-home-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}
.sti-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.sti-btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.sti-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.sti-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff;
  color: #fff !important;
}

/* Sections: same padding as packages (pv4) */
.sti-home-section {
  padding: 2rem 0 3rem;
  background: var(--sti-accent-subtle);
}

/* Section header: left-aligned */
.sti-home-section-header {
  margin-bottom: 2rem;
}
.sti-home-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sti-navy);
  margin: 0 0 0.75rem 0;
}
@media (min-width: 48em) {
  .sti-home-h2 { font-size: 1.75rem; }
}
.sti-home-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sti-text-muted);
  margin: 0;
  max-width: 34em;
}
.sti-home-p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sti-text-muted);
  margin: 0 0 1rem 0;
}
.sti-home-ul {
  margin: 0 0 0 1.25rem;
  padding: 0;
  list-style: disc;
}
.sti-home-ul li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sti-text);
  margin-bottom: 0.25rem;
}

/* Two columns as cards (same style as package cards) */
.sti-home-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 47.99em) {
  .sti-home-cols { grid-template-columns: 1fr; }
}
/* Shared card style (home two-column cards and package cards) */
.sti-home-card,
.sti-package-card {
  background: var(--sti-white);
  border: 1px solid var(--sti-border);
  border-radius: 0.5rem;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(3, 105, 161, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid var(--sti-accent);
}
.sti-home-card:hover,
.sti-package-card:hover {
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.12);
  border-color: var(--sti-accent);
}
.sti-package-card {
  display: flex;
  flex-direction: column;
}
.sti-home-card__title,
.sti-package-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sti-navy);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}
.sti-home-card__title + .sti-home-card__title { margin-top: 1.5rem; }
.sti-package-card__title { font-size: 1.25rem; }
.sti-home-a {
  color: var(--sti-accent);
  font-weight: 500;
  text-decoration: underline;
}
.sti-home-a:hover { color: var(--sti-accent-hover); text-decoration: none; }

/* CTA strip */
.sti-home-cta {
  background: var(--sti-navy);
  padding: 4rem 0;
  text-align: center;
}
.sti-home-cta__text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 1.25rem 0;
}
.sti-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Packages page – accent on prices and cards (body already has accent-subtle bg) */
.sti-packages-page .sti-package-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 30em) {
  .sti-packages-page .sti-package-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 60em) {
  .sti-packages-page .sti-package-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sti-package-card__price {
  font-size: 1rem;
  color: var(--sti-text-muted);
  margin-bottom: 1rem;
}
.sti-package-card .sti-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sti-accent);
}

.sti-package-card__hours {
  color: var(--sti-text-muted);
  font-weight: 500;
}

.sti-package-card__desc {
  margin: 0 0 1.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sti-text-muted);
  flex-grow: 1;
}

.sti-package-card__cta {
  margin-top: auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
/* Package card Contact button uses same .sti-btn-primary (accent blue) */
