/* ================================================================
   TezzHR public website — a product of tezzsoft.com
   Palette comes from the logo: bolt blue → violet, on cool white.
   Signature: the logo's italic slant, used as slanted section edges
   and the "punch card" in the hero. Everything else stays quiet.
   ================================================================ */

:root {
  --accent:      #1b6fed;   /* bolt blue (overridable from Super Admin > Branding) */
  --accent-dark: #0d4fc4;
  --sky:         #22b4ff;
  --violet:      #7b1ff0;
  --navy:        #0b1f4b;   /* headings, footer */
  --dark:        #0b1f4b;   /* legacy name used by older templates */
  --dark2:       #142c63;
  --text:        #44516b;
  --muted:       #6b7891;
  --border:      #e3e8f2;
  --mist:        #f3f6fc;
  --bg:          #f3f6fc;
  --white:       #ffffff;
  --ok:          #12a150;
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --shadow:      0 1px 2px rgba(11,31,75,.06), 0 8px 24px rgba(11,31,75,.06);
  --shadow-lg:   0 30px 60px -20px rgba(11,31,75,.28);
  --font:        'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display:     'Sora', 'Figtree', system-ui, sans-serif;
  --bolt:        linear-gradient(115deg, var(--sky) 0%, var(--accent) 45%, var(--violet) 100%);
  --slant:       4vw;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-family: var(--font); font-size: 17px; color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid rgba(27,111,237,.45); outline-offset: 2px; border-radius: 6px; }

/* ── Layout ──────────────────────────────────────────────────── */
.web-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.web-section    { padding: 104px 0; }
.web-section-sm { padding: 64px 0; }
.web-mist       { background: var(--mist); }
.web-center     { text-align: center; }
.web-section-header { max-width: 680px; margin: 0 0 56px; }
.web-center .web-section-header, .web-section-header.web-center { margin-left: auto; margin-right: auto; }

/* ── Type ────────────────────────────────────────────────────── */
.web-eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.web-h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: var(--navy); }
.web-h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
.web-h3 { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--navy); }
.web-lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 62ch; }
.web-center .web-lead { margin-left: auto; margin-right: auto; }
.web-muted { color: var(--muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.web-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: var(--font); white-space: nowrap; }
.web-btn:active { transform: translateY(1px); }
.web-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.web-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.web-btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.web-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.web-btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.web-btn-white:hover { background: transparent; color: #fff; }
.web-btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.web-btn-ghost-white:hover { border-color: #fff; color: #fff; }
.web-btn-lg { padding: 16px 28px; font-size: 17px; }
.web-btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* ── Nav ─────────────────────────────────────────────────────── */
.web-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.web-nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px rgba(11,31,75,.05); }
.web-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.web-nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.web-nav-brand img { height: 50px; width: auto; display: block; }
.web-nav-logo-text { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
.web-nav-links { display: flex; align-items: center; gap: 4px; }
.web-nav-link { padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.web-nav-link:hover { background: var(--mist); color: var(--accent); }
.web-nav-link.active { color: var(--accent); }
.web-nav-links .web-btn { margin-left: 8px; padding: 10px 18px; font-size: 15px; }
.web-nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.web-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.web-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.web-nav-toggle.open span:nth-child(2) { opacity: 0; }
.web-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.web-hero { position: relative; padding: 72px 0 120px; overflow: hidden; background:
    radial-gradient(900px 500px at 92% 8%, rgba(123,31,240,.10), transparent 60%),
    radial-gradient(800px 500px at 70% 90%, rgba(34,180,255,.12), transparent 60%), #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.web-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.web-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 24px; box-shadow: var(--shadow); }
.web-hero-badge b { background: var(--bolt); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12.5px; }
.web-hero-title { margin-bottom: 22px; }
.web-hero-title .bolt { background: var(--bolt); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .06em; }
.web-hero-desc { font-size: 20px; color: var(--text); max-width: 34em; margin-bottom: 32px; }
.web-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.web-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--border); max-width: 600px; }
.web-hero-stat-num { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.web-hero-stat-label { font-size: 14px; color: var(--muted); }

/* the signature: an employee's punch, stamped in on load */
.punch { position: relative; max-width: 440px; margin-left: auto; }
.punch-card { position: relative; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 22px; transform: rotate(-2.5deg); }
.punch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.punch-top strong { color: var(--navy); font-size: 16px; display: block; }
.punch-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; font-size: 13px; }
.punch-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(18,161,80,.15); }
.punch-face { position: relative; height: 230px; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #dfe9ff, #eef2ff 50%, #f4ecff); display: grid; place-items: center; }
.punch-face .face { width: 120px; height: 150px; border-radius: 60px 60px 54px 54px; background: linear-gradient(180deg, #c9d8f7, #b3c6f1); position: relative; }
.punch-face .face::after { content: ""; position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%); width: 200px; height: 90px; border-radius: 100px 100px 0 0; background: linear-gradient(180deg, #b3c6f1, #a3b8eb); }
.punch-face .ring { position: absolute; inset: 22px 70px; border: 3px dashed rgba(27,111,237,.55); border-radius: 50%; animation: spin 16s linear infinite; }
.punch-face .match { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); border-radius: 12px; padding: 7px 11px; font-size: 13px; font-weight: 700; color: var(--navy); display: flex; gap: 6px; align-items: center; }
.punch-face .match i { color: var(--ok); }
.punch-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.punch-row { background: var(--mist); border-radius: 14px; padding: 11px 13px; }
.punch-row small { display: block; font-size: 12.5px; color: var(--muted); }
.punch-row b { font-family: var(--display); color: var(--navy); font-size: 17px; }
.punch-stamp { position: absolute; right: -14px; top: 118px; background: var(--bolt); color: #fff; font-family: var(--display); font-weight: 800; font-size: 19px; padding: 10px 18px; border-radius: 14px; transform: rotate(-8deg); box-shadow: 0 14px 30px -10px rgba(27,111,237,.7); animation: stamp .6s cubic-bezier(.2,1.6,.4,1) .5s both; }
.punch-chip { position: absolute; left: -36px; bottom: -64px; background: var(--navy); color: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; transform: rotate(2deg); }
.punch-chip i { font-size: 22px; color: var(--sky); }
.punch-chip small { display: block; opacity: .7; font-size: 12.5px; }
.punch-chip b { font-family: var(--display); font-size: 17px; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.2); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Compliance strip ────────────────────────────────────────── */
.web-strip { padding: 34px 0 10px; }
.web-strip-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.web-strip-label { font-weight: 700; color: var(--navy); font-size: 15px; }
.web-strip-items { display: flex; gap: 10px; flex-wrap: wrap; }
.web-strip-items span { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--navy); background: #fff; }

/* ── Trusted by: client logos (Website CMS > Client Logos) ─────── */
.clients-band { padding: 34px 0 30px; background: #fbf8f2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-title { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.clients-viewport { overflow: hidden; }
.clients-viewport.is-scrolling { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 64px; padding: 4px 24px; }
.is-scrolling .clients-track { justify-content: flex-start; flex-wrap: nowrap; width: max-content; gap: 0; padding: 4px 0;
  animation: clients-marquee calc(var(--cl-count, 8) * 3.2s) linear infinite; }
.is-scrolling .clients-track > .cl-logo, .clients-dup > .cl-logo { margin: 0 32px; }
.clients-dup { display: flex; align-items: center; }
.is-scrolling:hover .clients-track, .is-scrolling:focus-within .clients-track { animation-play-state: paused; }
.cl-logo { display: flex; align-items: center; justify-content: center; height: 64px; flex-shrink: 0; }
.cl-logo img { max-height: 56px; max-width: 170px; width: auto; object-fit: contain; transition: filter .25s, opacity .25s; }
.is-mono .cl-logo img { filter: grayscale(1); opacity: .62; }
.is-mono .cl-logo:hover img, .is-mono .cl-logo:focus-visible img { filter: none; opacity: 1; }
@keyframes clients-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .clients-band { padding: 26px 0 22px; }
  .clients-title { font-size: 12.5px; margin-bottom: 14px; padding: 0 8px; }
  .cl-logo { height: 52px; }
  .cl-logo img { max-height: 44px; max-width: 130px; }
  .is-scrolling .clients-track > .cl-logo, .clients-dup > .cl-logo { margin: 0 20px; }
}
/* no motion wanted: a wrapped, still row (the duplicate copy is hidden) */
@media (prefers-reduced-motion: reduce) {
  .is-scrolling { -webkit-mask-image: none; mask-image: none; }
  .is-scrolling .clients-track { flex-wrap: wrap; justify-content: center; width: auto; gap: 18px 0; }
  .clients-dup { display: none; }
}

/* ── Module explorer (tabs) ──────────────────────────────────── */
.mx { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.mx-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.mx-tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; transition: background .15s, border-color .15s; }
.mx-tab i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--mist); color: var(--accent); font-size: 18px; flex-shrink: 0; }
.mx-tab small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }
.mx-tab:hover { background: var(--mist); }
.mx-tab[aria-selected="true"] { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.mx-tab[aria-selected="true"] i { background: var(--bolt); color: #fff; }
.mx-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); min-height: 420px; }
.mx-panel[hidden] { display: none; }
.mx-panel h3 { margin-bottom: 10px; }
.mx-panel > p { color: var(--text); margin-bottom: 22px; max-width: 60ch; }
.mx-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 26px; }
.mx-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.mx-list li i { color: var(--accent); margin-top: 3px; }
.mx-foot { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.mx-foot a { font-weight: 700; }

/* ── Steps (a real sequence) ─────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; background: var(--bolt); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15.5px; }

/* ── App band (slanted, the logo's italic) ───────────────────── */
.app-band { position: relative; background: var(--navy); color: #c9d4ee; padding: 120px 0; clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); overflow: hidden; }
.app-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 140%; background: var(--bolt); opacity: .22; transform: skewX(-18deg); }
.app-band .web-h2 { color: #fff; }
.app-band .web-lead { color: #c9d4ee; }
.app-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.app-points { list-style: none; display: grid; gap: 14px; margin: 26px 0 32px; }
.app-points li { display: flex; gap: 12px; }
.app-points i { color: var(--sky); font-size: 19px; margin-top: 2px; }
.app-points b { color: #fff; }
.app-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { width: 270px; margin: 0 auto; background: #0a1430; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); transform: rotate(4deg); }
.phone-screen { background: #f4f6fa; border-radius: 30px; overflow: hidden; }
.phone-head { background: var(--bolt); color: #fff; padding: 22px 18px 54px; }
.phone-head small { opacity: .8; }
.phone-head b { display: block; font-family: var(--display); font-size: 20px; }
.phone-card { margin: -40px 14px 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 10px 24px rgba(11,31,75,.12); }
.phone-card .t { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--navy); }
.phone-card .b { margin-top: 10px; background: var(--accent); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 14px; }
.phone-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px 16px; }
.phone-tiles div { background: #fff; border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 11px; font-weight: 700; color: var(--navy); }
.phone-tiles i { display: block; font-size: 18px; color: var(--accent); margin-bottom: 3px; }
.phone-nav { display: flex; justify-content: space-around; background: #fff; padding: 10px 0 14px; border-top: 1px solid var(--border); font-size: 10px; color: var(--muted); }
.phone-nav span { text-align: center; } .phone-nav i { display: block; font-size: 16px; }
.phone-nav .on { color: var(--accent); font-weight: 700; }

/* ── Features page ───────────────────────────────────────────── */
.web-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.web-feature-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.web-feature-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; color: var(--accent); background: var(--mist); margin-bottom: 16px; }
.web-feature-title { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; letter-spacing: -.01em; }
.web-feature-desc { font-size: 15.5px; color: var(--text); }
.feat-group { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--border); }
.feat-group:first-child { border-top: 0; padding-top: 0; }
.feat-group-head i { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--bolt); margin-bottom: 18px; }
.feat-group-head p { margin-top: 10px; }
.feat-group-head a { display: inline-block; margin-top: 14px; font-weight: 700; }
.feat-items { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.feat-item b { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 3px; }
.feat-item span { font-size: 15.5px; }

/* ── Pricing ─────────────────────────────────────────────────── */
.web-billing-toggle { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 5px; gap: 4px; margin-top: 26px; }
.web-billing-toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.web-billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.web-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.web-plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.web-plan-card.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.web-plan-badge { position: absolute; top: -14px; left: 26px; background: var(--bolt); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.web-plan-name { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--navy); }
.web-plan-tagline { font-size: 15px; color: var(--muted); margin-top: 4px; min-height: 24px; }
.web-plan-price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 4px; }
.web-plan-amount { font-family: var(--display); font-size: 42px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.web-plan-currency { font-size: 22px; font-weight: 700; color: var(--navy); }
.web-plan-unit { font-size: 15px; color: var(--muted); }
.web-plan-limit { font-size: 14.5px; color: var(--text); margin-bottom: 20px; }
.web-plan-contact { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--navy); margin: 22px 0 4px; }
.web-plan-features { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; flex: 1; }
.web-plan-features li { display: flex; gap: 9px; font-size: 15px; }
.web-plan-features li i { color: var(--accent); margin-top: 3px; }
.web-plan-cta { width: 100%; justify-content: center; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.cmp th, .cmp td { padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { font-family: var(--display); color: var(--navy); background: var(--mist); position: sticky; top: 0; }
.cmp tr.grp td { background: #fafbfe; font-weight: 800; color: var(--navy); }
.cmp .yes { color: var(--accent); font-size: 18px; } .cmp .no { color: #c4cbd8; }

/* ── Testimonials ────────────────────────────────────────────── */
.web-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.web-testi-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.web-testi-stars { margin-bottom: 12px; }
.web-testi-text { font-size: 16px; color: var(--navy); margin-bottom: 18px; }
.web-testi-author { display: flex; gap: 12px; align-items: center; }
.web-testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 800; color: var(--accent); overflow: hidden; }
.web-testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.web-testi-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.web-testi-title { font-size: 13.5px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.web-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.web-faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.web-faq-q { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 17px; color: var(--navy); text-align: left; cursor: pointer; }
.web-faq-q i { transition: transform .2s; color: var(--accent); flex-shrink: 0; }
.web-faq-item.open .web-faq-q i { transform: rotate(45deg); }
.web-faq-a { display: none; padding: 0 22px 20px; color: var(--text); }
.web-faq-item.open .web-faq-a { display: block; }

/* ── CTA ─────────────────────────────────────────────────────── */
.web-cta-banner { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 56px; background: var(--bolt); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.web-cta-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: url('../assets/brand/tezzhr-icon.png') center/contain no-repeat; opacity: .12; filter: brightness(10); transform: rotate(-12deg); }
.web-cta-banner .web-h2 { color: #fff; }
.web-cta-banner .web-lead { color: rgba(255,255,255,.88); margin-top: 10px; }
.web-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Blog ────────────────────────────────────────────────────── */
.web-blog-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.web-chip { display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: 14.5px; color: var(--navy); background: #fff; }
.web-chip:hover { border-color: var(--accent); color: var(--accent); }
.web-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.web-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.web-blog-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: box-shadow .2s; }
.web-blog-card:hover { box-shadow: var(--shadow-lg); }
.web-blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--mist); }
.web-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.web-blog-art { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; color: #fff; background: var(--art, var(--bolt)); position: relative; overflow: hidden; }
.web-blog-art i { font-size: 46px; opacity: .95; position: relative; z-index: 1; }
.web-blog-art span { font-family: var(--display); font-weight: 800; font-size: 15px; opacity: .9; position: relative; z-index: 1; }
.web-blog-art::before { content: ""; position: absolute; right: -30px; top: -40px; width: 70%; height: 160%; background: rgba(255,255,255,.12); transform: skewX(-18deg); }
.web-blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.web-blog-cat { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.web-blog-title { font-family: var(--display); font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.web-blog-title a { color: var(--navy); }
.web-blog-title a:hover { color: var(--accent); }
.web-blog-excerpt { font-size: 15.5px; color: var(--text); margin-bottom: 16px; flex: 1; }
.web-blog-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.web-blog-meta img { width: 28px; height: 28px; border-radius: 50%; }
.web-blog-feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; margin-bottom: 40px; }
.web-blog-feature .web-blog-thumb { aspect-ratio: auto; min-height: 300px; }
.web-blog-feature .web-blog-body { padding: 36px; justify-content: center; }
.web-blog-feature .web-blog-title { font-size: 28px; }
.web-blog-single { max-width: 760px; margin: 0 auto; padding: 48px 0 40px; }
.web-blog-hero-art { aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.web-blog-content { font-size: 18px; line-height: 1.75; color: #2b3650; }
.web-blog-content h2 { font-family: var(--display); font-size: 27px; letter-spacing: -.02em; color: var(--navy); margin: 44px 0 14px; line-height: 1.25; }
.web-blog-content h3 { font-family: var(--display); font-size: 21px; color: var(--navy); margin: 32px 0 10px; }
.web-blog-content p { margin-bottom: 20px; }
.web-blog-content ul, .web-blog-content ol { margin: 0 0 22px 24px; }
.web-blog-content li { margin-bottom: 8px; }
.web-blog-content a { text-decoration: underline; text-underline-offset: 3px; }
.web-blog-content code { background: var(--mist); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.web-blog-content blockquote { border-left: 4px solid var(--accent); padding: 6px 0 6px 20px; margin: 28px 0; color: var(--navy); font-size: 19px; font-weight: 600; }
.web-blog-content table { width: 100%; border-collapse: collapse; margin: 10px 0 26px; font-size: 16px; }
.web-blog-content th, .web-blog-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.web-blog-content th { background: var(--mist); color: var(--navy); }
.web-blog-content .note { background: var(--mist); border-radius: var(--radius); padding: 18px 20px; margin: 26px 0; font-size: 16.5px; }

/* ── Help / guide ────────────────────────────────────────────── */
.guide { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.guide-nav { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.guide-search { width: 100%; padding: 11px 14px 11px 38px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7891' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") 13px center no-repeat; margin-bottom: 16px; }
.guide-nav h4 { font-size: 14px; color: var(--muted); font-weight: 700; margin: 18px 0 6px; }
.guide-nav a { display: block; padding: 7px 10px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--navy); }
.guide-nav a:hover { background: var(--mist); }
.guide-nav a.on { background: var(--mist); color: var(--accent); }
.guide-roles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.guide-body section { padding: 8px 0 44px; margin-bottom: 8px; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.guide-body section:last-child { border-bottom: 0; }
.guide-body h2 { font-family: var(--display); font-size: 30px; letter-spacing: -.02em; color: var(--navy); margin-bottom: 8px; display: flex; gap: 12px; align-items: center; }
.guide-body h2 i { width: 44px; height: 44px; border-radius: 13px; display: inline-grid; place-items: center; font-size: 20px; color: #fff; background: var(--bolt); flex-shrink: 0; }
.guide-body h3 { font-family: var(--display); font-size: 20px; color: var(--navy); margin: 28px 0 8px; scroll-margin-top: 96px; }
.guide-body p { margin-bottom: 14px; max-width: 72ch; }
.guide-body ol, .guide-body ul { margin: 0 0 16px 22px; max-width: 72ch; }
.guide-body li { margin-bottom: 7px; }
.guide-body .who { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.guide-body .who span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.guide-body .tip { background: #eef5ff; border: 1px solid #d6e6ff; border-radius: var(--radius); padding: 14px 18px; margin: 14px 0 18px; font-size: 15.5px; max-width: 72ch; }
.guide-body .tip b { color: var(--accent-dark); }
.guide-body .path { font-weight: 700; color: var(--navy); background: var(--mist); padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.guide-body table { border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; width: 100%; max-width: 760px; }
.guide-body th, .guide-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.guide-body th { background: var(--mist); color: var(--navy); }
.guide-empty { display: none; padding: 40px 0; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────── */
.web-footer { background: var(--navy); color: #9fb0d4; padding: 80px 0 32px; margin-top: 40px; }
.web-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.web-footer-logo img { height: 46px; width: auto; }
.web-footer-tagline { margin-top: 16px; font-size: 15.5px; max-width: 34ch; }
.web-footer-vendor { margin-top: 18px; font-size: 15px; }
.web-footer-vendor a { color: #fff; font-weight: 700; }
.web-footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.web-footer-socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.web-footer-socials a:hover { background: var(--accent); color: #fff; }
.web-footer-heading { color: #fff; font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.web-footer-links { list-style: none; display: grid; gap: 10px; }
.web-footer-links a { color: #9fb0d4; font-size: 15.5px; }
.web-footer-links a:hover { color: #fff; }
.web-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.web-footer-bottom a { color: #c9d4ee; }
.web-footer-bottom a:hover { color: #fff; }

/* ── Page header (inner pages) ───────────────────────────────── */
.web-page-header { padding: 72px 0 96px; background:
    radial-gradient(700px 360px at 85% 0%, rgba(123,31,240,.10), transparent 60%),
    radial-gradient(700px 360px at 10% 100%, rgba(34,180,255,.12), transparent 60%), var(--mist);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.web-page-header .web-lead { margin-top: 16px; }

/* ── About ───────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-grid p { margin-bottom: 16px; }
.about-facts { display: grid; gap: 14px; }
.about-fact { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.about-fact b { display: block; font-family: var(--display); color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.value i { font-size: 24px; color: var(--accent); }
.value b { display: block; font-family: var(--display); color: var(--navy); font-size: 18px; margin: 12px 0 6px; }
.value p { font-size: 15.5px; }

/* ── Contact & forms ─────────────────────────────────────────── */
.web-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.web-contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.web-contact-info-item:last-child { border-bottom: 0; }
.web-contact-info-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--mist); color: var(--accent); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.web-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.web-form-group { margin-bottom: 18px; }
.web-form-label { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 7px; }
.web-form-control { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; transition: border-color .15s, box-shadow .15s; }
.web-form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(27,111,237,.14); }
textarea.web-form-control { resize: vertical; min-height: 130px; }
.web-alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; }
.web-alert-err { background: #fef2f2; color: #b91c1c; }

/* ── Breadcrumb & utility ────────────────────────────────────── */
.web-breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.web-breadcrumb a { color: var(--muted); }
.web-breadcrumb a:hover { color: var(--accent); }
.web-breadcrumb i { font-size: 11px; }
.web-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.web-badge-new { display: inline-block; background: var(--bolt); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.web-divider { border: 0; border-top: 1px solid var(--border); margin: 44px 0; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .web-hero-inner, .app-grid, .about-grid, .web-contact-grid { grid-template-columns: 1fr; }
  .punch { margin: 30px auto 0; }
  .mx { grid-template-columns: 1fr; }
  .mx-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .mx-tab { flex: 0 0 auto; }
  .mx-tab small { display: none; }
  .web-features-grid, .web-testimonials-grid, .web-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .web-footer-grid { grid-template-columns: 1fr 1fr; }
  .feat-group { grid-template-columns: 1fr; gap: 24px; }
  .guide { grid-template-columns: 1fr; }
  .guide-nav { position: static; max-height: none; }
}
@media (max-width: 860px) {
  .web-nav-toggle { display: flex; }
  .web-nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(11,31,75,.08); }
  .web-nav-links.open { display: flex; }
  .web-nav-links .web-btn { margin: 8px 0 0; justify-content: center; }
  .web-section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .web-cta-banner { grid-template-columns: 1fr; padding: 44px 28px; }
  .web-blog-feature { grid-template-columns: 1fr; }
  .mx-list, .feat-items { grid-template-columns: 1fr; }
  .mx-panel { padding: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .web-container { padding: 0 16px; }
  .web-features-grid, .web-testimonials-grid, .web-blog-grid, .values, .web-footer-grid { grid-template-columns: 1fr; }
  .web-hero { padding: 40px 0 90px; }
  .punch-card { transform: none; }
  .punch-chip { left: 0; }
  .punch-stamp { right: 0; }
  .web-hero-stats { gap: 14px; }
  .web-hero-stat-num { font-size: 22px; }
  .punch-chip { position: relative; left: auto; bottom: auto; margin: 18px 0 0 auto; width: fit-content; transform: none; }
  .web-form { padding: 22px; }
}

/* ── Uploaded hero image (Website CMS) ───────────────────────── */
.hero-img img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); display: block; }

/* ── App store buttons ───────────────────────────────────────── */
.store-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 13px; border-radius: 12px; line-height: 1.15; font-weight: 700; font-size: 16px; transition: background .15s, border-color .15s; }
.store-btn i { font-size: 24px; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.store-dark .store-btn { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.store-dark .store-btn:hover { border-color: #fff; color: #fff; }
.store-light .store-btn { background: var(--navy); color: #fff; }
.store-light .store-btn:hover { background: var(--accent); color: #fff; }
.web-footer .store-btns { margin-top: 16px; }
.web-footer .store-btn { padding: 7px 13px 7px 11px; font-size: 14.5px; }
.web-footer .store-btn i { font-size: 20px; }
.contact-map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; }
.about-img img { width: 100%; display: block; }

/* ── Narrow screens: never let tables or long words widen the page ─ */
.guide > *, .guide-body, .web-blog-single, .about-grid > *, .web-contact-grid > * { min-width: 0; }
.guide-body, .web-blog-content { overflow-wrap: anywhere; }
.guide-body table, .web-blog-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-body code, .web-blog-content code { word-break: break-all; }
@media (max-width: 600px) {
  .guide-body .path { white-space: normal; }
  .guide-body table, .web-blog-content table { font-size: 14px; }
  .guide-body th, .guide-body td { padding: 8px 10px; min-width: 120px; }
  .guide-body h2 { font-size: 24px; }
  .web-blog-content { font-size: 16.5px; }
  .web-blog-content h2 { font-size: 23px; }
}
@media (max-width: 1080px) {
  /* guide contents become a compact row of chips above the text */
  .guide-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .guide-nav .guide-search { flex: 1 1 100%; margin-bottom: 6px; }
  .guide-nav h4 { display: none; }
  .guide-nav a { border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; background: #fff; }
}
