/* ==========================================================================
   Pathway IT — software.css  (Custom Software page)
   Banner-led landing layout: hero image with clickable CTA hotspots,
   features, pricing, integrations, testimonials and a closing offer band.
   ========================================================================== */

.sw-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--paper); }
.sw-section--tint { background: #F6F8FC; }

/* Icon slots are filled with an SVG by software.js. */
span[data-icon]:not([class]) { display: inline-flex; flex: none; vertical-align: middle; }

/* -------------------------------------------------------------------------- */
/* Hero banner + CTA hotspots                                                 */
/* -------------------------------------------------------------------------- */
.sw-hero { background: #000516; padding-top: var(--header-h); }
.sw-hero-media { position: relative; line-height: 0; }
.sw-banner { display: block; width: 100%; height: auto; }

/* Positions are measured from the artwork, so the hotspot lands exactly on
   the "Start Free Trial" button drawn into each banner. */
.sw-hotspot {
  position: absolute; z-index: 2; padding: 0;
  background: transparent; border: 0; border-radius: var(--r-pill);
  cursor: pointer; transition: box-shadow var(--t) var(--ease);
}
.sw-hotspot:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.sw-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sw-hotspot--desktop { left: 7.82%; top: 52.84%; width: 12.76%; height: 6.56%; }
.sw-hotspot--mobile { display: none; left: 28.62%; top: 27.92%; width: 42.98%; height: 5.30%; }

@media (max-width: 760px) {
  .sw-hotspot--desktop { display: none; }
  .sw-hotspot--mobile { display: block; }
}

/* -------------------------------------------------------------------------- */
/* Section heading (pill + centred title)                                     */
/* -------------------------------------------------------------------------- */
.sw-head { text-align: center; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); }
.sw-pill {
  display: inline-block;
  font-size: .78rem; font-weight: 500; color: var(--blue);
  background: #EAF0FE; border: 1px solid #D6E2FD;
  padding: .4rem 1rem; border-radius: var(--r-pill);
}
.sw-head h2 {
  margin-top: 1.1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.25; letter-spacing: -.02em; color: var(--slate-900);
}
@media (max-width: 560px) { .sw-head h2 br { display: none; } }

/* -------------------------------------------------------------------------- */
/* Feature cards (5 across)                                                   */
/* -------------------------------------------------------------------------- */
.sw-feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.sw-feature {
  background: var(--paper); border: 1px solid #E7ECF5; border-radius: 16px;
  padding: 1.5rem 1.3rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.sw-feature:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 30, 70, .09); border-color: #C9D9F8; }
.sw-ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; background: #EAF0FE; color: var(--blue); margin-bottom: 1.1rem;
}
.sw-ico svg { width: 21px; height: 21px; }
.sw-feature h3 { font-size: .97rem; margin-bottom: .45rem; color: var(--slate-900); }
.sw-feature p { font-size: .86rem; line-height: 1.6; color: var(--slate-500); }

@media (max-width: 1080px) { .sw-feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .sw-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .sw-feature-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Pricing                                                                    */
/* -------------------------------------------------------------------------- */
.sw-price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  max-width: 1000px; margin-inline: auto; align-items: stretch;
}
.sw-plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid #E7ECF5; border-radius: 18px;
  padding: 1.8rem 1.6rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.sw-plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 30, 70, .1); }
.sw-plan--featured { border: 2px solid var(--blue); box-shadow: 0 16px 44px rgba(37, 99, 235, .16); }
.sw-plan-badge {
  position: absolute; top: 1.15rem; right: 1.15rem;
  font-size: .66rem; font-weight: 600; color: #fff; background: var(--blue);
  padding: .28rem .6rem; border-radius: var(--r-pill); white-space: nowrap;
}
.sw-plan-name { font-size: 1.05rem; color: var(--slate-900); }
.sw-plan-price { margin-top: .8rem; font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; color: var(--slate-900); line-height: 1.1; }
.sw-plan-price span { font-size: .85rem; font-weight: 500; color: var(--slate-500); letter-spacing: 0; }
.sw-plan-price--word { font-size: 1.9rem; }
.sw-plan-desc { margin-top: .7rem; font-size: .85rem; color: var(--slate-500); }
.sw-plan-list { display: grid; gap: .7rem; margin: 1.4rem 0 1.8rem; }
.sw-plan-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .87rem; color: var(--slate-600); }
.sw-plan-list svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: .22rem; }

.sw-btn { border-radius: 11px; padding: .8rem 1.4rem; font-size: .9rem; width: 100%; }
.sw-btn--ghost { background: var(--paper); color: var(--slate-900); border: 1px solid #DCE3EF; }
.sw-btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: #F7FAFF; }
.sw-btn--solid { background: var(--blue); color: #fff; }
.sw-btn--solid:hover { background: #1D4FD8; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, .3); }
.sw-plan .sw-btn { margin-top: auto; }

@media (max-width: 860px) { .sw-price-grid { grid-template-columns: 1fr; max-width: 420px; } .sw-plan--featured { order: -1; } }

/* -------------------------------------------------------------------------- */
/* Integrations                                                               */
/* -------------------------------------------------------------------------- */
.sw-int-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.sw-int {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  background: var(--paper); border: 1px solid #E7ECF5; border-radius: 14px;
  padding: 1.1rem .9rem; min-width: 0;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.sw-int:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 30, 70, .09); border-color: #C9D9F8; }
.sw-int b { font-size: .87rem; line-height: 1.3; color: var(--slate-900); text-align: center; }
.sw-int-ico { display: grid; place-items: center; width: 26px; height: 26px; flex: none; }
.sw-int-ico svg { width: 24px; height: 24px; }
.sw-int-ico--slack { color: #E01E5A; }
.sw-int-ico--ms { color: #2F7CF6; }
.sw-int-ico--google { color: #EA4335; }
.sw-int-ico--trello { color: #0C66E4; }
.sw-int-ico--github { color: #1B1F24; }

@media (max-width: 1000px) { .sw-int-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .sw-int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .sw-int-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Testimonials                                                               */
/* -------------------------------------------------------------------------- */
.sw-tst-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sw-tst {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--paper); border: 1px solid #E7ECF5; border-radius: 16px;
  padding: 1.6rem 1.5rem;
}
.sw-stars { color: #F5A524; letter-spacing: 2px; font-size: .92rem; }
.sw-tst blockquote { font-size: .93rem; line-height: 1.65; color: var(--slate-600); }
.sw-tst figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: .4rem; }
.sw-tst figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; background: #EAF0FE; }
.sw-tst figcaption b { display: block; font-size: .89rem; color: var(--slate-900); }
.sw-tst figcaption span span { display: block; font-size: .78rem; color: var(--slate-500); }

.sw-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.8rem; }
.sw-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: #D3DCEB; transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.sw-dot:hover { transform: scale(1.2); }
.sw-dot.is-active { background: var(--blue); }

@media (max-width: 900px) {
  .sw-tst-track {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(85vw, 380px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .4rem;
  }
  .sw-tst-track::-webkit-scrollbar { display: none; }
  .sw-tst { scroll-snap-align: center; }
}

/* -------------------------------------------------------------------------- */
/* Closing offer band                                                         */
/* -------------------------------------------------------------------------- */
.sw-cta-wrap { padding-block: 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--paper); }
.sw-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
  background: #0B1526; border-radius: 16px;
  padding: clamp(1.6rem, 3.2vw, 2.2rem) clamp(1.5rem, 3.5vw, 2.6rem);
}
.sw-cta-copy h2 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #fff; letter-spacing: -.01em; }
.sw-cta-copy h2 span { color: #4D8BFF; }
.sw-cta-copy p { margin-top: .45rem; font-size: .9rem; color: #9DAAC4; }
.sw-cta-btn { width: auto; flex: none; white-space: nowrap; }

@media (max-width: 720px) {
  .sw-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .sw-cta-btn { width: 100%; }
}
