/* SWIFT HOME V7.3 — CACHE-BUSTED ASSET BUILD */
/*
 * Swift Innovation Solutions — Home V7
 * Scoped to .swift-home-v2 to avoid affecting inner pages.
 */

.swift-home-v2 {
  --sis-navy: #0b1f4d;
  --sis-ink: #11244d;
  --sis-blue: #1976ff;
  --sis-cyan: #12bff2;
  --sis-teal: #17c7a4;
  --sis-pink: #ff0f7b;
  --sis-orange: #ff6a2a;
  --sis-purple: #6f50ff;
  --sis-soft: #f6f9ff;
  --sis-soft-2: #eef5ff;
  --sis-line: #d7e4f5;
  --sis-muted: #60749c;
  --sis-white: #ffffff;
  --sis-deep: #0d172a;
  --sis-radius: 28px;
  --sis-shadow: 0 22px 70px rgba(21, 63, 130, 0.12);
  color: var(--sis-ink);
  background: var(--sis-white);
  overflow: hidden;
}

.swift-home-v2 *,
.swift-home-v2 *::before,
.swift-home-v2 *::after {
  box-sizing: border-box;
}

.swift-home-v2 img {
  display: block;
  max-width: 100%;
  height: auto;
}

.swift-home-v2 .swift-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.swift-home-v2 a {
  text-decoration: none;
}

.swift-home-v2 .swift-home-section,
.swift-home-v2 .swift-home-hero,
.swift-home-v2 .swift-home-cta {
  position: relative;
}

/* ---------- Buttons ---------- */
.swift-home-v2 .swift-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.swift-home-v2 .swift-button:hover {
  transform: translateY(-2px);
}

.swift-home-v2 .swift-button--primary {
  color: #fff;
  background: linear-gradient(100deg, var(--sis-pink), var(--sis-orange));
  box-shadow: 0 14px 30px rgba(255, 47, 104, .22);
}

.swift-home-v2 .swift-button--secondary {
  color: var(--sis-navy);
  background: rgba(255,255,255,.92);
  border: 1px solid #b9cce7;
  box-shadow: 0 8px 18px rgba(24, 74, 146, .08);
}

.swift-home-v2 .swift-button--dark {
  color: #fff;
  background: var(--sis-navy);
  box-shadow: 0 12px 26px rgba(11,31,77,.18);
}

/* ---------- Typography ---------- */
.swift-home-v2 .swift-home-section__eyebrow {
  margin: 0 0 16px;
  color: var(--sis-blue);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.swift-home-v2 .swift-home-section__title,
.swift-home-v2 .swift-home-cta__title,
.swift-home-v2 .swift-home-hero__title {
  margin: 0;
  color: var(--sis-navy);
  font-weight: 900;
  letter-spacing: -.035em;
}

.swift-home-v2 .swift-home-section__title {
  max-width: 880px;
  font-size: clamp(2rem, 3.5vw, 3.9rem);
  line-height: 1.04;
}

.swift-home-v2 .swift-home-section__text,
.swift-home-v2 .swift-home-cta__text,
.swift-home-v2 .swift-home-hero__lead,
.swift-home-v2 .swift-home-hero__text {
  color: var(--sis-muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

/* ---------- Hero ---------- */
.swift-home-v2 .swift-home-hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 18% 8%, rgba(25,118,255,.12), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255,15,123,.09), transparent 24%),
    linear-gradient(rgba(26, 98, 196, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 98, 196, .055) 1px, transparent 1px),
    #fbfdff;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.swift-home-v2 .swift-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 64px;
}

.swift-home-v2 .swift-home-hero__title {
  max-width: 690px;
  font-size: clamp(3rem, 5.4vw, 5.9rem);
  line-height: .98;
}

.swift-home-v2 .swift-home-hero__lead {
  max-width: 670px;
  margin: 30px 0 0;
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  color: #435b86;
}

.swift-home-v2 .swift-home-hero__text {
  max-width: 670px;
  margin: 18px 0 0;
}

.swift-home-v2 .swift-home-hero__actions,
.swift-home-v2 .swift-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.swift-home-v2 .swift-home-hero__statement {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  color: #26416f;
  font-size: .95rem;
  font-weight: 750;
}

.swift-home-v2 .swift-home-hero__statement span {
  position: relative;
  padding-left: 15px;
}

.swift-home-v2 .swift-home-hero__statement span::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 0;
  top: .45em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sis-blue), var(--sis-pink));
}

.swift-home-v2 .swift-home-hero__visual {
  min-width: 0;
}

.swift-home-v2 .swift-home-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--sis-radius);
  border: 1px solid rgba(151, 184, 226, .38);
  background: rgba(255,255,255,.84);
  box-shadow: var(--sis-shadow);
}

.swift-home-v2 .swift-home-visual-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% 24%;
  height: 45%;
  background: radial-gradient(circle, rgba(20,190,244,.16), transparent 65%);
  pointer-events: none;
}

.swift-home-v2 .swift-home-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.swift-home-v2 .swift-home-visual-card--large img {
  aspect-ratio: 4 / 3;
}

/* ---------- Generic sections ---------- */
.swift-home-v2 .swift-home-section {
  padding: 108px 0;
}

.swift-home-v2 .swift-home-section--soft {
  background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
}

.swift-home-v2 .swift-home-section--light {
  background: #fff;
}

.swift-home-v2 .swift-home-section--emerald {
  background:
    radial-gradient(circle at 12% 18%, rgba(18,191,242,.11), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(111,80,255,.08), transparent 24%),
    #f5fbff;
}

.swift-home-v2 .swift-home-section--dark {
  background:
    radial-gradient(circle at 14% 10%, rgba(25,118,255,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255,15,123,.12), transparent 25%),
    var(--sis-deep);
}

.swift-home-v2 .swift-home-section__intro {
  max-width: 920px;
  margin-bottom: 48px;
}

.swift-home-v2 .swift-home-section__text {
  max-width: 900px;
  margin: 22px 0 0;
}

.swift-home-v2 .swift-home-section__intro--dark .swift-home-section__eyebrow {
  color: #5ec9ff;
}

.swift-home-v2 .swift-home-section__title--white,
.swift-home-v2 .swift-home-section__text--white {
  color: #fff;
}

.swift-home-v2 .swift-home-section__text--white {
  color: #b9c8e3;
}

/* ---------- Card grids ---------- */
.swift-home-v2 .swift-home-card-grid {
  display: grid;
  gap: 22px;
}

.swift-home-v2 .swift-home-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.swift-home-v2 .swift-home-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swift-home-v2 .swift-home-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid #dce7f6;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 34px rgba(24, 74, 146, .07);
}

.swift-home-v2 .swift-home-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  color: var(--sis-blue);
  background: #eaf3ff;
  font-size: .78rem;
  font-weight: 900;
}

.swift-home-v2 .swift-home-card h3,
.swift-home-v2 .swift-home-step h3,
.swift-home-v2 .swift-home-operating-card h3 {
  margin: 18px 0 10px;
  color: var(--sis-navy);
  font-size: 1.28rem;
  line-height: 1.25;
}

.swift-home-v2 .swift-home-card p,
.swift-home-v2 .swift-home-step p,
.swift-home-v2 .swift-home-operating-card p {
  margin: 0;
  color: var(--sis-muted);
  line-height: 1.65;
}

.swift-home-v2 .swift-home-card--dark {
  border-color: rgba(113,151,216,.22);
  background: rgba(255,255,255,.055);
  box-shadow: none;
}

.swift-home-v2 .swift-home-card--dark h3 {
  color: #fff;
}

.swift-home-v2 .swift-home-card--dark p {
  color: #b9c8e3;
}

.swift-home-v2 .swift-home-card--dark > span {
  color: #8cdcff;
  background: rgba(61,158,255,.12);
}

/* ---------- Split sections ---------- */
.swift-home-v2 .swift-home-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 64px;
}

.swift-home-v2 .swift-home-split--reverse {
  grid-template-columns: minmax(460px, 1.05fr) minmax(0, .95fr);
}

.swift-home-v2 .swift-home-split__content,
.swift-home-v2 .swift-home-split__visual {
  min-width: 0;
}

/* ---------- Steps ---------- */
.swift-home-v2 .swift-home-steps {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.swift-home-v2 .swift-home-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dfeaf8;
}

.swift-home-v2 .swift-home-step > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--sis-blue), var(--sis-cyan));
  font-weight: 900;
}

.swift-home-v2 .swift-home-step h3 {
  margin-top: 0;
}

/* ---------- Operating model ---------- */
.swift-home-v2 .swift-home-operating-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.swift-home-v2 .swift-home-operating-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #dce7f6;
  box-shadow: 0 16px 42px rgba(24, 74, 146, .07);
}

.swift-home-v2 .swift-home-operating-card > span {
  display: inline-block;
  color: var(--sis-pink);
  font-weight: 900;
}

/* ---------- Inline CTA ---------- */
.swift-home-v2 .swift-home-inline-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ---------- Closing CTA ---------- */
.swift-home-v2 .swift-home-cta {
  padding: 92px 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(25,118,255,.18), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255,15,123,.14), transparent 24%),
    linear-gradient(135deg, #eef7ff, #fff6fb 72%, #fff);
}

.swift-home-v2 .swift-home-cta__content {
  max-width: 980px;
  padding: 52px;
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  border: 1px solid #dbe7f6;
  box-shadow: var(--sis-shadow);
}

.swift-home-v2 .swift-home-cta__title {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.02;
}

.swift-home-v2 .swift-home-cta__text {
  max-width: 820px;
  margin: 22px 0 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .swift-home-v2 .swift-home-hero__grid,
  .swift-home-v2 .swift-home-split,
  .swift-home-v2 .swift-home-split--reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .swift-home-v2 .swift-home-hero__visual,
  .swift-home-v2 .swift-home-split__visual {
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
  }

  .swift-home-v2 .swift-home-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swift-home-v2 .swift-home-card-grid--three,
  .swift-home-v2 .swift-home-operating-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .swift-home-v2 .swift-container {
    width: min(100% - 30px, 1180px);
  }

  .swift-home-v2 .swift-home-hero {
    padding: 54px 0 48px;
  }

  .swift-home-v2 .swift-home-hero__grid {
    gap: 34px;
  }

  .swift-home-v2 .swift-home-hero__title {
    font-size: clamp(2.5rem, 12vw, 4.1rem);
    line-height: .99;
  }

  .swift-home-v2 .swift-home-hero__lead,
  .swift-home-v2 .swift-home-hero__text,
  .swift-home-v2 .swift-home-section__text,
  .swift-home-v2 .swift-home-cta__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .swift-home-v2 .swift-home-hero__actions,
  .swift-home-v2 .swift-home-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .swift-home-v2 .swift-button {
    width: 100%;
  }

  .swift-home-v2 .swift-home-hero__statement {
    gap: 8px 14px;
    font-size: .88rem;
  }

  .swift-home-v2 .swift-home-section {
    padding: 72px 0;
  }

  .swift-home-v2 .swift-home-card-grid--four,
  .swift-home-v2 .swift-home-card-grid--three,
  .swift-home-v2 .swift-home-operating-grid {
    grid-template-columns: 1fr;
  }

  .swift-home-v2 .swift-home-card,
  .swift-home-v2 .swift-home-operating-card {
    min-height: auto;
    padding: 24px;
  }

  .swift-home-v2 .swift-home-section__intro {
    margin-bottom: 34px;
  }

  .swift-home-v2 .swift-home-section__title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .swift-home-v2 .swift-home-visual-card,
  .swift-home-v2 .swift-home-cta__content {
    border-radius: 22px;
  }

  .swift-home-v2 .swift-home-cta {
    padding: 64px 0;
  }

  .swift-home-v2 .swift-home-cta__content {
    padding: 30px 22px;
  }

  .swift-home-v2 .swift-home-cta__title {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .swift-home-v2 *,
  .swift-home-v2 *::before,
  .swift-home-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Home V7.1 clarity refinements
   ========================================================= */

.swift-home-v2 .swift-home-hero__title {
  font-size: clamp(3rem, 4.7vw, 5.2rem);
  max-width: 660px;
}

.swift-home-v2 .swift-home-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(500px, .98fr);
  gap: 56px;
}

.swift-home-v2 .swift-home-hero__visual .swift-home-visual-card img {
  object-fit: contain;
  background: #f8fbff;
}

.swift-home-v2 .swift-home-connected__intro {
  max-width: 980px;
  margin-bottom: 36px;
}

.swift-home-v2 .swift-home-connected__visual {
  width: 100%;
  margin-top: 34px;
}

.swift-home-v2 .swift-home-visual-card--connected {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 14px;
  background: linear-gradient(145deg, #fbfdff, #f5f9ff);
}

.swift-home-v2 .swift-home-visual-card--connected img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 20px;
}

.swift-home-v2 .swift-home-connected__caption {
  max-width: 920px;
  margin: 16px auto 0;
  color: #7487aa;
  text-align: center;
  font-size: .88rem;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .swift-home-v2 .swift-home-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .swift-home-v2 .swift-home-hero__title {
    font-size: clamp(2.55rem, 11vw, 3.85rem);
  }

  .swift-home-v2 .swift-home-visual-card--connected {
    padding: 6px;
    border-radius: 18px;
  }

  .swift-home-v2 .swift-home-visual-card--connected img {
    border-radius: 14px;
  }

  .swift-home-v2 .swift-home-connected__caption {
    font-size: .8rem;
  }
}


/* V7.3 image clarity overrides */
.swift-home-v2 .swift-home-visual-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.swift-home-v2 .swift-home-services-visual .swift-home-visual-card {
  max-width: 1320px;
  margin: 0 auto;
}
.swift-home-v2 .swift-home-services-visual .swift-home-visual-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
@media (max-width: 767px) {
  .swift-home-v2 .swift-home-visual-card img {
    width: 100%;
    height: auto;
  }
}
