/* ==========================================================================
   RSPay — brand overlay  |  css/brand.css  (loaded LAST)
   Palette taken from the logo: primary #0F6BA8 · secondary #C98A00 · ground #F7F9FB
   ========================================================================== */
:root {
  --b-primary: #0F6BA8; --b-primary-hi: #3AA0E3; --b-primary-lo: #083C5E;
  --b-secondary: #C98A00; --b-secondary-hi: #FFB107; --b-ground: #F7F9FB;
  --b-primary-rgb: 15, 107, 168; --b-secondary-rgb: 201, 138, 0;
  --zt-metal-text: linear-gradient(100deg, #0F6BA8 0%, #083C5E 100%);
  --b-ink: #0F181F; --b-ink-60: rgba(15, 24, 31, 0.65); --b-surface: #FFFFFF; --b-surface-solid: #FFFFFF; --zt-gold-hi: #083C5E; --b-line: rgba(15, 24, 31, 0.13); --b-panel: rgba(255, 255, 255, 0.72);
  --zt-hairline: linear-gradient(90deg, transparent, rgba(15, 107, 168, 0.55) 20%, #0F6BA8 50%, rgba(201, 138, 0, 0.6) 80%, transparent);
}
[hidden] { display: none !important; }
/* comparison tables (device-management pages) */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--b-line); border-radius: 16px; background: var(--b-surface); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.cmp-table th, .cmp-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--b-line); }
.cmp-table thead th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-primary); background: rgba(var(--b-primary-rgb), 0.08); }
.cmp-table tbody th { font-weight: 700; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

:root { --m-line: var(--b-line); --m-surface: var(--b-surface-solid); --m-acc: var(--b-primary); --m-acc-rgb: var(--b-primary-rgb); --m-ink: var(--b-ink); }
/* ---- phone clips, how-it-works phone, service thumbnails, use-case cards ---- */
.ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ph-card { margin: 0; }
.ph-frame { aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; border: 1px solid var(--m-line); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
.ph-frame video, .ph-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0.25rem 0; }
.ph-card figcaption b { color: var(--m-ink); font-size: 1rem; }
.ph-card figcaption span { color: var(--clr-text-muted); font-size: 0.88rem; }
.ph-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ph-use { display: flex; flex-direction: column; border: 1px solid var(--m-line); border-radius: 22px; overflow: hidden; background: var(--m-surface); text-decoration: none; color: inherit; transition: transform .25s, border-color .25s; }
.ph-use:hover { transform: translateY(-4px); border-color: var(--m-acc); }
.ph-use-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.ph-use-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-use-tag { position: absolute; left: 0.9rem; top: 0.9rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--m-surface); border: 1px solid var(--m-acc); color: var(--m-acc); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ph-use-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ph-use-body h3 { color: var(--m-ink); font-size: 1.15rem; }
.ph-use-body p { color: var(--clr-text-muted); font-size: 0.93rem; }
.ph-use-link { color: var(--m-acc); font-weight: 700; font-size: 0.9rem; margin-top: 0.25rem; }
.service-card-media { margin: 0 0 1rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--m-line); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 980px; margin: 0 auto; }
.hiw-phone { position: relative; aspect-ratio: 9 / 16; max-height: 600px; margin-inline: auto; width: 100%; }
.hiw-phone::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--m-acc-rgb), 0.28), transparent 70%); filter: blur(24px); }
.hiw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(8px) scale(0.985); transition: opacity .45s, transform .45s; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.35)); }
.hiw-img.is-on { opacity: 1; transform: none; }
.hiw-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
.hiw-step { width: 100%; display: flex; gap: 1rem; align-items: flex-start; text-align: left; padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--m-line); background: var(--m-surface); color: inherit; cursor: pointer; font: inherit; transition: border-color .25s, background .25s, transform .25s; }
.hiw-step:hover { transform: translateX(3px); }
.hiw-step.is-on { border-color: var(--m-acc); background: rgba(var(--m-acc-rgb), 0.1); }
.hiw-step .step-badge { flex: 0 0 auto; margin: 0; }
.hiw-step b { display: block; color: var(--m-ink); font-size: 1.02rem; }
.hiw-step small { display: block; color: var(--clr-text-muted); font-size: 0.9rem; margin-top: 0.15rem; line-height: 1.45; }
@media (max-width: 1024px) { .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-use-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .hiw { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .hiw-phone { max-width: 190px; }
  .hiw-steps { flex-direction: row; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--container-px, 1rem) * -1); padding: 0.25rem var(--container-px, 1rem) 0.5rem; scroll-padding-inline: var(--container-px, 1rem); }
  .hiw-steps::-webkit-scrollbar { display: none; }
  .hiw-steps > li { flex: 0 0 min(78%, 280px); scroll-snap-align: center; display: flex; }
  .hiw-step { padding: 0.9rem 1rem; border-radius: 16px; min-height: 100%; }
  .hiw-step:hover { transform: none; }
  .hiw-step small { font-size: 0.86rem; }
}
@media (max-width: 640px) { .ph-grid { gap: 0.85rem; } .ph-use-grid { grid-template-columns: 1fr; } .ph-frame { border-radius: 18px; } }

/* inner-page hero alignment (text, buttons and trust chips share one centre line) */
.page-hero-content.text-center { margin-inline: auto; text-align: center; max-width: 760px; }
.page-hero-content.text-center .page-hero-actions, .page-hero-actions.center-actions { justify-content: center; }
.hero-trust-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.7rem 1.6rem; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0.9rem 1.5rem; border-radius: 24px; }
.hero-trust-bar .trust-divider { display: none; }
.btn { white-space: nowrap; }
.btn svg { flex-shrink: 0; }

html { background: #F7F9FB; }
body { background-color: #F7F9FB; }
::selection { background: rgba(15, 107, 168, 0.35); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #F7F9FB; }
::-webkit-scrollbar-thumb { background: linear-gradient(#0F6BA8, #C98A00); border-radius: 8px; border: 2px solid #F7F9FB; }

/* generated hero film (brand-coloured) */

.hero--video-bg { background-color: #F7F9FB !important; }
.zt-hero .brand-single-video.mode-hero { mix-blend-mode: normal; opacity: 0.95; filter: saturate(1.05); -webkit-mask-image: none; mask-image: none; }
.zt-hero .hero-video-overlay { background: linear-gradient(180deg, rgba(247, 249, 251, 0.55) 0%, transparent 22%, transparent 70%, #F7F9FB 100%) !important; }
.zt-hero-glow { opacity: 0.6; }
.nav-hotline-btn { color: var(--b-primary) !important; }

.zt-hero-grid { background-image: linear-gradient(rgba(var(--b-primary-rgb), 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--b-primary-rgb), 0.05) 1px, transparent 1px) !important; }
.zt-story-smoke { filter: saturate(1.1) brightness(0.95); }
.zt-hero-glow { background: radial-gradient(60% 55% at 50% 38%, rgba(15, 107, 168, 0.22), transparent 70%), radial-gradient(40% 40% at 85% 75%, rgba(201, 138, 0, 0.16), transparent 70%) !important; }

/* secondary accent on secondary buttons / pills */
.btn-outline-hero:hover, .btn-ghost-white:hover { border-color: #C98A00; }
.testimonial-avatar { background: linear-gradient(135deg, #0F6BA8, #C98A00) !important; color: #fff !important; }

/* logo handling: 1399x1393 (1.00:1) badge */
.nav-brand.l101-brand .nav-brand-logo.l101-brand-badge { height: 46px; width: auto; max-width: 120px; object-fit: contain; }


.l101-hero-badge { width: auto; }
.l101-hero-badge img { height: 128px; width: auto; max-width: 220px; object-fit: contain; }
.zt-emblem-mark, .l101-loader-logo { object-fit: contain; }
@media (max-width: 640px) { .l101-hero-badge img { height: 96px; max-width: 220px; } }


.dropdown-item:hover .dropdown-item-icon, .service-card:hover .service-card-icon, .stepper-dot.is-active, .feature-tab-btn.is-active, .feature-tabs-nav .feature-tab-btn.active, .step-badge { color: #FFFFFF !important; }
/* ---- layout variant: hero=slant nav=bar card=glass order=2 head=center bg=clean btn=glow hl=solid ---- */
#main-content { display: flex; flex-direction: column; }
#hero { order: 0; }
#cta { order: 99; }
#services { order: 2; }
#advanced-features { order: 3; }
.trust-section { order: 4; }
#how-it-works { order: 6; }
#problem-solution { order: 8; }
#video-story { order: 10; }
#testimonials { order: 12; }
#why-brand { order: 14; }

.zt-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); padding-bottom: 72px; margin-bottom: -1px; }
@media (max-width: 700px) { .zt-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 40px; } }

.btn, .btn-primary, .btn-outline, .btn-lg, .btn-sm, .playstore-badge { border-radius: 999px !important; }
.service-card, .l101-ps-card, .testimonial-card, .why-item, .workflow-step, .faq-item, .glass-card, .zt-hero-status { border-radius: 28px !important; border: 1px solid transparent !important; background: linear-gradient(var(--b-surface-solid), var(--b-surface-solid)) padding-box, linear-gradient(135deg, var(--b-primary), var(--b-secondary)) border-box !important; box-shadow: 0 24px 60px -30px rgba(var(--b-primary-rgb), 0.5) !important; }
.btn-primary { box-shadow: 0 0 0 4px rgba(var(--b-primary-rgb), 0.18), 0 12px 32px -8px rgba(var(--b-primary-rgb), 0.65) !important; }
.hero-title .highlight, .section-title span, .page-hero-title .highlight, .page-hero-title span, .text-gradient { background: none !important; -webkit-text-fill-color: var(--b-primary) !important; color: var(--b-primary) !important; animation: none !important; filter: none !important; }


/* navbar fit (see js/main.js) */
.navbar.nav-tight .nav-hotline-btn { display: none !important; }
.navbar.nav-tighter .l101-brand-text { display: none; }
.navbar.nav-tighter .nav-link { padding-inline: 0.5rem; }
.site-header .nav-actions { flex-shrink: 0; }

/* no street address: the map column is hidden, so centre the contact column */
.no-address .contact-main-grid { grid-template-columns: minmax(0, 760px) !important; justify-content: center; }
