/* ══════════════════════════════════════════════════════════════
   TASKRABBIT CLONE — unique animated middle content
   Palette: TaskRabbit-style GREEN · Type: Lexend + Source Sans 3
   Motion : GSAP + ScrollTrigger (parallax, pinned horizontal flow,
            infinite marquees, count-up stats, staggered reveals)
   Header / nav / footer / buttons / faq inherited from
   ../../taxi-app-development/css/styles.css
════════════════════════════════════════════════════════════════ */

:root {
  --primary: #1E9E57;
  --primary-dark: #167A43;
  --amber: #1E9E57;
  --amber-soft: #E4F6EC;
  --amber-tint: #F4FBF7;
  --espresso: #14603A;
  --espresso-deep: #0E4A2C;
  --stone: #6B7A72;
  --gold: #F5A524;
  --cream: #F6FBF8;
  --text-dark: #0F1B14;
  --text-mid: #4B564E;
  --text-light: #93A099;
  --border: #E1EDE6;
  --card-bg: #FFFFFF;
  --gradient-cta: linear-gradient(135deg, #24B265 0%, #1E9E57 55%, #167A43 100%);
  --gradient-espresso: linear-gradient(155deg, #0A2E1C 0%, #124A2E 55%, #0A2E1C 100%);
  --shadow-cta: 0 12px 30px rgba(30,158,87,0.32);
  --shadow-soft: 0 18px 50px rgba(16,60,38,0.12);
  --shadow-card: 0 8px 26px rgba(16,60,38,0.08);
}

body { font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.375; font-size: 1rem; }
h1, h2, h3, h4, .tr-display { font-family: 'Lexend', 'Source Sans 3', system-ui, sans-serif; letter-spacing: -0.02em; }

header { background: rgba(246,251,248,0.92) !important; border-bottom: 1px solid rgba(16,60,38,0.10) !important; }
header.scrolled { background: rgba(246,251,248,0.98) !important; box-shadow: 0 4px 22px rgba(16,60,38,0.08) !important; }

.section-tag { background: var(--amber-soft); color: var(--espresso); border: 1px solid rgba(30,158,87,0.24); }
.accent { color: var(--amber); }

/* ══════════ GREEN CTA BUTTONS ══════════
   Override the inherited amber base: white text (not black) and green
   shadow / focus-outline / border (not the yellow shade). */
.btn-primary { color: #fff !important; box-shadow: 0 10px 26px rgba(30,158,87,0.34); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(30,158,87,0.48); }
.btn-primary:active { box-shadow: 0 6px 16px rgba(30,158,87,0.34); }
.btn-primary:focus-visible { outline: 3px solid rgba(30,158,87,0.55); }

.nav-cta { color: #fff !important; box-shadow: 0 4px 14px rgba(30,158,87,0.32); }
.nav-cta:hover { box-shadow: 0 12px 28px rgba(30,158,87,0.48); }
.nav-cta:focus-visible { outline: 3px solid rgba(30,158,87,0.55); }

.mobile-menu .nav-cta {
  color: #fff !important;
  background: var(--gradient-cta);
  box-shadow: 0 10px 24px rgba(30,158,87,0.38), 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.5);
}
.mobile-menu .nav-cta:hover { box-shadow: 0 14px 30px rgba(30,158,87,0.52); }

/* White "View Live Demo" outline button — green arrow chip stays legible */
.btn-outline:hover::after { color: #fff; }

/* FAQ open item — green border (base uses a yellow amber border) */
.faq-item[open] { border-color: rgba(30,158,87,0.45); }

.tr-section { padding: 68px 0; position: relative; }
.tr-section-alt { background: #FFFFFF; }

/* .faq-section / .cta-middle live in the shared taxi base stylesheet, which the
   taxi LP also uses — tightened here rather than at the source so this page's
   rhythm matches .tr-section without touching the other landing page. */
.faq-section { padding: 64px 0; }
.cta-middle { padding: 40px 0; }
.tr-intro { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.tr-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; color: var(--text-dark); line-height: 1.16; margin: 16px 0 14px; }
.tr-intro p { color: var(--text-mid); font-size: 1.08rem; line-height: 1.75; }

/* ══════════ SCROLL-REVEAL HELPERS (GSAP-driven) ══════════ */
.has-anim .gs-reveal { opacity: 0; transform: translateY(34px); }
.has-anim .gs-fade { opacity: 0; }
.has-anim .gs-scale { opacity: 0; transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
  .has-anim .gs-reveal, .has-anim .gs-fade, .has-anim .gs-scale { opacity: 1 !important; transform: none !important; }
}

/* ══════════ STAR RATING ══════════ */
.tr-stars { display: inline-flex; align-items: center; gap: 2px; }
.tr-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.tr-rating-inline { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); }
.tr-rating-inline span { color: var(--text-mid); font-size: 0.95rem; font-weight: 500; }

/* ══════════ 1. HERO ══════════ */
/* Top padding clears the fixed header — only the bottom gap is tightened. */
.tr-hero { position: relative; padding: 152px 0 64px; overflow: hidden;
  background: radial-gradient(1100px 540px at 84% -6%, rgba(30,158,87,0.16), transparent 60%),
              radial-gradient(760px 440px at -4% 110%, rgba(20,96,58,0.10), transparent 60%), var(--cream); }
.tr-hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.tr-hero-badge { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; color: var(--espresso); box-shadow: var(--shadow-card); margin-bottom: 22px; }
.tr-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(30,158,87,0.18); }
.tr-hero h1 { font-size: clamp(2.3rem, 4.9vw, 4rem); font-weight: 700; line-height: 1.06; color: var(--text-dark); margin-bottom: 20px; }
.tr-hero h1 .line { display: block; overflow: hidden; }
.tr-hero h1 .accent { color: var(--amber); position: relative; }
.tr-hero p { font-size: 1.13rem; color: var(--text-mid); line-height: 1.75; max-width: 560px; margin-bottom: 22px; }
.tr-hero-rating { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.tr-hero-rating .div { width: 1px; height: 22px; background: var(--border); }
.tr-hero-rating .who { font-size: 0.92rem; color: var(--text-mid); }
.tr-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }

/* Hero entrance is pure CSS (runs on load) so it never waits on the now
   lazy-loaded GSAP — keeps the LCP hero image painting immediately. */
.tr-hero-content > * { animation: trHeroUp .7s cubic-bezier(.16,1,.3,1) both; }
.tr-hero-content > *:nth-child(1) { animation-delay: .04s; }
.tr-hero-content > *:nth-child(2) { animation-delay: .10s; }
.tr-hero-content > *:nth-child(3) { animation-delay: .16s; }
.tr-hero-content > *:nth-child(4) { animation-delay: .22s; }
.tr-hero-content > *:nth-child(5) { animation-delay: .28s; }
@keyframes trHeroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tr-hero-content > * { animation: none; } }

/* The hero carries a single CTA, so on phones let it run the full width of
   the column rather than sitting as a short tab against a wide empty row. */
@media (max-width: 600px) {
  .tr-hero-btns { flex-wrap: nowrap; gap: 12px; }
  .tr-hero-btns > .btn-primary { flex: 1 1 0; min-width: 0; justify-content: center; padding-left: 14px; padding-right: 14px; }
}

.tr-hero-visual { position: relative; will-change: transform; }
.tr-hero-visual > img { width: 100%; max-width:100%; height:auto; }
.tr-hero-blob { position: absolute;  animation: trMorph 12s ease-in-out infinite; }
@keyframes trMorph { 0%,100% { border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%; } 50% { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; } }
.tr-hero-chip { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 12px; will-change: transform; }
.tr-hero-chip .ic { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: var(--amber-soft); color: var(--espresso); display: flex; align-items: center; justify-content: center; }
.tr-hero-chip .ic svg { width: 22px; height: 22px; fill: currentColor; }
.tr-hero-chip small { display: block; font-size: 0.72rem; color: var(--text-light); font-weight: 600; }
.tr-hero-chip strong { font-size: 0.92rem; color: var(--text-dark); font-weight: 700; }
.tr-hero-chip.c1 { top: 10%; left: -6%; }
.tr-hero-chip.c2 { bottom: 9%; right: -5%; }

/* ── Laptops (≈900–1600px wide) ──
   At 4rem the H1 wrapped onto four lines which, on top of the 152px header
   clearance, pushed the hero ~840px tall — taller than a 13–15" laptop
   viewport, so the CTAs fell below the fold. Tighten the type scale and the
   vertical rhythm here only; ≥1600px desktops keep the original poster scale.
   min-width:901px so this never collides with the ≤900px stacked layout. */
@media (min-width: 901px) and (max-width: 1600px) {
  .tr-hero { padding: 116px 0 44px; }
  .tr-hero .container { gap: 44px; }
  .tr-hero-badge { margin-bottom: 16px; padding: 7px 15px; }
  .tr-hero h1 { font-size: clamp(2.2rem, 3.55vw, 3.35rem); line-height: 1.09; margin-bottom: 15px; }
  .tr-hero p { font-size: 1.04rem; line-height: 1.65; max-width: 545px; margin-bottom: 18px; }
  .tr-hero-rating { gap: 12px; margin-bottom: 20px; }
  .tr-hero-btns { margin-bottom: 0; }
  .tr-hero-visual { max-width: 560px; margin-left: auto; }
}

/* Short laptop viewports (1080p at 125–150% scaling, or any window under
   ~860px tall): trim once more so badge → CTA still clears the fold. At this
   scale the H1 also settles onto three lines instead of four. No upper width
   bound — a wide-but-short desktop window needs the same treatment. */
@media (min-width: 901px) and (max-height: 860px) {
  .tr-hero { padding: 104px 0 34px; }
  .tr-hero .container { gap: 38px; }
  .tr-hero-badge { margin-bottom: 13px; }
  .tr-hero h1 { font-size: clamp(2.05rem, 3.2vw, 3rem); margin-bottom: 12px; }
  .tr-hero p { font-size: 1rem; line-height: 1.6; margin-bottom: 15px; }
  .tr-hero-rating { margin-bottom: 16px; }
  .tr-hero-visual { max-width: 500px; }
}

/* ══════════ 2. SERVICE MARQUEE (unique, infinite) ══════════ */
.tr-marquee-wrap { padding: 34px 0 8px; background: var(--gradient-espresso); overflow: hidden; }
.tr-marquee-head { text-align: center; color: #fff; margin-bottom: 26px; }
.tr-marquee-head span { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7BE3AB; }
.tr-marquee { display: flex; gap: 12px; width: -webkit-max-content; width: max-content; will-change: transform; }
.tr-marquee.row1 { animation: trScrollL 38s linear infinite; }
.tr-marquee.row2 { animation: trScrollR 34s linear infinite; margin-top: 16px; margin-bottom: 30px; }
.tr-marquee-wrap:hover .tr-marquee { animation-play-state: paused; }
@keyframes trScrollL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes trScrollR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .tr-marquee { animation: none !important; } }
.tr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 100px; color: #fff; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.tr-pill:hover { background: rgba(30,158,87,0.30); transform: translateY(-2px); }
.tr-pill .pic { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tr-pill .pic img { width: 18px; height: 18px; object-fit: contain; }
.tr-pill strong { font-family: 'Lexend', sans-serif; font-weight: 500; font-size: 0.88rem; }

/* ══════════ 3. BENTO FEATURE GRID (unique layout) ══════════ */
/* Rows must be minmax(_, auto), not a fixed height: the cards are overflow:hidden
   (to clip .tr-bento-glow), so a fixed row silently cut the last line off every
   .wide/.reg card. 168px stays the floor so short cards keep the grid rhythm. */
.tr-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(168px, auto); gap: 20px; }
.tr-bento-item { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; display: flex; flex-direction: column; }
.tr-bento-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.tr-bento-item .tr-feat-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px; background: var(--amber-soft); color: var(--espresso); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tr-bento-item .tr-feat-ic svg { width: 27px; height: 27px; fill: currentColor; }
.tr-bento-item h4 { font-size: 1.18rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.tr-bento-item p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.6; }
/* sizes */
.tr-bento-item.big { grid-column: span 3; grid-row: span 2; background: var(--gradient-espresso); border: none; color: #fff; justify-content: flex-end; }
.tr-bento-item.big .tr-feat-ic { background: rgba(30,158,87,0.24); color: #7BE3AB; }
.tr-bento-item.big h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.18; margin-bottom: 10px; }
.tr-bento-item.big p { color: rgba(255,255,255,0.74); font-size: 1.02rem; }
.tr-bento-item.big .tag { display: inline-flex; align-self: flex-start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7BE3AB; background: rgba(30,158,87,0.18); padding: 5px 12px; border-radius: 100px; margin-bottom: auto; }
.tr-bento-item.wide { grid-column: span 3; }
.tr-bento-item.reg { grid-column: span 2; }
.tr-bento-glow { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(30,158,87,0.22), transparent 70%); top: -40px; right: -40px; pointer-events: none; }

/* ══════════ 4. PINNED HORIZONTAL "HOW IT WORKS" ══════════ */
.tr-flow { background: var(--amber-tint); overflow: hidden; }
.tr-flow-head { text-align: center; padding: 62px 0 28px; }
.tr-flow-viewport { position: relative; }
.tr-flow-track { display: flex; gap: 30px; padding: 10px 40px 62px; }
.tr-flow-card { position: relative; flex: 0 0 auto; width: 440px; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 44px 38px; box-shadow: var(--shadow-card); }
.tr-flow-num { font-family: 'Lexend', sans-serif; font-size: 3.4rem; font-weight: 800; line-height: 1; background: var(--gradient-cta); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; margin-bottom: 18px; }
.tr-flow-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--amber-soft); color: var(--espresso); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tr-flow-ic svg { width: 30px; height: 30px; fill: currentColor; }
.tr-flow-card h4 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.tr-flow-card p { font-size: 1.02rem; color: var(--text-mid); line-height: 1.65; }
.tr-flow-progress { height: 4px; background: var(--border); border-radius: 100px; margin: 0 40px 60px; overflow: hidden; }
.tr-flow-progress i { display: block; height: 100%; width: 25%; background: var(--gradient-cta); border-radius: 100px; }
/* mobile: plain vertical stack */
.tr-flow-track.stacked { flex-direction: column; align-items: center; padding-bottom: 48px; }
.tr-flow-track.stacked .tr-flow-card { width: 100%; max-width: 460px; }

/* ══════════ 5. APP SHOWCASE ══════════ */
.tr-app { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tr-app + .tr-app { margin-top: 62px; }
.tr-app.flip .tr-app-media { order: 2; }
.tr-app-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--espresso); background: var(--amber-soft); padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.tr-app-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 14px; }
.tr-app-body > p { color: var(--text-mid); font-size: 1.06rem; line-height: 1.72; margin-bottom: 24px; }
.tr-app-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 28px; }
.tr-app-list li { position: relative; padding-left: 30px; font-size: 0.98rem; color: var(--text-dark); font-weight: 500; }
.tr-app-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23167A43'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/13px no-repeat; }
.tr-app-media { position: relative; }
/* .tr-app-frame { position: relative; border-radius:16px; padding:16px; background: linear-gradient(150deg, var(--amber-soft), #fff); border: 1px solid var(--border); overflow: hidden; text-align:center;} */
.tr-app-frame.dark1 { background: var(--gradient-espresso); border: none; }
.tr-app-frame img { width: 100%; position: relative; will-change: transform; max-width: 320px; margin: 0 auto; display: block; }

/* ══════════ 6. STATS COUNTERS ══════════ */
.tr-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; background: var(--gradient-cta); border-radius: 28px; padding: 52px 40px; text-align: center; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.tr-counters::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% -30%, rgba(255,255,255,0.22), transparent 70%); }
.tr-counter { position: relative; }
.tr-counter strong { display: block; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 700; color: #fff; font-family: 'Lexend', sans-serif; line-height: 1; }
.tr-counter span { color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.98rem; }


/* ══════════ 8. ADMIN BAND ══════════ */
.tr-admin { background: var(--gradient-espresso); color: #fff; border-radius: 32px; overflow: hidden; }
.tr-admin-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding: 64px; }
.tr-admin .section-tag { background: rgba(30,158,87,0.22); color: #9BEBC0; border-color: rgba(30,158,87,0.42); }
.tr-admin h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.18; margin: 16px 0 14px; }
.tr-admin > .tr-admin-inner > div > p { color: rgba(255,255,255,0.74); font-size: 1.05rem; line-height: 1.72; margin-bottom: 26px; }
.tr-admin-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tr-admin-feat { display: flex; gap: 14px; }
.tr-admin-feat .ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: rgba(30,158,87,0.20); color: #9BEBC0; display: flex; align-items: center; justify-content: center; }
.tr-admin-feat .ic svg { width: 24px; height: 24px; fill: currentColor; }
.tr-admin-feat h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 3px; }
.tr-admin-feat p { font-size: 0.88rem; color: rgba(255,255,255,0.68); line-height: 1.55; }
.tr-admin-media img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.42); }

/* ══════════ 9. GUARANTEES ══════════ */
.tr-guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tr-guard { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 26px; text-align: center; box-shadow: var(--shadow-card); }
.tr-guard-ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: var(--amber-soft); color: var(--espresso); display: flex; align-items: center; justify-content: center; }
.tr-guard-ic svg { width: 34px; height: 34px; fill: currentColor; }
.tr-guard h3 { font-size: 1.12rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.tr-guard p { font-size: 0.94rem; color: var(--text-mid); line-height: 1.6; }

/* ══════════ 10. PARTNER CTA ══════════ */
.tr-partner-card { position: relative; background: radial-gradient(560px 320px at 50% -6%, rgba(30,158,87,0.30), transparent 62%), var(--gradient-espresso); border-radius: 32px; padding: 66px 60px; overflow: hidden; text-align: center; color: #fff; }
.tr-partner-card::before, .tr-partner-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(30,158,87,0.24); filter: blur(2px); will-change: transform; }
.tr-partner-card::before { width: 320px; height: 320px; top: -140px; right: -80px; animation: trBlobA 11s ease-in-out infinite; }
.tr-partner-card::after { width: 260px; height: 260px; bottom: -140px; left: -60px; animation: trBlobB 13s ease-in-out infinite; }
@keyframes trBlobA { 0%,100% { transform: translate(0,0) scale(1); opacity: .9; } 50% { transform: translate(-38px,28px) scale(1.16); opacity: 1; } }
@keyframes trBlobB { 0%,100% { transform: translate(0,0) scale(1); opacity: .8; } 50% { transform: translate(34px,-26px) scale(1.13); opacity: 1; } }
.tr-partner-card > * { position: relative; z-index: 1; }
.tr-partner-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 14px; max-width: 760px; margin-left: auto; margin-right: auto; color: #fff; }
.tr-partner-card p { color: rgba(255,255,255,0.80); font-size: 1.08rem; line-height: 1.7; max-width: 600px; margin: 0 auto 30px; }
.tr-partner-card .btn-primary { animation: trBtnGlow 2.8s ease-in-out infinite; }
@keyframes trBtnGlow { 0%,100% { box-shadow: 0 10px 26px rgba(30,158,87,0.34); } 50% { box-shadow: 0 12px 34px rgba(30,158,87,0.60), 0 0 0 6px rgba(30,158,87,0.14); } }
/* Entrance stagger targets (revealed by GSAP; visible without JS) */
.has-anim .tr-partner-card .tr-pin { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .tr-partner-card::before, .tr-partner-card::after, .tr-partner-card .btn-primary { animation: none; }
  .has-anim .tr-partner-card .tr-pin { opacity: 1 !important; transform: none !important; }
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1100px) {
  .tr-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(172px, auto); }
  .tr-bento-item.big { grid-column: span 2; grid-row: span 2; }
  .tr-bento-item.wide, .tr-bento-item.reg { grid-column: span 2; }
  .tr-guards { grid-template-columns: repeat(2, 1fr); }
  .tr-counters { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 900px) {
  .tr-hero .container { grid-template-columns: 1fr; gap: 44px; }
  .tr-hero-visual { max-width: 520px; margin: 0 auto; }
  .tr-app, .tr-admin-inner { grid-template-columns: 1fr; gap: 34px; }
  .tr-app.flip .tr-app-media { order: 0; }
  .tr-admin-inner { padding: 44px 30px; }
}

/* "How It Works" stacks vertically below 900px, where the pinned horizontal
   scroll is not used. This must be pure CSS, NOT the .stacked class that
   tr-motion.js adds: that script is lazy-loaded on first interaction (on a
   phone the first interaction IS the scroll) and bails out entirely under
   prefers-reduced-motion or if the GSAP CDN fails — leaving the track laid
   out sideways with cards 3-4 off-screen. Breakpoint mirrors buildFlow()'s
   `innerWidth < 900` so the two never disagree at exactly 900px. */
@media (max-width: 899.98px) {
  .tr-flow-track { flex-direction: column; align-items: center; padding-bottom: 48px; }
  .tr-flow-card { width: 100%; max-width: 460px; }
  /* Progress bar is driven by the pin's onUpdate, which never runs here. */
  .tr-flow-progress { display: none; }
}

@media (max-width: 680px) {
  .tr-section { padding: 46px 0; }
  .tr-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tr-bento-item, .tr-bento-item.big, .tr-bento-item.wide, .tr-bento-item.reg { grid-column: 1 / -1; grid-row: auto; min-height: 168px; }
  .tr-guards, .tr-counters, .tr-app-list, .tr-admin-feats { grid-template-columns: 1fr; }
  .tr-counters { padding: 38px 24px; gap: 30px; }
  .tr-partner-card { padding: 46px 24px; }
  .tr-hero { padding: 90px 0 16px; }
  .tr-hero-chip { display: none; }
  .tr-flow-head { padding: 46px 0 22px; }
  .tr-flow-track { padding: 6px 20px 42px; }
  .tr-hero-visual{
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   LAPTOP SCREENS ONLY — short desktop viewports (≈1366×768 / 1536×864)
   Scoped by viewport HEIGHT, so 1080p+ and any tall monitor is
   completely unaffected. Light trim only.
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) and (max-height: 820px) {
  /* Full-screen hero — header is fixed and overlays the hero, so 100vh here
     makes header + hero exactly one laptop screen. */
  .tr-hero {
    padding: 98px 0 26px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .tr-hero .container { gap: 44px; }
  .tr-hero-badge { margin-bottom: 16px; }
  .tr-hero-rating { margin-bottom: 18px; }
  .tr-hero-btns { margin-bottom: 16px; }
}
/* ── intl-tel-input country dropdown ────────────────────────────────────────
   The list is rendered with `dropdownContainer: document.body`, so it lives
   OUTSIDE the lead modal's stacking context. The library's own z-index is
   1060, which is *below* .lead-modal-overlay (z-index 9999) — the list opened
   but was painted behind the popup, which reads as "the country list does not
   open at all". Being on <body> it also inherits the page's text colour, so
   the colours are pinned here instead of trusting whatever theme is around it. */
html .iti--container { z-index: 10050; }
html .iti__country-list,
html .iti__dropdown-content { background: #FFFFFF; color: #1A1A1A; }
html .iti__country { color: #1A1A1A; }
html .iti__country-name { color: #1A1A1A; }
html .iti__dial-code { color: #6B6B6B; }
html .iti__country.iti__highlight,
html .iti__country:hover { background: #F1F1F1; }
html .iti__search-input { color: #1A1A1A; background: #FFFFFF; }
