/* ==========================================================================
   Section 07 — HVAC Marketing Software & CRM (Elementor id 9caa4e3)
   Static section: no scroll trigger, no entrance animation. The only motion is
   the Elementor/EAEL flip-box hover (transition .5s) and the standard .3s
   hover transitions on the buttons.
   Desktop 1440x1521 / tablet 768x1618 / mobile 390x2457. Background white.
   ========================================================================== */

.s-software {
  padding: 50px 0;
  background: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 1.5em;
  color: var(--c-text);
}

/* ---- Head: eyebrow, title, lead ------------------------------------------ */

.s-software .sw-head {
  text-align: center;
}

.s-software .sw-eyebrow {
  margin: 0 0 20px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5em;
  color: var(--c-green);
}

.s-software .sw-title {
  margin: 0 0 10px;
  font-family: var(--f-body);
  font-size: 50px;
  font-weight: 400;
  line-height: 65px;
  text-transform: capitalize;
  color: var(--c-black);
}

.s-software .sw-lead {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--c-slate);
}

/* ---- Card grid ------------------------------------------------------------ */

.s-software .sw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 912px;
  margin: 20px auto 0;
  padding: 10px;
}

/* ---- Flip card ------------------------------------------------------------ */

.s-software .sw-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  perspective: 1000px;
}

.s-software .sw-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s var(--ease);
}

.s-software .sw-card-front {
  z-index: 2;
  background-color: var(--c-offwhite);
  transform: rotateY(0deg);
}

.s-software .sw-card-rear {
  background-image: linear-gradient(135deg, rgb(0, 0, 0) 35%, rgb(54, 54, 54) 100%);
  color: var(--c-white);
  transform: rotateY(180deg);
}

.s-software .sw-card:hover .sw-card-front,
.s-software .sw-card:focus-within .sw-card-front {
  transform: rotateY(-180deg);
}

.s-software .sw-card:hover .sw-card-rear,
.s-software .sw-card:focus-within .sw-card-rear {
  transform: rotateY(0deg);
}

.s-software .sw-icon {
  width: 200px;
  height: 200px;
  object-fit: fill;
}

.s-software .sw-icon--sm {
  width: 75px;
  height: 75px;
}

.s-software .sw-card-title {
  margin: 8px 0 0;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4em;
  color: var(--c-text);
}

.s-software .sw-card-sub {
  margin: 10px 0 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-green);
}

.s-software .sw-card-copy {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5em;
  color: var(--c-white);
}

/* ---- Learn More tile ------------------------------------------------------ */

.s-software .sw-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
  padding: 130px 20px;
  border-radius: 12px;
  background-color: var(--c-offwhite);
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.s-software .sw-more-text {
  font-family: var(--f-body);
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  color: var(--c-text);
  transition: color var(--dur) var(--ease);
}

.s-software .sw-more:hover .sw-more-text,
.s-software .sw-more:focus-visible .sw-more-text {
  color: var(--c-green);
}

/* ---- Dark CTA bar --------------------------------------------------------- */

.s-software .sw-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1026px;
  margin: 20px auto 0;
  padding: 10px;
  border-radius: 12px;
  background-image: linear-gradient(315deg, rgb(0, 0, 0) 25%, rgb(54, 54, 54) 100%);
}

.s-software .sw-bar-logo {
  flex: 0 0 auto;
  width: 91px;
}

.s-software .sw-bar-logo img {
  width: 91px;
  height: 91px;
  border-radius: 12px;
  object-fit: fill;
}

.s-software .sw-bar-body {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
}

.s-software .sw-bar-title {
  width: 100%;
  margin: 0 0 10px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  line-height: 20px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--c-grey-light);
}

.s-software .sw-bar-pill {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-height: 30px;
  margin: 0 -15px 0 0;
  padding: 4px 35px 4px 0;
  border-radius: 25px 0 0 25px;
  background-image: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5em;
  color: var(--c-text);
}

.s-software .sw-bar-pill b {
  font-weight: 700;
}

.s-software .sw-bar-cta {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  width: 268px;
  max-width: 100%;
}

.s-software .sw-bar-btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--c-white-12);
  border-radius: 24px;
  background-color: var(--c-white-12);
  box-shadow: rgba(0, 0, 0, 0.78) 0 19px 26px 1px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  text-align: center;
  color: var(--c-white);
  transition: border-color var(--dur) cubic-bezier(0.2, 1, 0.3, 1),
              background-color var(--dur) cubic-bezier(0.2, 1, 0.3, 1);
}

.s-software .sw-bar-btn:hover,
.s-software .sw-bar-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background-color: rgba(255, 255, 255, 0.24);
}

.s-software .sw-bar-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 14px;
}

.s-software .sw-bar-btn-text {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---- Tablet 768–1024 ------------------------------------------------------ */

@media (max-width: 1024px) {
  .s-software .sw-title {
    font-size: 45px;
    line-height: 58px;
  }

  .s-software .sw-grid {
    max-width: 620px;
    gap: 23px;
    padding: 0;
  }

  .s-software .sw-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .s-software .sw-card-title,
  .s-software .sw-card-sub {
    font-size: 14px;
  }

  .s-software .sw-more-text {
    font-size: 24px;
    line-height: 30px;
  }

  .s-software .sw-bar {
    max-width: 686px;
    margin-top: 40px;
  }

  .s-software .sw-bar-pill {
    font-size: 12px;
  }

  .s-software .sw-bar-cta {
    width: 175px;
  }

  .s-software .sw-bar-btn-text {
    font-size: 11px;
    line-height: 14px;
  }
}

/* ---- Mobile <=767 --------------------------------------------------------- */

@media (max-width: 767px) {
  .s-software {
    padding: 40px 0;
  }

  .s-software .sw-eyebrow {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .s-software .sw-title {
    font-size: 26px;
    line-height: 32px;
  }

  .s-software .sw-lead {
    font-size: 14px;
    line-height: 21px;
  }

  .s-software .sw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: none;
    margin-top: 16px;
    padding: 0 13px;
  }

  .s-software .sw-card {
    height: 295px;
  }

  .s-software .sw-more {
    height: auto;
    padding: 20px;
  }

  .s-software .sw-more-text {
    font-size: 36px;
    line-height: 44px;
  }

  .s-software .sw-bar {
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    margin: 30px 13px 0;
    padding: 16px;
  }

  .s-software .sw-bar-body {
    width: 100%;
    padding: 0;
  }

  .s-software .sw-bar-title {
    margin-top: 12px;
  }

  .s-software .sw-bar-pill {
    flex: 1 1 100%;
    margin: 0 0 12px;
    padding: 8px 16px;
    border-radius: 25px;
    text-align: center;
    justify-content: center;
  }

  .s-software .sw-bar-cta {
    width: 100%;
  }
}
