/* Homepage hero (takaful-home-hero.html design), generated from the marketing site's
   styles/scss/components/_homepage-hero.scss so both homepages match. Buying-only rules follow it. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@500;700&display=swap");
.takaful-home-hero--v2,
.hh-lb {
  --hh-ink: #eaf2ee;
  --hh-muted: #9db1aa;
  --hh-bg: #0c1311;
  --hh-surface: #141e1b;
  --hh-surface-2: #18241f;
  --hh-glass: rgba(20, 30, 27, 0.76);
  --hh-line: rgba(214, 240, 230, 0.1);
  --hh-line-strong: rgba(214, 240, 230, 0.2);
  --hh-green: #98c829;
  --hh-green-deep: #7fbf3f;
  --hh-green-text: #aedc52;
  --hh-teal-text: #8adae2;
  --hh-tint: rgba(152, 200, 41, 0.12);
  --hh-grad: linear-gradient(90deg, #7fcfd6, #7fbf3f);
  --hh-offer: linear-gradient(90deg, var(--offer-from, #7fcfd6), var(--offer-to, #7fbf3f));
  --hh-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 8px 20px -10px rgba(0, 0, 0, 0.4);
  --hh-shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
  --hh-photo-wash: linear-gradient(180deg, rgba(12, 19, 17, 0.78) 0%, rgba(12, 19, 17, 0.7) 45%, rgba(12, 19, 17, 0.88) 100%);
  --hh-glow-1: rgba(127, 207, 214, 0.14);
  --hh-glow-2: rgba(152, 200, 41, 0.1);
  --hh-drop: 0 26px 40px -24px rgba(0, 0, 0, 0.7);
  --hh-drop-lift: 0 40px 50px -24px rgba(0, 0, 0, 0.75);
  --hh-drop-scene: 0 44px 70px -36px rgba(0, 0, 0, 0.75);
  --hh-error: #ff8a7e;
  --hh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --hh-dir: 1;
  color-scheme: dark;
}

:root:not([data-theme=dark]) .takaful-home-hero--v2 {
  --hh-ink: #1a1a1a;
  --hh-muted: #5d6b73;
  --hh-bg: linear-gradient(180deg, #f2f9f4 0%, #fff 100%);
  --hh-surface: #fff;
  --hh-surface-2: #f3f6f4;
  --hh-glass: rgba(255, 255, 255, 0.82);
  --hh-line: rgba(19, 41, 75, 0.1);
  --hh-line-strong: rgba(19, 41, 75, 0.2);
  --hh-green-deep: #5f9b1c;
  --hh-green-text: #4a7c0f;
  --hh-teal-text: #0b7aa6;
  --hh-tint: rgba(95, 155, 28, 0.1);
  --hh-grad: linear-gradient(90deg, #139bd3, #98c829);
  --hh-offer: linear-gradient(90deg, var(--offer-from, #139bd3), var(--offer-to, #98c829));
  --hh-shadow: 0 30px 60px -28px rgba(19, 41, 75, 0.28), 0 8px 20px -12px rgba(19, 41, 75, 0.16);
  --hh-shadow-sm: 0 10px 24px -16px rgba(19, 41, 75, 0.3);
  --hh-photo-wash: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0.94) 100%);
  --hh-glow-1: rgba(19, 155, 211, 0.1);
  --hh-glow-2: rgba(152, 200, 41, 0.14);
  --hh-drop: 0 22px 34px -22px rgba(19, 41, 75, 0.45);
  --hh-drop-lift: 0 34px 44px -22px rgba(19, 41, 75, 0.5);
  --hh-drop-scene: 0 40px 64px -36px rgba(19, 41, 75, 0.45);
  --hh-error: #c0392b;
  color-scheme: light;
}

.takaful-home-hero--v2[dir=rtl],
.hh-lb[dir=rtl] {
  --hh-dir: -1;
}

.takaful-home-hero--v2 {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  margin-top: calc(-1 * var(--sh-height, 0px));
  padding: calc(var(--sh-height, 0px) + 12px) 0 20px;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--hh-bg);
  color: var(--hh-ink);
  -webkit-font-smoothing: antialiased;
}
.takaful-home-hero--v2 .hh-wrap {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 16px;
}
.takaful-home-hero--v2 .hh-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.takaful-home-hero--v2 .hh-bg--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.takaful-home-hero--v2 .hh-bg--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hh-photo-wash);
}
.takaful-home-hero--v2 .hh-bg i {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.takaful-home-hero--v2 .hh-bg i:nth-child(1) {
  width: 560px;
  height: 560px;
  inset-inline-start: -160px;
  top: -60px;
  background: var(--hh-glow-1);
}
.takaful-home-hero--v2 .hh-bg i:nth-child(2) {
  width: 640px;
  height: 640px;
  inset-inline-end: -180px;
  top: 140px;
  background: var(--hh-glow-2);
}
.takaful-home-hero--v2 :focus-visible {
  outline: 2.5px solid var(--hh-green-deep);
  outline-offset: 3px;
}
.takaful-home-hero--v2 .hh-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 40px;
  align-items: center;
  margin: 0 0 22px;
}
.takaful-home-hero--v2 .hh-top--single {
  grid-template-columns: minmax(0, 1fr);
}
.takaful-home-hero--v2 .hh-copy {
  min-width: 0;
}

/* Copy */
.takaful-home-hero--v2 .hh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 14px 6px 6px;
  padding-inline: 6px 14px;
  border: 1px solid var(--hh-line);
  border-radius: 999px;
  background: var(--hh-surface);
  color: var(--hh-ink);
  font-size: var(--type-body-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  text-align: start;
  text-decoration: none;
  box-shadow: var(--hh-shadow-sm);
  cursor: pointer;
}
.takaful-home-hero--v2 .hh-chip b {
  display: inline-grid;
  place-items: center;
  flex: none;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--hh-grad);
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--type-caption);
  text-shadow: 0 1px 1px rgba(0, 60, 40, 0.25);
}
.takaful-home-hero--v2 .hh-chip .hh-chip__arrow {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--hh-muted);
  transform: scaleX(var(--hh-dir));
  transition: transform 0.2s;
}
.takaful-home-hero--v2 .hh-chip:hover {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .hh-chip:hover .hh-chip__arrow {
  transform: scaleX(var(--hh-dir)) translateX(3px);
}

.takaful-home-hero--v2 .hh-title {
  margin: 18px 0 14px;
  color: var(--hh-ink);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: var(--fw-black);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  animation: hh-rise 0.9s var(--hh-ease) both;
}
.takaful-home-hero--v2 .hh-title span[style*="1a1a1a"] {
  color: var(--hh-ink) !important;
}
/* Desktop: the title scales with both the width and the height of the window, so the hero fits the first screen at every size. */
@media (min-width: 900px) {
  .takaful-home-hero--v2 .hh-title {
    font-size: clamp(32px, min(4.4vw, 7vh), 60px);
  }
}
/* Arabic letters are taller and join up, so the tight Latin line height and letter spacing make the two lines touch. */
.takaful-home-hero--v2[dir=rtl] .hh-title {
  line-height: 1.35;
  letter-spacing: 0;
}

.takaful-home-hero--v2 .hh-lede {
  margin: 0;
  max-width: 54ch;
  color: var(--hh-muted);
  font-size: 16.5px;
  font-weight: var(--fw-light);
  line-height: 1.5;
}

@keyframes hh-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Campaign card */
.takaful-home-hero--v2 .hh-promo {
  --hh-offer: linear-gradient(90deg, var(--offer-from, #7fcfd6), var(--offer-to, #7fbf3f));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
  padding: 18px 22px 18px 18px;
  padding-inline: 18px 22px;
  border: 1px solid var(--hh-line);
  border-radius: 26px;
  background: var(--hh-glass);
  box-shadow: var(--hh-shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.takaful-home-hero--v2 .hh-promo--text {
  grid-template-columns: minmax(0, 1fr);
  padding: 24px;
}

.takaful-home-hero--v2 .hh-promo--deck {
  grid-template-columns: auto;
  justify-self: start;
}

.takaful-home-hero--v2 .hh-deck {
  --dh: 200px;
  position: relative;
  height: var(--dh);
  width: calc(var(--dh) * 0.8 + 46px);
  border-radius: 16px;
  cursor: pointer;
}
/* Desktop: the campaign deck follows both the width and the height of the window. */
@media (min-width: 900px) {
  .takaful-home-hero--v2 .hh-deck {
    --dh: clamp(140px, 25vh, 200px);
  }
}

.takaful-home-hero--v2 .hh-dcard {
  --p: 0;
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: var(--dh);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 14px;
  background: #f5a3d3;
  z-index: calc(10 - var(--p));
  box-shadow: 0 22px 34px -18px rgba(120, 20, 80, 0.45), 0 2px 6px rgba(10, 40, 34, 0.08);
  transform: translate(calc(var(--p) * 20px * var(--hh-dir)), calc(var(--p) * 5px)) rotate(calc(var(--p) * 5deg * var(--hh-dir))) scale(calc(1 - var(--p) * 0.05));
  transform-origin: 30% 100%;
  transition: transform 0.7s var(--hh-ease);
}
.takaful-home-hero--v2 .hh-dcard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.takaful-home-hero--v2 .hh-dcard.is-hidden {
  opacity: 0;
}
.takaful-home-hero--v2 .hh-dcard.is-leaving {
  transform: translate(calc(-62% * var(--hh-dir)), 14px) rotate(calc(-14deg * var(--hh-dir)));
  transition: transform 0.45s cubic-bezier(0.5, 0, 0.75, 0);
}

.takaful-home-hero--v2[dir=rtl] .hh-dcard {
  transform-origin: 70% 100%;
}

.takaful-home-hero--v2 .hh-deck:hover .hh-dcard:not(.is-leaving) {
  transform: translate(calc(var(--p) * 34px * var(--hh-dir)), calc(var(--p) * 2px)) rotate(calc(var(--p) * 8deg * var(--hh-dir))) scale(calc(1 - var(--p) * 0.05));
}

.takaful-home-hero--v2 .hh-deck:hover .hh-dcard.is-top:not(.is-leaving) {
  transform: translateY(-6px) rotate(calc(-1.5deg * var(--hh-dir)));
}

.takaful-home-hero--v2 .hh-open-hint {
  position: absolute;
  inset-inline-start: 10px;
  bottom: 10px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding-inline: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a1a1a;
  font-size: var(--type-caption);
  font-weight: var(--fw-medium);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--hh-ease);
}
.takaful-home-hero--v2 .hh-open-hint svg {
  width: 14px;
  height: 14px;
}

.takaful-home-hero--v2 .hh-deck:hover .hh-open-hint {
  transform: translateY(-6px);
}

.takaful-home-hero--v2 .hh-pinfo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.takaful-home-hero--v2 .hh-pmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: var(--type-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}
.hh-badge--camp {
  background: var(--hh-offer);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 60, 40, 0.25);
}
.hh-badge--live {
  background: var(--hh-tint);
  color: var(--hh-green-text);
}
.hh-badge--live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hh-green-deep);
  animation: hh-pulse 1.8s infinite;
}

@keyframes hh-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 191, 63, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(127, 191, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 191, 63, 0);
  }
}
.hh-ptitle {
  margin: 0;
  color: var(--hh-ink);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hh-perks {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hh-perks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--hh-ink);
  font-size: 13.5px;
  line-height: 1.4;
}

.hh-tick {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: var(--hh-offer);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hh-pactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hh-pactions:empty {
  display: none;
}

.hh-offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--hh-offer);
  color: #fff;
  font-size: var(--type-body-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 60, 40, 0.25);
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}
.hh-offer-btn svg {
  width: 16px;
  height: 16px;
  transform: scaleX(var(--hh-dir));
  transition: transform 0.25s;
}
.hh-offer-btn:hover {
  color: #fff;
  filter: brightness(1.05);
}
.hh-offer-btn:hover svg {
  transform: scaleX(var(--hh-dir)) translateX(3px);
}

.hh-pfoot {
  margin: 0;
  color: var(--hh-muted);
  font-size: var(--type-caption);
  line-height: 1.5;
}

/* Poster viewer */
.hh-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  color: var(--hh-ink);
  font-family: var(--primary-font-family), sans-serif;
}
.hh-lb :focus-visible {
  outline: 2.5px solid var(--hh-green-deep);
  outline-offset: 3px;
}

.hh-lb__scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.45s;
}

.hh-lb.is-on .hh-lb__scrim {
  opacity: 1;
}

.hh-lb__close {
  position: fixed;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hh-line);
  border-radius: 50%;
  background: var(--hh-surface);
  color: var(--hh-ink);
  box-shadow: var(--hh-shadow-sm);
  opacity: 0;
  transition: opacity 0.3s;
}

.hh-lb.is-on .hh-lb__close {
  opacity: 1;
}

.hh-lb__body {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 380px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hh-lb__poster {
  position: relative;
  height: min(80vh, 760px);
  aspect-ratio: 4/5;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border-radius: 20px;
  background: #f5a3d3;
  box-shadow: 0 50px 80px -40px rgba(80, 10, 50, 0.55);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.45s var(--hh-ease), transform 0.6s var(--hh-ease);
}
.hh-lb__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s, transform 0.6s var(--hh-ease);
}
.hh-lb__poster img.is-out {
  opacity: 0;
  transform: scale(1.04);
}

.hh-lb.is-on .hh-lb__poster {
  opacity: 1;
  transform: none;
}

.hh-lb__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.hh-lb__in {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(5px);
  transition: opacity 0.5s var(--hh-ease) var(--d, 0s), transform 0.7s var(--hh-ease) var(--d, 0s), filter 0.5s var(--hh-ease) var(--d, 0s);
}

.hh-lb.is-on .hh-lb__in {
  opacity: 1;
  transform: none;
  filter: none;
}

.hh-lb__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.hh-lb__step {
  color: var(--hh-muted);
  font-size: var(--type-caption);
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hh-lb__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hh-lb__info > * {
  animation: hh-swap 0.45s var(--hh-ease) both;
}

@keyframes hh-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hh-lb__desc {
  margin: 0;
  color: var(--hh-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.hh-lb .hh-perks li {
  font-size: var(--type-h3);
}

.hh-lb__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hh-lb__thumbs button {
  position: relative;
  width: 62px;
  aspect-ratio: 4/5;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 9px;
  background: none;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}
.hh-lb__thumbs button::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  padding: 2px;
  background: var(--hh-offer);
  opacity: 0;
  transition: opacity 0.2s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hh-lb__thumbs button:hover {
  transform: translateY(-2px);
}
.hh-lb__thumbs button.is-on {
  opacity: 1;
}
.hh-lb__thumbs button.is-on::after {
  opacity: 1;
}
.hh-lb__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

.hh-lb__nav {
  display: flex;
  gap: 8px;
}

.hh-round {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hh-line);
  border-radius: 50%;
  background: var(--hh-surface);
  color: var(--hh-ink);
  box-shadow: var(--hh-shadow-sm);
  transition: transform 0.2s;
}
.hh-round svg {
  width: 18px;
  height: 18px;
  transform: scaleX(var(--hh-dir));
}
.hh-round--prev svg {
  transform: scaleX(calc(var(--hh-dir) * -1));
}
.hh-round:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1180px) {
  .takaful-home-hero--v2 .hh-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .takaful-home-hero--v2 .hh-promo {
    max-width: 680px;
  }
}
@media (max-width: 899px) {
  .hh-lb__body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-block: 40px;
  }
  .hh-lb__poster {
    height: min(62vh, (100vw - 40px) * 1.25);
  }
  .hh-lb__side {
    max-width: 520px;
  }
}
@media (max-width: 560px) {
  .takaful-home-hero--v2 .hh-promo {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
  }
  .takaful-home-hero--v2 .hh-deck {
    --dh: 240px;
    margin-inline: auto;
  }
  .takaful-home-hero--v2 .hh-lede {
    font-size: var(--type-body);
  }
}
/* Cover wall */
.takaful-home-hero--v2 .hh-stage {
  position: relative;
}

.takaful-home-hero--v2 .hh-wall-wrap {
  transition: opacity 0.45s var(--hh-ease);
}

.takaful-home-hero--v2 .hh-stage.is-open .hh-wall-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
}

.takaful-home-hero--v2 .hh-wall {
  --card-h: clamp(320px, 24vw, 350px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.takaful-home-hero--v2 .hh-slot {
  position: relative;
  height: var(--card-h);
  min-width: 0;
  animation: hh-card-in 0.9s var(--hh-ease) both;
  animation-delay: calc(0.15s + var(--n, 0) * 0.08s);
}

.takaful-home-hero--v2 .hh-slot.is-src .hh-pcard {
  visibility: hidden;
}

@keyframes hh-card-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.takaful-home-hero--v2 .hh-pcard {
  display: block;
  position: absolute;
  color: inherit;
  text-decoration: none;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--hh-drop), 0 2px 6px rgba(10, 40, 34, 0.06);
  transform: perspective(1000px) translateY(var(--lift, 0px)) rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -5deg));
  transition: transform 0.6s var(--hh-ease), box-shadow 0.6s var(--hh-ease);
}
.takaful-home-hero--v2 .hh-pcard:hover, .takaful-home-hero--v2 .hh-pcard:focus-visible {
  --lift: -10px;
  box-shadow: var(--hh-drop-lift), 0 2px 6px rgba(10, 40, 34, 0.06);
}

.takaful-home-hero--v2 .hh-ptxt {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 2;
  padding: 22px 20px 0;
  color: #1a1a1a;
  pointer-events: none;
}
.takaful-home-hero--v2 .hh-ptxt b {
  display: block;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
}
.takaful-home-hero--v2 .hh-ptxt small {
  display: block;
  max-width: 24ch;
  margin: 6px auto 0;
  color: #4b5a56;
  font-size: var(--type-body-sm);
  line-height: 1.35;
}

.takaful-home-hero--v2 .hh-ptxt--scene {
  z-index: 3;
  padding: 36px 32px 0;
  text-align: center;
}
.takaful-home-hero--v2 .hh-ptxt--scene b {
  font-size: clamp(26px, 2.4vw, 32px);
}
.takaful-home-hero--v2 .hh-ptxt--scene small {
  max-width: 30ch;
  margin: 10px auto 0;
  font-size: 16px;
}
@media (max-width: 899px) {
  .takaful-home-hero--v2 .hh-ptxt--scene {
    display: none;
  }
}

.takaful-home-hero--v2 .hh-pgo {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  padding-inline-end: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: var(--fw-medium);
  box-shadow: 0 8px 18px -10px rgba(10, 40, 34, 0.4);
}
.takaful-home-hero--v2 .hh-pgo i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hh-grad);
  color: #fff;
}
.takaful-home-hero--v2 .hh-pgo i svg {
  width: 17px;
  height: 17px;
}
.takaful-home-hero--v2 .hh-pgo i:has(img) {
  background: none;
  overflow: hidden;
}
.takaful-home-hero--v2 .hh-pgo i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.takaful-home-hero--v2 .hh-pgo .hh-pgo__arrow {
  width: 15px;
  height: 15px;
  transform: scaleX(var(--hh-dir));
  transition: transform 0.25s;
}

.takaful-home-hero--v2 .hh-pcard--link .hh-pgo {
  padding: 8px 16px;
}

.takaful-home-hero--v2 .hh-pcard--link .hh-pgo:has(i) {
  padding: 5px;
  padding-inline-end: 14px;
}

.takaful-home-hero--v2 div.hh-pcard--link {
  cursor: default;
}

.takaful-home-hero--v2 .hh-pcard:hover .hh-pgo__arrow {
  transform: scaleX(var(--hh-dir)) translateX(4px);
}

.takaful-home-hero--v2 .hh-shelf {
  position: relative;
  height: 96px;
}

.takaful-home-hero--v2 .hh-ledge {
  position: absolute;
  inset-inline: 0;
  top: 58px;
  height: 1px;
  background: var(--hh-line-strong);
}

.takaful-home-hero--v2 .hh-ledge::after {
  content: "";
  position: absolute;
  inset-inline: 5%;
  top: 1px;
  height: 26px;
  background: radial-gradient(ellipse at top, var(--hh-line), transparent 70%);
}

.takaful-home-hero--v2 .hh-plant {
  position: absolute;
  inset-inline-end: 8%;
  top: 4px;
  width: 36px;
  height: 54px;
  transform-origin: 50% 100%;
  animation: hh-sway 7s ease-in-out infinite;
}

@keyframes hh-sway {
  50% {
    transform: rotate(-3deg);
  }
}
.takaful-home-hero--v2 .hh-hint {
  position: absolute;
  inset-inline-start: 0;
  top: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--hh-muted);
  font-size: 14px;
}

.takaful-home-hero--v2 .hh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hh-green-deep);
  animation: hh-pulse 1.8s infinite;
}

/* Cover art: scenery layers move with the pointer (--mx/--my) and spread out (--ex) when the quote opens. */
.hh-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  container-type: inline-size;
  color: #1a1a1a;
}

.hh-ab {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hh-ly {
  position: absolute;
  transform: translate3d(calc((var(--dx, 0) * var(--ex, 0) + var(--mx, 0) * var(--z, 0) * 1.4) * 1cqw), calc((var(--dy, 0) * var(--ex, 0) + var(--my, 0) * var(--z, 0) * 1.4) * 1cqw), 0) scale(calc(1 + var(--ds, 0) * var(--ex, 0)));
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hh-ly.hh-bgl {
  inset: 0;
  border-radius: inherit;
}

.hh-obj {
  height: auto;
  filter: drop-shadow(0 3cqw 3cqw rgba(10, 50, 40, 0.22));
}

.hh-shd {
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 60, 40, 0.22), transparent);
}

.hh-art--motor .hh-bgl {
  background: linear-gradient(170deg, #eef8f9 0%, #d5eff2 46%, #cbe9ba 100%);
}
.hh-art--motor .hh-sun {
  right: 12cqw;
  top: 31%;
  width: 17cqw;
  height: 17cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff9dc, #ffd978 72%);
  box-shadow: 0 0 8cqw rgba(255, 214, 110, 0.55);
}
.hh-art--motor .hh-h1 {
  left: -26cqw;
  bottom: 11%;
  width: 92cqw;
  height: 42cqw;
  border-radius: 50%;
  background: #d3ebc4;
}
.hh-art--motor .hh-h2 {
  right: -32cqw;
  bottom: 8%;
  width: 106cqw;
  height: 50cqw;
  border-radius: 50%;
  background: #bee1a8;
}
.hh-art--motor .hh-road {
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: #edf2f1;
}
.hh-art--motor .hh-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 1cqw;
  background: repeating-linear-gradient(90deg, #fff 0 8cqw, transparent 8cqw 14cqw);
}

.hh-art--travel .hh-bgl {
  background: linear-gradient(180deg, #d3f0f3 0%, #ebf8f8 60%, #f6faf0 100%);
}
.hh-art--travel .hh-sun {
  left: 9cqw;
  top: 32%;
  width: 14cqw;
  height: 14cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff9dc, #ffd978 72%);
  box-shadow: 0 0 7cqw rgba(255, 214, 110, 0.5);
}
.hh-art--travel .hh-cloud {
  border-radius: 50%;
  background: #fff;
  filter: blur(0.35cqw);
}
.hh-art--travel .hh-c1 {
  left: -14cqw;
  bottom: 13%;
  width: 64cqw;
  height: 17cqw;
}
.hh-art--travel .hh-c2 {
  right: -18cqw;
  bottom: 3%;
  width: 80cqw;
  height: 21cqw;
}
.hh-art--travel .hh-c3 {
  right: 4cqw;
  top: 41%;
  width: 32cqw;
  height: 9cqw;
  opacity: 0.85;
}
.hh-art--travel .hh-path {
  left: 0;
  top: 38%;
  width: 100cqw;
  height: 38%;
  overflow: visible;
  fill: none;
  stroke: #7fcfd6;
  stroke-width: 0.8;
  stroke-dasharray: 2 2.4;
}

.hh-art--helper .hh-bgl {
  background: linear-gradient(165deg, #f6fbee 0%, #e4f2cc 60%, #d3eaae 100%);
}
.hh-art--helper .hh-ground {
  left: -12cqw;
  right: -12cqw;
  bottom: -10%;
  height: 28%;
  border-radius: 50% 50% 0 0;
  background: #c9e59f;
}
.hh-art--helper .hh-f1 {
  left: 3cqw;
  bottom: 7%;
  width: 20cqw;
  height: 20cqw;
  fill: #98c829;
}
.hh-art--helper .hh-f2 {
  right: 6cqw;
  top: 35%;
  width: 11cqw;
  height: 11cqw;
  fill: rgba(58, 168, 216, 0.55);
}

.hh-art--motor .hh-obj, .hh-art--travel .hh-obj, .hh-art--helper .hh-obj, .hh-art--health .hh-obj {
  left: 16cqw;
  bottom: 16%;
  width: 68cqw;
  height: 60cqw;
  object-fit: contain;
  object-position: center bottom;
}
.hh-art--motor .hh-shd, .hh-art--travel .hh-shd, .hh-art--helper .hh-shd, .hh-art--health .hh-shd {
  left: 14cqw;
  bottom: 14%;
  width: 72cqw;
  height: 8cqw;
}

.hh-art--custom .hh-bgl {
  background: linear-gradient(165deg, #f4f8fc 0%, #e3eef8 60%, #d3e5f3 100%);
}
.hh-art--custom .hh-ground {
  left: -12cqw;
  right: -12cqw;
  bottom: -10%;
  height: 28%;
  border-radius: 50% 50% 0 0;
  background: #c6dcee;
}
.hh-art--custom .hh-obj {
  left: 17cqw;
  bottom: 16%;
  width: 66cqw;
}
.hh-art--custom .hh-shd {
  left: 16cqw;
  bottom: 14%;
  width: 68cqw;
  height: 8cqw;
}

.hh-art--health .hh-bgl {
  background: linear-gradient(165deg, #f1faf9 0%, #daf1ee 55%, #c8e9e5 100%);
}
.hh-art--health .hh-pulse {
  left: 0;
  top: 33%;
  width: 100cqw;
  height: 15%;
  fill: none;
  stroke: #98c829;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Quote scene */
.takaful-home-hero--v2 .hh-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: stretch;
  padding-bottom: 40px;
  animation: hh-fade 0.5s var(--hh-ease) both;
}

.takaful-home-hero--v2 .hh-s-art {
  --ex: 1;
  position: sticky;
  top: 110px;
  align-self: start;
  height: clamp(520px, 100vh - 140px, 680px);
  border-radius: 28px;
  box-shadow: var(--hh-drop-scene);
}
.takaful-home-hero--v2 .hh-s-art .hh-art {
  animation: hh-art-in 0.6s var(--hh-ease);
}

.takaful-home-hero--v2 .hh-s-art .hh-art {
  perspective: 900px;
}
.takaful-home-hero--v2 .hh-s-art .hh-ly {
  transition-duration: 0.35s;
  transition-timing-function: ease-out;
}
.takaful-home-hero--v2 .hh-s-art .hh-obj {
  transform-origin: 50% 85%;
  transform: translate3d(calc((var(--dx, 0) * var(--ex, 0) + var(--mx, 0) * var(--z, 0) * 1.4) * 1cqw), calc((var(--dy, 0) * var(--ex, 0) + var(--my, 0) * var(--z, 0) * 1.4) * 1cqw), 0) scale(calc(1 + var(--ds, 0) * var(--ex, 0))) rotateY(calc(var(--mx, 0) * 16deg)) rotateX(calc(var(--my, 0) * -12deg));
}
@media (min-width: 900px) {
  .takaful-home-hero--v2 .hh-s-art .hh-art--motor .hh-obj, .takaful-home-hero--v2 .hh-s-art .hh-art--travel .hh-obj, .takaful-home-hero--v2 .hh-s-art .hh-art--helper .hh-obj, .takaful-home-hero--v2 .hh-s-art .hh-art--health .hh-obj {
    left: 12cqw;
    bottom: 14%;
    width: 76cqw;
    height: 68cqw;
  }
  .takaful-home-hero--v2 .hh-s-art .hh-art--motor .hh-shd, .takaful-home-hero--v2 .hh-s-art .hh-art--travel .hh-shd, .takaful-home-hero--v2 .hh-s-art .hh-art--helper .hh-shd, .takaful-home-hero--v2 .hh-s-art .hh-art--health .hh-shd {
    left: 10cqw;
    bottom: 12%;
    width: 80cqw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .takaful-home-hero--v2 .hh-s-art .hh-obj {
    transform: translate3d(calc((var(--dx, 0) * var(--ex, 0) + var(--mx, 0) * var(--z, 0) * 1.4) * 1cqw), calc((var(--dy, 0) * var(--ex, 0) + var(--my, 0) * var(--z, 0) * 1.4) * 1cqw), 0) scale(calc(1 + var(--ds, 0) * var(--ex, 0)));
  }
}

@keyframes hh-art-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hh-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.takaful-home-hero--v2 .hh-s-form {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.takaful-home-hero--v2 .hh-s-top {
  position: absolute;
  top: 3px;
  inset-inline-end: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  margin: 0;
}

.takaful-home-hero--v2 .hh-back,
.takaful-home-hero--v2 .hh-xbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border: 1px solid var(--hh-line);
  border-radius: 999px;
  background: var(--hh-surface);
  color: var(--hh-ink);
  font-size: 14px;
  font-weight: var(--fw-medium);
  box-shadow: var(--hh-shadow-sm);
  transition: transform 0.2s;
}
.takaful-home-hero--v2 .hh-back svg,
.takaful-home-hero--v2 .hh-xbtn svg {
  width: 17px;
  height: 17px;
}

.takaful-home-hero--v2 .hh-back {
  padding-inline: 12px 16px;
}

.takaful-home-hero--v2 .hh-back svg {
  transform: scaleX(calc(var(--hh-dir) * -1));
}

.takaful-home-hero--v2 .hh-back:hover {
  transform: translateX(calc(-3px * var(--hh-dir)));
}

.takaful-home-hero--v2 .hh-xbtn {
  width: 42px;
  padding: 0;
}

.takaful-home-hero--v2 .hh-stage--form-only {
  max-width: 720px;
}

/* The plate number field is drawn as an Omani licence plate (all yellow, dark OMAN label): the code select and the number input sit on it, so there is no separate preview. Always left-to-right, like a real plate. */
.takaful-home-hero--v2 .hh-plate-field {
  display: flex;
  align-items: stretch;
  height: 56px;
  direction: ltr;
  border: 3px solid #1a1a1a;
  border-radius: 12px;
  background: #f6c61a;
  color: #1a1a1a;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #f6c61a, inset 0 0 0 3.5px rgba(26, 26, 26, 0.75);
  transition: box-shadow 0.2s;
}
.takaful-home-hero--v2 .hh-plate-field:focus-within {
  box-shadow: 0 0 0 4px rgba(127, 191, 63, 0.35), inset 0 0 0 2px #f6c61a, inset 0 0 0 3.5px rgba(26, 26, 26, 0.75);
}

.takaful-home-hero--v2 .hh-plate__band {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 3;
  width: 66px;
  background: transparent;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.takaful-home-hero--v2 .hh-plate__band span:first-child {
  font-family: "Noto Kufi Arabic", var(--primary-font-family), sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.1;
}

.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .select2-container {
  flex: none;
  order: 2;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo__trigger, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .input-group-text {
  min-width: 108px;
  height: 100%;
  padding: 0 8px;
  gap: 6px;
  border: 0;
  border-inline-end: 2px solid rgba(26, 26, 26, 0.55);
  border-radius: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  order: 1;
  border-inline-end: 2px solid rgba(26, 26, 26, 0.55);
}
/* The dark-theme input rules use !important; the whole plate stays yellow in both themes. */
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .form-control, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo__trigger, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .input-group-text, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .select2-selection {
  background-color: transparent !important;
  color: #1a1a1a !important;
  border-color: rgba(26, 26, 26, 0.55) !important;
}

.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .form-control::placeholder {
  color: rgba(26, 26, 26, 0.45) !important;
  opacity: 1;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .form-control:focus {
  border: 0;
  box-shadow: none;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo__trigger > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-code--stacked {
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-code--stacked .hh-code__ar {
  font-size: 15px;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-code--stacked .hh-code__en {
  font-size: 14px;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo__trigger {
  justify-content: center;
}

.takaful-home-hero--v2 .hh-combo__list .hh-code {
  gap: 10px;
}

.takaful-home-hero--v2 .hh-code__ar {
  font-family: "Noto Kufi Arabic", var(--primary-font-family), sans-serif;
}

.takaful-home-hero--v2[dir=rtl] .homepage-hero-form .takaful-home-quote .hh-plate-field .hh-combo__trigger {
  min-width: 122px;
  font-size: 14px;
}

/* Searchable plate-code dropdown (marketing quote form). */
.takaful-home-hero--v2 .hh-plate-col {
  position: relative;
  z-index: 5;
}

.takaful-home-hero--v2 .hh-combo {
  position: relative;
  display: flex;
}

.takaful-home-hero--v2 .hh-combo__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 96px;
  height: 100%;
  cursor: pointer;
  font: inherit;
}

.takaful-home-hero--v2 .hh-combo__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  z-index: 30;
  width: 240px;
  max-width: calc(100vw - 48px);
  padding: 8px;
  border: 1px solid var(--hh-line-strong);
  border-radius: 14px;
  background: var(--hh-surface);
  box-shadow: var(--hh-shadow);
}

.takaful-home-hero--v2 .hh-combo__search {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--hh-line-strong);
  border-radius: 10px;
  background: var(--hh-surface-2);
  color: var(--hh-ink);
  font: inherit;
  font-size: 14px;
}
.takaful-home-hero--v2 .hh-combo__search::placeholder {
  color: var(--hh-muted);
  opacity: 0.8;
}
.takaful-home-hero--v2 .hh-combo__search:focus {
  outline: none;
  border-color: var(--hh-green-deep);
  box-shadow: 0 0 0 3px rgba(127, 191, 63, 0.18);
}

.takaful-home-hero--v2 .hh-combo__list {
  max-height: 220px;
  margin: 8px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.takaful-home-hero--v2 .hh-combo__list li {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--hh-ink);
  font-size: 14px;
  cursor: pointer;
}

.takaful-home-hero--v2 .hh-combo__list li.is-active {
  background: var(--hh-tint);
}

.takaful-home-hero--v2 .hh-combo__list li.is-selected {
  color: var(--hh-green-text);
  font-weight: 600;
}

.takaful-home-hero--v2 .hh-combo__list li.hh-combo__empty {
  color: var(--hh-muted);
  cursor: default;
}

/* The existing quote form, restyled for the dark hero. Field names and behaviour are unchanged. */
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head h2 {
  color: var(--hh-ink);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head p {
  color: var(--hh-muted);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__tagline {
  color: var(--hh-green-text);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--hh-grad);
  color: #fff;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-label {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .input-group-text {
  border: 1.5px solid var(--hh-line-strong);
  background-color: var(--hh-surface);
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .input-group-text {
  background-color: var(--hh-surface-2);
  color: var(--hh-muted);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .motor-plate-code {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .motor-plate-code option {
  background: var(--hh-surface);
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control::placeholder {
  color: var(--hh-muted);
  opacity: 0.65;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control:focus {
  border-color: var(--hh-green-deep);
  box-shadow: 0 0 0 4px rgba(127, 191, 63, 0.18);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control:focus-visible {
  outline: none;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-picker {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--hh-line);
  border-radius: 18px;
  background: var(--hh-surface-2);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option {
  border: 1px solid transparent;
  background: transparent;
  color: var(--hh-muted);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option:hover {
  border-color: var(--hh-line-strong);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option-icon {
  border: 1px solid var(--hh-line);
  background: var(--hh-surface);
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option.is-active {
  border-color: var(--hh-line);
  background: var(--hh-surface);
  color: var(--hh-ink);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option.is-active .takaful-home-quote__product-option-icon {
  border-color: transparent;
  background: var(--hh-grad);
  color: #fff;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-card {
  border: 1.5px solid var(--hh-line-strong);
  background: var(--hh-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-card strong {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-card .text-muted {
  color: var(--hh-muted) !important;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-option input:checked + .domestic-product-card {
  border-color: var(--hh-green-deep);
  background: var(--hh-tint);
  box-shadow: none;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-check {
  border-color: var(--hh-line-strong);
  background: var(--hh-surface-2);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__plan-card {
  border-color: var(--hh-line-strong);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__consent {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__consent a {
  color: var(--hh-ink);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__consent input {
  border-color: var(--hh-line-strong);
  background: var(--hh-surface);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__submit {
  height: 56px;
  border-radius: 15px;
  background: var(--hh-grad);
  font-size: var(--type-body);
  text-shadow: 0 1px 1px rgba(0, 60, 40, 0.25);
  box-shadow: 0 14px 26px -14px rgba(80, 150, 40, 0.7);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__field-error {
  color: var(--hh-error);
  font-size: 0.85rem;
  margin: 6px 0 0;
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote input[aria-invalid="true"] {
  border-color: var(--hh-error);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__error {
  color: var(--hh-error);
}
.takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote button:focus-visible, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote a:focus-visible, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote select:focus-visible {
  outline-color: var(--hh-green-deep) !important;
}

@media (max-width: 899px) {
  .takaful-home-hero--v2 .hh-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .takaful-home-hero--v2 .hh-top {
    display: contents;
  }
  .takaful-home-hero--v2 .hh-copy {
    order: 1;
    padding-top: 10px;
  }
  .takaful-home-hero--v2 .hh-stage {
    order: 2;
  }
  .takaful-home-hero--v2 .hh-promo {
    order: 4;
  }
  .takaful-home-hero--v2 .hh-wall {
    --card-h: clamp(250px, 64vw, 380px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .takaful-home-hero--v2 .hh-scene {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .takaful-home-hero--v2 .hh-s-art {
    position: relative;
    top: auto;
    height: clamp(210px, 48vw, 320px);
    border-radius: 22px;
  }
  .takaful-home-hero--v2 .hh-plant {
    inset-inline-end: 4%;
  }
}
@media (max-width: 560px) {
  .takaful-home-hero--v2 .hh-wall {
    gap: 12px;
  }
  .takaful-home-hero--v2 .hh-ptxt {
    padding: 14px 10px 0;
  }
  .takaful-home-hero--v2 .hh-ptxt b {
    font-size: 16px;
  }
  .takaful-home-hero--v2 .hh-ptxt small {
    display: none;
  }
  .takaful-home-hero--v2 .hh-pgo {
    inset-inline-start: 10px;
    bottom: 10px;
    padding: 4px;
    padding-inline-end: 10px;
    font-size: 13px;
  }
  .takaful-home-hero--v2 .hh-pgo i {
    width: 28px;
    height: 28px;
  }
  .takaful-home-hero--v2 .hh-pgo__arrow {
    display: none;
  }
  .takaful-home-hero--v2 .hh-hint {
    font-size: 13px;
  }
}
/* Cover wall, 600px and wider (homepage-replica): a flat, centred row of compact cards. The title is the card's text; the subtitle,
   the "Get quote" pill and the shelf under the wall are not shown. Phones keep the swipeable carousel below. */
.takaful-home-hero--v2 .hh-shelf {
  display: none;
}

@media (min-width: 600px) {
  .takaful-home-hero--v2 .hh-wall {
    --card-h: 188px;
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-inline: auto;
  }
  .takaful-home-hero--v2 .hh-slot {
    flex: 0 0 calc((100% - 88px) / 5);
    width: calc((100% - 88px) / 5);
    height: 188px;
    aspect-ratio: auto;
    transition: transform 0.35s ease;
  }
  .takaful-home-hero--v2 .hh-slot:hover,
  .takaful-home-hero--v2 .hh-slot:focus-within {
    transform: translateY(-5px);
  }
  .takaful-home-hero--v2 .hh-slot:hover .hh-pcard,
  .takaful-home-hero--v2 .hh-slot:focus-within .hh-pcard {
    box-shadow: 0 24px 44px rgba(19, 155, 211, 0.2);
  }
  .takaful-home-hero--v2 .hh-wall .hh-pcard,
  .takaful-home-hero--v2 .hh-wall .hh-pcard:hover,
  .takaful-home-hero--v2 .hh-wall .hh-pcard:focus-visible,
  .takaful-home-hero--v2 .hh-wall .hh-pcard:active {
    transform: none;
  }
  .takaful-home-hero--v2 .hh-pcard,
  .takaful-home-hero--v2 .hh-art {
    overflow: hidden;
  }
  .takaful-home-hero--v2 .hh-wall .hh-pgo,
  .takaful-home-hero--v2 .hh-wall .hh-ptxt small {
    display: none;
  }
  .takaful-home-hero--v2 .hh-wall .hh-ptxt {
    padding: 22px 12px 0;
  }
  .takaful-home-hero--v2 .hh-wall .hh-ptxt b {
    font-size: clamp(16px, 1.25vw, 18px);
  }
  .takaful-home-hero--v2 .hh-wall .hh-obj {
    top: 58px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: 72% !important;
    height: 100px !important;
    max-height: none;
    transform: translateX(-50%) !important;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 0.35s ease;
  }
  .takaful-home-hero--v2 .hh-wall .hh-pcard:hover .hh-obj,
  .takaful-home-hero--v2 .hh-wall .hh-pcard:focus-visible .hh-obj {
    transform: translateX(-50%) scale(1.1) !important;
  }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .takaful-home-hero--v2 .hh-wall {
    flex-wrap: wrap;
  }
  .takaful-home-hero--v2 .hh-slot {
    flex-basis: calc((100% - 56px) / 3);
    width: calc((100% - 56px) / 3);
  }
}
/* Phone-only parts: hidden on larger screens, shown by the phone layout below. */
.takaful-home-hero--v2 .hh-sechead,
.takaful-home-hero--v2 .hh-dots,
.takaful-home-hero--v2 .hh-fab,
.takaful-home-hero--v2 .hh-s-grab,
.hh-lb .hh-st-bg,
.hh-lb .hh-st-bars,
.hh-lb .hh-st-head,
.hh-lb .hh-st-tap,
.hh-lb .hh-st-foot,
.hh-lb .hh-st-sheet,
.takaful-home-hero--v2 .hh-open-hint__play,
.takaful-home-hero--v2 .hh-open-hint__watch {
  display: none;
}

@media (min-width: 600px) {
  .takaful-home-hero--v2 .hh-wall-wrap > .hh-sechead {
    display: block;
    margin: 0 0 8px;
    padding: 28px 16px 0;
    color: var(--hh-ink);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    text-align: center;
  }
}
/* Phone layout (takaful-mobile.html): up to 599px. Copy, a swipeable cover carousel, the campaign card, a full-screen quote sheet and
   story-style posters. 600px and wider keep the layouts above. */
@media (max-width: 599px) {
  .takaful-home-hero--v2 {
    padding-bottom: 8px;
  }
  .takaful-home-hero--v2.is-quote-open {
    z-index: 2000;
  }
  .takaful-home-hero--v2 .hh-wrap {
    gap: 0;
  }
  .takaful-home-hero--v2 .hh-copy {
    padding-top: 10px;
    padding-inline: 4px;
  }
  .takaful-home-hero--v2 .hh-title {
    margin: 16px 0 12px;
    font-size: clamp(32px, 9.4vw, 40px);
    line-height: 1;
  }
  .takaful-home-hero--v2 .hh-lede {
    font-size: 15px;
  }
  .takaful-home-hero--v2 .hh-sechead {
    display: block;
    margin: 0;
    padding: 26px 4px 0;
    color: var(--hh-ink);
    font-size: 19px;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    order: 4;
  }
  .takaful-home-hero--v2 .hh-wall-wrap .hh-sechead {
    padding-inline: 24px;
    order: 0;
    text-align: center;
    font-size: 22px;
  }
  .takaful-home-hero--v2 .hh-sechead--campaign {
    padding-bottom: 12px;
  }
  /* Cover carousel (homepage-replica): compact cards in a coverflow. The card in the middle is full size and in front; the others shrink
     (--k, set while scrolling) and overlap it. The spacers let the first and last card reach the middle. */
  .takaful-home-hero--v2 .hh-wall-wrap {
    margin-inline: -16px;
  }
  .takaful-home-hero--v2 .hh-stage.is-open .hh-wall-wrap {
    position: static;
    opacity: 1;
  }
  .takaful-home-hero--v2 .hh-wall {
    --card-h: 168px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0 20px;
    /* The browser does not scroll the row: homepage-hero.js (coverflow) moves the cards itself and wraps them round, so the loop
       is endless with only the real cards (with five copies of every card iOS Safari stopped drawing the row) and a flick carries
       over several cards. The page still scrolls up and down over it (pan-y). clip, unlike hidden, cannot be scrolled by focus.
       No forced layers (no translateZ, will-change or backface-visibility). */
    overflow: hidden;
    overflow: clip;
    touch-action: pan-y;
    outline-offset: -4px;
  }
  .takaful-home-hero--v2 .hh-wall::before,
  .takaful-home-hero--v2 .hh-wall::after {
    content: "";
    flex: 0 0 calc(31% - 10px);
  }
  .takaful-home-hero--v2 .hh-slot {
    flex: 0 0 52%;
    width: auto;
    height: 168px;
    margin-inline: -7%;
    aspect-ratio: auto;
    transition: none;
    /* No entrance fade on the rail: a fade that restarts when Safari re-lays the cards out looks like flicker. */
    animation: none;
  }
  .takaful-home-hero--v2 .hh-slot:hover,
  .takaful-home-hero--v2 .hh-slot:focus-within {
    transform: none;
  }
  .takaful-home-hero--v2 .hh-pcard,
  .takaful-home-hero--v2 .hh-art {
    overflow: hidden;
  }
  .takaful-home-hero--v2 .hh-pcard {
    border-radius: 18px;
    box-shadow: var(--hh-drop), 0 2px 6px rgba(10, 40, 34, 0.06);
    transform: scale(var(--k, 1));
    transform-origin: center center;
    transition: box-shadow 0.3s;
  }
  .takaful-home-hero--v2 .hh-pcard:hover, .takaful-home-hero--v2 .hh-pcard:focus-visible {
    --lift: 0px;
  }
  .takaful-home-hero--v2 .hh-pcard:active {
    transform: scale(calc(var(--k, 1) * 0.97));
  }
  .takaful-home-hero--v2 .hh-wall .hh-pgo,
  .takaful-home-hero--v2 .hh-wall .hh-ptxt small {
    display: none;
  }
  .takaful-home-hero--v2 .hh-wall .hh-ptxt {
    padding: 16px 8px 0;
  }
  .takaful-home-hero--v2 .hh-wall .hh-ptxt b {
    font-size: 13px;
  }
  .takaful-home-hero--v2 .hh-wall .hh-obj {
    top: 46px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: 74% !important;
    height: 88px !important;
    max-height: none;
    transform: translateX(-50%) !important;
    object-fit: contain;
    object-position: center bottom;
  }
  .takaful-home-hero--v2 .hh-shelf {
    display: none;
  }
  .takaful-home-hero--v2 .hh-dots {
    display: none;
  }
  /* Campaign card */
  .takaful-home-hero--v2 .hh-promo {
    order: 4;
    max-width: none;
    margin-top: 0;
    padding: 18px 16px;
    gap: 18px;
  }
  .takaful-home-hero--v2 .hh-deck {
    --dh: 236px;
    margin: 4px auto 34px;
  }
  .takaful-home-hero--v2 .hh-open-hint__stars,
  .takaful-home-hero--v2 .hh-open-hint__full {
    display: none;
  }
  .takaful-home-hero--v2 .hh-open-hint__play {
    display: block;
    width: 12px;
    height: 12px;
    color: #e86ab0;
  }
  .takaful-home-hero--v2 .hh-open-hint__watch {
    display: inline;
  }
  .takaful-home-hero--v2 .hh-pinfo {
    gap: 10px;
  }
  .takaful-home-hero--v2 .hh-ptitle {
    font-size: 24px;
  }
  .takaful-home-hero--v2 .hh-pactions .hh-offer-btn {
    flex: 1;
    justify-content: center;
    height: 46px;
  }
  /* Quote scene: a full-screen dialog. The cover art sits on top and the form sheet slides up over it. */
  .takaful-home-hero--v2 .hh-scene {
    position: fixed;
    inset: 0;
    z-index: 5;
    display: block;
    padding: 0;
    overflow: hidden auto;
    overscroll-behavior: contain;
    background: var(--hh-bg);
    animation: none;
    scrollbar-width: none;
  }
  .takaful-home-hero--v2 .hh-scene::-webkit-scrollbar {
    display: none;
  }
  .takaful-home-hero--v2 .hh-s-art {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 42%;
    border-radius: 0 0 30px 30px;
    box-shadow: none;
  }
  .takaful-home-hero--v2 .hh-s-form {
    position: relative;
    z-index: 2;
    display: block;
    min-height: 100%;
    margin-top: -30px;
    padding: 0 18px 16px;
    border-radius: 28px 28px 0 0;
    background: var(--hh-surface);
    box-shadow: 0 -24px 40px -24px rgba(0, 0, 0, 0.6);
    transform: translateY(105%);
    transition: transform 0.6s var(--hh-ease);
  }
  .takaful-home-hero--v2 .hh-scene.is-in .hh-s-form {
    transform: none;
  }
  .takaful-home-hero--v2 .hh-s-form.is-dragging {
    transition: none;
  }
  .takaful-home-hero--v2 .hh-s-top {
    display: none;
  }
  .takaful-home-hero--v2 .hh-fab {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    height: 0;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s, transform 0.45s var(--hh-ease);
  }
  .takaful-home-hero--v2 .hh-scene.is-in .hh-fab {
    opacity: 1;
    transform: none;
  }
  .takaful-home-hero--v2 .hh-scene.is-docked .hh-fab {
    opacity: 0;
    pointer-events: none;
  }
  .takaful-home-hero--v2 .hh-fab__btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #1a1a1a;
    box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
  }
  .takaful-home-hero--v2 .hh-fab__btn svg {
    width: 18px;
    height: 18px;
    transform: scaleX(var(--hh-dir));
  }
  .takaful-home-hero--v2 .hh-fab__btn--back svg {
    transform: scaleX(calc(var(--hh-dir) * -1));
  }
  .takaful-home-hero--v2 .hh-s-grab {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    margin: 0 -18px 4px;
    padding: 8px 12px;
    border-radius: 28px 28px 0 0;
    background: var(--hh-surface);
  }
  .takaful-home-hero--v2 .hh-scene.is-docked .hh-s-grab {
    box-shadow: 0 10px 18px -16px rgba(0, 0, 0, 0.7);
  }
  .takaful-home-hero--v2 .hh-s-handle {
    justify-self: center;
    padding: 8px 34px;
    cursor: grab;
    touch-action: none;
  }
  .takaful-home-hero--v2 .hh-s-handle::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 5px;
    background: var(--hh-line-strong);
  }
  .takaful-home-hero--v2 .hh-s-gbtn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hh-line);
    border-radius: 50%;
    background: var(--hh-surface-2);
    color: var(--hh-ink);
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--hh-ease);
  }
  .takaful-home-hero--v2 .hh-s-gbtn svg {
    width: 17px;
    height: 17px;
    transform: scaleX(var(--hh-dir));
  }
  .takaful-home-hero--v2 .hh-s-gbtn--back svg {
    transform: scaleX(calc(var(--hh-dir) * -1));
  }
  .takaful-home-hero--v2 .hh-scene.is-docked .hh-s-gbtn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head h2 {
    font-size: 30px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .input-group-text {
    height: 52px;
    font-size: 16px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__submit {
    position: sticky;
    bottom: 12px;
    z-index: 3;
    box-shadow: 0 18px 30px -12px rgba(80, 150, 40, 0.6), 0 0 0 8px var(--hh-surface);
  }
}
/* The story-style poster viewer. It sits in <body>, so it is styled on its own. */
@media (max-width: 599px) {
  .hh-lb {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #0b0f0e;
    color: #fff;
  }
  .hh-lb__scrim, .hh-lb__side {
    display: none;
  }
  .hh-lb .hh-st-bg {
    position: absolute;
    inset: -60px;
    display: block;
    background-position: center;
    background-size: cover;
    filter: blur(36px) saturate(1.3);
    opacity: 0.55;
  }
  .hh-lb .hh-st-bars {
    position: absolute;
    top: 12px;
    inset-inline: 12px;
    z-index: 4;
    display: flex;
    gap: 4px;
  }
  .hh-lb .hh-st-bars span {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
  }
  .hh-lb .hh-st-bars i {
    display: block;
    height: 100%;
    background: #fff;
    transform-origin: left;
    transform: scaleX(var(--f, 0));
  }
  .hh-lb[dir=rtl] .hh-st-bars i {
    transform-origin: right;
  }
  .hh-lb .hh-st-head {
    position: absolute;
    top: 24px;
    inset-inline: 12px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline-end: 48px;
    pointer-events: none;
  }
  .hh-lb .hh-st-av {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 4px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
  }
  .hh-lb .hh-st-av img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .hh-lb .hh-st-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.2;
  }
  .hh-lb .hh-st-name b {
    display: block;
    font-size: 14px;
    font-weight: var(--fw-bold);
  }
  .hh-lb .hh-st-name span {
    opacity: 0.75;
  }
  .hh-lb__close {
    top: 24px;
    inset-inline-end: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    box-shadow: none;
    color: #fff;
  }
  .hh-lb__close svg {
    width: 22px;
    height: 22px;
  }
  .hh-lb__body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
    pointer-events: none;
  }
  .hh-lb__poster {
    position: absolute;
    inset: 72px 12px 170px;
    display: grid;
    place-items: center;
    height: auto;
    max-width: none;
    aspect-ratio: auto;
    overflow: visible;
    background: none;
    box-shadow: none;
  }
  .hh-lb__poster img {
    position: static;
    grid-area: 1/1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 4/5;
    border-radius: 18px;
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.7);
  }
  .hh-lb__poster img.is-out {
    opacity: 0;
  }
  .hh-lb .hh-st-tap {
    position: absolute;
    top: 60px;
    bottom: 170px;
    z-index: 3;
    display: block;
    padding: 0;
    border: 0;
    background: none;
  }
  .hh-lb .hh-st-tap--prev {
    inset-inline-start: 0;
    width: 34%;
  }
  .hh-lb .hh-st-tap--next {
    inset-inline-end: 0;
    width: 66%;
  }
  .hh-lb .hh-st-foot {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55) 30%);
  }
  .hh-lb .hh-st-foot h3 {
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1.15;
  }
  .hh-lb .hh-st-foot p {
    margin: 0;
    font-size: 12.5px;
    opacity: 0.8;
  }
  .hh-lb .hh-st-poster {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hh-lb .hh-st-row {
    display: flex;
    gap: 8px;
  }
  .hh-lb .hh-st-row .hh-offer-btn {
    flex: 1;
    justify-content: center;
    height: 48px;
  }
  .hh-lb .hh-st-benefits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: none;
    color: #fff;
    font-size: 14px;
    font-weight: var(--fw-medium);
  }
  .hh-lb .hh-st-benefits svg {
    width: 16px;
    height: 16px;
  }
  .hh-lb .hh-st-sheet {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 6;
    display: block;
    padding: 12px 18px 22px;
    border-radius: 24px 24px 0 0;
    background: var(--hh-surface);
    color: var(--hh-ink);
    transform: translateY(105%);
    transition: transform 0.45s var(--hh-ease);
  }
  .hh-lb .hh-st-sheet.is-on {
    transform: none;
  }
  .hh-lb .hh-st-sheet::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: 5px;
    background: var(--hh-line-strong);
  }
  .hh-lb .hh-st-sheet h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: var(--fw-bold);
  }
  .hh-lb .hh-st-sheet .hh-perks {
    margin: 0 0 12px;
  }
  .hh-lb .hh-st-sheet .hh-perks li {
    font-size: 14px;
  }
  .hh-lb .hh-st-sheet p {
    margin: 0;
    color: var(--hh-muted);
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .takaful-home-hero--v2 *, .takaful-home-hero--v2 *::before, .takaful-home-hero--v2 *::after,
  .hh-lb *, .hh-lb *::before, .hh-lb *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Short laptop screens (for example 1366x768 with the browser bars): tighten the vertical rhythm so the copy, campaign card and the whole cover wall fit in one screen.
   Only spacing changes here; the title and deck sizes above already follow the viewport height, so there is no jump at 900px. */
@media (min-width: 900px) and (max-height: 900px) {
  .takaful-home-hero--v2 {
    padding-bottom: 12px;
  }
  .takaful-home-hero--v2 .hh-top {
    gap: 28px;
    margin-bottom: 8px;
  }
  .takaful-home-hero--v2 .hh-title {
    margin: 10px 0 8px;
  }
  .takaful-home-hero--v2 .hh-lede {
    font-size: var(--type-body);
  }
  .takaful-home-hero--v2 .hh-promo {
    gap: 22px;
    padding: 14px 20px 14px 14px;
    padding-inline: 14px 20px;
  }
  .takaful-home-hero--v2 .hh-pinfo {
    gap: 8px;
  }
  .hh-perks {
    gap: 4px;
  }
  .takaful-home-hero--v2 .hh-wall-wrap > .hh-sechead {
    margin-bottom: 4px;
    padding-top: 12px;
    font-size: clamp(20px, 2.4vw, 28px);
  }
  .takaful-home-hero--v2 .hh-scene {
    padding-bottom: 12px;
  }
  .takaful-home-hero--v2 .hh-s-art {
    height: clamp(360px, 100vh - 132px, 680px);
  }
  .takaful-home-hero--v2 .hh-ptxt--scene {
    padding-top: 24px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head {
    margin-bottom: 8px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head h2 {
    font-size: clamp(26px, 5vh, 44px);
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__head-icon {
    width: 40px;
    height: 40px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__tagline {
    margin-bottom: 8px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-label {
    margin-bottom: 4px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-picker {
    padding: 4px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__product-option {
    padding-block: 6px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .input-group-text {
    min-height: 44px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field {
    height: 48px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__submit {
    height: 48px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-grid--travel .domestic-product-card {
    min-height: 64px;
    padding-block: 10px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__plan-card {
    aspect-ratio: 2.4/1;
  }
  .takaful-home-hero--v2 .hh-shelf {
    display: none;
  }
}
@media (min-width: 900px) and (max-height: 700px) {
  .takaful-home-hero--v2 .hh-promo .hh-perks {
    display: none;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__tagline {
    display: none;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .takaful-home-quote__consent {
    gap: 6px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .mb-3 {
    margin-bottom: 0.625rem !important;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .form-control, .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .input-group-text {
    min-height: 40px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .hh-plate-field {
    height: 44px;
  }
  .takaful-home-hero--v2 .homepage-hero-form .takaful-home-quote .domestic-product-grid--travel .domestic-product-card {
    min-height: 56px;
  }
}

.takaful-home-hero--v2 .takaful-home-services {
  padding: 28px 0;
  color: var(--hh-ink);
}

.takaful-home-hero--v2 .takaful-home-services .takaful-home-section-head {
  margin-bottom: 16px;
  text-align: center;
}

.takaful-home-hero--v2 .takaful-home-services .takaful-home-section-head__eyebrow {
  margin: 0;
  color: var(--hh-ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.takaful-home-hero--v2 .takaful-home-services .takaful-home-section-head__eyebrow + h2 {
  margin-top: 6px;
}

.takaful-home-hero--v2 .takaful-home-services h2 {
  margin: 0;
  color: var(--hh-ink);
  font-size: var(--type-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  text-align: center;
}

.takaful-home-hero--v2 .takaful-home-services-grid {
  /* Centered wrapping row, so fewer services than columns stay centered. */
  --services-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--services-gap);
}

.takaful-home-hero--v2 .takaful-home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc((100% - 4 * var(--services-gap)) / 5);
  width: calc((100% - 4 * var(--services-gap)) / 5);
  max-width: calc((100% - 4 * var(--services-gap)) / 5);
  height: 168px;
  min-width: 0;
  margin: 0;
  padding: 24px 10px 8px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(165deg, #f7fbf8, #e4f2ea);
  box-shadow: var(--hh-drop), 0 2px 6px rgba(10, 40, 34, 0.06);
  color: #1a1a1a;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.takaful-home-hero--v2 a.takaful-home-service-card:hover,
.takaful-home-hero--v2 a.takaful-home-service-card:focus-visible {
  color: #1a1a1a;
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(19, 155, 211, 0.2);
}

.takaful-home-hero--v2 .takaful-home-service-card h3 {
  order: -1;
  margin: 0 0 8px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1.15;
}

.takaful-home-hero--v2 .takaful-home-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.takaful-home-hero--v2 .takaful-home-service-card__icon img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.takaful-home-hero--v2 a.takaful-home-service-card:hover .takaful-home-service-card__icon img {
  transform: scale(1.1);
}

.takaful-home-hero--v2 .takaful-home-service-card p,
.takaful-home-hero--v2 .takaful-home-service-card__cta {
  display: none;
}

@media (max-width: 1100px) {
  .takaful-home-hero--v2 .takaful-home-service-card {
    flex-basis: calc((100% - 2 * var(--services-gap)) / 3);
    width: calc((100% - 2 * var(--services-gap)) / 3);
    max-width: calc((100% - 2 * var(--services-gap)) / 3);
  }
}
/* Under the quote cards on tablets and phones; the campaign card follows. */
@media (max-width: 899px) {
  .takaful-home-hero--v2 .takaful-home-services {
    order: 3;
  }
}
/* Phones: a coverflow row (homepage-replica). The card in the middle is full size and in front; the others shrink (--cover-scale, set while
   scrolling by ServicesCoverflow) and overlap it. The spacers let the first and last card reach the middle. */
@media (max-width: 599px) {
  .takaful-home-hero--v2 .takaful-home-services {
    margin-inline: -16px;
    padding-block: 20px;
  }
  .takaful-home-hero--v2 .takaful-home-services .takaful-home-section-head {
    padding-inline: 16px;
  }
  .takaful-home-hero--v2 .takaful-home-services h2,
  .takaful-home-hero--v2 .takaful-home-services .takaful-home-section-head__eyebrow {
    font-size: 22px;
  }
  .takaful-home-hero--v2 .takaful-home-services-grid {
    --services-gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--services-gap);
    padding-block: 8px;
    /* Not scrolled by the browser: homepage-hero.js (coverflow) moves the cards, like the cover wall above. */
    overflow: hidden;
    overflow: clip;
    touch-action: pan-y;
  }
  .takaful-home-hero--v2 .takaful-home-services-grid::before,
  .takaful-home-hero--v2 .takaful-home-services-grid::after {
    content: "";
    flex: 0 0 calc(31% - var(--services-gap));
  }
  .takaful-home-hero--v2 .takaful-home-service-card {
    flex: 0 0 52%;
    width: auto;
    max-width: none;
    height: 148px;
    margin-inline: -7%;
    padding: 18px 10px 8px;
    transform: scale(var(--cover-scale, 1)) !important;
    transform-origin: center center;
    transition: box-shadow 0.35s ease;
  }
  .takaful-home-hero--v2 .takaful-home-service-card h3 {
    font-size: 13px;
  }
  .takaful-home-hero--v2 .takaful-home-service-card__icon img {
    width: 88px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .takaful-home-hero--v2 .takaful-home-service-card,
  .takaful-home-hero--v2 .takaful-home-service-card img {
    transition: none;
  }
  .takaful-home-hero--v2 a.takaful-home-service-card:hover,
  .takaful-home-hero--v2 a.takaful-home-service-card:hover img {
    transform: none;
  }
}

/* Buying only: Bootstrap Icons stand in for the marketing site's SVG icons. */
.takaful-home-hero--v2 span.bi,
.hh-lb span.bi { display: inline-block; line-height: 1; }
.takaful-home-hero--v2 .hh-chip .hh-chip__arrow { width: auto; height: auto; font-size: 15px; }
.hh-offer-btn .bi { font-size: 15px; transform: scaleX(var(--hh-dir)); transition: transform 0.25s; }
.hh-offer-btn:hover .bi { transform: scaleX(var(--hh-dir)) translateX(3px); }
.takaful-home-hero--v2 .hh-open-hint .bi { font-size: 13px; }
.hh-lb__close .bi { font-size: 17px; }
.hh-round .bi { font-size: 17px; transform: scaleX(var(--hh-dir)); }
.hh-round--prev .bi { transform: scaleX(calc(var(--hh-dir) * -1)); }
.hh-lb button { font: inherit; }
.takaful-home-hero--v2 .hh-pgo i .bi { font-size: 16px; }
.takaful-home-hero--v2 .hh-pgo .hh-pgo__arrow { width: auto; height: auto; font-size: 14px; }
.takaful-home-hero--v2 .hh-back .bi,
.takaful-home-hero--v2 .hh-xbtn .bi { font-size: 16px; }
.takaful-home-hero--v2 .hh-back .bi { transform: scaleX(calc(var(--hh-dir) * -1)); }
/* Buying renders one art per product in the scene and shows the active one. */
.takaful-home-hero--v2 [data-hh-art-for] { position: absolute; inset: 0; border-radius: inherit; }

/* Buying only: the quote form's theme checkboxes, select2 plate code, date pickers and submit button on the dark hero. */
.takaful-home-hero--v2 .takaful-home-quote label.checkbox { color: var(--hh-ink); }
.takaful-home-hero--v2 .takaful-home-quote label.checkbox a { color: var(--hh-ink); text-decoration: underline; }
.takaful-home-hero--v2 .takaful-home-quote .checkmark { border-color: var(--hh-line-strong); background-color: var(--hh-surface); }
.takaful-home-hero--v2 .takaful-home-quote .select2-container--default .select2-selection--single {
    height: 100%; min-height: 48px; border: 1.5px solid var(--hh-line-strong); background: var(--hh-surface-2); display: flex; align-items: center;
}
.takaful-home-hero--v2 .takaful-home-quote .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--hh-ink); }
/* Keep the plate code select the same width whether it shows "Select" or a chosen code (select2 otherwise sizes it to the current text). */
.takaful-home-hero--v2 .takaful-home-quote .input-group > .select2-container { flex: 0 0 auto; width: 110px !important; min-width: 110px; }
/* One 12px radius on every quote field (same as the website's quote form): standalone fields are fully rounded, and in an input group only the outer ends are, so the prefix/plate code and the input read as one field. */
.takaful-home-hero--v2 .takaful-home-quote .form-control,
.takaful-home-hero--v2 .takaful-home-quote .input-group-text,
.takaful-home-hero--v2 .takaful-home-quote .select2-container--default .select2-selection--single { border-radius: 12px; }
.takaful-home-hero--v2 .takaful-home-quote .input-group > .select2-container .select2-selection--single { min-height: 52px; background: var(--hh-surface); }
/* Bootstrap (and its RTL build) zeroes group corners with a 5-class selector, and the hidden select2 <select> is the first child, so the repeated class is only there to out-rank it; logical corners keep it right in Arabic too. */
.takaful-home-hero--v2 .takaful-home-quote .input-group.input-group.input-group > .input-group-text,
.takaful-home-hero--v2 .takaful-home-quote .input-group.input-group.input-group > .select2-container .select2-selection--single { border-start-start-radius: 12px !important; border-end-start-radius: 12px !important; border-start-end-radius: 0 !important; border-end-end-radius: 0 !important; }
.takaful-home-hero--v2 .takaful-home-quote .input-group.input-group.input-group > .form-control { border-start-start-radius: 0 !important; border-end-start-radius: 0 !important; border-start-end-radius: 12px !important; border-end-end-radius: 12px !important; }
.takaful-home-hero--v2 .takaful-home-quote .takaful-home-quote__date-field i { color: var(--hh-muted); }
.takaful-home-hero--v2 .takaful-home-quote .btn-get {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border: 0; border-radius: 15px;
    background: var(--hh-grad); color: #fff; font-weight: var(--fw-bold); text-shadow: 0 1px 1px rgba(0, 60, 40, 0.25);
    box-shadow: 0 14px 26px -14px rgba(80, 150, 40, 0.7);
}
.takaful-home-hero--v2 .takaful-home-quote .btn-get:hover { color: #fff; filter: brightness(1.05); }
/* Short laptop screens: the quote button matches the compact fields (see the short-screen block above). */
@media (min-width: 900px) and (max-height: 900px) {
    .takaful-home-hero--v2 .takaful-home-quote .btn-get { height: 48px; }
}
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-card img { filter: none; }
/* Arabic: the quote button's arrow points forward (left), with the same hover nudge. */
.takaful-home-hero--v2[dir=rtl] .takaful-home-quote .btn-get .bi-arrow-right { transform: scaleX(-1); }
.takaful-home-hero--v2[dir=rtl] .takaful-home-quote .btn-get:hover .bi-arrow-right,
.takaful-home-hero--v2[dir=rtl] .takaful-home-quote .btn-get:focus-visible .bi-arrow-right { translate: -5px 0; }

/* Buying only: the select2 plate code sits flat on the yellow plate (no box of its own). */
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field > .select2-container { flex: 0 0 auto; width: 104px !important; min-width: 104px; }
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single {
    min-height: 0; height: 100%; border: 0; border-radius: 0 !important; background: transparent; border-right: 2px solid rgba(26, 26, 26, 0.55);
}
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__rendered { color: #1a1a1a; font-size: 15px; font-weight: 700; }
/* Arabic labels ("لم يحدد بعد") are wider than "Select": widen the select and never let the text cross the divider. */
.takaful-home-hero--v2[dir=rtl] .takaful-home-quote .hh-plate-field > .select2-container { width: 122px !important; min-width: 122px; }
.takaful-home-hero--v2[dir=rtl] .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 14px; }
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__rendered { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* select2's arrow box is 26px high and pinned to the top; stretch it over the plate so the triangle is vertically centred. The plate is always left-to-right, so the arrow stays on the right in Arabic too. */
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0; right: 8px; left: auto; height: 100%; width: 16px; background: none; border: 0;
}
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 50%; left: 50%; margin: -2px 0 0 -5px; border-color: #1a1a1a transparent transparent; border-width: 6px 5px 0;
}
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent #1a1a1a; border-width: 0 5px 6px; margin-top: -3px; }
/* Leave room for the arrow, and keep the code text vertically centred whatever the page's line-height is. */
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 12px; padding-right: 26px; line-height: normal; }

/* Arabic and English plate letter together: the option text has a line break, which stacks them on the plate (the list keeps them on one line). */
.takaful-home-hero--v2 .takaful-home-quote .hh-plate-field .select2-container--default .select2-selection--single .select2-selection__rendered { flex: 1 1 auto; text-align: center; white-space: pre-line; line-height: 1.1; font-size: 15px; font-family: 'Noto Kufi Arabic', var(--primary-font-family), sans-serif; }

/* The plate-code list is drawn inside .hh-plate-col (data-dropdown-parent), as wide as the column and lined up with its left edge, so it always stays within the form. */
.takaful-home-hero--v2 .hh-plate-col > .select2-container--open { left: calc(var(--bs-gutter-x, 1rem) * 0.5) !important; width: calc(100% - var(--bs-gutter-x, 1rem)) !important; }
.takaful-home-hero--v2 .hh-plate-col .select2-dropdown.hh-select2-dropdown { width: 100% !important; min-width: 0; max-width: none; }

/* Buying only: the plate-code select2 list used to live in <body> and is as wide as the small select, so it is widened here (class added in homepage-hero.js). */
.select2-dropdown.hh-select2-dropdown {
    z-index: 2100; /* above the full-screen quote sheet (hero is z-index 2000 on phones) */
    width: 260px !important; min-width: 260px; max-width: calc(100vw - 32px); border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: #1b2430; color: #f3f6fa; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hh-select2-dropdown .select2-search--dropdown { padding: 8px; }
.hh-select2-dropdown .select2-search--dropdown .select2-search__field {
    height: 40px; padding: 0 12px; border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 10px; background: #0f1620; color: #f3f6fa; outline: none;
}
.hh-select2-dropdown .select2-search--dropdown .select2-search__field:focus { border-color: #7fbf3f; }
.select2-dropdown.hh-select2-dropdown .select2-results__option { font-family: 'Noto Kufi Arabic', var(--primary-font-family), sans-serif; color: #f3f6fa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select2-container--default .select2-dropdown.hh-select2-dropdown .select2-results__option[aria-selected=true] { background: rgba(127, 191, 63, 0.18); color: #fff; }
.select2-container--default .select2-dropdown.hh-select2-dropdown .select2-results__option--highlighted[aria-selected] { background: rgba(127, 207, 214, 0.22); color: #fff; }
.select2-dropdown.hh-select2-dropdown .select2-results__options { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }

/* Buying only: phone layout (takaful-mobile.html). Bootstrap Icons for the new buttons, and the quote form inside the sheet. */
.takaful-home-hero--v2 .hh-open-hint .hh-open-hint__play { display: none; }
.takaful-home-hero--v2 .hh-fab__btn .bi,
.takaful-home-hero--v2 .hh-s-gbtn .bi { font-size: 17px; transform: scaleX(var(--hh-dir)); }
.takaful-home-hero--v2 .hh-fab__btn--back .bi,
.takaful-home-hero--v2 .hh-s-gbtn--back .bi { transform: scaleX(calc(var(--hh-dir) * -1)); }
.hh-lb .hh-st-benefits .bi { font-size: 16px; }
@media (max-width: 599px) {
    .takaful-home-hero--v2 .hh-open-hint span.hh-open-hint__stars { display: none; }
    .takaful-home-hero--v2 .hh-open-hint span.hh-open-hint__play { display: inline-block; color: #e86ab0; font-size: 12px; }
    .hh-lb__close .bi { font-size: 22px; }
    .takaful-home-hero--v2 .takaful-home-quote .form-control { min-height: 52px; font-size: 16px; }
    .takaful-home-hero--v2 .takaful-home-quote .btn-get { position: sticky; bottom: 12px; z-index: 3; box-shadow: 0 18px 30px -12px rgba(80, 150, 40, 0.6), 0 0 0 8px var(--hh-surface); }
}

/* Travel "Who is travelling?" cards: icon tile, centred text, two columns on phones. */
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel { gap: 14px; }
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-card { gap: 12px; min-height: 84px; padding: 16px 18px; border-radius: 16px; }
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-plan-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: #e6f4e8; color: var(--hh-green-deep, #2f8f3a); font-size: 21px;
}
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-plan-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-card strong { text-align: center; }
@media (max-width: 575.98px) {
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-card { gap: 8px; min-height: 64px; padding: 12px 10px; padding-inline-end: 32px; border-radius: 14px; }
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-plan-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 17px; }
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-card strong { font-size: var(--type-body-sm); }
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-card small { font-size: var(--type-caption); }
  .takaful-home-hero--v2 .takaful-home-quote .domestic-product-grid--travel .domestic-product-check { top: 8px; width: 20px; height: 20px; }
}
