/* =====================================================================
   services.css — graphic-intensive Services page (services.php)
   Reuses tokens.css + components.css + country.css (.leadcard/.leadform/.c-faq)
   ===================================================================== */
.sv-section { padding-block: clamp(44px, 6vw, 88px); }
/* the global .sec__head margin stacks on the section padding → too much air on services; tighten it here */
.sv-section .sec__head { margin-top: clamp(26px, 3.4vw, 46px); }
.sv-section--tint { background: var(--bg-2); }
.sv-section--ink { background: var(--ink); color: #cdd3ea; position: relative; overflow: hidden; }

/* ---------- HERO ---------- */
.sv-hero { position: relative; color: #fff; overflow: clip; isolation: isolate;
  background: linear-gradient(125deg, #0d1430, #1a2350 48%, #2c2f74); }
.sv-hero__mesh { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px 380px at 84% -5%, rgba(91,91,245,.55), transparent 60%),
              radial-gradient(560px 360px at 6% 110%, rgba(16,201,142,.3), transparent 58%); }
.sv-hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; mask: radial-gradient(720px 420px at 50% 0%, #000, transparent 78%); }
.sv-hero__in { text-align: center; max-width: 820px; margin-inline: auto; padding-block: clamp(48px, 7vw, 96px); position: relative; }
.sv-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: var(--t-2xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cfd6ff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 7px 15px; border-radius: var(--r-pill); }
.sv-hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px rgba(16,201,142,.25); }
.sv-hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 0; }
.sv-hero h1 .grad { background: linear-gradient(110deg, #8fa2ff, #FBBC24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-hero__sub { color: #c4cbe6; font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); margin: 18px auto 0; max-width: 600px; line-height: 1.6; }
.sv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.sv-hero .btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.sv-hero .btn--glass:hover { background: rgba(255,255,255,.2); }
.sv-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.sv-hero__chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill); padding: 8px 14px; font-size: .82rem; font-weight: 600; color: #e7ebfa; }
.sv-hero__chip svg { width: 16px; height: 16px; color: #8fa2ff; }

/* ---------- STAT BAND ---------- */
.sv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -40px; position: relative; z-index: 5; }
.sv-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); text-align: center; }
.sv-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.sv-stat .gt { background: linear-gradient(110deg, var(--primary), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* only the LABEL (direct-child span) is block — the count span lives inside <b> and must stay inline so "27,000+" reads on one line */
.sv-stat > span { display: block; font-size: var(--t-xs); color: var(--ink-3); margin-top: 7px; font-weight: 600; }
.sv-stat b span { display: inline; }

/* ---------- SERVICES GRID ---------- */
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: var(--s-8); }
.sv-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; overflow: hidden; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur-2); }
.sv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gr, linear-gradient(90deg, var(--primary), var(--safe))); opacity: .9; }
.sv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.sv-card__glow { position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--gr, var(--primary)); opacity: .12; filter: blur(20px); pointer-events: none; transition: opacity var(--dur-2); }
.sv-card:hover .sv-card__glow { opacity: .22; }
.sv-card__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--gr, var(--primary));
  box-shadow: 0 12px 28px -10px var(--grsh, rgba(91,91,245,.5)); margin-bottom: 16px; position: relative; }
.sv-card__ic svg { width: 28px; height: 28px; }
.sv-card__no { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--line); line-height: 1; letter-spacing: -.04em; }
.sv-card h3 { font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; }
.sv-card__tag { font-size: .78rem; font-weight: 700; color: var(--primary); margin-top: 3px; }
.sv-card__p { font-size: .92rem; color: var(--ink-2); line-height: 1.6; margin-top: 10px; }
.sv-card__list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.sv-card__list li { display: flex; align-items: flex-start; gap: 8px; font-size: .86rem; color: var(--ink-2); }
.sv-card__list svg { width: 16px; height: 16px; flex: none; color: var(--safe); margin-top: 2px; }
.sv-card__cta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .88rem; color: var(--primary); }
.sv-card:hover .sv-card__cta { gap: 11px; }
.sv-card__cta svg { width: 16px; height: 16px; transition: transform var(--dur-2); }

/* ---------- JOURNEY TIMELINE ---------- */
.sv-journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: var(--s-8); }
.sv-journey::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--safe)); opacity: .35; }
.sv-step { position: relative; text-align: center; }
.sv-step__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-700)); box-shadow: 0 12px 26px -8px rgba(91,91,245,.5); border: 4px solid var(--bg); }
.sv-step:nth-child(2) .sv-step__n { background: linear-gradient(135deg, #5b78ff, #2f57ef); }
.sv-step:nth-child(3) .sv-step__n { background: linear-gradient(135deg, #10c98e, #0bb37e); box-shadow: 0 12px 26px -8px rgba(16,201,142,.5); }
.sv-step:nth-child(4) .sv-step__n { background: linear-gradient(135deg, #E68A17, #FBBC24); box-shadow: 0 12px 26px -8px rgba(230,138,23,.5); }
.sv-step:nth-child(5) .sv-step__n { background: linear-gradient(135deg, #7b2ff7, #b06bff); box-shadow: 0 12px 26px -8px rgba(123,47,247,.5); }
.sv-step h4 { font-size: 1.02rem; color: var(--ink); }
.sv-step p { font-size: var(--t-sm); color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.sv-section--ink .sv-step h4 { color: #fff; }
.sv-section--ink .sv-step p { color: #aab2d8; }
.sv-section--ink .sv-step__n { border-color: var(--ink); }
.sv-section--ink .sv-mesh { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(600px 300px at 12% 0%, rgba(91,91,245,.35), transparent 60%), radial-gradient(560px 320px at 92% 100%, rgba(16,201,142,.2), transparent 58%); }

/* ---------- LEAD SECTION ---------- */
.sv-lead { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.sv-lead__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.sv-lead__list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; color: var(--ink-2); }
.sv-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; }
.sv-lead__list .tick svg { width: 15px; height: 15px; }

/* ---------- WhatsApp FAB ---------- */
.sv-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); }
.sv-fab:hover { transform: translateY(-3px); }
.sv-fab svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .sv-fab span { display: none; } .sv-fab { padding: 14px; border-radius: 50%; } }

/* reveal */
.sv-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.sv-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sv-rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .sv-grid { grid-template-columns: 1fr 1fr; }
  .sv-journey { grid-template-columns: 1fr 1fr 1fr; gap: 28px 18px; }
  .sv-journey::before { display: none; }
  .sv-lead { grid-template-columns: 1fr; }
  .sv-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-journey { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   DETAILED SERVICE ROWS — big image + long-form content (alternating)
   ===================================================================== */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { position: relative; }
.svc-row__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4;
  background: var(--gr, linear-gradient(135deg, var(--primary), var(--safe))); box-shadow: var(--shadow-lg); }
.svc-row__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.95); }
.svc-row__ph svg { width: 104px; height: 104px; opacity: .92; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.svc-row__ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% 10%, rgba(255,255,255,.2), transparent 55%); }
.svc-row__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-row__no { position: absolute; z-index: 2; top: 14px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255,255,255,.22); letter-spacing: -.04em; }
.svc-row__chip { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-radius: var(--r-pill); padding: 9px 15px; box-shadow: var(--shadow-md); }
.svc-row__chip b { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1rem; }
.svc-row__chip span { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.svc-row__chip .ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--gr, var(--primary)); }
.svc-row__chip .ico svg { width: 17px; height: 17px; }

.svc-row__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint); padding: 7px 14px; border-radius: var(--r-pill); }
.svc-row__tag svg { width: 15px; height: 15px; }
.svc-row h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); color: var(--ink); letter-spacing: -.025em; margin: 16px 0 0; line-height: 1.1; }
.svc-row__lede { font-size: 1.1rem; color: var(--ink); font-weight: 600; margin-top: 12px; line-height: 1.55; }
.svc-row__p { font-size: 1rem; color: var(--ink-2); line-height: 1.72; margin-top: 12px; }
.svc-row__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; }
.svc-row__list li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.svc-row__list svg { width: 18px; height: 18px; flex: none; color: var(--safe); margin-top: 2px; }
.svc-row__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc-row--rev .svc-row__media { order: 0; }
  .svc-row__media { order: -1; }
  .svc-row__list { grid-template-columns: 1fr; }
}

/* smooth in-page anchor scrolling + clear the sticky header */
html { scroll-behavior: smooth; }
.sv-section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
