/* Intravo — services page (self-serve vs white-glove, interpreter partners, 40+ countries). */

/* hero visual: two overlapping mode cards */
.s-hero-vis { position: relative; height: 440px; }
.s-mode { position: absolute; width: 330px; padding: 26px; border-radius: 24px; box-shadow: 0 24px 60px rgba(18, 19, 15, .10); }
.s-mode.self { left: 0; top: 30px; background: var(--white); border: 1px solid var(--lav-300); }
.s-mode.glove { right: 0; top: 150px; background: var(--lav-700); color: var(--white); }
.s-mode .lbl { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; }
.s-mode.self .lbl { background: var(--lav-100); color: var(--lav-800); }
.s-mode.glove .lbl { background: var(--gal-300); color: var(--onyx); }
.s-mode h3 { margin: 14px 0 12px; font-size: 24px; line-height: 1.15; font-weight: 600; }
.s-mode ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.s-mode li { display: flex; align-items: center; gap: 10px; }
.s-mode li svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.s-mode.self li svg { stroke: var(--lav-700); }
.s-mode.glove li svg { stroke: var(--gal-300); }
.s-mode.glove li { color: var(--lav-100); }
.s-hero-vis .s-avatar { position: absolute; left: 150px; top: 330px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--lav-300); font-size: 14px; box-shadow: 0 12px 30px rgba(18, 19, 15, .08); }
.s-avatar .ring { width: 36px; height: 36px; border-radius: 50%; background: var(--gal-100); color: var(--gal-600); display: flex; align-items: center; justify-content: center; }
.s-avatar .ring svg { width: 20px; height: 20px; fill: none; stroke: #2F7A5A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the two paths side by side */
.s-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.s-path { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; }
.s-path.self { background: var(--white); border: 1px solid var(--lav-300); }
.s-path.glove { background: var(--lav-700); color: var(--white); scroll-margin-top: 120px; }
.s-path-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.s-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.s-path.self .s-pill { background: var(--lav-100); color: var(--lav-800); }
.s-path.glove .s-pill { background: var(--gal-300); color: var(--onyx); }
.s-path .for { font-size: 14px; }
.s-path.self .for { color: var(--lav-800); }
.s-path.glove .for { color: var(--lav-100); }
.s-path h3 { margin: 18px 0 8px; font-size: 34px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.s-path > p { margin: 0; font-size: 17px; line-height: 1.5; }
.s-path.glove > p { color: var(--lav-100); }
.s-path .btn { margin-top: 32px; align-self: flex-start; }

/* timeline */
.s-tl { margin: 30px 0 0; padding: 0; list-style: none; position: relative; display: flex; flex-direction: column; gap: 18px; }
.s-tl::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; }
.s-path.self .s-tl::before { background: var(--lav-300); }
.s-path.glove .s-tl::before { background: var(--lav-800); }
.s-tl li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.s-tl .n { position: relative; z-index: 1; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.s-path.self .s-tl .n { background: var(--white); border: 2px solid var(--lav-700); color: var(--lav-700); }
.s-path.glove .s-tl .n { background: var(--lav-800); color: var(--gal-300); }
.s-tl .n svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-tl b { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.s-tl span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; }
.s-path.self .s-tl span { color: var(--ink-2); }
.s-path.glove .s-tl span { color: var(--lav-100); }
/* a travelling highlight dot down each timeline */
@keyframes s-travel { 0% { top: 22px; } 100% { top: calc(100% - 30px); } }
.s-tl .dot-run { position: absolute; left: 17px; width: 10px; height: 10px; border-radius: 50%; z-index: 2; animation: s-travel 6s ease-in-out infinite alternate; }
.s-path.self .dot-run { background: var(--lav-700); }
.s-path.glove .dot-run { background: var(--gal-300); }

/* interpreters: booth mock */
.s-int { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; scroll-margin-top: 120px; }
.s-booth { border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--lav-300); box-shadow: 0 30px 70px rgba(18, 19, 15, .10); }
.s-booth .mock-bar { justify-content: space-between; }
.s-booth .air { display: inline-flex; align-items: center; gap: 8px; color: var(--gal-300); }
.s-booth .air i { width: 8px; height: 8px; border-radius: 50%; background: var(--gal-300); display: block; }
.s-booth-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.s-booth-left { padding: 18px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--lav-300); }
.s-video { height: 150px; border-radius: 14px; overflow: hidden; position: relative; background: var(--onyx); }
.s-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); display: block; }
.s-video span { position: absolute; left: 10px; bottom: 10px; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--onyx); color: var(--white); font-size: 12px; display: flex; align-items: center; }
.s-stage { font-size: 13px; }
.s-stage .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lav-800); }
.s-stage p { margin: 8px 0 0; line-height: 1.45; }
.s-stage p.old { color: var(--ink-2); }
.s-hand { display: flex; gap: 8px; flex-wrap: wrap; }
.s-hand span { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; display: inline-flex; align-items: center; }
.s-hand .go { background: var(--lav-700); color: var(--white); }
.s-hand .yes { background: var(--gal-100); color: #1F5C43; }
.s-hand .no { border: 1px solid var(--lav-300); }
.s-booth-right { padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; background: var(--nebula); }
.s-booth-right .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lav-800); }
.s-roster { display: flex; flex-direction: column; gap: 6px; }
.s-roster span { display: flex; align-items: center; gap: 8px; }
.s-roster i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.s-chat { display: flex; flex-direction: column; gap: 6px; }
.s-chat span { padding: 8px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--lav-300); line-height: 1.35; }
.s-chat span.me { background: var(--lav-700); color: var(--white); border-color: var(--lav-700); align-self: flex-end; }
.s-modes { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.s-modes div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--lav-300); font-size: 15px; }
.s-modes b { font-weight: 600; }
.s-modes .m { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; display: inline-flex; align-items: center; }
.s-modes .ai { background: var(--lav-100); color: var(--lav-800); }
.s-modes .hu { background: var(--lav-700); color: var(--white); }
.s-modes .sn { background: var(--gal-100); color: #1F5C43; }
.s-partner { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--gal-100); display: flex; gap: 16px; align-items: flex-start; }
.s-partner svg { flex-shrink: 0; width: 28px; height: 28px; fill: none; stroke: #2F7A5A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-partner h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.s-partner p { margin: 0; font-size: 15px; line-height: 1.5; }

/* 40+ countries band */
.s-world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.s-globe { position: relative; height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.s-globe svg { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; }
.s-globe .big { position: relative; font-size: 132px; line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--white); font-variant-numeric: tabular-nums; }
.s-globe .cap { position: relative; font-size: 18px; color: var(--lav-100); }
@keyframes s-spinx { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.08); } }
.s-mer { transform-box: fill-box; transform-origin: center; animation: s-spinx 8s ease-in-out infinite; }
@keyframes s-rot { to { transform: rotate(360deg); } }
.s-rot { transform-origin: 150px 150px; animation: s-rot 40s linear infinite; }
.s-world .p-checks li { color: var(--lav-100); }

@media (prefers-reduced-motion: reduce) {
  .s-tl .dot-run, .s-mer, .s-rot { animation: none !important; }
  .s-tl .dot-run { display: none; }
}

@media (max-width: 1100px) {
  .s-paths, .s-int, .s-world { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .s-hero-vis { max-width: 560px; }
}
@media (max-width: 720px) {
  .s-hero-vis { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .s-mode, .s-hero-vis .s-avatar { position: static; width: auto; }
  .s-hero-vis .s-avatar { align-self: flex-start; }
  .s-path { padding: 26px; }
  .s-path h3 { font-size: 28px; }
  .s-booth-body { grid-template-columns: minmax(0, 1fr); }
  .s-booth-left { border-right: 0; border-bottom: 1px solid var(--lav-300); }
  .s-globe { height: 300px; }
  .s-globe svg { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .s-globe .big { font-size: 96px; }
}
