/* =========================================================
   SMPLITS Website Styles
   Cleaned and organized
   Last updated: 2026
   ========================================================= */

/* ------------------------------
   1. Design Tokens
------------------------------ */
:root {
  --bg: #ffffff;
  --soft: #dcebf3;
  --soft-2: #e2edf4;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d8e3ec;
  --primary: #0ea5c6;
  --primary-dark: #087995;
  --navy: #0b1b34;
  --navy-2: #102542;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
  --shadow-hover: 0 22px 55px rgba(15, 23, 42, .14);
  --max: 1120px;
  --pad: 22px;
}

/* ------------------------------
   2. Base
------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.small {
  font-size: .92rem;
}

.muted {
  color: var(--muted);
}

.section-dark .muted {
  color: #b8c4d7;
}

/* ------------------------------
   3. Accessibility
------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 14px;
  top: 14px;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: var(--shadow);
}

/* ------------------------------
   4. Header / Navigation
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px var(--pad);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: #dff3f8;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 11px 16px;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.nav-toggle .bars {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
}

.nav-toggle .bars::before {
  top: 0;
}

.nav-toggle .bars span {
  top: 5px;
}

.nav-toggle .bars::after {
  bottom: 0;
}

/* ------------------------------
   5. Buttons
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(14, 165, 198, .24);
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ------------------------------
   6. Hero Section
   Recommendation applied:
   - Syracuse office image
   - dark overlay
   - soft blur/saturation control
   - readable white text
------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 0, 0, .46), rgba(0, 0, 0, .46)),
    url("../img/syracuse-office.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* This softens the AI look without hiding the picture. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(14, 165, 198, .18), transparent 28%),
    linear-gradient(90deg, rgba(7, 20, 38, .34), rgba(7, 20, 38, .08));
  backdrop-filter: blur(.6px) saturate(.88);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}

.hero .lead {
  max-width: 640px;
  color: rgba(255, 255, 255, .90);
  font-size: 1.16rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.hero-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border-top: 5px solid var(--primary);
}

.hero-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(14, 165, 198, .12);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list li {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  font-size: .95rem;
  backdrop-filter: blur(8px);
}

/* ------------------------------
   7. Cards / Panels
------------------------------ */
.hero-card,
.panel,
.feature,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.feature,
.contact-card {
  background: var(--card);
}

.panel,
.feature {
  padding: 24px;
}

.feature {
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature h3,
.panel h3,
.panel h2 {
  margin-top: 0;
}

.feature p,
.panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.quick-card h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
}

/* ------------------------------
   8. Visual Cards / Images
------------------------------ */
.visual-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 360px;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  padding: 12px;
  background: linear-gradient(135deg, #ffffff, #e8f1f6);
}

/* ------------------------------
   9. Sections / Layouts
------------------------------ */
.section {
  padding: 62px 0;
}

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

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.03em;
}

.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--soft-2) 100%);
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.service-row .visual-card {
  min-height: 300px;
}

.image-band {
  padding: 0 0 62px;
  background: var(--soft);
}

.image-band .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
}

.image-band-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.image-band-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.image-band-copy p {
  color: var(--muted);
}

/* ------------------------------
   10. Contact / Mini Info
------------------------------ */
.contact-mini {
  display: grid;
  gap: 12px;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.mini-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-label {
  color: var(--muted);
  font-weight: 800;
}

.mini-value {
  text-decoration: none;
  font-weight: 800;
}

.mini-value:hover {
  color: var(--primary-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

/* ------------------------------
   11. Lists / Steps / Icons
------------------------------ */
.icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: #dff3f8;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.bullets li {
  margin: 9px 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 14px;
}

/* ------------------------------
   12. Callouts
------------------------------ */
.callout,
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 26px;
}

.callout-inner,
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.callout-title,
.cta-title {
  margin: 0;
}

.callout .muted,
.cta-banner .muted {
  color: #cbd5e1;
}

.callout .btn,
.cta-banner .btn {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.callout .btn:hover,
.cta-banner .btn:hover {
  background: #dff3f8;
  color: var(--primary-dark);
}

/* ------------------------------
   13. Forms
------------------------------ */
.form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #cceff6;
  border-color: var(--primary);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ------------------------------
   14. Text Pages
------------------------------ */
.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 0;
  color: var(--ink);
}

/* ------------------------------
   15. Footer
------------------------------ */
.site-footer {
  background: #071426;
  color: #fff;
  padding: 38px 0 20px;
}

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

.footer-brand {
  font-weight: 900;
  font-size: 1.25rem;
}

.footer-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-link {
  display: block;
  text-decoration: none;
  color: #cbd5e1;
  margin: 7px 0;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ------------------------------
   16. Responsive
------------------------------ */
@media (max-width: 920px) {
  .brand-logo {
    height: 50px;
  }

  .hero {
    padding: 52px 0 42px;
    background-position: center left;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .steps,
  .footer-grid,
  .service-row,
  .image-band .container,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .callout-inner,
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    color: var(--ink);
    padding: 13px 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .mini-row {
    display: grid;
    gap: 4px;
  }

  .section {
    padding: 44px 0;
  }

  .visual-card {
    min-height: 260px;
  }

  .hero-side {
    order: -1;
  }

  .service-row .visual-card {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 18px;
  }

  .brand-logo {
    height: 46px;
  }

  .nav-toggle {
    font-size: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero .lead {
    font-size: 1.08rem;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }

  .trust-list li {
    width: 100%;
  }

  .hero-card,
  .feature,
  .panel {
    padding: 20px;
  }

  .site-nav {
    top: 76px;
  }
}




/* Fix hero image card: remove white frame/padding and make image fill smoothly */
.hero-visual,
.visual-card.hero-visual {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 26px;
  overflow: hidden;
}

.hero-visual img,
.visual-card.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
}