/* ==========================================================================
   Storage Station — service.css
   Shared sections for the service pages:
   business-storage.html (Figma 198:744) and business-storage-2.html (Figma 192:438).
   Load after css/base.css and before the page css.
   ========================================================================== */


.service-btn { min-width: 241px; min-height: 46px; padding-block: 8.5px; font-size: clamp(18px, 1.15vw, 22.15px); }  /* 241×46 @1920 */

/* --------------------------------------------------------------------------
   Big display headline used in the service heroes / feature blocks (85px @1920)
   -------------------------------------------------------------------------- */
.service-display {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: 0.811;                  /* 69.08 / 85.17 */
  letter-spacing: -0.03em;
  color: var(--color-blue-dark);
}
.service-display--light { color: var(--color-white); }

.service-text {                        /* bold gray paragraph (26.9px @1920) */
  font-size: clamp(18px, 1.4vw, 26.9px);
  font-weight: var(--fw-bold);
  line-height: 1.22;
  color: var(--color-gray);
}

/* Centered section heading (68px @1920) */
.service-heading {
  font-size: clamp(30px, 3.54vw, 68px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-blue-dark);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hero: text on the right, illustration on the left
   -------------------------------------------------------------------------- */
.service-hero { overflow: hidden; }
.service-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  padding-inline-start: calc(var(--gutter) + clamp(0px, 3.75vw, 72px));  /* text edge 192px from the right @1920 */
  padding-inline-end: clamp(16px, 2.25vw, 43px);                        /* image 43px from the left @1920 */
}
.service-hero__content { display: flex; flex-direction: column; align-items: flex-start; }
.service-hero__title { max-width: 600px; }
.service-hero__text { max-width: 588px; margin-top: clamp(20px, 1.8vw, 34px); }
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16.5px;
  margin-top: clamp(20px, 1.4vw, 27px);
}
.service-hero__media { justify-self: end; }   /* = left edge in RTL */
.service-hero__media img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Gradient band (dark → main blue, light side on the right)
   -------------------------------------------------------------------------- */
.service-band {
  position: relative;
  background: linear-gradient(78.55deg, #064A88 20.381%, #0F528E 36.18%, #117BBC 97.342%);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Lead form with the two-line business title
   (uses the shared .lead-form / .lead-form--lg markup from partials/lead-form.html)
   -------------------------------------------------------------------------- */
.service-form .lead-form__title { line-height: 1.2; }
.service-form .lead-form__title span { display: block; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .service-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline: var(--gutter); }
}

/* ==========================================================================
   ≤768px — MOBILE (Figma mobile frames: business 339:1574, packing 339:2155)
   Shared hero pattern: centered title + text, illustration, two stacked
   full-width buttons under it. Page css sets the illustration size/offset.
   ========================================================================== */
@media (max-width: 768px) {
  .service-btn {
    width: 100%;
    min-width: 0;
    min-height: 40.58px;
    padding: 9.44px 18.87px;
    font-size: 15.9px;
  }
  .service-btn.btn--secondary { border: 1.2px solid var(--color-blue-dark); }

  .service-display { line-height: 0.857; }             /* 36 / 42 */
  .service-heading { font-size: 42px; line-height: 40px; }

  .service-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;               /* also centers the over-wide illustration */
    padding: 9px var(--gutter) 0;
    text-align: center;
  }
  .service-hero__content { display: contents; }
  .service-hero__title { max-width: 368px; font-size: min(42px, 11vw); line-height: 36px; }
  .service-hero__title br { display: none; }
  .service-hero__text { max-width: 332px; margin-top: 15px; font-size: 16px; line-height: 22px; }
  .service-hero__media { flex: none; justify-self: auto; max-width: none; }
  .service-hero__actions {
    order: 1;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 0;
  }

  /* Lead form with the two-span business title (Figma: 389px wide box, 35/29,
     "צריכים לפנות מקום בעסק?" on one line) */
  .service-form .lead-form__title {
    margin-inline: -10.5px;
    font-size: min(35px, 9.1vw);
    line-height: 29px;
  }
}
