/* ====================================================================
   COMMERCIAL SERVICES PAGE
   Loaded only on the Commercial Services template.
   Relies on tokens + shared patterns defined in main.css.
   ==================================================================== */

/* ── TRUST STRIP ───────────────────────────────────────────────────── */
.trust-strip {
  background: var(--c-green-1);
  padding: clamp(16px, 2.2vw, 24px) 0;
}

.trust-strip__text {
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.01em;
  color: var(--c-slate-1);
  text-align: center;
}


/* ── COMMERCIAL & STRATA MAINTENANCE ───────────────────────────────── */
/* Full-bleed photo background (CommercialStrataBG.webp) with the copy
   overlaid on a dark left-weighted scrim for readability. */
.commercial-intro {
  position: relative;
  background-color: var(--c-slate-2);
  background-size: cover;
  background-position: center center;
}

.commercial-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(42, 50, 49, 0.94) 0%,
    rgba(42, 50, 49, 0.88) 42%,
    rgba(42, 50, 49, 0.58) 100%
  );
}

.commercial-intro .container {
  position: relative;
  z-index: 2;
}

.commercial-intro__content {
  max-width: 640px;
  padding: clamp(56px, 8vw, 112px) 0;
}

.commercial-intro__title {
  font-family: var(--f-secondary);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.14;
  color: var(--c-white);
  margin-bottom: 24px;
}

.commercial-intro__text {
  font-family: var(--f-secondary);
  font-size: clamp(14px, 1.5vw, 15.5px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.commercial-intro__btn {
  margin-top: 14px;
}


/* ── MAINTENANCE PACKAGES ──────────────────────────────────────────── */
.packages {
  background: var(--c-off-white);
}

.packages__heading {
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--c-slate-1);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.pkg-card {
  display: flex;
  flex-direction: column;
  background: var(--c-slate-1);
  border: 3px solid var(--c-green-1);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(56, 69, 68, 0.28);
}

.pkg-card__title {
  font-family: var(--f-secondary);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--c-green-1);
  margin-bottom: 22px;
}

.pkg-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pkg-card__list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--f-secondary);
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.pkg-card__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green-1);
}

/* Basic — light card (green border kept) for contrast with the dark Advanced */
.pkg-card--basic {
  background: var(--c-white);
}

.pkg-card--basic .pkg-card__title {
  color: var(--c-green-2);
}

.pkg-card--basic .pkg-card__list li {
  color: var(--c-slate-1);
}


/* ── SERVICE ADD-ONS ───────────────────────────────────────────────── */
.addons {
  background: var(--c-off-white);
  padding-top: 0;
}

.addons__heading {
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--c-slate-1);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.addons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 30px);
}

.addon-card {
  position: relative;
  display: flex;
  min-height: 230px;
  background-color: var(--c-slate-1);
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(56, 69, 68, 0.12);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(56, 69, 68, 0.24);
}

.addon-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: flex-start;
  padding: clamp(22px, 2.4vw, 30px);
}

.addon-card__title {
  font-family: var(--f-secondary);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.2;
  color: var(--c-white);
  margin-bottom: 12px;
}

.addon-card__desc {
  font-family: var(--f-secondary);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}


/* ── GET A QUOTE ───────────────────────────────────────────────────── */
.quote {
  background: var(--c-off-white);
}

.quote__heading {
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--c-slate-1);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.quote__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  /* Stretch both columns to the same height so the taller side (the form)
     sets the row height and the steps grow to match it. */
  align-items: stretch;
}

.quote__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}


.quote-step {
  display: flex;
  /* Grow the four cards equally so together they fill the column height and
     line up with the bottom of the form — one solid balanced column, no big
     gaps between floating cards. Content is centred inside each grown card. */
  flex: 1 1 0;
  align-items: center;
  gap: 18px;
  background: var(--c-slate-1);
  border: 2px solid var(--c-green-1);
  padding: clamp(20px, 2.4vw, 28px);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.quote-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(56, 69, 68, 0.26);
}

.quote-step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-green-1);
  color: var(--c-white);
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: 18px;
  border-radius: 0 50% 50% 50%;
}

.quote-step__title {
  font-family: var(--f-secondary);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--c-green-1);
  line-height: 1.2;
  margin-bottom: 8px;
  padding-top: 6px;
}

.quote-step__text {
  font-family: var(--f-secondary);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.quote__form-label {
  font-family: var(--f-primary);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--c-slate-1);
  margin-bottom: 22px;
  text-align: center;
}

.quote__form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 30px rgba(56, 69, 68, 0.08);
  padding: clamp(24px, 3vw, 36px);
}


/* Scroll reveal is handled globally by the content-aware system in main.css. */


/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .addons__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Commercial & Strata — tighten overlay padding */
  .commercial-intro__content { max-width: none; padding: clamp(44px, 10vw, 72px) 0; }

  /* The desktop left-to-right scrim leaves a bright strip of photo down the
     right edge on narrow screens (reads as a "cut" image). Switch to an even
     vertical scrim so the photo darkens uniformly behind the full-width copy. */
  .commercial-intro::before {
    background: linear-gradient(
      180deg,
      rgba(42, 50, 49, 0.90) 0%,
      rgba(42, 50, 49, 0.82) 100%
    );
  }

  /* On the narrow mobile frame, anchor to the left and let cover crop the
     right so the left side of the photo fills the frame. */
  .commercial-intro {
    background-size: cover;
    background-position: left center;
  }

  /* Packages + add-ons + steps — single column */
  .packages__grid { grid-template-columns: 1fr; }
  .addons__grid   { grid-template-columns: 1fr; }
  .quote__grid    { grid-template-columns: 1fr; }
}
