/* ==========================================================================
   Samir Pharma – homepage overrides (layered on top of the Laboix theme)
   Brand: indigo #404088 · red #EE3038 (sampled from the logo)
   ========================================================================== */
:root {
  --sp-indigo: #404088;
  --sp-indigo-dark: #2A2A5E;
  --sp-indigo-soft: #ECECF8;
  --sp-red: #EE3038;
  --sp-tint: #F6F6FC;
}
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 90px; }

/* ---------- Logo + header ---------- */
.main-header__logo img { width: auto; height: 54px; }
.preloader__image { background-size: 70px auto; }

/* ---------- Section titles (no template green art) ---------- */
.sp-tagline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sp-red); margin: 0 0 14px;
}
.sp-tagline::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--sp-red); }
.sp-title { font-size: 44px; line-height: 1.18; font-weight: 600; color: var(--sp-indigo); margin: 0 0 22px; }
@media (max-width: 767px) { .sp-title { font-size: 31px; } }
.sp-text { font-size: 17px; line-height: 1.85; color: #5d5d6f; margin: 0 0 18px; }

/* ---------- 1. Hero (single panel) ---------- */
.sp-hero {
  position: relative; overflow: hidden; padding: 110px 0 100px;
  background:
    radial-gradient(900px 500px at 82% 40%, rgba(139,139,214,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(238,48,56,.07), transparent 65%),
    linear-gradient(135deg, #FAFAFF 0%, #ECECF8 100%);
}
.sp-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(64,64,136,.16) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.sp-hero .container { position: relative; z-index: 2; }
.sp-hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 40px;
  background: #fff; box-shadow: 0 6px 24px rgba(64,64,136,.12); color: var(--sp-indigo);
  font-size: 14px; font-weight: 500; margin-bottom: 26px;
}
.sp-hero__badge i { color: var(--sp-red); }
.sp-hero__title { font-size: 60px; line-height: 1.1; font-weight: 700; color: var(--sp-indigo); margin: 0 0 24px; }
.sp-hero__title span { color: var(--sp-red); }
.sp-hero__text { font-size: 18px; line-height: 1.8; color: #55556b; max-width: 540px; margin-bottom: 38px; }
.sp-hero__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.sp-btn-outline {
  display: inline-flex; align-items: center; gap: 10px; padding: 17px 34px; border-radius: 60px;
  border: 2px solid var(--sp-indigo); color: var(--sp-indigo); font-weight: 500; font-size: 16px; transition: .3s;
}
.sp-btn-outline:hover { background: var(--sp-indigo); color: #fff; }
.sp-hero__art { position: relative; }
.sp-hero__art img { width: 100%; max-width: 620px; margin-left: auto; display: block; animation: spFloat 7s ease-in-out infinite; }
@keyframes spFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 991px) {
  .sp-hero { padding: 70px 0 60px; }
  .sp-hero__title { font-size: 42px; }
  .sp-hero__art { margin-top: 40px; }
  .sp-hero__art img { margin: 0 auto; max-width: 440px; }
}
@media (max-width: 575px) { .sp-hero__title { font-size: 34px; } }

/* ---------- 2. About ---------- */
.sp-about { padding: 120px 0; background: #fff; position: relative; }
.sp-about__img { position: relative; max-width: 520px; }
.sp-about__img > img { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px rgba(64,64,136,.2); display: block; }
.sp-about__img::before {
  content: ""; position: absolute; width: 70%; height: 70%; left: -26px; bottom: -26px; z-index: -1;
  border-radius: 28px; background: repeating-linear-gradient(135deg, rgba(238,48,56,.9) 0 3px, transparent 3px 12px);
  opacity: .35;
}
.sp-about__badge {
  position: absolute; right: -24px; top: 36px; background: var(--sp-indigo); color: #fff; border-radius: 20px;
  padding: 22px 28px; text-align: center; box-shadow: 0 18px 40px rgba(64,64,136,.35); border-bottom: 5px solid var(--sp-red);
}
.sp-about__badge strong { display: block; font-size: 52px; line-height: 1; font-weight: 700; }
.sp-about__badge span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.sp-about__list { list-style: none; padding: 0; margin: 26px 0 36px; display: grid; gap: 12px; }
.sp-about__list li { display: flex; gap: 12px; align-items: center; color: var(--sp-indigo); font-weight: 500; }
.sp-about__list i { color: var(--sp-red); }
@media (max-width: 991px) { .sp-about { padding: 70px 0; } .sp-about__img { margin: 0 auto 60px; } .sp-about__badge { right: 10px; } }

/* ---------- 3. Product category map ---------- */
.sp-products { padding: 110px 0; background: var(--sp-tint); }
.sp-products__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sp-products__head .sp-tagline::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--sp-red); }
.sp-cat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(64,64,136,.12); overflow: hidden;
}
.sp-cat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 40px 14px 34px; color: #1f1f3a; font-weight: 500; font-size: 16px; line-height: 1.35;
  border-right: 1px solid #ececf4; border-bottom: 1px solid #ececf4; transition: background .3s, color .3s;
}
.sp-cat:nth-child(5n) { border-right: 0; }
.sp-cat:nth-last-child(-n+5) { border-bottom: 0; }
.sp-cat__icon {
  position: relative; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%;
  font-size: 30px; color: var(--sp-indigo); background: var(--sp-indigo-soft); transition: .35s;
}
.sp-cat__icon::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed rgba(238,48,56,.55); opacity: .0; transform: scale(.85) rotate(0); transition: .5s;
}
.sp-cat:hover { background: #FFF5F5; color: var(--sp-red); }
.sp-cat:hover .sp-cat__icon { background: var(--sp-red); color: #fff; transform: translateY(-4px); }
.sp-cat:hover .sp-cat__icon::before { opacity: 1; transform: scale(1) rotate(90deg); }
.sp-cat__arrow { position: absolute; right: 14px; top: 14px; font-size: 12px; opacity: 0; transition: .3s; color: var(--sp-red); }
.sp-cat:hover .sp-cat__arrow { opacity: 1; transform: translate(2px,-2px); }
@media (max-width: 1199px) {
  .sp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-cat:nth-child(5n) { border-right: 1px solid #ececf4; } .sp-cat:nth-child(3n) { border-right: 0; }
  .sp-cat:nth-last-child(-n+5) { border-bottom: 1px solid #ececf4; } .sp-cat:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 575px) {
  .sp-products { padding: 70px 0; }
  .sp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-cat:nth-child(3n) { border-right: 1px solid #ececf4; } .sp-cat:nth-child(2n) { border-right: 0; }
  .sp-cat:nth-last-child(-n+3) { border-bottom: 1px solid #ececf4; } .sp-cat:nth-last-child(-n+1) { border-bottom: 0; }
  .sp-cat { padding: 28px 10px; font-size: 15px; }
  .sp-cat:last-child { grid-column: 1 / -1; border-right: 0; }
}

/* ---------- 4. Reach + India map ---------- */
.sp-reach { padding: 120px 0; background: #fff; overflow: hidden; }
.sp-vision {
  margin-top: 34px; padding: 30px 32px; border-radius: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sp-indigo) 0%, var(--sp-indigo-dark) 100%); border-left: 6px solid var(--sp-red);
  box-shadow: 0 20px 44px rgba(64,64,136,.28);
}
.sp-vision h3 { color: #fff; font-size: 24px; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.sp-vision h3 i { color: var(--sp-red); }
.sp-vision p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.8; }
.sp-reach__map {
  position: relative; border-radius: 28px; padding: 26px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--sp-indigo-soft) 100%);
  box-shadow: inset 0 0 0 1px rgba(64,64,136,.08), 0 24px 60px rgba(64,64,136,.12);
}
.india-map { width: 100%; max-height: 640px; display: block; margin: 0 auto; overflow: visible; }
.india-map .im-shape { fill: rgba(64,64,136,.07); stroke: var(--sp-indigo); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 10px 14px rgba(64,64,136,.25)); }
.india-map .im-dots { stroke: var(--sp-indigo); stroke-opacity: .5; stroke-width: 3.2; stroke-linecap: round; fill: none; }
.india-map .im-line { fill: none; stroke: var(--sp-red); stroke-width: 1.7; stroke-dasharray: 5 6; opacity: .75; animation: imFlow 2.4s linear infinite; }
@keyframes imFlow { to { stroke-dashoffset: -22; } }
.india-map .im-dot { fill: var(--sp-indigo); stroke: #fff; stroke-width: 1.6; }
.india-map .im-hq .im-dot { fill: var(--sp-red); stroke-width: 2.4; }
.india-map .im-pulse { fill: rgba(238,48,56,.28); transform-box: fill-box; transform-origin: center; animation: imPulse 2.6s ease-out infinite; }
.india-map .im-pin:not(.im-hq) .im-pulse { fill: rgba(64,64,136,.25); }
@keyframes imPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.india-map text { font-family: var(--laboix-font); font-size: 11px; font-weight: 500; fill: #2A2A5E; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; }
.india-map .im-hq text { font-size: 13px; font-weight: 700; fill: var(--sp-red); }
.sp-reach__legend { display: flex; justify-content: center; gap: 26px; margin-top: 12px; font-size: 14px; color: #55556b; flex-wrap: wrap; }
.sp-reach__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--sp-indigo); }
.sp-reach__legend i.hq { background: var(--sp-red); }
@media (max-width: 991px) { .sp-reach { padding: 70px 0; } .sp-reach__map { margin-top: 50px; padding: 16px; } .india-map text { font-size: 13px; } }

/* ---------- 5. Footer ---------- */
.sp-footer { position: relative; color: rgba(255,255,255,.85); background: linear-gradient(120deg, var(--sp-indigo) 0%, var(--sp-indigo-dark) 100%); overflow: hidden; }
.sp-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(238,48,56,.22), transparent 70%); pointer-events: none; }
.sp-footer__inner { position: relative; padding: 80px 0 60px; }
.sp-footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 18px; margin-bottom: 24px; }
.sp-footer__logo img { height: 52px; width: auto; display: block; }
.sp-footer p { line-height: 1.8; margin: 0 0 26px; max-width: 360px; }
.sp-footer h3 { color: #fff; font-size: 24px; margin: 0 0 26px; position: relative; padding-bottom: 14px; }
.sp-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--sp-red); }
.sp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.sp-footer a { color: rgba(255,255,255,.85); transition: .25s; }
.sp-footer ul a:hover { color: #fff; padding-left: 6px; }
.sp-footer__contact li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.6; }
.sp-footer__contact i { color: var(--sp-red); margin-top: 5px; width: 16px; text-align: center; }
.sp-footer__contact a:hover { color: #fff; }
.sp-footer .sp-dl { display: inline-flex; align-items: center; gap: 10px; background: var(--sp-red); color: #fff; padding: 15px 28px; border-radius: 60px; font-weight: 500; box-shadow: 0 12px 28px rgba(238,48,56,.35); }
.sp-footer .sp-dl:hover { background: #fff; color: var(--sp-red); }
.sp-footer__bottom { position: relative; border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; text-align: center; font-size: 15px; }
@media (max-width: 991px) { .sp-footer__inner { padding: 60px 0 30px; } .sp-footer .col-lg-3, .sp-footer .col-lg-4, .sp-footer .col-lg-2 { margin-bottom: 36px; } }

/* ---------- Buttons: consistent pill style across the site ---------- */
.page-wrapper .laboix-btn:not(.main-header__btn),
.sp-btn-outline, .sp-footer .sp-dl, .sp-cta .sp-btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 36px; border-radius: 60px; font-size: 16px; font-weight: 600; line-height: 1;
}
.page-wrapper .laboix-btn:not(.main-header__btn) { box-shadow: 0 12px 28px rgba(238,48,56,.28); }
.page-wrapper .laboix-btn:not(.main-header__btn):hover { box-shadow: 0 12px 28px rgba(64,64,136,.3); }
.sp-btn-outline { border-width: 2px; }

/* ==========================================================================
   Responsive fixes
   ========================================================================== */
/* Header: the template hides the call block and its red strip below 1300px – keep the strip in sync */
@media (max-width: 1300px) {
  .main-header__right::after { display: none; }
  .main-header__inner { padding: 14px 0; }
}
.main-header__btn { white-space: nowrap; }
.main-header__right__call { white-space: nowrap; }
@media (max-width: 991px) {
  .main-header__logo img { height: 46px; }
  .main-header__logo { width: auto; margin-right: auto; }
  .main-header__right { margin-left: auto; gap: 14px; }
}
@media (max-width: 575px) {
  .main-header__logo img { height: 40px; }
  .main-header__inner { padding: 12px 0; }
  .main-header .container-fluid { padding-left: 16px; padding-right: 16px; }
}

/* Hero */
@media (min-width: 992px) and (max-width: 1199px) {
  .sp-hero__title { font-size: 44px; }
 
}
@media (max-width: 767px) {
  .sp-hero { padding: 56px 0 50px; }
  .sp-hero__text { font-size: 16px; margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .sp-hero__btns { flex-direction: column; align-items: stretch; }
  .sp-hero__btns > * { width: 100%; justify-content: center; }
  .sp-hero__art img { max-width: 100%; }
}

/* About / sections */
@media (max-width: 991px) {
  .sp-about__img { max-width: 480px; }
  .sp-about__badge { right: 12px; top: 20px; bottom: auto; padding: 14px 20px; }
  .sp-about__badge strong { font-size: 38px; }
  .sp-about__img::before { left: -12px; bottom: -12px; }
}
@media (max-width: 575px) {
  .sp-title { font-size: 28px; }
  .sp-text { font-size: 16px; }
  .sp-vision { padding: 24px 22px; }
  .sp-about { padding: 56px 0; } .sp-products, .sp-reach { padding: 56px 0; }
}

/* Footer */
@media (max-width: 991px) {
  .sp-footer .offset-lg-1 { margin-left: 0; }
  .sp-footer__inner { padding: 56px 0 20px; }
  .sp-footer p { max-width: none; }
}
@media (max-width: 575px) { .sp-footer .sp-dl { width: 100%; justify-content: center; } }

/* Map labels stay legible when the map shrinks */
@media (max-width: 767px) { .india-map text { font-size: 15px; } .india-map .im-hq text { font-size: 17px; } }

/* Prevent horizontal scroll from decorative offsets */
body { overflow-x: clip; }

/* ---------- Hero extras: floating cards + feature strip ---------- */
.sp-float {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(64,64,136,.18); border: 1px solid rgba(255,255,255,.8); z-index: 3;
}
.sp-float strong { display: block; font-size: 18px; line-height: 1.2; color: var(--sp-indigo); }
.sp-float small { font-size: 13px; color: #6b6b80; }
.sp-float__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sp-indigo); color: #fff; font-size: 20px; flex: none; }
.sp-float__icon--red { background: var(--sp-red); }
.sp-float--one { left: 4%; top: 14%; animation: spFloat 6s ease-in-out infinite; }
.sp-float--two { right: 2%; bottom: 12%; animation: spFloat 7s ease-in-out -2s infinite; }
@media (max-width: 575px) { .sp-float { padding: 10px 14px 10px 10px; } .sp-float strong { font-size: 15px; } .sp-float__icon { width: 38px; height: 38px; font-size: 16px; } .sp-float--one { left: 0; top: 6%; } .sp-float--two { right: 0; bottom: 6%; } }

.sp-strip {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px;
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(64,64,136,.14); overflow: hidden;
}
.sp-strip__item { display: flex; align-items: center; gap: 16px; padding: 28px 26px; border-right: 1px solid #ececf4; transition: background .3s; }
.sp-strip__item:last-child { border-right: 0; }
.sp-strip__item:hover { background: #FFF5F5; }
.sp-strip__item > i { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-indigo-soft); color: var(--sp-indigo); font-size: 21px; transition: .3s; }
.sp-strip__item:hover > i { background: var(--sp-red); color: #fff; }
.sp-strip__item h3 { font-size: 17px; margin: 0 0 3px; color: var(--sp-indigo); }
.sp-strip__item p { margin: 0; font-size: 14px; color: #6b6b80; line-height: 1.4; }
@media (max-width: 1199px) { .sp-strip { grid-template-columns: repeat(2, 1fr); } .sp-strip__item:nth-child(2) { border-right: 0; } .sp-strip__item:nth-child(-n+2) { border-bottom: 1px solid #ececf4; } }
@media (max-width: 575px) { .sp-strip { grid-template-columns: 1fr; margin-top: 44px; } .sp-strip__item { border-right: 0; border-bottom: 1px solid #ececf4; padding: 20px; } .sp-strip__item:last-child { border-bottom: 0; } }

/* ---------- Motion safety + quicker hover timings (corporate preset) ---------- */
.sp-cat, .sp-card, .sp-strip__item, .sp-btn-outline { transition-duration: .25s; }
@media (prefers-reduced-motion: reduce) {
  .sp-hero__art img, .sp-float, .india-map .im-line, .india-map .im-pulse { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Button hover: keep the template's indigo wipe, but stay red underneath (no white flash before the wipe lands) */
.page-wrapper .laboix-btn:not(.main-header__btn):hover,
.page-wrapper .laboix-btn:not(.main-header__btn):focus-visible { background-color: var(--sp-red); color: #fff; }

/* ---------- Homepage: Who we serve / How we work / FAQ ---------- */
.sp-serve, .sp-process, .sp-faq { padding: 110px 0; }
.sp-serve { background: #fff; }
.sp-process { background: var(--sp-tint); }
.sp-faq { background: #fff; }
.sp-serve .sp-center, .sp-process .sp-center { margin-bottom: 56px; }
@media (max-width: 767px) { .sp-serve, .sp-process, .sp-faq { padding: 64px 0; } .sp-serve .sp-center, .sp-process .sp-center { margin-bottom: 36px; } }

.sp-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sp-steps__track { position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: #dedeee; z-index: 0; }
.sp-steps__line { width: 100%; height: 100%; background: var(--sp-red); transform-origin: left center; }
.sp-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.sp-step__num {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--sp-indigo); color: var(--sp-indigo); font-size: 22px; font-weight: 700;
  box-shadow: 0 0 0 8px var(--sp-tint); transition: background-color .25s, color .25s;
}
.sp-step:hover .sp-step__num { background: var(--sp-indigo); color: #fff; }
.sp-step h3 { font-size: 20px; color: var(--sp-indigo); margin: 0 0 10px; }
.sp-step p { margin: 0; color: #5d5d6f; line-height: 1.7; font-size: 15.5px; }
@media (max-width: 991px) {
  .sp-steps { grid-template-columns: 1fr; gap: 30px; }
  .sp-steps__track { top: 34px; bottom: 34px; left: 33px; right: auto; width: 2px; height: auto; }
  .sp-steps__line { transform-origin: top center; }
  .sp-step { display: grid; grid-template-columns: 68px 1fr; column-gap: 22px; text-align: left; align-items: start; padding: 0; }
  .sp-step__num { grid-row: 1 / span 2; margin: 0; }
  .sp-step h3 { align-self: end; margin-bottom: 6px; }
}

.sp-faq__item { background: #fff; border: 1px solid #e6e6f1; border-radius: 14px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.sp-faq__item:hover { border-color: #cfcfe6; }
.sp-faq__item[open] { border-color: var(--sp-indigo); box-shadow: 0 10px 30px rgba(64,64,136,.1); }
.sp-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; color: var(--sp-indigo); }
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-indigo-soft); color: var(--sp-red); font-size: 20px; line-height: 1; transition: transform .25s, background-color .25s; }
.sp-faq__item[open] summary::after { transform: rotate(45deg); background: #FDE9EA; }
.sp-faq__item summary:focus-visible { outline: 2px solid var(--sp-indigo); outline-offset: 2px; border-radius: 14px; }
.sp-faq__a { padding: 0 24px 22px; }
.sp-faq__a p { margin: 0; color: #5d5d6f; line-height: 1.8; }
.sp-faq__a a { color: var(--sp-red); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .sp-faq__item summary::after, .sp-step__num { transition: none; } }
.sp-card--red .sp-card__icon { background: linear-gradient(135deg, #FF6A70, var(--sp-red)); }

/* ---------- Accessibility: visually-hidden helper + visible keyboard focus ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, .laboix-btn:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sp-indigo) !important; outline-offset: 3px;
}
.sp-footer a:focus-visible, .sp-cta a:focus-visible, .sp-pagehead a:focus-visible { outline-color: #fff !important; }
.sp-form input:focus-visible, .sp-form textarea:focus-visible { outline: 0 !important; }
.sp-select__btn:focus-visible { outline: 3px solid var(--sp-indigo) !important; outline-offset: 2px; }
.sp-skip { position: fixed; left: 12px; top: -60px; z-index: 10000; padding: 12px 18px; border-radius: 10px; background: var(--sp-indigo); color: #fff; font-weight: 600; transition: top .2s; }
.sp-skip:focus { top: 12px; color: #fff; }

/* ---------- No flash before GSAP: pre-hide, with a pure-CSS failsafe (content appears after 4s even if JS never runs) ---------- */
.js-prehide .sp-hero__badge, .js-prehide .sp-hero__title, .js-prehide .sp-hero__text, .js-prehide .sp-hero__btns,
.js-prehide .sp-hero__art, .js-prehide .sp-strip, .js-prehide .sp-pagehead h1, .js-prehide .sp-pagehead .sp-crumbs {
  opacity: 0; visibility: hidden; animation: spPrehideFailsafe 0s linear 4s forwards;
}
@keyframes spPrehideFailsafe { to { opacity: 1; visibility: visible; } }

/* Top bar: remove the template's red end-block (it duplicated the red Call Us block below) */
.topbar-one::after { display: none; }
