/* ==========================================================================
   ISIB Design System v2 — Layout & sections
   ========================================================================== */

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--c-brand-500), var(--c-deep-800));
  color: #fff;
  flex-shrink: 0;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__mark img { width: 32px; height: 32px; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.brand__name b { color: var(--text-strong); font-size: 1.05rem; font-weight: var(--fw-bold); line-height: 1.2; }
.brand__name span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.2; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--text-default);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  background: var(--c-brand-50);
  color: var(--c-brand-700);
}

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.nav-phone:hover { background: var(--bg-subtle); }
.nav-phone svg { width: 1.05rem; height: 1.05rem; color: var(--c-brand-600); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-default);
  color: var(--text-strong);
  place-items: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(85vw, 350px);
  background: var(--bg-surface);
  z-index: var(--z-drawer);
  padding: var(--space-5);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
html[dir="ltr"] .nav-drawer { transform: translateX(100%); }
html[dir="rtl"] .nav-drawer { transform: translateX(-100%); }
.nav-drawer.is-open,
html[dir="ltr"] .nav-drawer.is-open,
html[dir="rtl"] .nav-drawer.is-open { transform: translateX(0) !important; }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer__links { display: flex; flex-direction: column; gap: 0.2rem; }
.nav-drawer__links a {
  padding: 0.9rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
}
.nav-drawer__links a:hover,
.nav-drawer__links a[aria-current="page"] {
  background: var(--bg-subtle);
  color: var(--c-brand-700);
}
.nav-drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border-default);
}
.drawer-close svg { width: 22px; height: 22px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 27, 32, 0.55);
  backdrop-filter: blur(2px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 560px) {
  .brand__name { display: none; }
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}
.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch__btn:hover { color: var(--c-brand-700); }
.lang-switch__btn.is-active {
  background: var(--c-brand-600);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.lang-switch__btn:focus-visible { box-shadow: var(--ring); }
.lang-switch--drawer {
  width: 100%;
  justify-content: stretch;
}
.lang-switch--drawer .lang-switch__btn { flex: 1; text-align: center; }

/* English header — tighter layout so brand, nav, and actions fit on one row */
html[dir="ltr"] .navbar {
  gap: clamp(0.5rem, 1.2vw, 1.15rem);
}

html[dir="ltr"] .brand {
  flex-shrink: 1;
  min-width: 0;
}

html[dir="ltr"] .brand__name b {
  font-size: 1rem;
  white-space: nowrap;
}

html[dir="ltr"] .brand__name span {
  font-size: 0.68rem;
  line-height: 1.25;
  max-width: 11rem;
}

html[dir="ltr"] .nav-links {
  gap: 0.1rem;
}

html[dir="ltr"] .nav-links a {
  padding: 0.5rem 0.55rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

html[dir="ltr"] .nav-actions {
  gap: 0.5rem;
}

html[dir="ltr"] .nav-phone {
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

html[dir="ltr"] .lang-switch__btn {
  padding: 0.4rem 0.55rem;
  font-size: 0.72rem;
}

@media (max-width: 1180px) {
  html[dir="ltr"] .brand__name span { display: none; }
}

@media (max-width: 1100px) {
  html[dir="ltr"] .nav-phone span { display: none; }
  html[dir="ltr"] .nav-phone { padding: 0.5rem; }
}

@media (max-width: 1040px) {
  html[dir="ltr"] .nav-links a {
    padding: 0.5rem 0.45rem;
    font-size: 0.78rem;
  }
}

/* ============ HERO (dark, premium) — full viewport ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 620px at 88% -15%, rgba(26, 102, 214, 0.38), transparent 62%),
    radial-gradient(900px 480px at 0% 115%, rgba(245, 168, 0, 0.16), transparent 58%),
    linear-gradient(165deg, var(--c-deep-800) 0%, var(--c-deep-950) 72%);
  color: var(--text-on-dark);
  min-height: var(--hero-viewport);
  display: flex;
  flex-direction: column;
  padding-block: clamp(1.25rem, 2.5vh, 2rem);
}

/* Homepage: hero fills the entire screen; header floats on top */
.page-home .hero {
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(1rem, 2vh, 1.75rem));
  padding-bottom: clamp(1rem, 2vh, 1.5rem);
}

.page-home .site-header:not(.is-scrolled) {
  background: rgba(6, 21, 39, 0.42);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.page-home .site-header:not(.is-scrolled) .brand__name b,
.page-home .site-header:not(.is-scrolled) .nav-links a,
.page-home .site-header:not(.is-scrolled) .nav-phone {
  color: rgba(255, 255, 255, 0.95);
}
.page-home .site-header:not(.is-scrolled) .brand__name span {
  color: rgba(255, 255, 255, 0.72);
}
.page-home .site-header:not(.is-scrolled) .nav-links a:hover,
.page-home .site-header:not(.is-scrolled) .nav-links a.is-active,
.page-home .site-header:not(.is-scrolled) .nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
/* The dropdown menu is its own white surface — items must stay dark regardless
   of the transparent/white nav-link color used on the unscrolled homepage hero. */
.page-home .site-header:not(.is-scrolled) .nav-links .dropdown-item,
.page-home .site-header:not(.is-scrolled) .nav-links .dropdown-item:hover {
  color: var(--text-default);
}
.page-home .site-header:not(.is-scrolled) .nav-phone {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.page-home .site-header:not(.is-scrolled) .nav-phone svg {
  color: var(--c-accent-400);
}
.page-home .site-header:not(.is-scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}
.page-home .site-header:not(.is-scrolled) .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
}
.page-home .site-header:not(.is-scrolled) .lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.page-home .site-header:not(.is-scrolled) .nav-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero > .container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

/* Oman line-art skyline — decorative frame along the hero's bottom edge.
   Sized wider than small viewports (center-cropped) so the drawing keeps
   its proportions instead of shrinking into noise. */
.hero__art {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 4%, #000 55%);
}
.hero__art img {
  width: max(100%, 1080px);
  height: auto;
  flex-shrink: 0;
  /* Dark-line art on white → luminous line art on the navy hero */
  filter: invert(1);
  mix-blend-mode: screen;
}
@media (max-width: 760px) {
  .hero__art { opacity: 0.14; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: center;
  flex: 1;
  align-content: center;
  min-height: 0;
}
.hero__content { max-width: 34rem; }

/* Update announcement line above the badge */
.hero__announce {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent-300);
}
.hero__announce svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}
.hero__badge svg { width: 1.05rem; height: 1.05rem; }

.hero__title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: -0.02em;
}
.hero__title .hl { color: var(--c-accent-400); }

.hero__lead {
  margin-top: var(--space-2);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, var(--fs-md));
  color: var(--text-on-dark-muted);
  max-width: 30rem;
}

/* Quick benefit checklist — scans faster than a long sentence */
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: var(--space-3);
}
.hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-on-dark-muted);
}
.hero__checks svg { width: 1.15rem; height: 1.15rem; color: var(--c-brand-300); flex-shrink: 0; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.hero__cta-wa svg { color: #25d366; }
.hero__cta-wa:hover { border-color: #25d366; }

.hero__stars { display: inline-flex; gap: 2px; color: var(--c-accent-400); }
.hero__stars svg { width: 0.8rem; height: 0.8rem; }

/* Proof numbers under the CTAs */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem clamp(0.85rem, 0.75rem + 1vw, 1.5rem);
  margin-top: clamp(0.85rem, 1.5vh, 1.25rem);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-on-dark);
}
.hero__proof-item + .hero__proof-item {
  border-inline-start: 1px solid var(--border-on-dark);
  padding-inline-start: clamp(1rem, 0.75rem + 1.5vw, 2rem);
}
.hero__proof-item b {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.3;
}
.hero__proof-item > span { font-size: var(--fs-xs); color: var(--text-on-dark-muted); }
@media (max-width: 640px) {
  .hero__proof-item + .hero__proof-item { border-inline-start: none; padding-inline-start: 0; }
}

/* Quote card — grows with its content, no internal scrollbar */
.quote-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: clamp(1.1rem, 0.9rem + 0.6vw, 1.6rem);
  color: var(--text-default);
  max-height: none;
  overflow-y: visible;
}
.quote-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--space-4);
}
.quote-card__head h2 { font-size: var(--fs-lg); }
.quote-card__head p { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 0.3rem; }
/* FSA seal + licensed-broker tag above the logo */
.quote-card__seal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.quote-card__fsa {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #0b3d91;
  box-shadow: 0 0 0 3px var(--c-brand-50), var(--shadow-sm);
}
.quote-card__fsa img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.quote-form { display: grid; gap: var(--space-3); }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 480px) {
  .quote-form__row { grid-template-columns: 1fr; }
}
/* Slightly tighter controls inside the card (still ≥44px touch targets) */
.quote-form .input, .quote-form .select { min-height: 44px; padding-block: 0.55rem; }
html[dir="rtl"] .quote-form #phone { text-align: right; }
html[dir="ltr"] .quote-form #phone { text-align: left; }
.quote-form .btn--lg { min-height: 52px; }
.quote-card__foot {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.quote-card__foot svg { width: 1rem; height: 1rem; color: var(--c-success); }

/* Discount coupon — collapsed by default to keep the form short */
.coupon { font-size: var(--fs-sm); }
.coupon summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: var(--fw-semibold);
  color: var(--c-brand-700);
  transition: color var(--dur) var(--ease);
}
.coupon summary::before { content: "+"; font-weight: var(--fw-bold); }
.coupon[open] summary::before { content: "−"; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon summary:hover { color: var(--c-brand-600); }
.coupon__row { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.coupon__row .input { flex: 1; min-width: 0; }
.coupon__apply { flex-shrink: 0; }

/* Collapsible vehicle-insurance terms under the form */
.quote-card__terms {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border-subtle);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.quote-card__terms summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: var(--fw-semibold);
  color: var(--c-ink-600);
  transition: color var(--dur) var(--ease);
}
.quote-card__terms summary::before { content: "+"; font-weight: var(--fw-bold); color: var(--c-brand-600); }
.quote-card__terms[open] summary::before { content: "−"; }
.quote-card__terms summary::-webkit-details-marker { display: none; }
.quote-card__terms summary:hover { color: var(--c-brand-700); }
.quote-card__terms ol {
  margin-top: var(--space-2);
  padding-inline-start: 1.1rem;
  display: grid;
  gap: 0.4rem;
  line-height: 1.65;
}

/* Live activity ticker — pinned to hero bottom */
.ticker {
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
  overflow: hidden;
}
.ticker__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}
.ticker__track {
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track span {
  display: inline-block;
  padding-inline-end: 3rem;
  animation: ticker 28s linear infinite;
}
/* Same right-anchor logic as the partners marquee: positive shift in RTL */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
html[dir="ltr"] .ticker__track span { animation-name: ticker-ltr; }
@keyframes ticker-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .page-home .hero {
    min-height: auto;
    padding-bottom: clamp(1.25rem, 3vh, 2rem);
  }
  .page-home .quote-card { max-height: none; overflow: visible; }
}

/* Shorter viewports: tighten hero so nothing is clipped at 100% zoom */
@media (max-height: 860px) {
  .hero__title { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.35rem); }
  .hero__badge { margin-bottom: var(--space-2); padding-block: 0.35rem; font-size: var(--fs-xs); }
  .hero__announce { margin-bottom: var(--space-1); font-size: var(--fs-xs); }
  .hero__cta { margin-top: var(--space-3); }
  .hero__proof { margin-top: var(--space-2); padding-top: var(--space-2); }
  .quote-card__head { margin-bottom: var(--space-3); }
  .quote-card__head h2 { font-size: var(--fs-md); }
  .quote-form { gap: var(--space-2); }
  .quote-form .btn--lg { min-height: 46px; }
}

@media (max-height: 720px) {
  .hero__checks { display: none; }
  .hero__proof-item > span { display: none; }
  .quote-card__terms { display: none; }
}

/* ============ PARTNERS (logo marquee) ============ */
.partners {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding-block: clamp(1rem, 0.75rem + 1vw, 1.5rem); /* slim strip */
}
/* Text column (start/right in RTL) + marquee spanning the remaining 2 columns */
.partners__inner {
  display: grid;
  grid-template-columns: auto 1fr; /* label hugs its text; marquee takes the rest */
  align-items: center;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.partners__label {
  text-align: start;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  line-height: 1.6;
  /* Divider line between the label and the logos */
  align-self: stretch;
  display: flex;
  align-items: center;
  border-inline-end: 1px solid var(--c-ink-200);
  padding-inline-end: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}
@media (max-width: 860px) {
  .partners__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .partners__label {
    justify-content: center;
    text-align: center;
    border-inline-end: none;
    border-bottom: 1px solid var(--c-ink-200);
    padding-inline-end: 0;
    padding-bottom: var(--space-3);
  }
}
.partners__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  padding-block: var(--space-2); /* room for card hover shadow */
  animation: partners-scroll 45s linear infinite;
}
.partners__track:hover { animation-play-state: paused; }
/* RTL: track is right-anchored and overflows left, so a positive shift
   moves cards left → right while keeping the window full the whole loop. */
@keyframes partners-scroll { to { transform: translateX(50%); } }
html[dir="ltr"] .partners__track { animation-name: partners-scroll-ltr; }
@keyframes partners-scroll-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.partner-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 200px;
  padding: 0.9rem 1.25rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-brand); }
.partner-card__logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 4px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-subtle);
}

/* ============ SERVICES (compact 2-row grid) ============ */
#services {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 1.25rem + 1vw, 2.25rem) clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
}
#services > .container { position: relative; z-index: 1; }
#services .section-head { margin-bottom: var(--space-5); }
/* Title + expert help side by side */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: none;
}
.services-help { flex-shrink: 0; margin-bottom: 0.25rem; }
@media (max-width: 700px) {
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .services-help { margin-bottom: 0; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* uniform card heights */
  gap: var(--space-4);
}
/* Staggered entrance animation across the grid */
.js .product-grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.js .product-grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.js .product-grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.js .product-grid [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
.js .product-grid [data-reveal]:nth-child(6) { transition-delay: 0.3s; }
.js .product-grid [data-reveal]:nth-child(7) { transition-delay: 0.36s; }
.js .product-grid [data-reveal]:nth-child(8) { transition-delay: 0.42s; }
.js .product-grid [data-reveal]:nth-child(9) { transition-delay: 0.48s; }
/* Scene card: content column at inline-start, illustration fills the other side */
.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: start;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  min-height: 150px;
}
.product-card[hidden] { display: none; }
/* Brand hairline sweeps across the top on hover */
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand-400), var(--c-brand-600));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.product-card:hover::before { transform: scaleX(1); }
/* Arrow hint slides in at the corner */
.product-card::after {
  content: "←";
  position: absolute;
  bottom: 0.45rem;
  inset-inline-end: 0.7rem;
  font-weight: var(--fw-bold);
  color: var(--c-brand-600);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html[dir="ltr"] .product-card::after { content: "→"; transform: translateX(-8px); }
.product-card:hover::after { opacity: 1; transform: translateX(0); }
.product-card .icon-tile {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-1);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.product-card .icon-tile svg { width: 22px; height: 22px; }
/* Icon inverts to solid brand on hover */
.product-card:hover .icon-tile {
  transform: translateY(-4px) scale(1.08);
  background: var(--c-brand-500);
  border-color: var(--c-brand-500);
  color: #fff;
}
.product-card:hover .icon-tile .icon-tile__check { box-shadow: 0 0 0 2.5px var(--c-brand-500); }
.product-card__title { font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: var(--lh-snug); }
/* Whole tile is clickable via the stretched title link */
.product-card__title a { color: inherit; }
.product-card__title a:focus-visible { outline: none; } /* card ring via :focus-within */
.product-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card__meta { font-size: var(--fs-xs); color: var(--c-ink-600); }
.product-card__meta b { font-size: var(--fs-sm); color: var(--c-brand-700); }

/* Keyboard focus + press states (tiles are links) */
.product-card:focus-within {
  box-shadow: var(--ring);
  border-color: var(--c-brand-400);
}
.product-card:focus-within::before { transform: scaleX(1); }
.product-card:focus-within::after { opacity: 1; transform: translateX(0); }
.product-card:active { transform: translateY(-1px); }
/* Badge floats over the illustration side (physical left in RTL) */
.product-card__badge {
  position: absolute;
  z-index: 1;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
}

/* Per-product illustration: soft brand wash + line-art scene */
.scene-art {
  position: absolute;
  z-index: 0;
  inset-block: 0;
  inset-inline-end: 0; /* physical left in RTL — mirrors the text column */
  width: 54%;
  height: 100%;
  padding-top: var(--space-3);
  color: var(--c-brand-600);
  opacity: 0.4;
  pointer-events: none;
  background: linear-gradient(240deg, var(--c-brand-50) 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 65%, transparent);
  mask-image: linear-gradient(90deg, #000 65%, transparent);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html[dir="ltr"] .scene-art {
  background: linear-gradient(120deg, var(--c-brand-50) 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(270deg, #000 65%, transparent);
  mask-image: linear-gradient(270deg, #000 65%, transparent);
}
.product-card:hover .scene-art { opacity: 0.55; transform: translateY(-3px); }

/* Content column sits above the art */
.product-scene__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 58%;
}

@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .product-card { min-height: 132px; padding: var(--space-4); }
  .scene-art { width: 48%; opacity: 0.3; }
  .product-scene__body { max-width: 64%; }
}

/* ============ WHY US (split layout, compact) ============ */
#why { padding-block: clamp(1.75rem, 1.5rem + 1.25vw, 2.75rem); }
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}
.why__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__intro .section-head { margin-bottom: var(--space-4); }
.why__checks { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.why__checks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
}
.why__checks svg { width: 1.15rem; height: 1.15rem; color: var(--c-success); flex-shrink: 0; }

/* Award plaque — gold accent, one per page */
.award {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.15rem;
  margin-bottom: 0;
  background: var(--c-accent-50);
  border: 1px solid var(--c-accent-100);
  border-radius: var(--radius-lg);
}
.award__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--c-accent-100);
  color: var(--c-accent-700);
}
.award__icon svg { width: 24px; height: 24px; }
.award__text { display: flex; flex-direction: column; gap: 0.15rem; }
.award__text b { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--text-strong); }
.award__text span { font-size: var(--fs-sm); color: var(--text-muted); }

.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.benefit-card { padding: var(--space-5); }
.benefit-card h3 { font-size: var(--fs-md); margin-block: var(--space-3) var(--space-1); }
.benefit-card p { font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 860px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
@media (max-width: 560px) {
  .why__cards { grid-template-columns: 1fr; }
}

/* ============ HOW IT WORKS (policy journey roadmap, compact) ============ */
#how {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
}
/* Soft ambient glows — teal at the top corner, gold at the bottom corner */
#how::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 300px at 12% -10%, rgba(26, 102, 214, 0.08), transparent 65%),
    radial-gradient(520px 280px at 92% 110%, rgba(212, 160, 23, 0.07), transparent 65%);
  pointer-events: none;
}
#how > .container {
  position: relative;
  z-index: 1;
  max-width: min(1240px, calc(100% - (var(--container-pad) * 2)));
}
#how .section-head { margin-bottom: var(--space-5); }

.steps-flow {
  display: flex;
  align-items: stretch;
  gap: var(--space-2);
}
/* Staggered entrance along the journey */
.js .steps-flow [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.js .steps-flow [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
.js .steps-flow [data-reveal]:nth-child(7) { transition-delay: 0.36s; }

/* Connector: straight dashed line + solid arrow chip between milestones */
.step-connector {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(2.2rem, 1.75rem + 1.25vw, 3.25rem);
}
.step-connector::before {
  content: "";
  position: absolute;
  inset-inline: -0.35rem;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--c-brand-300) 0 6px, transparent 6px 12px);
}
.step-connector__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--c-brand-500);
  color: #fff;
  box-shadow: 0 6px 14px rgba(26, 102, 214, 0.32);
}
.step-connector__dot svg { width: 0.95rem; height: 0.95rem; }
html[dir="ltr"] .step-connector__dot svg { transform: scaleX(-1); }
.step-card {
  position: relative;
  overflow: hidden; /* crops the ghost numeral */
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  text-align: start;
}
/* Brand hairline sweeps across the top on hover (same language as product cards) */
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand-400), var(--c-brand-600));
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.step-card:hover::before { transform: scaleX(1); }
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand-100);
}
/* Oversized ghost numeral anchors each card */
.step-card__ghost {
  position: absolute;
  bottom: -1.6rem;
  inset-inline-end: 0.2rem;
  font-size: 6.5rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--c-brand-600);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.step-card .icon-tile {
  width: 3.5rem;
  height: 3.5rem;
  box-shadow: 0 8px 18px rgba(26, 102, 214, 0.14);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.step-card .icon-tile--accent { box-shadow: 0 8px 18px rgba(212, 160, 23, 0.18); }
.step-card:hover .icon-tile {
  transform: translateY(-3px) scale(1.06);
  background: var(--c-brand-500);
  border-color: var(--c-brand-500);
  color: #fff;
}
.step-card:hover .icon-tile--accent {
  background: var(--c-accent-500);
  border-color: var(--c-accent-500);
}
.step-card__chip {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-brand-700);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
}
.step-card__chip--gold {
  color: var(--c-accent-700);
  background: var(--c-accent-50);
  border-color: var(--c-accent-100);
}
.step-card h3 { font-size: var(--fs-md); }
.step-card p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-normal); }

/* Final milestone gets the gold treatment */
.step-card--final .step-card__ghost { color: var(--c-accent-500); opacity: 0.1; }
.step-card--final::before { background: linear-gradient(90deg, var(--c-accent-300), var(--c-accent-500)); }
.step-card--final:hover { border-color: var(--c-accent-100); }

@media (max-width: 860px) {
  .steps-flow { flex-direction: column; gap: 0; }
  /* Vertical roadmap: dashed line + downward arrow chip between stacked cards */
  .step-connector {
    width: auto;
    height: 3.4rem;
  }
  .step-connector::before {
    inset-inline: auto;
    top: -0.25rem;
    bottom: -0.25rem;
    left: 50%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--c-brand-300) 0 6px, transparent 6px 12px);
  }
  .step-connector__dot svg { transform: rotate(-90deg); } /* arrow points down the stack */
  html[dir="ltr"] .step-connector__dot svg { transform: rotate(-90deg); }
}

/* ============ TESTIMONIALS ============ */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.rating-summary__score { display: flex; align-items: center; gap: 0.7rem; }
.rating-summary__score b { font-size: var(--fs-2xl); color: var(--text-strong); line-height: 1; }
.rating-summary__score span { font-size: var(--fs-sm); color: var(--text-muted); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.testimonial { display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial__quote { font-size: var(--fs-base); color: var(--text-default); }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial__author b { display: block; font-size: var(--fs-sm); color: var(--text-strong); }
.testimonial__author span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(560px 300px at 90% -30%, rgba(245, 168, 0, 0.25), transparent 65%),
    linear-gradient(150deg, var(--c-brand-700), var(--c-deep-900));
  color: #fff;
  padding: clamp(2.25rem, 1.75rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.cta-banner h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-banner p { color: var(--text-on-dark-muted); margin-top: var(--space-3); max-width: 30rem; }
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__actions { justify-content: flex-start; }
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-deep-950);
  color: var(--text-on-dark-muted);
  padding-block: var(--space-10) var(--space-6);
}
/* Subtle Omani pointed-arch pattern strip along the footer's top edge */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='42' viewBox='0 0 48 42'%3E%3Cpath d='M6 42 V22 Q6 10 24 6 Q42 10 42 22 V42' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 48px 42px;
  opacity: 0.05;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
}
.footer-brand .brand__name b { color: #fff; }
.footer-brand .brand__name span { color: rgba(255, 255, 255, 0.7); }
.footer-brand p { margin-top: var(--space-4); font-size: var(--fs-sm); max-width: 22rem; }
.footer-col h4 {
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col li {
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; color: var(--c-brand-300); flex-shrink: 0; }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-5); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  transition: background var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--c-brand-600); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-on-dark);
  font-size: var(--fs-sm);
}
.footer-bottom nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ MOBILE STICKY CTA ============ */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-header);
  display: none;
  gap: var(--space-3);
  padding: 0.7rem var(--container-pad) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 24px rgba(6, 21, 39, 0.08);
}
.mobile-cta .btn { flex: 1; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body:has(.mobile-cta) { padding-bottom: 5.25rem; }
}

/* ============ AMBIENT BACKGROUND ANIMATION LAYER ============
   Very slow, low-opacity motion behind every section. All of it is
   decorative-only and killed globally by prefers-reduced-motion. */

@keyframes art-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@keyframes orb-float-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-42px, 26px, 0) scale(1.08); }
}
@keyframes orb-float-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(38px, -22px, 0) scale(1.06); }
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-26px, 18px, 0); }
}
@keyframes sheen {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes arch-slide {
  from { background-position-x: 0; }
  to { background-position-x: 48px; }
}

/* --- Hero: skyline breathes + two floating glow orbs --- */
.hero__art { animation: art-drift 9s ease-in-out infinite alternate; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  inset-inline-start: -80px;
  background: radial-gradient(circle, rgba(26, 102, 214, 0.32), transparent 70%);
  animation: orb-float-a 14s ease-in-out infinite alternate;
}
.hero::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  inset-inline-end: -60px;
  background: radial-gradient(circle, rgba(245, 168, 0, 0.16), transparent 70%);
  animation: orb-float-b 18s ease-in-out infinite alternate;
}

/* --- Partners strip: soft light sweep gliding across --- */
.partners {
  position: relative;
  overflow: hidden;
}
.partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(26, 102, 214, 0.05) 50%, transparent 68%);
  background-size: 220% 100%;
  animation: sheen 11s linear infinite;
  pointer-events: none;
}
.partners > .container { position: relative; z-index: 1; }

/* --- Services: ambient washes --- */
#services::before {
  content: "";
  position: absolute;
  inset: -48px;
  background:
    radial-gradient(560px 300px at 90% -10%, rgba(26, 102, 214, 0.06), transparent 65%),
    radial-gradient(460px 260px at 6% 110%, rgba(212, 160, 23, 0.05), transparent 65%);
  animation: glow-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

/* --- Why us: mirrored teal/gold washes --- */
#why {
  position: relative;
  overflow: hidden;
}
#why::before {
  content: "";
  position: absolute;
  inset: -48px;
  background:
    radial-gradient(520px 300px at 88% 6%, rgba(26, 102, 214, 0.07), transparent 65%),
    radial-gradient(440px 260px at 6% 96%, rgba(212, 160, 23, 0.06), transparent 65%);
  animation: glow-drift 18s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
#why > .container { position: relative; z-index: 1; }

/* --- How it works: existing glows drift slowly --- */
#how::before {
  inset: -48px;
  animation: glow-drift 15s ease-in-out infinite alternate;
}
/* --- Footer: Muscat skyline resting on the bottom edge --- */
.site-footer::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 190px;
  background: url("../img/oman-skyline.png") bottom center / auto 190px repeat-x;
  filter: invert(1);              /* dark lines on white → light lines */
  mix-blend-mode: screen;         /* white background disappears on the navy footer */
  opacity: 0.1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
  mask-image: linear-gradient(180deg, transparent, #000 55%);
}
.site-footer > .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .site-footer::after { height: 120px; background-size: auto 120px; }
}

/* --- Footer: arch pattern crawls sideways --- */
.site-footer::before { animation: arch-slide 32s linear infinite; }

/* ============ OFFERS PAGE ============ */

/* --- Car summary band --- */
.offer-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-surface), var(--c-brand-50) 160%);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
}
/* Faint Muscat skyline along the band's bottom edge */
.offer-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 110px;
  background: url("../img/oman-skyline.png") bottom center / auto 110px repeat-x;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.offer-hero > .container { position: relative; z-index: 1; }
.offer-hero__grid {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.offer-hero__title { text-align: start; }
.offer-hero__year {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-brand-700);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
}
.offer-hero__title h1 {
  font-size: var(--fs-2xl);
  color: var(--text-strong);
  line-height: var(--lh-tight);
  margin-block: 0.4rem 0.5rem;
}
/* Gold plan badge */
.offer-hero__plan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-accent-700);
  background: var(--c-accent-50);
  border: 1px solid var(--c-accent-100);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
}
.offer-hero__plan svg { width: 1rem; height: 1rem; }
.offer-hero__car {
  color: var(--c-brand-500);
  width: clamp(200px, 26vw, 270px);
}
.offer-hero__car svg { display: block; width: 100%; height: auto; }
/* Speed lines pulse behind the car */
@keyframes speed-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 36; }
}
.car-speed { opacity: 0.5; }
.car-speed path { animation: speed-dash 1.4s linear infinite; }
.car-speed path:nth-child(2) { animation-duration: 1.1s; }
.car-speed path:nth-child(3) { animation-duration: 1.7s; }
.offer-hero__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.offer-hero__specs .spec {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.offer-hero__specs .spec:hover { border-color: var(--c-brand-200); transform: translateY(-2px); }
.spec__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  color: var(--c-brand-600);
}
.spec__icon svg { width: 1rem; height: 1rem; }
.offer-hero__specs dt { flex: 1; font-size: var(--fs-sm); color: var(--text-muted); }
.offer-hero__specs dd { font-weight: var(--fw-bold); color: var(--c-brand-600); }

/* --- Progress stepper (dark band, step chips) --- */
.offer-stepper {
  background: linear-gradient(165deg, var(--c-deep-800), var(--c-deep-950) 80%);
  padding-block: clamp(1.1rem, 0.9rem + 1vw, 1.75rem);
  color: #fff;
}
.ostepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vw, 0.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Step chip */
.ostep {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  padding-inline-end: 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.ostep__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
}
.ostep__dot svg { width: 1.05rem; height: 1.05rem; }
.ostep__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: start;
}
.ostep__kicker {
  font-size: 0.66rem;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}
.ostep__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.75);
}
/* Done chip: soft brand tint + green check badge */
.ostep--done {
  border-color: rgba(111, 164, 242, 0.35);
  background: rgba(26, 102, 214, 0.14);
}
.ostep--done .ostep__dot {
  border-color: var(--c-brand-400);
  color: var(--c-brand-200);
  background: rgba(26, 102, 214, 0.25);
}
.ostep--done .ostep__kicker { color: var(--c-brand-300); }
.ostep--done .ostep__label { color: var(--c-brand-100); }
.ostep__done-badge {
  position: absolute;
  top: -0.25rem;
  inset-inline-end: -0.25rem;
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--c-success, #16a34a);
  color: #fff;
  box-shadow: 0 0 0 2px var(--c-deep-900);
}
.ostep__done-badge svg { width: 0.58rem; height: 0.58rem; }
/* Active chip: gradient, glow, shimmer sweep */
.ostep--active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
  box-shadow: 0 10px 26px rgba(26, 102, 214, 0.45);
}
.ostep--active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: sheen 3.2s linear infinite;
  pointer-events: none;
}
.ostep--active .ostep__dot {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.ostep--active .ostep__kicker { color: rgba(255, 255, 255, 0.75); }
.ostep--active .ostep__label { color: #fff; }
/* Chevron separators (point in the reading direction) */
.ostep-sep {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
.ostep-sep svg { width: 1.15rem; height: 1.15rem; }
html[dir="ltr"] .ostep-sep svg { transform: scaleX(-1); }
.ostep-sep--done { color: var(--c-brand-400); }

/* --- Offers list --- */
.offers { padding-block: clamp(1.75rem, 1.5rem + 1.5vw, 3rem); }
.offers__head { margin-bottom: var(--space-5); text-align: start; }
.offers__head .section-title b { color: var(--c-brand-600); }
.offers__head .section-sub { margin-top: var(--space-2); }

.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  margin-bottom: var(--space-4);
}
.offer-card__flag {
  position: absolute;
  top: -0.7rem;
  inset-inline-start: 1.25rem;
}
.offer-card__company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  border-inline-end: 1px dashed var(--border-subtle);
  padding-inline-end: clamp(1rem, 0.75rem + 1vw, 2rem);
}
/* Company logo image in a soft frame */
.offer-logo {
  display: block;
  width: 132px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.85rem;
  margin-bottom: var(--space-2);
}
.offer-card__company h3 { font-size: var(--fs-md); color: var(--text-strong); }
.offer-card__region { font-size: var(--fs-xs); color: var(--text-muted); }
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-block: var(--space-3);
}
.offer-price b {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-brand-700);
  line-height: 1;
}
.offer-price span { font-size: var(--fs-xs); color: var(--text-muted); }

.offer-card__benefits h4,
.offer-card__addons h4 {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}
.offer-card__benefits ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.offer-card__benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-default);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--border-subtle);
}
.offer-card__benefits li:last-child { border-bottom: none; }
.offer-card__benefits svg { width: 1.15rem; height: 1.15rem; color: var(--c-success); flex-shrink: 0; }
/* The currency symbol inside a benefit line keeps text color and size */
.offer-card__benefits svg.omr { width: 1.3em; height: 0.7em; color: inherit; }

.offer-card__addons { border-inline-start: 1px dashed var(--border-subtle); padding-inline-start: clamp(1rem, 0.75rem + 1vw, 2rem); }
.addon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: var(--space-2);
  border-bottom: 1px dashed var(--border-subtle);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.addon:last-child { border-bottom: none; }
.addon input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--c-brand-500);
  flex-shrink: 0;
}
.addon span { flex: 1; color: var(--text-default); }
.addon b { color: var(--c-brand-700); font-size: var(--fs-sm); white-space: nowrap; }

.offers__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.offers__foot p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.offers__foot svg { width: 1.1rem; height: 1.1rem; color: var(--c-brand-500); }
.offers__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-600);
}
.offers__back:hover { text-decoration: underline; }
.offers__back svg { width: 1rem; height: 1rem; transform: scaleX(-1); }
html[dir="ltr"] .offers__back svg { transform: none; }

/* --- Offers page animations --- */

/* Car drives in from the start side, specs cascade after it */
@keyframes offer-car-in {
  from { transform: translateX(70px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes offer-rise-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.offer-hero__car svg { animation: offer-car-in 0.7s var(--ease) 0.1s both; }
html[dir="ltr"] .offer-hero__car svg { animation-name: offer-car-in-ltr; }
@keyframes offer-car-in-ltr {
  from { transform: translateX(-70px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.offer-hero__title > * { animation: offer-rise-in 0.55s var(--ease) both; }
.offer-hero__title h1 { animation-delay: 0.08s; }
.offer-hero__title .offer-hero__plan { animation-delay: 0.16s; }
.offer-hero__specs .spec { animation: offer-rise-in 0.55s var(--ease) both; }
.offer-hero__specs .spec:nth-child(1) { animation-delay: 0.25s; }
.offer-hero__specs .spec:nth-child(2) { animation-delay: 0.33s; }
.offer-hero__specs .spec:nth-child(3) { animation-delay: 0.41s; }
.offer-hero__specs .spec:nth-child(4) { animation-delay: 0.49s; }

/* Stepper: active chip glows, next chevron nudges forward */
@keyframes ostep-pulse {
  from { box-shadow: 0 10px 26px rgba(26, 102, 214, 0.45), 0 0 0 0 rgba(26, 102, 214, 0.4); }
  to { box-shadow: 0 10px 26px rgba(26, 102, 214, 0.45), 0 0 0 12px rgba(26, 102, 214, 0); }
}
.ostep--active { animation: ostep-pulse 2s ease-out infinite; }
@keyframes chev-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.28; }
  50% { transform: translateX(-4px); opacity: 0.7; }
}
.ostep--active + .ostep-sep { color: #fff; animation: chev-nudge 1.6s var(--ease) infinite; }
html[dir="ltr"] .ostep--active + .ostep-sep {
  animation-name: chev-nudge-ltr;
}
@keyframes chev-nudge-ltr {
  0%, 100% { transform: translateX(0); opacity: 0.28; }
  50% { transform: translateX(4px); opacity: 0.7; }
}

/* Offer cards: staggered reveal + lift on hover */
.js .offers .offer-card:nth-of-type(2) { transition-delay: 0.1s; }
.js .offers .offer-card:nth-of-type(3) { transition-delay: 0.2s; }
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand-200);
  transition-delay: 0s;
}
.offer-logo {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.offer-card:hover .offer-logo {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--c-brand-200);
}
/* Best-value card: gold hairline across the top.
   No overflow:hidden here — the "الأفضل قيمة" flag hangs above the card edge. */
.offer-card:has(.offer-card__flag) { border-color: var(--c-accent-200, var(--c-accent-100)); }
.offer-card:has(.offer-card__flag)::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: var(--radius-lg); /* stays clear of the rounded corners */
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c-accent-300), var(--c-accent-500));
}

/* Price pops when add-ons change the total */
@keyframes price-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.offer-price b { display: inline-block; }
.offer-price b.bump { animation: price-pop 0.35s var(--ease); }

/* --- Checkout modal --- */
.offer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 39, 0.55);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  animation: om-fade 0.25s var(--ease);
}
@keyframes om-fade { from { opacity: 0; } }
.offer-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(94vw, 720px);
  height: fit-content;
  max-height: 94vh;
  overflow-y: auto; /* safety net on very short screens only */
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem);
  z-index: var(--z-drawer);
  animation: om-pop 0.3s var(--ease);
}
@keyframes om-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
}
.offer-modal__close {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  z-index: 10;
}
.offer-modal__close:hover { background: var(--c-danger-soft); color: var(--c-danger); }
.offer-modal__close svg { width: 1.1rem; height: 1.1rem; }

/* Expired modal layout fix — ensures close button never overlaps alert box */
.js-expired-modal {
  padding-top: 3.5rem !important;
}
.js-expired-modal .alert {
  margin: 0;
  text-align: center;
}
/* Celebration header: pop-in check ring + twinkling sparkles */
.offer-modal__cheer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding-inline-start: 2.5rem; /* keeps clear of the close button */
}
.cheer__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-success-soft);
  border: 1.5px solid var(--c-success);
  color: var(--c-success);
  animation: cheer-pop 0.55s var(--ease-bounce, cubic-bezier(0.34, 1.56, 0.64, 1)) both,
             cheer-ripple 2.2s ease-out 0.6s infinite;
}
.cheer__check { width: 1.2rem; height: 1.2rem; }
.cheer__spark {
  position: absolute;
  color: var(--c-accent-500, #d99a00);
  animation: cheer-twinkle 1.8s ease-in-out infinite;
}
.cheer__spark--1 { width: 0.8rem; height: 0.8rem; top: -0.5rem; inset-inline-end: -0.4rem; }
.cheer__spark--2 { width: 0.55rem; height: 0.55rem; bottom: -0.35rem; inset-inline-start: -0.45rem; animation-delay: 0.6s; }
.cheer__spark--3 { width: 0.45rem; height: 0.45rem; top: 0.1rem; inset-inline-start: -0.75rem; animation-delay: 1.1s; }
.cheer__text { line-height: 1.3; }
.cheer__text strong {
  display: block;
  font-size: var(--fs-md);
  color: var(--text-strong);
}
.cheer__text small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
@keyframes cheer-pop {
  from { transform: scale(0.2); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes cheer-ripple {
  from { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.35); }
  to { box-shadow: 0 0 0 12px rgba(21, 128, 61, 0); }
}
@keyframes cheer-twinkle {
  0%, 100% { transform: scale(0.4) rotate(0deg); opacity: 0.25; }
  50% { transform: scale(1) rotate(20deg); opacity: 1; }
}
.offer-modal__intro {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-strong);
  line-height: var(--lh-snug);
  padding-inline-start: 3.25rem;
  padding-top: 0.2rem;
}
.offer-modal__intro b { color: var(--c-brand-600); }
.offer-modal__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: var(--space-3);
}
.om-pill {
  background: var(--c-brand-800);
  color: #fff;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.75rem;
  animation: om-pop 0.3s var(--ease) both;
}
.offer-modal__owner {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4) var(--space-4);
  margin-bottom: var(--space-3);
}
.offer-modal__owner legend {
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--text-strong);
  padding-inline: 0.5rem;
}
.offer-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: var(--space-3);
  margin-top: var(--space-1);
}
/* Slimmer inputs + labels inside the modal */
.offer-modal .input {
  min-height: 40px;
  padding-block: 0.4rem;
  font-size: var(--fs-sm);
}
.offer-modal .field-label { font-size: var(--fs-xs); margin-bottom: 0.3rem; }
/* Input with a leading icon */
.field-icon { position: relative; }
.field-icon > svg {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-ink-400);
  pointer-events: none;
  transition: color var(--dur) var(--ease);
}
.field-icon .input { width: 100%; padding-inline-start: 2.5rem; }
/* Code field is dir=ltr but icon sits on the RTL start (physical right) */
html[dir="rtl"] .field-icon #trackCode {
  text-align: right;
  padding-inline-start: 0.9rem;
  padding-inline-end: 2.5rem;
}
html[dir="ltr"] .field-icon #trackCode {
  text-align: left;
  padding-inline-start: 2.5rem;
  padding-inline-end: 0.9rem;
}
.field-icon:focus-within > svg { color: var(--c-brand-500); }
.offer-modal__total {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-default);
  margin-block: var(--space-2);
}
.offer-modal__total b { color: var(--c-brand-700); font-size: var(--fs-lg); display: inline-block; }
.offer-modal__terms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--text-default);
  cursor: pointer;
}
.offer-modal__terms input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--c-brand-500);
  flex-shrink: 0;
}
.offer-modal__terms a {
  color: var(--c-brand-600);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
}
.offer-modal__note {
  text-align: center;
  color: var(--c-brand-700);
  font-size: var(--fs-xs);
  margin-top: var(--space-2);
}
.offer-modal__hours {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.55;
  margin-block: var(--space-1) var(--space-3);
}
.offer-modal #omProceed { min-height: 46px; }
@media (max-width: 640px) {
  .offer-modal__fields { grid-template-columns: 1fr; }
  .offer-modal { border-radius: var(--radius-lg); }
}

/* --- Slim footer for inner pages --- */
.site-footer--slim { padding-block: var(--space-5); }
.site-footer--slim::before,
.site-footer--slim::after { display: none; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .offer-card { grid-template-columns: 220px 1fr; }
  .offer-card__addons {
    grid-column: 1 / -1;
    border-inline-start: none;
    padding-inline-start: 0;
    border-top: 1px dashed var(--border-subtle);
    padding-top: var(--space-3);
  }
}
@media (max-width: 760px) {
  .offer-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .offer-hero__title { text-align: center; }
  .offer-hero__car { margin-inline: auto; }
  .offer-hero__specs { grid-template-columns: 1fr 1fr; }
  .spec__icon { width: 1.9rem; height: 1.9rem; }
  /* Compact stepper chips: dot above label, no kicker */
  .ostepper {
    flex-wrap: nowrap;
    gap: 0.3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-block: 0.25rem;
    justify-content: flex-start;
  }
  .ostepper::-webkit-scrollbar { display: none; }
  .ostep {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
  }
  .ostep__kicker { display: none; }
  .ostep__label { font-size: 0.7rem; }
  .ostep__text { text-align: center; }
  .ostep__dot { width: 2rem; height: 2rem; }
  .ostep__dot svg { width: 0.9rem; height: 0.9rem; }
  .ostep-sep svg { width: 0.9rem; height: 0.9rem; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__company {
    border-inline-end: none;
    padding-inline-end: 0;
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: var(--space-4);
  }
}

/* =========================================================
   Payment success page
   ========================================================= */
.pay-success {
  text-align: center;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem) clamp(1.25rem, 1rem + 1vw, 2rem);
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(21, 128, 61, 0.12), transparent 70%),
    var(--bg-page, var(--bg-subtle));
}
.pay-success__visual {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(9rem, 22vw, 11.5rem);
  height: clamp(9rem, 22vw, 11.5rem);
  margin-bottom: 1.15rem;
}

/* Expanding soft rings behind the shield */
.pay-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1.5px solid rgba(21, 128, 61, 0.28);
  animation: pay-ring-out 2.4s ease-out infinite;
}
.pay-ring--b {
  inset: 0;
  border-color: rgba(26, 102, 214, 0.18);
  animation-delay: 0.7s;
}
@keyframes pay-ring-out {
  0% { transform: scale(0.72); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* Main insurance shield */
.pay-shield {
  position: relative;
  z-index: 2;
  width: clamp(4.75rem, 12vw, 5.75rem);
  animation: pay-shield-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pay-shield__shape { display: block; width: 100%; height: auto; overflow: visible; }
.pay-shield__body {
  fill: var(--c-success-soft);
  stroke: var(--c-success);
  stroke-width: 3;
  stroke-linejoin: round;
}
.pay-shield__check {
  fill: none;
  stroke: var(--c-success);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: pay-check-draw 0.55s ease-out 0.45s forwards;
}
@keyframes pay-shield-in {
  from { opacity: 0; transform: scale(0.35) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes pay-check-draw {
  to { stroke-dashoffset: 0; }
}

/* Orbiting status icons: paid / policy / secure */
.pay-sat {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--c-brand-100);
  color: var(--c-brand-600);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: pay-sat-show 0.4s ease forwards, pay-sat-float 2.8s ease-in-out infinite;
}
.pay-sat svg {
  width: 1.15rem;
  height: 1.15rem;
  animation: pay-sat-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pay-sat--card {
  top: 8%;
  inset-inline-start: 0;
  color: var(--c-brand-600);
  animation-delay: 0.35s, 0.9s;
}
.pay-sat--card svg { animation-delay: 0.35s; }
.pay-sat--file {
  top: 6%;
  inset-inline-end: 0;
  color: var(--c-accent-600);
  border-color: var(--c-accent-100);
  animation-delay: 0.5s, 1.1s;
}
.pay-sat--file svg { animation-delay: 0.5s; }
.pay-sat--lock {
  bottom: 6%;
  inset-inline-end: 8%;
  color: var(--c-success);
  border-color: color-mix(in srgb, var(--c-success) 30%, #fff);
  animation-delay: 0.65s, 1.3s;
}
.pay-sat--lock svg { animation-delay: 0.65s; }
@keyframes pay-sat-show {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pay-sat-in {
  from { opacity: 0; transform: scale(0.2); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pay-sat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Twinkling sparkles */
.pay-spark {
  position: absolute;
  z-index: 1;
  color: var(--c-accent-500);
  animation: cheer-twinkle 1.8s ease-in-out infinite;
}
.pay-spark--1 { width: 1rem; height: 1rem; top: 18%; inset-inline-start: 22%; animation-delay: 0.2s; }
.pay-spark--2 { width: 0.7rem; height: 0.7rem; bottom: 22%; inset-inline-start: 10%; animation-delay: 0.7s; }
.pay-spark--3 { width: 0.85rem; height: 0.85rem; top: 28%; inset-inline-end: 18%; animation-delay: 1.1s; color: var(--c-brand-400); }

.pay-success h1 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  color: var(--text-strong);
  animation: offer-rise-in 0.55s var(--ease) 0.35s both;
}
.pay-success__sub {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: var(--fs-base);
  animation: offer-rise-in 0.55s var(--ease) 0.45s both;
}

.pay-alerts {
  display: grid;
  gap: var(--space-3);
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.pay-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  animation: offer-rise-in 0.55s var(--ease) both;
}
.pay-alert--success {
  background: var(--c-success-soft);
  color: #166534;
  border: 1px solid color-mix(in srgb, var(--c-success) 25%, transparent);
  animation-delay: 0.35s;
}
.pay-alert--success > svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  color: var(--c-success);
}
.pay-alert--hours {
  background: #fff8e8;
  color: var(--c-accent-700);
  border: 1px solid var(--c-accent-100);
  animation-delay: 0.45s;
}
.pay-code {
  display: inline-flex;
  align-items: center;
  font-weight: var(--fw-bold);
  font-size: 1.05em;
  color: var(--c-brand-700);
  background: #fff;
  border: 1px dashed var(--c-brand-200);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.45rem;
  margin-inline: 0.25rem;
  letter-spacing: 0.04em;
}
.pay-code__copy {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-inline-start: 0.15rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-brand-600);
  cursor: pointer;
  vertical-align: middle;
}
.pay-code__copy:hover { background: rgba(26, 102, 214, 0.1); }
.pay-code__copy svg { width: 0.95rem; height: 0.95rem; }

.pay-docs { padding-block: 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.pay-docs__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: start;
}
.pay-docs__main,
.pay-docs__aside {
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
}
.pay-docs__head { margin-bottom: var(--space-4); text-align: start; }
.pay-docs__head h2 { font-size: var(--fs-xl); }
.pay-docs__head p { margin-top: 0.35rem; color: var(--text-muted); font-size: var(--fs-sm); }
.pay-docs__warning {
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.22);
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.pay-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
  border: 2px dashed var(--c-brand-200);
  border-radius: var(--radius-lg);
  background: var(--c-brand-50);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pay-drop:hover,
.pay-drop.is-drag {
  border-color: var(--c-brand-500);
  background: color-mix(in srgb, var(--c-brand-100) 70%, #fff);
  transform: translateY(-2px);
}
.pay-drop__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--c-brand-600);
  box-shadow: var(--shadow-sm);
}
.pay-drop__icon svg { width: 1.35rem; height: 1.35rem; }
.pay-drop__title { font-weight: var(--fw-bold); color: var(--text-strong); }
.pay-drop__hint { font-size: var(--fs-xs); color: var(--text-muted); }

.pay-file-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.pay-file-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
}
.pay-file-list li svg { width: 1rem; height: 1rem; color: var(--c-brand-600); flex-shrink: 0; }
.pay-file-list .pay-file__rm {
  margin-inline-start: auto;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.pay-file-list .pay-file__rm:hover { color: var(--c-danger, #b91c1c); }

.pay-upload__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.pay-upload__actions .btn { flex: 1; min-width: 11rem; }

.pay-docs__aside h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
}
.pay-docs__aside h3 svg { width: 1.15rem; height: 1.15rem; color: var(--c-brand-600); }
.pay-req {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.pay-req li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--text-strong);
  line-height: var(--lh-snug);
}
.pay-req li small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.85em;
}
.pay-req__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
  color: var(--c-brand-600);
}
.pay-req__icon svg { width: 1rem; height: 1rem; }
.pay-docs__note {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border-subtle);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.pay-home {
  margin-top: var(--space-5);
  text-align: center;
}
.pay-home a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-600);
}
.pay-home a:hover { text-decoration: underline; }
.pay-home svg { width: 1rem; height: 1rem; transform: scaleX(-1); }
html[dir="ltr"] .pay-home svg { transform: none; }

@media (max-width: 860px) {
  .pay-docs__grid { grid-template-columns: 1fr; }
  .pay-docs__aside { order: -1; }
}

/* =========================================================
   Track order page
   ========================================================= */
.track-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 4vw, 5rem) clamp(4.5rem, 3.5rem + 5vw, 6.5rem);
  background: linear-gradient(165deg, var(--c-deep-800), var(--c-deep-950) 75%);
  color: var(--text-on-dark);
}
.track-hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(500px 240px at 70% 30%, rgba(26, 102, 214, 0.35), transparent 70%),
    radial-gradient(420px 200px at 20% 80%, rgba(245, 168, 0, 0.12), transparent 65%);
  animation: glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.track-hero .container { position: relative; z-index: 1; }
.track-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  animation: offer-rise-in 0.55s var(--ease) both;
}
.track-hero h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.35rem);
  color: #fff;
  animation: offer-rise-in 0.55s var(--ease) 0.08s both;
}
.track-hero__sub {
  margin-top: 0.65rem;
  font-size: var(--fs-base);
  color: var(--text-on-dark-muted);
  max-width: 32rem;
  margin-inline: auto;
  animation: offer-rise-in 0.55s var(--ease) 0.16s both;
}

.track-panel {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.track-card {
  padding: clamp(1.35rem, 1.1rem + 1.5vw, 2rem);
  animation: track-card-in 0.65s cubic-bezier(0.34, 1.45, 0.64, 1) 0.15s both;
}
@keyframes track-card-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.track-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.track-card .btn {
  width: 100%;
  gap: 0.5rem;
}
.track-card .btn svg { width: 1.15rem; height: 1.15rem; }
.field-icon--select .select {
  width: 100%;
  padding-inline-start: 2.5rem;
}
.track-card .btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.track-card .btn.is-loading span::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-inline-start: 0.45rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -0.1em;
  animation: track-spin 0.7s linear infinite;
}
@keyframes track-spin { to { transform: rotate(360deg); } }

.track-result {
  margin-top: var(--space-5);
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  animation: track-card-in 0.55s var(--ease) both;
}
.track-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed var(--border-subtle);
}
.track-result__head p { color: var(--text-muted); font-size: var(--fs-sm); }
.track-result__head b { color: var(--c-brand-700); font-size: 1.05em; }
.track-status {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
}
.track-status--progress {
  color: var(--c-brand-700);
  background: var(--c-brand-50);
  border: 1px solid var(--c-brand-100);
}

.track-timeline {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: 0;
}
.track-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  opacity: 0.45;
}
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: "";
  position: absolute;
  top: 2.2rem;
  inset-inline-start: 1.05rem;
  width: 2px;
  height: calc(100% - 2.2rem);
  background: var(--border-subtle);
}
.track-step:last-child::before { display: none; }
.track-step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-default);
  background: var(--bg-subtle);
  color: var(--text-muted);
}
.track-step__dot svg { width: 1rem; height: 1rem; }
.track-step strong { display: block; color: var(--text-strong); font-size: var(--fs-sm); }
.track-step span { display: block; margin-top: 0.15rem; font-size: var(--fs-xs); color: var(--text-muted); }
.track-step--done {
  opacity: 1;
}
.track-step--done .track-step__dot {
  background: var(--c-success-soft);
  border-color: var(--c-success);
  color: var(--c-success);
}
.track-step--done::before { background: var(--c-success); }
.track-step--active {
  opacity: 1;
}
.track-step--active .track-step__dot {
  background: var(--c-brand-500);
  border-color: var(--c-brand-500);
  color: #fff;
  animation: ostep-pulse 2s ease-out infinite;
}

@media (max-width: 640px) {
  .track-card__grid { grid-template-columns: 1fr; }
  .track-panel { margin-top: -2.75rem; }
}

/* =========================================================
   Floating WhatsApp help
   ========================================================= */
.wa-float {
  position: fixed;
  z-index: var(--z-toast);
  right: 1.25rem;
  left: auto;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}
.wa-float > * { pointer-events: auto; }

.wa-float__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  animation: wa-bob 2.8s ease-in-out infinite;
}
.wa-float__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.45);
}
.wa-float__icon { width: 1.55rem; height: 1.55rem; flex-shrink: 0; position: relative; z-index: 1; }
.wa-float__label { position: relative; z-index: 1; white-space: nowrap; }

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: 0;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float__pulse--delay { animation-delay: 0.7s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.wa-float__bubble {
  position: relative;
  width: min(78vw, 280px);
  padding: 1rem 1.1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: start;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.wa-float__bubble.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.wa-float__bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 1.6rem;
  left: auto;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transform: rotate(45deg);
}
.wa-float__close {
  position: absolute;
  top: 0.35rem;
  left: 0.45rem;
  right: auto;
  width: 1.6rem;
  height: 1.6rem;
  border: none;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.wa-float__close:hover { color: var(--text-strong); }
.wa-float__bubble-title {
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: var(--text-strong);
  margin-bottom: 0.3rem;
  padding-inline-start: 1.4rem;
}
.wa-float__bubble-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
  margin-bottom: 0.75rem;
}
.wa-float__chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.wa-float__chat:hover { background: #1ebe57; color: #fff; }
.wa-float__chat svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 640px) {
  .wa-float {
    bottom: 1.25rem;
    right: 0.85rem;
    left: auto;
  }
  /* Avoid duplicate WhatsApp on homepage sticky bar */
  body:has(.mobile-cta) .wa-float { display: none; }
  .wa-float__label { display: none; }
  .wa-float__btn {
    padding: 0.85rem;
    border-radius: 50%;
    animation: none;
  }
  .wa-float__btn:hover { transform: scale(1.05); }
}

/* Keep float under modals / drawers */
body.is-modal-open .wa-float,
body:has(.offer-modal:not([hidden])) .wa-float {
  visibility: hidden;
  pointer-events: none;
}

/* Directional arrows: sprite points left (RTL forward); flip for LTR */
html[dir="ltr"] .hero__cta .btn--primary > svg,
html[dir="ltr"] #paySubmit > svg,
html[dir="ltr"] .about-cta__actions .btn--primary > svg {
  transform: scaleX(-1);
}

/* =========================================================
   About page
   ========================================================= */
.about-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 4vw, 5rem) clamp(3.5rem, 3rem + 3vw, 5rem);
  background: linear-gradient(165deg, var(--c-deep-800), var(--c-deep-950) 75%);
  color: var(--text-on-dark);
}
.about-hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(520px 260px at 30% 25%, rgba(26, 102, 214, 0.32), transparent 70%),
    radial-gradient(440px 220px at 80% 70%, rgba(245, 168, 0, 0.14), transparent 65%);
  animation: glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  animation: offer-rise-in 0.55s var(--ease) both;
}
.about-hero h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.6rem);
  color: #fff;
  animation: offer-rise-in 0.55s var(--ease) 0.08s both;
}
.about-hero__sub {
  margin-top: 0.75rem;
  font-size: var(--fs-md);
  color: var(--text-on-dark-muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
  animation: offer-rise-in 0.55s var(--ease) 0.16s both;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}
.about-intro__lead {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-intro__text {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.about-intro__checks {
  display: grid;
  gap: 0.65rem;
}
.about-intro__checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-strong);
}
.about-intro__checks svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--c-brand-600);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: clamp(1rem, 0.85rem + 0.8vw, 1.35rem);
  min-height: 7.5rem;
  justify-content: center;
}
.about-stat--accent {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--c-brand-50), #fff);
  border-color: var(--c-brand-100);
}
.about-stat__value {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--c-brand-700);
  line-height: 1;
}
.about-stat__icon svg {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--c-brand-600);
}
.about-stat__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  line-height: 1.5;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.about-value-card {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  text-align: start;
  height: 100%;
}
.about-value-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: var(--fs-lg);
}
.about-value-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.about-mv__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  align-items: stretch;
}
.about-mv-card {
  padding: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  height: 100%;
}
.about-mv-card--mission {
  background: linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
}
.about-mv-card--vision {
  background: linear-gradient(165deg, var(--c-deep-800), var(--c-deep-900));
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.08);
}
.about-mv-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.about-mv-card__head h2 {
  font-size: var(--fs-xl);
  margin: 0;
}
.about-mv-card--vision .about-mv-card__head h2 { color: #fff; }
.about-mv-list {
  display: grid;
  gap: 1rem;
}
.about-mv-list li {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--c-brand-200);
}
.about-mv-list strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-brand-700);
  margin-bottom: 0.2rem;
}
.about-mv-list span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.about-mv-card__vision-text {
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}
.about-mv-card__quote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-on-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-200);
}
.about-mv-card__quote svg {
  width: 1rem;
  height: 1rem;
}

.about-cta {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
  background: linear-gradient(135deg, var(--c-brand-700), var(--c-brand-800));
  color: #fff;
}
.about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.about-cta__copy h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  color: #fff;
  margin-bottom: 0.45rem;
}
.about-cta__copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
  line-height: 1.7;
  margin: 0;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-cta__actions .btn--primary {
  background: #fff;
  color: var(--c-brand-800);
  border-color: #fff;
}
.about-cta__actions .btn--primary:hover {
  background: var(--c-brand-50);
}
.about-cta__phone {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.about-cta__phone:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.about-cta__actions .btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 960px) {
  .about-intro__grid,
  .about-mv__grid {
    grid-template-columns: 1fr;
  }
  .about-stats { order: -1; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stat--accent { grid-column: auto; }
  .about-cta__inner { flex-direction: column; align-items: stretch; }
  .about-cta__actions { flex-direction: column; }
  .about-cta__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-panel {
  margin-top: -2rem;
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.contact-panel__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: var(--space-3);
}
.contact-info-card {
  padding: clamp(1.1rem, 0.95rem + 0.8vw, 1.4rem);
  text-align: start;
}
.contact-info-card h2 {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
  font-size: var(--fs-md);
}
.contact-info-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}
.contact-info-card__link {
  display: inline-block;
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-700);
}
.contact-info-card__link:hover { color: var(--c-brand-800); }
.contact-info-card--wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), #fff);
  border-color: rgba(37, 211, 102, 0.25);
}
.contact-info-card--wa .btn { margin-top: 0.85rem; }
.contact-hours {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}
.contact-hours svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-brand-600);
  flex-shrink: 0;
}

.contact-form {
  padding: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
}
.contact-form__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.contact-form__head h2 {
  font-size: var(--fs-xl);
  margin-bottom: 0.25rem;
}
.contact-form__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.contact-form__textarea {
  min-height: 8.5rem;
  resize: vertical;
  padding: 0.75rem 0.9rem;
  line-height: 1.65;
}
.contact-form .btn {
  width: 100%;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.contact-form .btn svg { width: 1.1rem; height: 1.1rem; }

html[dir="ltr"] .contact-form .btn svg {
  transform: scaleX(-1);
}

.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--c-success-soft, #ecfdf5);
  border: 1px solid rgba(16, 185, 129, 0.25);
  animation: offer-rise-in 0.45s var(--ease) both;
}
.contact-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  flex-shrink: 0;
}
.contact-success__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.contact-success strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-strong);
  margin-bottom: 0.2rem;
}
.contact-success p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .contact-panel__grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form-wrap { order: 1; }
}

@media (max-width: 640px) {
  .contact-form__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Other insurance page
   ========================================================= */
.other-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.other-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  animation: offer-rise-in 0.55s var(--ease) 0.2s both;
}
.other-hero__btn {
  gap: 0.5rem;
}
.other-hero__btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.other-hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.other-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.other-panel {
  margin-top: -1.5rem;
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.other-panel__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: start;
}
.other-aside__card {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  height: 100%;
}
.other-aside__visual {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--c-brand-50), #fff);
  border: 1px solid var(--c-brand-100);
  min-height: 9rem;
}
.other-aside__art {
  width: 100%;
  height: auto;
  color: var(--c-brand-300);
  opacity: 0.85;
}
.other-aside__icon {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1rem;
}
.other-aside__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-brand-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.other-aside__type {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--text-strong);
}
.other-aside__hint {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.other-form {
  padding: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
}
.other-form__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.other-form__head h2 {
  font-size: var(--fs-xl);
  margin-bottom: 0.25rem;
}
.other-form__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.other-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.other-field-note {
  font-weight: var(--fw-medium);
  color: var(--c-brand-600);
  font-size: var(--fs-xs);
}
.other-phone-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.other-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  flex-shrink: 0;
}
.other-phone-row .input {
  flex: 1;
  min-width: 0;
}
.other-form .btn {
  width: 100%;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.other-form .btn svg { width: 1.1rem; height: 1.1rem; }
html[dir="ltr"] .other-form .btn svg { transform: scaleX(-1); }

@media (max-width: 960px) {
  .other-panel__grid { grid-template-columns: 1fr; }
  .other-aside { order: 2; }
  .other-form-wrap { order: 1; }
}

@media (max-width: 640px) {
  .other-form__grid { grid-template-columns: 1fr; }
  .other-hero__actions { flex-direction: column; width: 100%; max-width: 22rem; }
  .other-hero__btn { width: 100%; justify-content: center; }
}
