/* ==========================================================================
   Services section
   ========================================================================== */

.services {
  --svc-bg: rgba(1, 84, 188, 0.1); /* #0154BC1A */
  --svc-h: 1405px;
  --svc-canvas: 1920px;
  --svc-wrap-w: 1440px;
  --svc-block-w: 1440px;
  --svc-block-h: 481px;
  --svc-block-left: 240px; /* Figma left offset in 1920 canvas */
  --svc-block-top: 293px;  /* 1830 - 1537 section top */
  --svc-heading-w: 1129px;
  --svc-heading-h: 72px;
  --svc-heading-top: 120px; /* 1657 - 1537 section top */
  --svc-lead-w: 1019px;
  --svc-lead-h: 56px;
  --svc-lead-top: 207px; /* 1744 - 1537 section top */
  --svc-viewall-w: 249px;
  --svc-viewall-h: 66px;
  --svc-viewall-top: 85px; /* 1696 - 1657 heading top */
  --svc-intro-w: 336px;
  --svc-cards-w: 1074px;
  --svc-cards-h: 421px;
  --svc-card-w: 338px;
  --svc-card-img-h: 330px;
  --svc-navy: #00274e;
  --svc-ink: #464646;
  --svc-yellow: #fab72a;
  --svc-blue: #1c45c2;
  background: var(--svc-bg);
  min-height: var(--svc-h);
  padding: var(--svc-heading-top) 0 80px;
  position: relative;
}

.services__wrap {
  width: var(--svc-wrap-w);
  max-width: calc(100vw - 32px);
  margin-left: max(16px, calc((min(100vw, var(--svc-canvas)) - var(--svc-wrap-w)) / 2));
  margin-right: auto;
  padding: 0;
}

.services__blocks {
  width: var(--svc-canvas);
  max-width: 100%;
  margin: 0;
  padding-left: max(16px, calc((min(100vw, var(--svc-canvas)) - var(--svc-block-w)) / 2));
}

/* ── Section header ── */
.services .sec-head {
  position: relative;
  display: block;
  /* lead ends ~1800; block starts 1830 → 30px gap */
  margin-bottom: 30px;
  min-height: calc(var(--svc-viewall-top) + var(--svc-viewall-h));
}

.services .sec-head__left {
  width: 100%;
  max-width: var(--svc-heading-w);
  text-align: left;
}

/* Figma heading: 1129x72 at left 240 / top 1657 */
.svc-heading,
.svc-heading .hl {
  font-family: 'Gilroy-ExtraBoldItalic', var(--display);
  font-weight: 400;
  font-style: normal; /* italic is in the Gilroy-ExtraBoldItalic face */
  font-size: 54px;
  line-height: 72px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.svc-heading {
  box-sizing: border-box;
  width: var(--svc-heading-w);
  max-width: 100%;
  height: var(--svc-heading-h);
  margin: 0 0 15px; /* lead top 1744 − heading bottom 1729 */
  opacity: 1;
  text-align: left;
  white-space: nowrap;
  color: #1C45C1;
}

.svc-heading .hl {
  background: var(--svc-yellow);
  color: #fff;
  padding: 0 14px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Figma lead: 1019x56 at left 240 / top 1744 */
.services .sec-head .lead {
  box-sizing: border-box;
  width: var(--svc-lead-w);
  max-width: 100%;
  height: var(--svc-lead-h);
  margin: 0;
  opacity: 1;
  text-align: left;
  font-family: 'Gilroy-Medium', var(--font);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: #464646;
}

/* Figma: 249x66 at left 1432.5 / top 1696 */
.svc-view-all {
  position: absolute;
  top: var(--svc-viewall-top);
  right: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: var(--svc-viewall-w);
  height: var(--svc-viewall-h);
  padding: 20px 30px;
  background: #fab72a;
  color: var(--svc-navy);
  border: 1px solid transparent;
  border-radius: 50px;
  opacity: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}

.svc-view-all:hover {
  background: #e5a51f;
  transform: translateY(-1px);
}

.svc-book-btn .circle-arrow,
.svc-view-all .circle-arrow {
  border-color: var(--svc-navy);
  color: var(--svc-navy);
}

/* ── Circle-arrow icon ── */
.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex-shrink: 0;
}

.circle-arrow svg {
  width: 12px;
  height: 12px;
}

/* ── Service block (blue rounded card) ──
   Figma: 1440x481 at left 240 / top 1830 */
.svc-block {
  box-sizing: border-box;
  width: var(--svc-block-w);
  height: var(--svc-block-h);
  margin: 0 0 30px;
  padding: 30px 0;
  background: #1c45c2;
  border-radius: 20px;
  opacity: 1;
  display: grid;
  grid-template-columns: var(--svc-intro-w) var(--svc-cards-w);
  gap: 30px;
  align-items: stretch;
  overflow: hidden;
  flex: none;
}

.svc-intro {
  box-sizing: border-box;
  width: var(--svc-intro-w);
  max-width: 100%;
  padding: 0 10px 0 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.svc-intro h3 {
  margin: 0 0 12px;
  font-family: 'Gilroy-Bold', var(--display);
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0;
  color: #fff;
}

.svc-intro > p {
  margin: 0 0 auto;
  font-family: 'Gilroy-Medium', var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0;
  color: #fff;
}

.svc-acts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* Figma Book Now: 276x66, radius 50px, #FAB72A */
.svc-book-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 276px;
  max-width: 100%;
  height: 66px;
  padding: 20px 30px;
  background: #fab72a;
  color: var(--svc-navy);
  border: 1px solid transparent;
  border-radius: 50px;
  opacity: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.svc-book-btn:hover {
  background: #e5a51f;
  transform: translateY(-1px);
}

.svc-call-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 276px;
  max-width: 100%;
  height: 66px;
  padding: 20px 30px;
  background: #fff;
  color: var(--svc-navy);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50px;
  opacity: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.svc-call-btn:hover {
  background: #f4f7fd;
  transform: translateY(-1px);
}

.svc-call-btn .ic {
  width: 17px;
  height: 17px;
}

/* ── 3-column service sub-cards on blue background ── */
.svc-cards {
  width: 100%;
  height: var(--svc-cards-h);
  display: flex;
  align-items: stretch;
  gap: 15px;
}



.svc-card {
  flex: 0 0 var(--svc-card-w);
  width: var(--svc-card-w);
  min-width: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Figma image: 338x330 */
.svc-card__img {
  position: relative;
  flex: 0 0 auto;
  width: var(--svc-card-w);
  height: var(--svc-card-img-h);
  overflow: hidden;
  border-radius: 12px;
  background: #0e2240;
  opacity: 1;
}

.svc-card__img img {
  width: var(--svc-card-w);
  height: var(--svc-card-img-h);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  opacity: 1;
  transition: transform .35s ease;
}

.svc-card:hover .svc-card__img img {
  transform: scale(1.03);
}

.svc-card__cap {
  flex: 0 0 auto;
  padding: 14px 4px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.svc-card__cap b {
  display: block;
  color: #fff;
  font-family: 'Gilroy-Bold', var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.3;
}

.svc-see-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Gilroy-Medium', var(--font);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
}

.svc-see-more:hover {
  opacity: .85;
}

.svc-see-more .circle-arrow {
  width: 22px;
  height: 22px;
  border-color: #fff;
  color: #fff;
}

.svc-see-more .circle-arrow svg {
  width: 11px;
  height: 11px;
}

/* ------------------------------- Responsive ------------------------------- */

@media (max-width: 1480px) {
  .services__blocks {
    padding-left: 16px;
    padding-right: 16px;
  }

  .svc-block {
    width: 100%;
    max-width: var(--svc-block-w);
    grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
    height: auto;
    min-height: var(--svc-block-h);
  }

  .svc-intro {
    width: auto;
  }

  .svc-cards {
    width: 100%;
    height: auto;
    min-height: 320px;
  }
}

@media (max-width: 1024px) {
  .services {
    min-height: 0;
    padding: 56px 0 64px;
  }

  .services .sec-head {
    padding-right: 0;
  }

  .svc-view-all {
    position: static;
    width: 100%;
    max-width: var(--svc-viewall-w);
    margin-top: 20px;
  }

  .services__blocks {
    padding-top: 40px;
  }

  .svc-heading,
  .svc-heading .hl {
    font-size: clamp(1.35rem, 3.8vw, 54px);
    line-height: 1.2;
  }

  .svc-heading {
    width: 100%;
    height: auto;
    min-height: var(--svc-heading-h);
    white-space: nowrap;
    overflow-x: auto;
  }

  .services .sec-head {
    margin-bottom: 40px;
  }

  .services .sec-head .lead {
    width: 100%;
    height: auto;
  }

  .svc-block {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .svc-cards {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    gap: 16px;
  }

  .svc-card-sep {
    display: none;
  }

  .svc-card {
    flex: 1 1 calc(33.333% - 12px);
    width: auto;
  }

  .svc-card__img,
  .svc-card__img img {
    width: 100%;
    height: auto;
    aspect-ratio: 338 / 330;
  }

  .svc-intro h3 {
    font-size: clamp(1.6rem, 4vw, 40px);
    line-height: 1.25; /* 50/40 ratio */
  }
}

@media (max-width: 720px) {
  .services .sec-head {
    align-items: flex-start;
  }

  .svc-cards {
    flex-direction: column;
  }

  .svc-card {
    flex: 1 1 auto;
    width: 100%;
  }

  .svc-book-btn,
  .svc-call-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .svc-block {
    padding: 18px 16px;
    gap: 16px;
  }
}

/* ── Fast banner: 250px yellow strip; van 556×318 absolute left ── */
.fast-banner-wrap {
  --fast-banner-h: 250px;
  --fast-van-w: 556px;
  --fast-van-h: 318px;
  --fast-content-inset: 500px;
  --fast-navy: #00274e;
  --fast-blue: #1c45c2;
  --fast-yellow: #fab72a;
  position: relative;
  height: var(--fast-banner-h);
  min-height: var(--fast-banner-h);
  background: var(--fast-yellow);
  overflow: visible;
}

.fast-banner__slant {
  z-index: 1;
}

.fast-banner__van {
  position: absolute;
  left: max(16px, calc((100vw - 1920px) / 2 + 16px));
  bottom: 0;
  width: var(--fast-van-w);
  height: var(--fast-van-h);
  margin: 0;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
}

.fast-banner__van img {
  width: var(--fast-van-w);
  height: var(--fast-van-h);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom left;
  opacity: 1;
  display: block;
}

/* Yellow content: heading left, buttons right, vertically centered */
.fast-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--fast-banner-h);
  padding-left: var(--fast-content-inset);
  padding-right: 0;
  overflow: visible;
}

.fast-banner__heading {
  flex: 0 1 auto;
  margin: 0;
  font-family: 'Gilroy-ExtraBoldItalic', var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #1C45C2;
}

.fast-banner__line {
  display: block;
}

.fast-banner__acts {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  flex-wrap: nowrap;
}

.fast-btn-call,
.fast-btn-request {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}

.fast-btn-call {
  background: #fff;
  color: var(--fast-navy);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(11, 27, 52, .08);
}

.fast-btn-call:hover {
  background: #f7f9ff;
  transform: translateY(-1px);
}

.fast-btn-call .ic {
  width: 17px;
  height: 17px;
  color: var(--fast-navy);
}

.fast-btn-request {
  background: var(--fast-blue);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(11, 27, 52, .12);
}

.fast-btn-request:hover {
  background: #163aa0;
  transform: translateY(-1px);
}

.fast-btn-request .ic {
  width: 17px;
  height: 17px;
  color: #fff;
}

@media (max-width: 1200px) {
  .fast-banner-wrap {
    --fast-content-inset: 420px;
  }

  .fast-banner__van {
    left: 16px;
    width: min(var(--fast-van-w), 42vw);
    height: auto;
  }

  .fast-banner__van img {
    width: 100%;
    height: auto;
    aspect-ratio: 556 / 318;
  }
}

@media (max-width: 1024px) {
  .fast-banner-wrap {
    height: auto;
    min-height: var(--fast-banner-h);
    padding-bottom: 24px;
  }

  .fast-banner__van {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto 16px;
    pointer-events: auto;
  }

  .fast-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 0 18px;
    gap: 20px;
  }

  .fast-banner__acts {
    flex-wrap: wrap;
    width: 100%;
  }

  .fast-btn-call,
  .fast-btn-request {
    flex: 1 1 auto;
    min-width: 200px;
  }
}

@media (max-width: 560px) {
  .fast-banner__acts {
    flex-direction: column;
    align-items: stretch;
  }

  .fast-btn-call,
  .fast-btn-request {
    width: 100%;
  }
}
