/* ============================================================
   Penta Tech — service-details.css  (Figma frame 9:34, 1920px)
   ============================================================ */

/* ---------- banner (taller variant with enquiry card) ---------- */
.sd-banner__band { height: 34.4956rem; }   /* 551.93 */
.sd-banner__title {
  position: absolute;
  left: 8.5625rem;               /* 137 — Figma: both lines flush left */
  top: 11.375rem;                /* 322-140 = 182 */
  /* Cap the width so a long heading wraps to a new line instead of running
     under the enquiry form (form starts at left 69.75rem). */
  max-width: 58rem;
  text-align: left;
  font-size: 5rem;               /* 80 */
  line-height: 6.125rem;         /* rows at 322/420 */
  font-weight: 400;
  color: #fff;
  z-index: 3;
}
.sd-enquiry {
  position: absolute;
  left: 69.75rem;                /* 1116 */
  top: 4.3125rem;                /* 209-140 = 69 */
  width: 41.5rem;                /* 664 */
  height: 25.8125rem;            /* 413 */
  border: 1px solid #fff;
  border-radius: 1.25rem;        /* 20 */
  background: rgba(5, 115, 91, 0.15);   /* Figma 60:705 — translucent glass */
  -webkit-backdrop-filter: blur(1rem);  /* Figma background-blur on the glass card */
          backdrop-filter: blur(1rem);
  box-shadow: inset 0 -0.25rem 3.125rem 0 var(--green-panel);
  z-index: 4;
}
.sd-enquiry__label {
  margin: 1.5625rem 0 0 2.6875rem;  /* 25, 43 */
  font-size: 1.25rem;            /* 20 */
  color: #fff;
  font-weight: 400;
}
.sd-enquiry__number {
  margin: 0.375rem 0 0 2.6875rem;   /* y259 */
  font-size: 2rem;               /* 32 */
  font-weight: 500;
  color: #fff;
}
.sd-enquiry__form {
  position: absolute;
  left: 2.6875rem;               /* 43 */
  top: 7.125rem;                 /* 323-209 = 114 */
  width: 36rem;                  /* 576 */
}
.sd-enquiry__form input {
  position: absolute;
  width: 17.5rem;                /* 280 */
  height: 2.75rem;               /* 44 */
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 0.875rem;           /* 14 */
  font-weight: 300;
  padding-left: 1.25rem;
}
.sd-enquiry__form input::placeholder { color: #fff; opacity: 1; }
.sd-enquiry__form .f-name { left: 0; top: 0; }
.sd-enquiry__form .f-phone {
  position: absolute;
  left: 18.625rem;               /* 1457-1159 = 298 */
  top: 0;
  width: 17.5rem;
  height: 2.75rem;
  border-bottom: 1px solid #fff;
  display: flex;
  align-items: center;
}
/* ---- intl-tel-input country selector, restyled for the glass form ---- */
.f-phone .iti { flex: 1; width: 100%; }
.f-phone .iti__selected-country {
  background: transparent;
  height: 100%;
  border-right: 1px solid #fff;
  /* breathing room after the dial code before the input text (intl-tel-input
     sizes the input's padding-left from this container's width) */
  padding-right: 0.875rem;
}
.f-phone .iti__selected-country:hover,
.f-phone .iti__selected-country:focus { background: transparent; }
.f-phone .iti__selected-country-primary { padding: 0 0.5rem 0 1.25rem; }
.f-phone .iti__selected-dial-code {
  color: #fff;
  font-size: 0.875rem;         /* 14 — match the placeholders */
  font-weight: 300;
  margin-left: 0.375rem;
}
.f-phone .iti__arrow { border-top-color: #fff; }
.f-phone .f-phone__input {
  position: static;
  border: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 300;
}
/* dropdown panel — dark to match the form */
.f-phone .iti__dropdown-content {
  background: #0f212d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.625rem;
  box-shadow: 0 0.75rem 1.5rem 0 rgba(0, 0, 0, 0.35);
  padding-top: 0.25rem;
}
/* intl-tel-input's inline mode pulls the search box UP over the phone input
   (position:absolute; negative top), which made it overlap the field and
   become unreadable. Let it flow at the top of the dropdown instead, clearly
   below the input. */
.f-phone .iti__search-input {
  position: relative;
  top: 0;
  height: auto;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  /* Clear the magnifying-glass icon (fixed at left:8px, 14px wide) so the
     typed text doesn't start on top of it. Icon is px-based, so is this. */
  padding-left: 32px;
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.f-phone .iti__search-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.f-phone .iti__country { color: #fff; }
.f-phone .iti__country.iti__highlight { background: rgba(255, 255, 255, 0.12); }
.f-phone .iti__dial-code { color: rgba(255, 255, 255, 0.55); }
.sd-enquiry__form .f-email { left: 0; top: 3.875rem; }        /* 385-323 = 62 */
.sd-enquiry__form .f-website { left: 18.5rem; top: 3.875rem; }
.sd-enquiry__form .f-message { left: 0; top: 8.5625rem; width: 36rem; height: 1.75rem; }  /* 460-323=137; line at 487 */
.sd-enquiry__form button[type="submit"] {
  position: absolute;
  left: 0;
  top: 12.25rem;                 /* 519-323 = 196 */
  background: #fff;
  padding: 1.25rem 1.5625rem;    /* 20 25 */
  font-size: 1rem;               /* 16 */
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.sd-enquiry__form button[type="submit"]:hover {
  background: var(--green-light);
  color: #fff;
  transform: translateY(-0.1875rem);
}
.sd-enquiry__form .form-feedback {
  position: absolute;
  left: 0;
  top: 16.5rem;
  width: 36rem;
  color: #fff;
}

/* ---------- intro ---------- */
.sd-intro {
  position: relative;
  height: 44.8125rem;            /* 717 */
  margin-top: 9.375rem;          /* 892-741.93 ≈ 150 */
}
.sd-intro__deco {
  position: absolute;
  left: -10.125rem;              /* -162 */
  top: 0;
  width: 51.45rem;               /* 823 */
  height: 44.8125rem;            /* 717 */
  transform: rotate(11.27deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.sd-intro__photo {
  position: absolute;
  left: 8.75rem;                 /* 140 */
  top: 6rem;                     /* 988-892 = 96 */
  width: 50.0625rem;             /* 801 */
  height: 26.8125rem;            /* 429 */
}
.sd-intro__photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sd-intro__badge {
  position: absolute;
  right: -3.125rem;              /* circle at abs 644 → 504 in photo (801-504-100 = 197?) */
  left: 31.5rem;                 /* 644-140 = 504 */
  right: auto;
  top: 9.5rem;                   /* 1140-988 = 152 */
  width: 6.25rem; height: 6.25rem;   /* 100 */
}
.sd-intro__badge-circle {
  position: absolute;
  left: -20%; top: -20%;
  width: 140%; height: 140%;     /* svg includes shadow bleed */
  max-width: none;
}
.sd-intro__badge-icon {
  position: absolute;
  left: 0.375rem; top: 0.375rem;
  width: 5.5rem; height: 5.5rem; /* 94 with inner padding */
  padding: 0.375rem;
}
.sd-intro__content {
  position: absolute;
  left: 62.5625rem;              /* 1001 */
  top: 0;
  width: 48.6875rem;             /* 779 */
}
.sd-intro__title {
  margin-top: 1.25rem;           /* 20 */
  font-size: 2.125rem;           /* 34 */
  line-height: 3.125rem;         /* 50 */
  font-weight: 500;
  color: var(--text-dark);
}
.sd-intro__body {
  margin-top: 3.1875rem;         /* 1033: title ends 982 → +51 */
  font-size: 1.25rem;            /* 20 */
  line-height: 2.5rem;           /* 40 */
  font-weight: 500;
  color: #999;
}
.sd-intro__body--2 { margin-top: 1.9375rem; }   /* 1299.55: body1 ends 1269 → +31 */
.sd-intro__content .sd-callbtn { margin-top: 3.5625rem; }  /* 1503: body2 ends 1446 → +57 */

.sd-callbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;                 /* 10 */
  background: var(--green-border);
  border-radius: 0.625rem;       /* 10 */
  padding: 0.9375rem 1.5625rem;  /* 15 25 */
  font-size: 1.25rem;            /* 20 */
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-callbtn:hover {
  background: var(--green-panel);
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.625rem 1.25rem 0 rgba(22, 140, 114, 0.35);
}
.sd-callbtn img { width: 1.5625rem; height: 1.5625rem; }

/* ---------- considerations band ---------- */
.sd-band {
  position: relative;
  display: flow-root;            /* BFC: keep the panel's negative margin from
                                    collapsing so it overflows the band visibly */
  width: 102.5rem;               /* 1640 */
  max-width: calc(100% - 5rem);
  margin: 6.9375rem auto 0;      /* 1720-1609 = 111 */
  padding: 5rem 4rem 0;          /* no bottom pad: the screenshot panel overflows below */
  background: #d5ebe5;           /* Rectangle 1118 */
  border-radius: 1.25rem;        /* 20 */
  text-align: center;
}
.sd-band::before {
  content: "";
  position: absolute; inset: 0;
  /* Watermark "F" tinted brand-green @ ~6% (#05735B0F). The PNG's alpha channel
     is the F shape, so use it as a mask and fill with the green instead of
     painting the PNG's own near-white color. */
  background: #05735b0f;
  -webkit-mask: url("../assets/images/sd-band-watermark.png?v=2") center / cover no-repeat;
          mask: url("../assets/images/sd-band-watermark.png?v=2") center / cover no-repeat;
  border-radius: 1.25rem;
  pointer-events: none;
}
.sd-band__title {
  margin: 0 auto;
  max-width: 47.1875rem;         /* 755 */
  font-size: 2.125rem;           /* 34 */
  line-height: 3.125rem;         /* 50 */
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
}
.sd-band__body {
  margin: 1.75rem auto 0;
  max-width: 67.9375rem;         /* 1087 */
  font-size: 1.25rem;            /* 20 */
  line-height: 2.5rem;           /* 40 */
  font-weight: 500;
  color: #3c3c3c;
}
/* Pills flow in a centred, wrapping row so any number of them lays out cleanly. */
.sd-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin: 2.25rem auto 0;
  max-width: 72rem;
}
.sd-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 6.25rem;        /* 100 */
  padding: 0.625rem 1.5625rem;   /* 10 25 */
  font-size: 1.25rem;            /* 20 */
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  cursor: default;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.sd-pill:hover {
  background: var(--green-panel);
  transform: translateY(-0.1875rem);
}
.sd-band__panel {
  position: relative;
  /* Negative bottom margin makes the panel overflow ~16rem below the mint band,
     recreating the Figma layered look (dark panel sitting proud of the band). */
  margin: 2.75rem auto -16rem;
  width: 78.875rem;              /* 1262 */
  max-width: 100%;
  height: 45.25rem;             /* 724 */
  background: #293542;
  border: 2px solid #317e27;
  border-radius: 2.125rem;       /* 34 */
  z-index: 2;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.sd-band__panel:hover {
  border-color: var(--green-light);
  box-shadow: 0 0 0 0.375rem rgba(74, 173, 151, 0.25);
}
.sd-band__panel img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1.3125rem;                /* 21 */
  width: 76.375rem;              /* 1222 */
  height: 42rem;                 /* 672 */
  border-radius: 1.25rem;        /* 20 */
  object-fit: cover;
  object-position: top;
}
.sd-callrow {
  margin-top: 22.75rem;          /* 3080-2716 = 364 */
  text-align: center;
}

/* ---------- features (WHAT TO DO) ---------- */
.sd-features {
  position: relative;
  padding: 9.375rem 5rem;        /* 150 top/bottom */
  margin-top: 9.375rem;          /* 3285-3135 = 150 */
  background: #f9f9f9;
  overflow: hidden;
}
.sd-features__title {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 45.6rem;            /* 729.6 */
  text-align: center;
  font-size: 2.125rem;           /* 34 */
  line-height: 3.125rem;         /* 50 */
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
}
.sd-features__deco {
  /* Figma node 60:787 — faint "F" watermark. Authoritative dev-mode placement:
     inset-[52.09% -10.81% 38.72% 73.54%] → rotated AABB 715.6×719.5 at page
     x1412 / section-top 794, bleeding off the right edge (right inset is
     negative). Shape is natural 520×530.587 rotated 30°; element is centred so
     the rotated AABB lands at (1412, 794). */
  position: absolute;
  left: 94.36rem;               /* 1509.8 — so rotated AABB.x = 1412 */
  top: 55.53125rem;             /* 888.5 — so rotated AABB.y = 794 */
  width: 32.5rem;               /* 520 natural */
  height: 33.1625rem;           /* 530.587 natural */
  max-width: none;              /* opt out of global img max-width:100% */
  transform: rotate(30deg);
  transform-origin: center;
  pointer-events: none;
}
/* Cards flow in a centred, wrapping grid (4 per row at desktop). Becomes the
   slider track on mobile via the media query below. */
.sd-fcards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 4.5rem auto 0;
  max-width: 102rem;             /* 4 × 371 + 3 × 40 gaps */
  position: relative;
  z-index: 2;
}
.sd-fcard {
  position: relative;
  flex: 0 0 auto;
  width: 23.1875rem;             /* 371 */
  height: 26.25rem;              /* 420 */
  background: #fff;
  border: 1px solid #317e27;
  border-radius: 1.25rem;        /* 20 */
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-fcard:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 1.25rem 1.875rem 0 rgba(49, 126, 39, 0.25);
  z-index: 3;
}
.sd-fcard__pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 1.25rem;
  pointer-events: none;
  /* the pattern's viewBox is a fixed 371x420 (the desktop card's own size) with
     preserveAspectRatio="none" inside the SVG, so on any box with a different
     ratio (e.g. the mobile auto-height card) it stretches unevenly and the
     rounded-corner mask baked into the artwork no longer lines up with the
     card's real corner, leaving a gap. object-fit keeps its true proportions
     and just crops, so the corner accent always renders undistorted. */
  object-fit: cover;
  object-position: top right;
}
.sd-fcard__icon {
  position: absolute;
  left: 2.0625rem;               /* 33 */
  top: 2.0625rem;                /* 33 */
  width: 5rem; height: 5rem;     /* 80 */
}
.sd-fcard__icon .ic-full { width: 100%; height: 100%; }
.sd-fcard__icon .ic-circle { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd-fcard__icon .ic-glyph {
  position: absolute;
  left: 1rem; top: 1rem;         /* 16 */
  width: 3rem; height: 3rem;     /* 48 */
}
.sd-fcard h3 {
  position: absolute;
  left: 2.0625rem;
  right: 2.0625rem;
  top: 12.1875rem;               /* 195 */
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;             /* 24 */
  color: #0d0d0d;
}
.sd-fcard p {
  position: absolute;
  left: 2.0625rem;
  top: 15.4375rem;               /* 247 */
  width: 19.0625rem;             /* 305 */
  font-size: 1.25rem;            /* 20 */
  line-height: normal;
  font-weight: 400;
  color: #999;
}
.sd-fcard .sd-fcard__desc-alt {
  font-size: 1rem;               /* 16 */
  color: #373737;
}
/* gradient accent lines */
.sd-fcard::before,
.sd-fcard::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 5.3125rem;             /* 85 */
  background: linear-gradient(to bottom, #2a6b21, #28f40c 49%, #2a6b21);
}
.sd-fcard::before { right: -1px; top: 9.0625rem; }   /* 145 */
.sd-fcard::after { left: -1px; top: 17.8125rem; }    /* 285 */
.sd-features__callrow {
  position: relative;
  z-index: 2;
  margin: 4.5rem auto 0;
  text-align: center;
}

/* ---------- services bar (full-width variant) ---------- */
.sd-bar {
  position: relative;
  height: 18.75rem;              /* 300 (bg) */
  background: url("../assets/images/servicesbar-texture.png") center / cover no-repeat, #0a1821;
  background-blend-mode: difference, normal;
}
/* item positions (generic .bs-item rules in common.css; card is highlighted by default) */
.sd-bar .bs-item--web { left: 8.75rem; }         /* 140, literal card position */
.sd-bar .bs-item--graphic { left: 37.53125rem; } /* center 720.5 - 120 */
.sd-bar .bs-item--digital { left: 65.15625rem; } /* center 1162.5 - 120 */
.sd-bar .bs-item--qb { left: 92.59375rem; }      /* center 1601.5 - 120 */
.sd-bar__div1 { left: 31.1875rem; }           /* 499 */
.sd-bar__div2 { left: 58.8125rem; }           /* 941 */
.sd-bar__div3 { left: 86.4375rem; }           /* 1383 */
.sd-bar__arrow {
  position: absolute;
  width: 2.5rem; height: 2.5rem; /* 40 */
  top: 8.125rem;                 /* 4948-4818 = 130 */
  cursor: pointer;
  z-index: 3;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sd-bar__arrow--prev { left: 3.75rem; }       /* 60 */
.sd-bar__arrow--next { right: 3.625rem; transform: rotate(180deg) scaleY(-1); }  /* 58 */
.sd-bar__arrow--prev:hover { transform: scale(1.2); }
.sd-bar__arrow--next:hover { transform: rotate(180deg) scaleY(-1) scale(1.2); }

/* ---------- company stats ---------- */
.sd-company {
  position: relative;
  height: 31.25rem;              /* 500 */
  background: url("../assets/images/company-bg.png?v=2") center / cover no-repeat;
}

/* ---------- enquire now card ---------- */
.sd-enq {
  position: relative;
  width: 102.4375rem;            /* 1639 */
  height: 26.25rem;              /* 420 */
  margin: 9.3125rem auto 0;      /* 5867-5718 = 149 */
  background: #0a1821;
  border: 1px solid #c4c4c4;
  border-radius: 1.875rem;       /* 30 */
  box-shadow: 0 2.5rem 2.5rem 0 rgba(0, 0, 0, 0.05);
}
.sd-enq__title {
  position: absolute;
  left: 6.8125rem;               /* 109 */
  top: 3.75rem;                  /* 60 */
  font-size: 2.125rem;           /* 34 */
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}
.sd-enq__field {
  position: absolute;
  width: 26.3125rem;             /* 421 */
  top: 9.5rem;                   /* label ~152 */
}
.sd-enq__field--name { left: 6.875rem; }      /* 110 */
.sd-enq__field--email { left: 38.0625rem; }   /* 609 */
.sd-enq__field--phone { left: 69.25rem; }     /* 1108 */
.sd-enq__field--message {
  left: 6.8125rem;
  top: 16.5rem;                  /* label ~270 */
  width: 57.5625rem;             /* 921 */
}
.sd-enq__field label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.3125rem;          /* 21 */
  letter-spacing: 0.0066rem;
  color: #fafafa;
}
.sd-enq__input {
  display: flex;
  align-items: center;
  gap: 0.875rem;                 /* 14 */
  margin-top: 1.8125rem;         /* icons at ~208 rel card; label ~152+21 */
  padding: 0 0 1rem 1.125rem;    /* underline at 248 */
  border-bottom: 1px solid #ddd;
}
.sd-enq__input img { width: 1.5rem; height: 1.5rem; }
.sd-enq__input input {
  flex: 1;
  font-size: 1.25rem;            /* 20 */
  color: #fff;
  font-weight: 400;
}
.sd-enq__input input::placeholder { color: #999; opacity: 1; }
.sd-enq__submit {
  position: absolute;
  left: 69rem;                   /* 1104 */
  top: 18.75rem;                 /* 300 */
  width: 12.5rem;                /* 200 */
  height: 3.75rem;               /* 60 */
  background: var(--green-panel);
  border-radius: 1.25rem;        /* 20 */
  color: #fff;
  font-size: 1.25rem;            /* 20 */
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-enq__submit:hover {
  background: var(--green-mid);
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.625rem 1.5625rem 0 rgba(7, 114, 91, 0.4);
}
.sd-enq__form .form-feedback {
  position: absolute;
  left: 6.8125rem;
  top: 23rem;                     /* below the message field and submit button */
  width: 57.5625rem;
  margin: 0;
  color: #fff;
}

/* ---------- footer offset ---------- */
.sd-footer { margin-top: 9.375rem; }   /* 6437-6287 = 150 */

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */
@media (max-width: 1024px) {
  .sd-banner__band { height: auto; padding-bottom: 40px; }
  .sd-banner__title { position: relative; left: 0; width: 100%; top: 0; margin-top: 90px; font-size: 36px; line-height: 48px; text-align: center; }
  .sd-enquiry { position: relative; left: 0; top: 0; width: calc(100% - 48px); height: auto; margin: 32px auto 0; padding-bottom: 28px; }
  .sd-enquiry__form { position: relative; left: 0; top: 0; width: calc(100% - 48px); margin: 20px auto 0; }
  .sd-enquiry__form input, .sd-enquiry__form .f-phone { position: relative; left: 0 !important; top: 0 !important; width: 100%; margin-top: 16px; }
  .sd-enquiry__form .f-message { width: 100%; }
  .sd-enquiry__form button[type="submit"] { position: relative; left: 0; top: 0; margin-top: 24px; }
  .sd-enquiry__label { margin: 24px 0 0 24px; }
  .sd-enquiry__number { margin-left: 24px; }

  .sd-intro { height: auto; margin-top: 48px; padding: 0 24px; }
  .sd-intro__deco { display: none; }
  .sd-intro__photo { position: relative; left: 0; top: 0; width: 100%; height: auto; }
  .sd-intro__badge { left: auto; right: 16px; top: -20px; }
  .sd-intro__content { position: static; width: 100%; margin-top: 32px; }
  .sd-intro__body { font-size: 16px; line-height: 30px; margin-top: 20px; }
  .sd-callbtn { font-size: 16px; padding: 12px 20px; }
  .sd-intro__content .sd-callbtn { margin-top: 28px; }

  .sd-band { width: calc(100% - 48px); max-width: none; height: auto; margin-top: 48px; padding: 40px 20px 48px; text-align: center; }
  .sd-band__title { position: static; width: 100%; font-size: 24px; line-height: 34px; }
  .sd-band__body { position: static; width: 100%; margin-top: 16px; font-size: 16px; line-height: 28px; }
  .sd-pill { position: static; display: inline-flex; margin: 14px 4px 0; font-size: 14px; white-space: normal; text-align: center; }
  /* reset the desktop overflow effect (margin: … auto -16rem) so the panel sits
     inside the band on tablet/mobile — otherwise the negative bottom margin pulls
     the call-row and features section up over the panel, cropping the image */
  .sd-band__panel { position: static; transform: none; width: 100%; height: auto; margin: 28px auto 0; padding: 12px; }
  .sd-band__panel img { position: static; transform: none; width: 100%; height: auto; }
  .sd-callrow { margin-top: 32px; }

  .sd-features { height: auto; margin-top: 48px; padding: 48px 24px 48px; }
  .sd-features__title { position: static; transform: none; width: 100%; font-size: 24px; line-height: 34px; }
  .sd-features__deco { display: none; }
  /* the seven feature cards become a swipeable slider */
  .sd-fcards {
    display: flex;
    /* default align-items:stretch keeps every card the same (tallest) height —
       the accent-line artifact that used to show up in the leftover space is
       fixed at the source (hidden below), so equal-height cards are safe again */
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    margin-top: 28px;
    padding: 4px;
  }
  .sd-fcards::-webkit-scrollbar { display: none; }
  /* keep cards positioned so the absolute ribbon pattern stays inside each card */
  .sd-fcard {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    flex: 0 0 280px;
    width: 280px;
    margin: 0;
    height: auto;
    padding: 24px;
    scroll-snap-align: center;
  }
  /* horizontal swipe only — the desktop hover-lift causes a vertical jump when
     touch briefly triggers :hover mid-scroll, so it's disabled here */
  .sd-fcard:hover {
    transform: none;
    box-shadow: none;
    z-index: auto;
  }
  .sd-fcard__pattern { z-index: 0; }
  .sd-fcard__icon {
    position: relative;
    left: 0; top: 0;
    display: block;              /* span needs a box for its 80px size */
    width: 80px; height: 80px;
    z-index: 1;
  }
  /* text must sit above .sd-fcard__pattern (position:absolute) — static elements
     always paint below positioned siblings regardless of DOM order. top/left must
     be reset too, since the desktop rule's absolute offsets would otherwise apply
     as relative offsets and shove the text out of the card. */
  .sd-fcard h3 { position: relative; top: 0; left: 0; z-index: 1; margin-top: 18px; white-space: normal; line-height: 1.3; }
  .sd-fcard p { position: relative; top: 0; left: 0; z-index: 1; width: 100%; margin-top: 14px; font-size: 16px; }
  /* accent lines are positioned at fixed pixel offsets sized for the 420px-tall
     desktop card — on the shorter, content-sized mobile card they land below the
     visible text as disconnected floating fragments, so they're hidden here */
  .sd-fcard::before,
  .sd-fcard::after { display: none; }
  .sd-features__callrow { position: static; transform: none; text-align: center; margin-top: 36px; }

  /* .bs-item mobile layout is shared in common.css — bar becomes a slider */
  .sd-bar {
    height: auto;
    padding: 20px 0 28px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
  }
  .sd-bar::-webkit-scrollbar { display: none; }
  /* JS upgrades this strip to an infinite Slick carousel — full-bleed like the
     home strip: no side padding + right-only slide gap, so cards touch the edges */
  .sd-bar.slick-initialized { display: block; overflow: hidden; gap: 0; }
  .sd-bar.slick-initialized .slick-list { overflow: hidden; }
  .sd-bar.slick-initialized .slick-slide { margin: 0 16px 0 0; }

  /* feature cards, once JS upgrades them to a looping Slick carousel: drop the
     flex scroll-strip layout, add a right-only gap between slides, and use a flex
     track so every card in a slide keeps equal height regardless of text length */
  .sd-fcards.slick-initialized { display: block; overflow: visible; gap: 0; margin-top: 28px; padding: 0; }
  .sd-fcards.slick-initialized .slick-list { overflow: hidden; padding: 4px 0; }
  .sd-fcards.slick-initialized .slick-track { display: flex; }
  .sd-fcards.slick-initialized .slick-slide { height: auto; margin: 0 16px 0 0; }
  .sd-fcards.slick-initialized .slick-slide .sd-fcard { height: 100%; }

  .sd-company {
    height: auto;
    padding: 40px 0;
    margin-bottom: 60px;
    overflow: hidden;
    background-position: 38% center;
  }
  /* full-bleed slider (same as the home company strip): no side padding so the
     cards run to the screen edges */
  .sd-company .hc-cards {
    padding-left: 0;
    padding-right: 0;
    transform: none;
  }

  .sd-enq { width: calc(100% - 48px); height: auto; padding: 32px 24px 36px; }
  .sd-enq__title { position: static; }
  .sd-enq__form { display: block; }
  .sd-enq__field { position: static !important; width: 100% !important; margin-top: 22px; }
  .sd-enq__submit { position: static; margin-top: 26px; }
  .sd-enq__form .form-feedback { position: static; width: auto; margin-top: 16px; }

  .sd-footer { margin-top: 60px; }
}

@media (max-width: 767px) {
  /* stat-card strip — same setup as the homepage: the photo is a top band and the
     cards straddle its bottom edge (top half over the photo, bottom half below). */
  .sd-company {
    height: 300px;
    margin: 0 0 128px;
    padding: 0;
    overflow: visible;
    background-position: 38% center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .sd-company .hc-cards {
    padding-left: 0;
    padding-right: 0;
    transform: translateY(62%);
  }
  .sd-company .hc-card { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }

  .sd-banner__title { font-size: 23px; line-height: 30px; margin-top: 56px; }
  .sd-enquiry {
    width: calc(100% - 48px);
    max-width: 360px;
    border-radius: 16px;
    margin-top: 24px;
    padding-bottom: 22px;
  }
  .sd-enquiry__label { margin: 20px 0 0 20px; font-size: 13px; }
  .sd-enquiry__number { margin-left: 20px; font-size: 18px; overflow-wrap: anywhere; }
  .sd-enquiry__form {
    width: calc(100% - 40px);
    margin-top: 12px;
  }
  .sd-enquiry__form input,
  .sd-enquiry__form .f-phone {
    height: 36px;
    margin-top: 12px;
    font-size: 12px;
  }
  .sd-enquiry__form button[type="submit"] {
    margin-top: 18px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 16px;
  }
  .sd-intro { padding: 0 16px; }
  .sd-intro__photo { max-width: 420px; margin: 0 auto; }
  .sd-intro__title { font-size: 22px; line-height: 29px; }
  .sd-intro__body { font-size: 12px; line-height: 20px; font-weight: 400; }
  .sd-band { width: calc(100% - 32px); max-width: none; padding: 28px 16px 34px; }
  .sd-band__title { font-size: 19px; line-height: 26px; }
  .sd-band__body { font-size: 12px; line-height: 20px; }
  .sd-pill { font-size: 11px; padding: 8px 12px; }
  .sd-features { padding: 34px 16px; }
  .sd-features__title { font-size: 20px; line-height: 27px; }
  .sd-fcard { flex-basis: 220px; width: 220px; padding: 18px; border-radius: 14px; }
  .sd-fcard__icon { width: 58px; height: 58px; }
  .sd-fcard__icon .ic-glyph { left: 12px; top: 12px; width: 34px; height: 34px; }
  .sd-fcard h3 { font-size: 17px; margin-top: 14px; }
  .sd-fcard p { font-size: 12px; line-height: 19px; }
  .sd-enq { width: calc(100% - 48px); max-width: 360px; padding: 26px 18px 28px; border-radius: 16px; }
  .sd-enq__title { font-size: 20px; line-height: 26px; }
  .sd-enq__field label { font-size: 13px; }
  .sd-enq__field { margin-top: 18px; }
  .sd-enq__input { margin-top: 12px; padding: 0 0 10px 8px; }
  .sd-enq__input input { font-size: 13px; }
  .sd-enq__submit {
    width: 120px;
    height: 36px;
    margin-top: 20px;
    border-radius: 9px;
    font-size: 12px;
  }
  .sd-callbtn {
    max-width: 220px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
  .sd-callbtn img { width: 16px; height: 16px; }
}

/* Responsive type, form, and spacing polish */
@media (max-width: 1024px) {
  .sd-banner__title {
    font-size: 30px;
    line-height: 38px;
  }
  .sd-enquiry,
  .sd-enq {
    max-width: 760px;
  }
  .sd-enquiry__label,
  .sd-enq__field label {
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
  }
  .sd-enquiry__number {
    font-size: 24px;
    line-height: 32px;
  }
  .sd-enquiry__form input,
  .sd-enquiry__form .f-phone,
  .sd-enq__input input {
    font-size: 14px;
    line-height: 20px;
  }
  .sd-intro__title,
  .sd-band__title,
  .sd-features__title,
  .sd-enq__title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
  }
  .sd-intro__body,
  .sd-band__body,
  .sd-fcard p {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
  }
  .sd-pill {
    font-size: 13px;
    line-height: 18px;
  }
  .sd-fcard h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
  }
  .sd-callbtn {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 767px) {
  .sd-banner__title {
    font-size: 22px;
    line-height: 28px;
  }
  .sd-enquiry__number {
    font-size: 17px;
    line-height: 23px;
  }
  .sd-intro__title,
  .sd-band__title,
  .sd-features__title,
  .sd-enq__title {
    font-size: 20px;
    line-height: 26px;
  }
  .sd-intro__body,
  .sd-band__body,
  .sd-fcard p {
    font-size: 12px;
    line-height: 19px;
  }
  .sd-fcard h3 {
    font-size: 16px;
    line-height: 21px;
  }
  .sd-enquiry__form input,
  .sd-enquiry__form .f-phone,
  .sd-enq__input input {
    font-size: 12px;
    line-height: 18px;
  }
}

/* ============================================================
