/* =====================================================================
   success.css — Success Stories page (success.php), conversion-focused.
   Reuses tokens.css + components.css + country.css (.leadcard/.leadform/.c-faq).
   ===================================================================== */
.ss-section { padding-block: clamp(44px, 6vw, 84px); }
.ss-section--tint { background: var(--bg-2); }

/* ---------- HERO ---------- */
.ss-hero { position: relative; color: #fff; overflow: clip; isolation: isolate;
  background: linear-gradient(125deg, #0d1430, #1b2350 50%, #2a2f72); }
.ss-hero__mesh { position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none;
  background: radial-gradient(620px 360px at 88% 0%, rgba(91,91,245,.55), transparent 60%),
              radial-gradient(560px 380px at 4% 100%, rgba(16,201,142,.32), transparent 58%); }
.ss-hero__in { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 6vw, 84px); }
.ss-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: var(--t-2xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #cfd6ff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: var(--r-pill); }
.ss-hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px rgba(16,201,142,.25); }
.ss-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 0; }
.ss-hero h1 .grad { background: linear-gradient(110deg, #8fa2ff, #FBBC24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ss-hero__sub { color: #c4cbe6; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); margin-top: 18px; max-width: 540px; line-height: 1.6; }
.ss-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ss-hero .btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.ss-hero .btn--glass:hover { background: rgba(255,255,255,.2); }
.ss-hero__stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 32px; }
.ss-hero__stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); color: #fff; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.ss-hero__stat strong .ct { display: inline; }   /* keep the counter inline so the + never drops to a new line */
.ss-hero__stat > span { font-size: var(--t-xs); color: #aab2d8; margin-top: 4px; display: block; }

/* review-card avatars can carry a photo (assets/images/testimonial/), with initials as fallback */
.tcard__av { position: relative; overflow: hidden; }
.tcard__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-hero__stat .gold { color: #ffd05a; }

/* ---------- STORY WALL ---------- */
.ss-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--s-8); }
.ss-story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur-2); }
.ss-story:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.ss-story__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.ss-story__ph { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); color: rgba(255,255,255,.92); }
.ss-story__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 38%, rgba(0,0,0,.3)); }
.ss-story__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); display: block; }
.ss-story__flag { position: absolute; z-index: 2; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.ss-story__visa { position: absolute; z-index: 2; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--safe); color: #fff; font-weight: 700; font-size: .78rem; padding: 6px 12px; border-radius: var(--r-pill); box-shadow: 0 8px 20px -6px rgba(16,201,142,.6); }
.ss-story__visa svg { width: 14px; height: 14px; }
.ss-story__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ss-story__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ss-story__name { font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.ss-story__route { font-size: .8rem; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.ss-story__prog { margin-top: 6px; font-size: .9rem; color: var(--ink-2); }
.ss-story__prog strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.ss-story__desc { margin-top: 11px; font-size: .9rem; color: var(--ink-2); line-height: 1.6; flex: 1; }
.ss-story__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ss-story__stars { color: #E68A17; letter-spacing: 1px; }
.ss-story__social { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .84rem; color: var(--primary);
  padding: 7px 13px; border-radius: var(--r-pill); background: var(--primary-tint); transition: background var(--dur-2), color var(--dur-2), transform var(--dur-2); }
.ss-story__social:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.ss-story__social svg { width: 16px; height: 16px; flex: none; }

/* ---------- MID CTA BAND ---------- */
.ss-cta { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(120deg, var(--primary-700), var(--primary) 60%, #6a6aff); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.ss-cta::before { content: ""; position: absolute; inset: -50% -10% auto auto; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(16,201,142,.4), transparent 65%); pointer-events: none; }
.ss-cta__t { position: relative; max-width: 620px; }
.ss-cta__t h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.12; }
.ss-cta__t p { color: rgba(255,255,255,.85); margin-top: 8px; font-size: 1.02rem; }
.ss-cta__act { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.ss-cta .btn--light { background: #fff; color: var(--primary); }
.ss-cta .btn--light:hover { background: #f0f0ff; transform: translateY(-2px); }
.ss-cta .btn--glass { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.ss-cta .btn--glass:hover { background: rgba(255,255,255,.25); }

/* ---------- BIG LEAD SECTION ---------- */
.ss-lead { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.ss-lead__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.ss-lead__list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; color: var(--ink-2); }
.ss-lead__list .tick { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--safe-tint); color: var(--safe); margin-top: 1px; }
.ss-lead__list .tick svg { width: 15px; height: 15px; }
.ss-lead__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ss-lead__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 13px; font-size: .82rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-xs); }
.ss-lead__badge svg { width: 16px; height: 16px; }
.ss-lead__badge .glogo { width: 18px; height: 18px; }
.ss-lead__badge .star { color: #E68A17; }
.ss-lead__badge .shield { color: var(--safe); }

/* ---------- WhatsApp FAB ---------- */
.ss-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; font-weight: 700; padding: 13px 18px; border-radius: var(--r-pill); box-shadow: 0 16px 40px -10px rgba(37,211,102,.6);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2); }
.ss-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -10px rgba(37,211,102,.7); }
.ss-fab svg { width: 24px; height: 24px; }
.ss-fab span { white-space: nowrap; }
@media (max-width: 560px) { .ss-fab span { display: none; } .ss-fab { padding: 14px; border-radius: 50%; } }

@media (max-width: 980px) {
  .ss-hero__in { grid-template-columns: 1fr; }
  .ss-lead { grid-template-columns: 1fr; }
  .ss-wall { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ss-wall { grid-template-columns: 1fr; }
  .ss-cta { flex-direction: column; align-items: flex-start; }
}

/* ===== trust band ===== */
.ss-trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.ss-trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ss-trust__item { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-right: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.ss-trust__item:last-child { border-right: 0; }
.ss-trust__item[href]:hover { background: var(--bg-2); }
.ss-trust__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.ss-trust__ic svg { width: 22px; height: 22px; }
.ss-trust__ic--bc { background: rgba(53,99,201,.12); color: var(--primary); }
.ss-trust__ic--gov { background: rgba(16,201,142,.14); color: #0BB37E; }
.ss-trust__ic--g { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.ss-trust__ic--g svg { width: 24px; height: 24px; }
.ss-trust__ic--visa { background: rgba(230,138,23,.14); color: #E68A17; }
.ss-trust__ic--visa svg { width: 20px; height: 20px; }
.ss-trust__tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ss-trust__tx strong { font-family: var(--font-display, 'Sora'); font-size: .95rem; color: var(--ink); }
.ss-trust__tx small { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 860px) { .ss-trust__in { grid-template-columns: 1fr 1fr; } .ss-trust__item:nth-child(2) { border-right: 0; } .ss-trust__item:nth-child(1),.ss-trust__item:nth-child(2){ border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .ss-trust__item { padding: 14px 12px; } .ss-trust__tx small { display: none; } }

/* ===== featured story ===== */
.ss-featured { display: grid; grid-template-columns: minmax(0,380px) 1fr; gap: clamp(20px,3vw,40px); align-items: center; margin-top: var(--s-8);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.ss-featured__media { position: relative; background: var(--surface-2); aspect-ratio: 1 / 1; }
.ss-featured__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }
.ss-featured__body { padding: clamp(22px,3vw,40px) clamp(22px,3vw,40px) clamp(22px,3vw,40px) 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ss-featured__tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: rgba(53,99,201,.1); padding: 5px 11px; border-radius: 99px; }
.ss-featured__name { font-family: var(--font-display, 'Sora'); font-size: clamp(1.5rem,2.6vw,2rem); color: var(--ink); margin: 0; }
.ss-featured__route { font-size: .95rem; color: var(--ink-2); font-weight: 600; margin: 0; }
.ss-featured__quote { font-family: var(--font-display, 'Sora'); font-size: clamp(1.05rem,1.6vw,1.3rem); line-height: 1.5; color: var(--ink); margin: 6px 0; border-left: 3px solid var(--primary); padding-left: 16px; }
.ss-featured__prog { font-size: .92rem; color: var(--ink-2); margin: 0; }
.ss-featured__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.ss-featured__foot .ss-story__stars { color: #FBBC24; font-size: 1.05rem; letter-spacing: 2px; }
@media (max-width: 720px) { .ss-featured { grid-template-columns: 1fr; } .ss-featured__media { aspect-ratio: 1/1; } .ss-featured__body { padding: 22px; } }

/* ===== video testimonials ===== */
.ss-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: var(--s-8); }
.ss-video { position: relative; display: block; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; border: 0; padding: 0; cursor: pointer;
  background: #0b1220; text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.ss-video:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ss-video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .3s; }
.ss-video:hover .ss-video__thumb { opacity: .7; transform: scale(1.04); }
.ss-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.ss-video__play svg { width: 26px; height: 26px; margin-left: 3px; }
.ss-video:hover .ss-video__play { transform: translate(-50%,-50%) scale(1.08); }
.ss-video__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.ss-video__cap strong { font-family: var(--font-display, 'Sora'); font-size: 1rem; }
.ss-video__cap small { font-size: .78rem; opacity: .9; }
@media (max-width: 900px) { .ss-videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ss-videos { grid-template-columns: 1fr; } }

/* ===== video lightbox ===== */
.ss-lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(12px,3vw,28px); background: rgba(9,13,22,.95); animation: ssLbIn .18s ease; }
.ss-lb[hidden] { display: none; }
@keyframes ssLbIn { from { opacity: 0; } to { opacity: 1; } }
.ss-lb__frame { position: relative; width: min(1100px, 94vw); aspect-ratio: 16/9; max-height: 84vh; }
.ss-lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.ss-lb__close { position: absolute; top: clamp(12px,2vw,20px); right: clamp(12px,2vw,20px); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .15s; }
.ss-lb__close:hover { background: rgba(255,255,255,.3); }
