/* Homepage — mirrors uat.trackon.in layout. Shared tokens/components live in site.css */

/* ---------- Hero (HDFC-style: photo banner, headline + white buttons, finder card, overlapping track bar) ---------- */
.hhero { position: relative; min-height: calc(100vh - 120px); display: flex; align-items: center; overflow: hidden; background: #4A0C0E; color: #fff; padding: 56px 0 140px; }
.hhero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hhero .slide.on { opacity: 1; }
.hhero .slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hhero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(74, 12, 14, .94) 0%, rgba(74, 12, 14, .82) 30%, rgba(74, 12, 14, .35) 58%, rgba(74, 12, 14, .1) 100%); }
.hhero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: center; }
.hhero-copy { display: grid; min-width: 0; }
.hcopy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.hcopy.on { opacity: 1; visibility: visible; transform: none; }
.htitle { font-family: var(--h); font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; line-height: 1.12; color: #fff; margin: 0 0 18px; max-width: 620px; letter-spacing: -.01em; }
.hsub { font-size: 18px; line-height: 1.55; color: #F3E3E3; max-width: 470px; margin: 0; }
.hbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hbtn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 6px; border: 0; background: #fff; color: var(--red); font-family: var(--h); font-weight: 600; font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); transition: background .15s, color .15s; }
.hbtn span { color: var(--orange); font-size: 22px; line-height: 1; transition: transform .15s; }
.hbtn:hover { background: #FFF4EC; color: var(--red); }
.hbtn:hover span { transform: translateX(3px); }
.hhero .dots { position: absolute; z-index: 3; left: 50%; bottom: 160px; transform: translateX(-50%); display: flex; gap: 8px; }
.hhero .dots button { width: 8px; height: 8px; border-radius: 100px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.hhero .dots button.on { width: 28px; background: #fff; }
.bg-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 56.25vw; min-height: calc(100vh - 120px); min-width: 177.77vh; pointer-events: none; object-fit: cover; }

/* finder card */
.finder { background: #fff; color: var(--ink); border-radius: 10px; padding: 22px 22px 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.f-radios { display: flex; gap: 22px; margin-bottom: 16px; }
.f-radios label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--h); font-weight: 600; font-size: 16px; color: var(--muted); cursor: pointer; }
.f-radios input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.f-radios label:has(input:checked) { color: var(--red); }
.f-box { background: #F6F2F1; border-radius: 8px; padding: 12px; display: grid; gap: 10px; }
.f-box select { height: 50px; width: 100%; border: 1px solid #E3DCD8; border-radius: 6px; padding: 0 40px 0 16px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; }
.f-box select:focus { border-color: var(--red); }
.f-box select:disabled { color: #9A928D; cursor: not-allowed; background-color: #FBF9F8; }
.f-err { margin: 0; font-size: 13px; color: #D93025; }
.f-err:empty { display: none; }
.f-acts { display: flex; align-items: center; gap: 22px; padding-top: 6px; border-top: 1px solid #E6DEDA; margin-top: 2px; }
.f-quote { height: 42px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font-family: var(--h); font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 8px; }
.f-quote:hover { background: var(--red-700); }
.f-more { margin-top: 8px; font-family: var(--h); font-weight: 600; font-size: 15px; color: var(--red); }
.f-more:hover { text-decoration: underline; }

/* track bar overlapping the banner (in place of HDFC's search bar) */
.tbar-wrap { position: relative; z-index: 5; margin-top: -140px; margin-bottom: 50px; }
.tbar { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px; padding: 10px 10px 10px 22px; box-shadow: 0 10px 34px rgba(23, 23, 23, .16); border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #F3D9D9, var(--red)); background-origin: border-box; background-clip: padding-box, border-box; }
.tb-label { display: inline-flex; align-items: center; gap: 8px; color: var(--red); padding-right: 14px; border-right: 1px solid var(--line); }
.tb-label b { font-family: var(--h); font-size: 16px; }
.tb-radios { display: flex; gap: 14px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.tb-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tb-radios input { accent-color: var(--red); }
.tbar input#awb { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; font: inherit; font-size: 17px; color: var(--ink); background: transparent; padding: 0 6px; }
.tb-go { height: 52px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-family: var(--h); font-weight: 600; font-size: 16px; cursor: pointer; }
.tb-go span { font-size: 20px; margin-left: 4px; }
.tb-go:hover { background: var(--orange-600); }
.tb-branch { white-space: nowrap; font-family: var(--h); font-weight: 600; font-size: 14px; color: var(--red); padding: 0 8px; }
.tb-branch:hover { text-decoration: underline; }

/* ---------- Why choose Trackon (UAT strip) ---------- */
.why-box { padding: 10px 0 0; }
.why-box h2 { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-start; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; margin-bottom: 26px; }
.why-box h2 img { height: clamp(30px, 3.2vw, 46px); width: auto; display: inline-block; }
.why-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.why-stat { border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; text-align: left; }
.why-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.why-stat .ic { width: 46px; height: 46px; margin: 0 0 12px; border-radius: 12px; background: var(--orange-50); display: grid; place-items: center; padding: 8px; }
.why-stat .ic img { width: 100%; height: 100%; object-fit: contain; }
.why-stat b { display: block; font-family: var(--h); font-size: 20px; font-weight: 700; color: var(--ink); }
.why-stat b small { font-size: 11px; color: var(--orange); font-weight: 700; }
.why-stat .lbl { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks.two { grid-template-columns: 1fr 1fr; }
.ticks li { display: flex; align-items: center; gap: 10px; font-family: var(--h); font-size: 14px; font-weight: 600; color: var(--ink); }
.ticks .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--orange-50); border: 1px solid var(--orange-100); display: grid; place-items: center; flex-shrink: 0; }
.ticks .tick svg { stroke: var(--orange); }
.ticks.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ticks.chips li { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px 8px 8px; font-size: 13px; }

/* ---------- Our Services tabs (UAT) ---------- */
.svc-tabs { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.tabbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; background: linear-gradient(180deg, #FFF8F3, #FCFAF8); border-bottom: 1px solid var(--line); }
.tabbar button { flex: 1 1 150px; padding: 14px 18px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-family: var(--h); font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: all .2s; position: relative; }
.tabbar button:hover { border-color: var(--orange-100); }
.tabbar button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 10px 20px -8px rgba(243, 112, 33, .7); }
.tabbar button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--orange); border-bottom: 0; }
.svc-panel { display: grid; grid-template-columns: 1fr 1fr; }
.svc-panel[hidden] { display: none; }
.svc-panel .ph { position: relative; min-height: 400px; }
.svc-panel .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-panel .ph .tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 100px; background: rgba(20, 50, 50, .7); color: #fff; font-family: var(--h); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svc-panel .ph .no { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--h); font-weight: 800; font-size: 13px; }
.svc-panel .tx { padding: 44px 50px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.svc-panel h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; margin-bottom: 14px; }
.svc-panel p { color: var(--muted); font-size: 15px; }
.svc-panel .btn { margin-top: 26px; }

/* ---------- International (UAT) ---------- */
.intl { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; padding: 40px; border-radius: 20px; background: radial-gradient(circle at 0% 0%, rgba(243, 112, 33, .3), transparent 40%), linear-gradient(135deg, var(--red), var(--red-900)); box-shadow: var(--shadow-lg); color: #fff; }
.intl .tx { padding: 8px 12px; }
.intl h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin: 18px 0 14px; }
.intl p { color: #F6DCD8; margin-bottom: 26px; }
.intl .map { position: relative; border-radius: 16px; overflow: hidden; background: #160707; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.intl .map img { width: 100%; height: auto; }
.glass { position: absolute; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .22); color: #F6DCD8; font-size: 11.5px; display: flex; flex-direction: column; }
.glass b { color: #fff; font-family: var(--h); font-size: 14px; }
.glass.g1 { top: 16px; right: 16px; }
.glass.g2 { left: 16px; bottom: 16px; flex-direction: row; align-items: center; gap: 8px; color: #fff; font-weight: 600; }

/* ---------- Franchise (UAT) ---------- */
.franchise { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.franchise .map { padding: 30px; }
.franchise .map .eyebrow { color: var(--ink); font-size: 14px; }
.franchise .map .eyebrow::before { background: var(--orange); }
.mapbox { position: relative; border-radius: 6px; overflow: hidden; background: #1A0707; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; }
.mapbox > img { width: 100%; height: 100%; object-fit: cover; }
.hub { position: absolute; transform: translate(-11px, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 6px; background: rgba(255, 255, 255, .96); font-family: var(--h); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); white-space: nowrap; }
.hub.l { flex-direction: row-reverse; padding: 5px 6px 5px 10px; transform: translate(calc(-100% + 11px), -50%); }
.hub i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243, 112, 33, .3); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(243, 112, 33, 0); } }
.center-badge { position: absolute; right: 22px; bottom: 22px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .96); display: grid; place-content: center; text-align: center; font-family: var(--h); font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); box-shadow: 0 0 0 10px rgba(255, 255, 255, .15), var(--shadow-lg); }
.center-badge b { display: block; font-size: 30px; color: var(--ink); letter-spacing: 0; line-height: 1.1; }
.center-badge b span { color: var(--orange); font-size: 18px; }
.center-badge em { font-style: normal; color: var(--orange); font-size: 8px; margin-top: 3px; }
.franchise .tx { position: relative; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(160deg, #fff, #FCFAF8); }
.franchise .tx::before { content: ""; position: absolute; left: 0; top: 60px; bottom: 60px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--orange), var(--ink)); }
.franchise h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.franchise p { color: var(--muted); }
.franchise .stat-row { width: 100%; }

/* ---------- Testimonials reel (UAT) ---------- */
.reel-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 36px; }
.reel-wrap { position: relative; }
.reel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 5); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; scroll-snap-align: start; }
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease, opacity .3s; }
.reel:hover img { transform: scale(1.05); opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85)); }
.reel .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .5); color: #fff; display: grid; place-items: center; font-size: 16px; padding-left: 3px; }
.reel figcaption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.reel figcaption span { font-family: var(--h); font-size: 11px; font-weight: 700; color: #FFC49E; }
.reel blockquote { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; }
.reel-next { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 24px; cursor: pointer; z-index: 3; }
.reel-next:hover { background: var(--orange); color: #fff; }
.reel-note { margin-top: 16px; color: var(--ink-2); font-size: 16px; }

/* ---------- Business lead (UAT) ---------- */
.lead-box { display: grid; grid-template-columns: .95fr 1.05fr; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.lead-box .l { padding: 44px; background: radial-gradient(circle at 90% 100%, rgba(243, 112, 33, .14), transparent 50%), linear-gradient(160deg, #FFF6EF, #FFEEE2); }
.lead-box .l h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin: 18px 0 14px; }
.lead-box .l > p { color: var(--muted); font-size: 15px; }
.lead-box .note { display: flex; gap: 14px; align-items: center; margin: 26px 0 8px; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); }
.lead-box .note .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.lead-box .note b { font-family: var(--h); font-size: 14.5px; color: var(--ink); display: block; }
.lead-box .note small { color: var(--muted); font-size: 13px; }
.lead-box .r { padding: 44px; position: relative; }
.lead-box .step { position: absolute; top: 44px; right: 44px; font-family: var(--h); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); background: var(--orange-50); border: 1px solid var(--orange-100); padding: 5px 10px; border-radius: 100px; }
.lead-box .r h3 { font-size: 28px; font-weight: 800; max-width: 75%; }
.lead-box .r .sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.lead-box .r .eyebrow { color: var(--ink); }
.lead-box .r .eyebrow::before { background: var(--orange); }

/* ---------- FAQ + clients (UAT) ---------- */
#faq { background: #fff; }
.faq-cols.uat { gap: 12px; }
.faq-cols.uat .faq-col { gap: 12px; }
.faq-cols.uat .faq-item { background: #F8F5F2; border-color: #EEE8E2; border-radius: 6px; }
.faq-cols.uat .faq-q { font-size: 14.5px; font-weight: 400; padding: 16px 18px; }
.clients { background: #F9F9F9; padding: 40px 0; }
.marquee { 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); }
.marquee .track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; mix-blend-mode: multiply; transition: transform .2s; }
.marquee img:hover { transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) { .why-stats { grid-template-columns: repeat(3, 1fr); } .reel-track { grid-auto-columns: calc((100% - 20px) / 3); } }
@media (max-width: 960px) {
  .svc-panel, .intl, .franchise, .lead-box { grid-template-columns: 1fr; }
  .hhero { padding: 40px 0 110px; min-height: calc(100vh - 120px); }
  .hhero-in { grid-template-columns: 1fr; gap: 28px; }
  .finder { max-width: 520px; }
  .hhero-shade { background: linear-gradient(180deg, rgba(74, 12, 14, .9) 0%, rgba(74, 12, 14, .72) 55%, rgba(74, 12, 14, .88) 100%); }
  .tb-branch { display: none; }
  .svc-panel .ph { min-height: 260px; }
  .franchise .tx::before { display: none; }
}
@media (max-width: 600px) {
  .htitle { font-size: 30px; }
  .hsub { font-size: 16px; }
  .hbtn { flex: 1 1 100%; justify-content: space-between; }
  .tbar { flex-wrap: wrap; padding: 14px; gap: 10px; }
  .tb-label { border: 0; padding: 0; }
  .tbar input#awb { flex: 1 1 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; }
  .tb-go { flex: 1 1 100%; }
  .hhero .dots { bottom: 70px; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .svc-panel .tx, .lead-box .l, .lead-box .r, .franchise .tx, .franchise .map { padding: 26px 20px; }
  .intl { padding: 20px; }
  .ticks.two { grid-template-columns: 1fr; }
  .lead-box .step { position: static; display: inline-block; margin-bottom: 12px; }
  .lead-box .r h3 { max-width: none; }
  .tabbar button { flex: 1 1 40%; padding: 11px 10px; font-size: 13px; }
  .center-badge { width: 96px; height: 96px; right: 12px; bottom: 12px; } .center-badge b { font-size: 22px; }
  .hub { font-size: 10px; }
  .reel-track { grid-auto-columns: 62%; }
  .reel-next { right: 4px; }
}

/* lead form panel (Xpressbees-style) */
.lead-box .r { background: #F4F2F0; padding: 28px; }
@media (max-width: 600px) { .lead-box .r { padding: 16px; } }
