/* LightCms — Public RTL stylesheet v4 · «Charagh-Gardan» theme (Amin Emdad)
   Asphalt + concrete neutrals, one signal orange reserved for call/action.
   No gradients washes, no glass, no entrance animations. */

/* ══════════════════════════════════════════════════════════
   1. TOKENS
══════════════════════════════════════════════════════════ */
:root {
    --ink: #15171A;
    --ink-2: #1E2126;
    --ink-3: #2A2D33;
    --ink-line: #33373E;
    --concrete: #EFEDE8;
    --concrete-2: #F6F4F0;
    --paper: #FFFFFF;
    --line: #DCD8CF;
    --line-2: #E4E1DA;
    --line-3: #D3CFC5;
    --text: #15171A;
    --body: #3A3D43;
    --muted: #5A5E66;
    --on-ink: #E4E5E8;
    --muted-on-ink: #B7BAC0;
    --faint-on-ink: #8E929A;
    --signal: #FF6A13;
    --signal-hover: #F25A00;
    --signal-tint: #FFE6D6;
    --alert: #E0382B;
    --success: #1F7A45;

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --wrap: 1200px;
    --gutter: 16px;
    --header-h: 76px;

    --font: 'IRANSansX', Tahoma, sans-serif;
    --font-family: var(--font);
    --ease: cubic-bezier(.4, 0, .2, 1);

    /* Legacy aliases — keep custom page CSS written for v3 readable */
    --clr-primary: var(--ink);
    --clr-accent: var(--signal);
    --clr-dark: var(--ink);
    --clr-bg: var(--concrete);
    --clr-surface: var(--paper);
    --clr-text: var(--text);
    --clr-text-muted: var(--muted);
    --clr-border: var(--line);
    --radius: var(--r);
    --max-w: var(--wrap);
}

/* ══════════════════════════════════════════════════════════
   2. BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
    background: var(--concrete);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: var(--ink); }

.wrap, .sec-inner { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; word-spacing: .28em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; right: 16px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--signal); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.ico { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.ico--xs { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════
   3. BUTTONS & LINKS
══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 20px; border-radius: var(--r-sm);
    border: 1.5px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.3;
    text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn--call, .btn--primary { background: var(--signal); color: var(--ink); }
.btn--call:hover, .btn--primary:hover { background: var(--signal-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink .ico { color: var(--signal); }
.btn--ink:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--concrete-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-ink { border-color: #4A4F57; color: #fff; background: transparent; }
.btn--ghost-ink:hover { border-color: #fff; }
.btn--block { width: 100%; }

.link-u {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--signal); padding-bottom: 3px; color: var(--text);
}
.link-u:hover { color: #000; }

/* ══════════════════════════════════════════════════════════
   4. HEADER & NAVIGATION
══════════════════════════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--ink-3); color: #fff; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--signal); color: var(--ink); display: grid; place-items: center; }
.brand__mark .ico { width: 26px; height: 26px; stroke-width: 2; }
.brand__name { display: flex; flex-direction: column; line-height: 1.3; }
.brand__name b { font-size: 18px; font-weight: 900; }
.brand__name small { font-size: 12px; color: var(--faint-on-ink); }
.brand__logo { height: 48px; width: auto; }

.site-nav { flex-grow: 1; display: flex; justify-content: center; }
.site-nav__overlay, .site-nav__header-mobile { display: none; }
.nav-list--root { display: flex; align-items: center; gap: 4px; }
.nav-list__item { position: relative; }
.nav-list__link, .nav-list__label {
    display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-sm);
    background: transparent; color: var(--on-ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-list__link:hover, .nav-list__label:hover { color: #fff; background: var(--ink-2); }
.nav-list__item--current > .nav-list__link,
.nav-list__item--has-active > .nav-list__branch-row > .nav-list__label { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav-list__meta { display: inline-flex; align-items: center; gap: 4px; }
.nav-list__count { display: none; }
.nav-list__chevron { width: 14px; height: 14px; stroke-width: 2.2; color: var(--faint-on-ink); }
.nav-list--sub .nav-list__chevron { color: var(--muted); }

/* Desktop dropdown */
.nav-list--root > .nav-list__item > .nav-list__children {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; padding: 8px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 16px 40px rgba(21, 23, 26, .18);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-list--root > .nav-list__item:hover > .nav-list__children,
.nav-list--root > .nav-list__item:focus-within > .nav-list__children { opacity: 1; visibility: visible; transform: none; }
.nav-list--root > .nav-list__item > .nav-list__children::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-list--sub { display: flex; flex-direction: column; }
.nav-list--sub .nav-list__link, .nav-list--sub .nav-list__label { color: var(--text); font-size: 14px; border-radius: 6px; }
.nav-list--sub .nav-list__link:hover, .nav-list--sub .nav-list__label:hover { background: var(--concrete-2); color: var(--text); }
.nav-list--sub .nav-list__children { padding-right: 12px; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.live { display: flex; align-items: center; gap: 9px; color: var(--muted-on-ink); font-size: 13px; white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(224, 56, 43, .22); }
/* Header phone pair: both numbers stay in view */
.hphone {
    display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px 0 18px; border-radius: var(--r-sm);
    background: var(--signal); color: var(--ink); text-decoration: none; white-space: nowrap; border: 1.5px solid var(--signal);
    transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.hphone:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.hphone > span { display: flex; flex-direction: column; line-height: 1.25; }
.hphone small { font-size: 11px; font-weight: 500; opacity: .85; }
.hphone b { font-size: 16px; font-weight: 900; }
.hphone--alt { background: transparent; color: #fff; border-color: #4A4F57; }
.hphone--alt .ico { color: var(--signal); }
.hphone--alt:hover { background: var(--ink-2); border-color: #fff; }

.drawer-call { display: none !important; }

.site-nav__toggle {
    display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--ink-line);
    background: transparent; color: #fff; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════════════════
   5. HOME — HERO & TRIAGE
══════════════════════════════════════════════════════════ */
.hero { background: var(--ink); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; align-items: center; padding: 84px 0 96px; }
.hero__loc { display: flex; align-items: center; gap: 8px; color: var(--muted-on-ink); font-size: 15px; }
.hero__loc .ico { width: 18px; height: 18px; color: var(--signal); }
.hero__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 900; line-height: 1.3; margin: 22px 0 20px; text-wrap: balance; }
.hero__lead { color: #C9CBD0; font-size: 19px; line-height: 1.95; max-width: 580px; }
.hero__calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; max-width: 640px; }
.hero__calls--single { grid-template-columns: minmax(0, 420px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.hero__link { color: #fff; font-size: 16px; font-weight: 500; text-underline-offset: 7px; }

.bigcall { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--signal); color: var(--ink); text-decoration: none; border: 2px solid var(--signal); transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.bigcall:hover { background: var(--signal-hover); }
.bigcall__ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.bigcall small { display: block; font-size: 14px; }
.bigcall strong { display: block; font-size: clamp(24px, 2.3vw, 30px); font-weight: 900; line-height: 1.25; white-space: nowrap; }
.bigcall--alt { background: transparent; color: #fff; border-color: #4A4F57; }
.bigcall--alt:hover { background: var(--ink-2); border-color: #fff; }
.bigcall--alt .bigcall__ico { background: var(--ink-3); }
.bigcall--alt small { color: var(--muted-on-ink); }

.lanes { height: 6px; background: repeating-linear-gradient(to left, var(--signal) 0 56px, transparent 56px 104px); }

.triage { background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.triage__title { font-size: 22px; }
.triage__hint { font-size: 15px; color: var(--muted); margin-top: 2px; }
.triage__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; min-height: 104px;
    border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--concrete-2);
    font-size: 15px; font-weight: 700; line-height: 1.5; text-align: right; transition: border-color .15s;
}
.tile .ico { width: 28px; height: 28px; }
.tile:hover { border-color: var(--ink); }
.tile[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile[aria-pressed="true"] .ico { color: var(--signal); }
.triage__rec { border-top: 1px solid var(--line-2); padding-top: 18px; min-height: 184px; display: flex; flex-direction: column; gap: 8px; }
.triage__rec small { font-size: 13px; color: var(--muted); }
.triage__rec b { font-size: 20px; }
.triage__rec p { font-size: 15px; color: var(--body); }
.triage__rec .btn { align-self: flex-start; margin-top: 6px; }
.triage__rec .link-u { align-self: flex-start; font-size: 14px; margin-top: 4px; }

/* Facts strip */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 28px 26px; }
.fact + .fact { border-right: 1px solid var(--line-2); }
.fact b { display: block; font-size: 16px; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   6. SECTIONS
══════════════════════════════════════════════════════════ */
.sec { padding: 104px 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #fff; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.sec__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.35; }
.sec__lead { color: var(--muted); margin-top: 10px; max-width: 640px; }
.sec--ink .sec__lead { color: var(--muted-on-ink); }
.sub-head { margin: 80px 0 20px; }
.sub-head__title { font-size: 30px; font-weight: 900; }
.sub-head p { color: var(--muted); margin-top: 6px; }

/* Transport service cards */
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rig { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s; }
.rig:hover { border-color: var(--ink); }
.rig__visual { height: 150px; background: var(--ink); color: var(--signal); display: grid; place-items: center; position: relative; overflow: hidden; }
.rig__visual::after { content: ""; position: absolute; right: 0; left: 0; bottom: 22px; height: 4px; background: repeating-linear-gradient(to left, #3A3E45 0 28px, transparent 28px 50px); }
.rig__visual .ico { width: 64px; height: 64px; stroke-width: 1.4; position: relative; z-index: 1; }
.rig__visual img { width: 100%; height: 100%; object-fit: cover; }
.rig__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.rig__title { font-size: 21px; }
.rig__summary { font-size: 15px; color: var(--body); line-height: 1.8; }
.rig__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }

/* On-site service rows */
.onsite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.svc { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-3); text-decoration: none; }
.svc__ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.svc__text { min-width: 0; }
.svc__text b { display: block; font-size: 17px; }
.svc__text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--muted); line-height: 1.7; }
.svc__arrow { margin-right: auto; width: 18px; height: 18px; transition: transform .15s; }
.svc:hover .svc__arrow { transform: translateX(-4px); }

/* Checklist */
.checks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; }
.checks li { display: flex; gap: 10px; }
.checks li::before {
    content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; border-radius: 50%;
    background: var(--signal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sec--ink .checks { color: var(--on-ink); font-size: 16px; gap: 14px; }
.sec--ink .checks li::before { background-color: var(--ink-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E"); }

/* App section */
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.app__lead { color: var(--muted-on-ink); margin: 14px 0 26px; }
.app__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map {
    position: relative; height: 440px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line);
    background:
        linear-gradient(90deg, transparent 0 47%, #2E3238 47% 53%, transparent 53%),
        repeating-linear-gradient(0deg, transparent 0 54px, #23262B 54px 56px),
        repeating-linear-gradient(90deg, transparent 0 72px, #23262B 72px 74px),
        var(--ink-2);
}
.map::before { content: ""; position: absolute; inset: auto -10% 38% -10%; height: 26px; background: #2E3238; transform: rotate(-14deg); }
.map__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; top: calc(68% - 10px); right: calc(25.6% - 10px); width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--ink); box-shadow: 0 0 0 2px #fff; }
.map__truck { position: absolute; top: calc(21% - 20px); right: calc(78% - 20px); width: 40px; height: 40px; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 106, 19, .18); }
.map__truck .ico { width: 22px; height: 22px; }
.map__eta { position: absolute; right: 16px; left: 16px; bottom: 16px; background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.map__eta small { display: block; font-size: 13px; color: var(--muted); }
.map__eta b { font-size: 16px; }

/* Process road */
.road { position: relative; }
.road::before { content: ""; position: absolute; top: 17px; right: 0; left: 0; height: 14px; border-radius: 7px; background: var(--ink); }
.road::after { content: ""; position: absolute; top: 23px; right: 12px; left: 12px; height: 2px; background: repeating-linear-gradient(to left, var(--signal) 0 24px, transparent 24px 44px); }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step__n { width: 48px; height: 48px; border-radius: 50%; border: 4px solid #fff; background: var(--signal); display: grid; place-items: center; font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.step:last-child .step__n { background: var(--ink); color: var(--signal); }
.step b { display: block; font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* Coverage */
.hoods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hood { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--ink-line); text-decoration: none; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.6; }
.hood:hover { border-color: #5A5F68; }
.hood .ico { width: 18px; height: 18px; color: var(--signal); }
.cov-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; color: var(--faint-on-ink); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq__side p { color: var(--muted); margin: 12px 0 24px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qa details + details { border-top: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 700; font-size: 17px; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { width: 20px; height: 20px; transition: transform .2s; }
.qa details[open] summary .ico { transform: rotate(180deg); }
.qa details > :not(summary) { padding: 0 24px 22px; color: var(--body); font-size: 16px; line-height: 1.95; }

/* Articles */
.posts { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
.post-main { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post-main__img, .post-row__img { background: var(--concrete-2); border-radius: 14px; overflow: hidden; }
.post-main__img { aspect-ratio: 16 / 9; }
.post-main__img img, .post-row__img img { width: 100%; height: 100%; object-fit: cover; }
.post-main__title { font-size: 25px; line-height: 1.6; }
.post-main p { color: var(--body); font-size: 16px; }
.post-row { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-3); text-decoration: none; }
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: 0; }
.post-row__img { width: 150px; height: 112px; flex-shrink: 0; border-radius: 10px; }
.post-row b { display: block; font-size: 18px; line-height: 1.6; margin: 4px 0; }
.post-row p { font-size: 15px; color: var(--body); line-height: 1.8; }
.meta { font-size: 13px; color: var(--muted); }
.img-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ink); color: var(--ink-line); }
.img-fallback .ico { width: 40px; height: 40px; }

/* Testimonials (only real, approved ones) */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote p { font-size: 16px; color: var(--body); line-height: 1.95; }
.quote footer { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote footer b { color: var(--text); }

/* ══════════════════════════════════════════════════════════
   7. FOOTER & MOBILE CALL BAR
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: #fff; }
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--ink) 14px 28px); }
.ftr__cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 64px 0 56px; border-bottom: 1px solid var(--ink-3); }
.ftr__cta b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.4; }
.ftr__cta > div > span { color: var(--muted-on-ink); }
.ftr__nums { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.ftr__num { display: flex; flex-direction: column; gap: 2px; color: var(--signal); text-decoration: none; }
.ftr__num small { font-size: 13px; color: var(--muted-on-ink); }
.ftr__num > span { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.2; }
.ftr__num .ico { width: 30px; height: 30px; }
.ftr__num--alt { color: #fff; }
.ftr__num--alt .ico { color: var(--signal); }
.ftr__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.ftr__title { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.ftr__cols p, .ftr__cols a, .ftr__cols address { color: var(--muted-on-ink); font-size: 14px; text-decoration: none; line-height: 1.9; font-style: normal; }
.ftr__cols a:hover { color: #fff; }
.ftr__brand .brand { margin-bottom: 16px; }
.ftr__brand p + p, .ftr__brand p + address { margin-top: 8px; }
.ftr__list li + li { margin-top: 8px; }
.ftr__list .ico { width: 16px; height: 16px; color: var(--signal); vertical-align: -3px; margin-left: 6px; }
.ftr__nav .nav-list--root { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.ftr__nav .nav-list__link, .ftr__nav .nav-list__label { min-height: 34px; padding: 0; color: var(--muted-on-ink); font-size: 14px; background: none; }
.ftr__nav .nav-list__link:hover { color: #fff; background: none; }
.ftr__nav .nav-list__children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 12px 0 0; min-width: 0; }
.ftr__nav .nav-list--sub .nav-list__link { color: var(--faint-on-ink); }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ink-3); font-size: 13px; color: #7E828A; }
.ftr__socials { display: flex; gap: 8px; }
.ftr__socials a { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--ink-line); display: grid; place-items: center; color: var(--muted-on-ink); text-decoration: none; font-size: 13px; }
.ftr__socials a:hover { border-color: #fff; color: #fff; }

/* Mobile floating call button + number chooser (see section 14) */
.callfab, .callsheet { display: none; }

/* ══════════════════════════════════════════════════════════
   8. INNER PAGES
══════════════════════════════════════════════════════════ */
.page-head { background: var(--concrete); border-bottom: 1px solid var(--line); }
.page-head__inner { padding: 36px 0 52px; display: flex; flex-direction: column; gap: 18px; }
.page-head__title { font-size: clamp(30px, 4vw, 50px); font-weight: 900; line-height: 1.35; max-width: 860px; text-wrap: balance; }
.page-head__lead { font-size: 19px; line-height: 1.9; color: var(--body); max-width: 780px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 17px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

.crumbs ol, .blog__breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before, .blog__breadcrumb li + li::before { content: "/"; margin-left: 8px; color: var(--line-3); }
.crumbs a, .blog__breadcrumb a { color: var(--muted); text-decoration: none; }
.crumbs a:hover, .blog__breadcrumb a:hover { color: var(--text); }
.crumbs [aria-current], .blog__breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding: 56px 0 104px; }
.layout-single { padding: 56px 0 104px; }
.layout-single--narrow { max-width: 860px; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }

.callcard { background: var(--ink); border-radius: var(--r-lg); overflow: hidden; color: #fff; }
.callcard .hazard { height: 8px; background-size: auto; }
.callcard__body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.callcard__title { font-size: 20px; line-height: 1.6; }
.callcard__num { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r); background: var(--signal); color: var(--ink); text-decoration: none; border: 2px solid var(--signal); }
.callcard__num small { font-size: 12px; font-weight: 500; }
.callcard__num > span { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 900; line-height: 1.3; }
.callcard__num:hover { background: var(--signal-hover); }
.callcard__num--alt { background: transparent; color: #fff; border-color: #4A4F57; }
.callcard__num--alt small { color: var(--muted-on-ink); }
.callcard__num--alt .ico { color: var(--signal); }
.callcard__num--alt:hover { background: var(--ink-2); border-color: #fff; }
.callcard__prep { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink-3); }
.callcard__prep b { font-size: 14px; }
.callcard__prep span { display: flex; gap: 10px; font-size: 14px; color: #C9CBD0; line-height: 1.7; }
.callcard__prep span i { font-style: normal; color: var(--signal); font-weight: 900; }
.side-link { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 700; }
.side-link:hover { border-color: var(--ink); }

.related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.related__title { font-size: 22px; font-weight: 900; margin-bottom: 18px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 500; }
.pill-links a:hover { border-color: var(--ink); }

/* Index grids (services / areas) */
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.index-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.index-card:hover { border-color: var(--ink); }
.index-card__top { display: flex; align-items: center; gap: 14px; }
.index-card__title { font-size: 19px; }
.index-card p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.index-card .svc__ico { width: 44px; height: 44px; }
.empty { padding: 40px; border: 1.5px dashed var(--line-3); border-radius: var(--r); color: var(--muted); text-align: center; }

/* ══════════════════════════════════════════════════════════
   9. PROSE (page-builder blocks, articles, rich text)
══════════════════════════════════════════════════════════ */
.prose, .page-content__body, .post__body { font-size: 17px; line-height: 1.95; color: var(--body); }
.prose > * + *, .page-content__body > * + *, .post__body > * + *,
.lc-richtext > * + *, .lc-html > * + *, .lc-column > * + * { margin-top: 1.1em; }
.prose h1, .page-content__body h1, .post__body h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; color: var(--text); line-height: 1.4; }
.prose h2, .page-content__body h2, .post__body h2 { font-size: 30px; font-weight: 900; color: var(--text); margin-top: 1.8em; line-height: 1.45; }
.prose h3, .page-content__body h3, .post__body h3 { font-size: 22px; color: var(--text); margin-top: 1.6em; }
.prose h4, .page-content__body h4, .post__body h4 { font-size: 18px; color: var(--text); margin-top: 1.4em; }
.prose a, .page-content__body a, .post__body a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.prose ul, .page-content__body ul, .post__body ul { padding-right: 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul > li, .page-content__body ul > li, .post__body ul > li { position: relative; padding-right: 20px; }
.prose ul > li::before, .page-content__body ul > li::before, .post__body ul > li::before { content: ""; position: absolute; right: 0; top: .8em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.prose ol, .page-content__body ol, .post__body ol { counter-reset: n; display: flex; flex-direction: column; gap: 8px; }
.prose ol > li, .page-content__body ol > li, .post__body ol > li { counter-increment: n; position: relative; padding-right: 36px; }
.prose ol > li::before, .page-content__body ol > li::before, .post__body ol > li::before { content: counter(n, persian); position: absolute; right: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--signal); font-size: 13px; font-weight: 900; display: grid; place-items: center; line-height: 1; }
.prose strong, .page-content__body strong, .post__body strong { color: var(--text); }
.prose blockquote, .page-content__body blockquote, .post__body blockquote { margin: 1.4em 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); }
.prose img, .page-content__body img, .post__body img { border-radius: var(--r); }
.prose figure, .page-content__body figure, .post__body figure { margin: 1.4em 0; }
.prose figcaption, .page-content__body figcaption, .post__body figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose hr, .page-content__body hr, .post__body hr { border: 0; height: 6px; margin: 2em 0; background: repeating-linear-gradient(to left, var(--line-3) 0 28px, transparent 28px 50px); }
.prose table, .page-content__body table, .post__body table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.prose th, .page-content__body th, .post__body th { background: var(--ink); color: #fff; text-align: right; padding: 14px 18px; font-weight: 700; }
.prose td, .page-content__body td, .post__body td { padding: 14px 18px; border-top: 1px solid var(--line-2); vertical-align: top; line-height: 1.8; }
.prose details, .page-content__body details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.prose details + details, .page-content__body details + details { margin-top: 10px; }
.prose summary, .page-content__body summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 12px; }
.prose summary::-webkit-details-marker, .page-content__body summary::-webkit-details-marker { display: none; }
.prose summary::after, .page-content__body summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.prose details[open] summary::after, .page-content__body details[open] summary::after { content: "−"; }
.prose details > :not(summary), .page-content__body details > :not(summary) { padding: 0 22px 18px; }

/* Content helpers usable inside Html blocks */
.answer-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; }
.answer-box__label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.note { padding: 18px 22px; border-radius: var(--r); background: var(--signal-tint); color: var(--text); }
.price-slot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--r); border: 1.5px dashed var(--line-3); background: var(--concrete-2); }

/* Page-builder blocks */
.lc-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; }
.lc-column { min-width: 0; }
.lc-heading { color: var(--text); }
.lc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none !important; }
.lc-button--primary { background: var(--signal); color: var(--ink) !important; }
.lc-button--secondary { background: var(--ink); color: #fff !important; }
.lc-button--link { padding: 0; min-height: 0; border-bottom: 2px solid var(--signal); border-radius: 0; color: var(--text) !important; }
.lc-image img { width: 100%; border-radius: var(--r); }
.lc-image__placeholder { display: grid; place-items: center; min-height: 200px; border-radius: var(--r); background: var(--concrete-2); color: var(--muted); font-size: 14px; }

.page-content--full .page-content__body { max-width: none; }

/* Priority media (videos/gallery attached to pages) */
.priority-media { margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.priority-media__eyebrow { font-size: 14px; color: var(--muted); }
.priority-media__intro h2 { font-size: 26px; font-weight: 900; margin: 4px 0 8px; }
.priority-media__intro p { color: var(--body); }
.priority-media__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.priority-video { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.priority-video video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.priority-video figcaption { padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.priority-video figcaption strong { color: var(--text); font-size: 16px; }
.priority-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.priority-gallery__item { margin: 0; }
.priority-gallery__item img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.priority-gallery__item figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.priority-media__links { display: flex; flex-wrap: wrap; gap: 10px; }
.priority-media__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   10. BLOG
══════════════════════════════════════════════════════════ */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; }
.cat-nav a:hover, .cat-nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.blog-card__img { aspect-ratio: 16 / 10; background: var(--concrete-2); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.blog-card__title { font-size: 19px; line-height: 1.65; }
.blog-card__title a { text-decoration: none; }
.blog-card__title a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; }
.blog-card__excerpt { font-size: 15px; color: var(--body); line-height: 1.85; }
.blog-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }

.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; font-size: 15px; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; }
.pager a:hover { border-color: var(--ink); }
.pager span { color: var(--muted); }

.post__cover { margin: 0 0 36px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--concrete-2); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__excerpt { font-size: 20px; line-height: 1.9; color: var(--text); font-weight: 500; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.post__meta a { color: var(--muted); }
.post__related ul { display: flex; flex-direction: column; }
.post__related li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.7; }
.post__related li a:hover { color: #000; }

/* Comments */
.comments { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.comment-list__heading, .comment-form__heading { font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.comment-list__empty { color: var(--muted); }
.comment-list__items { display: flex; flex-direction: column; gap: 14px; }
.comment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.comment__header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.comment__author { font-weight: 700; }
.comment__date { font-size: 13px; color: var(--muted); }
.comment__body { font-size: 16px; color: var(--body); white-space: pre-line; line-height: 1.9; }
.comment__replies { margin-top: 14px; padding-right: 20px; border-right: 2px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.comment__replies .comment { background: var(--concrete-2); }
.comment-list__pager { display: flex; gap: 12px; margin-top: 16px; }
.comment-list__pager-link { font-weight: 700; }
.comment-form__body { display: flex; flex-direction: column; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.comment-form__field { display: flex; flex-direction: column; gap: 6px; }
.comment-form__field label { font-size: 14px; font-weight: 700; }
.comment-form__hint { font-weight: 400; color: var(--muted); }
.comment-form__field input, .comment-form__field textarea { width: 100%; }
.comment-form__hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.comment-form__status { padding: 14px 18px; border-radius: var(--r-sm); background: var(--concrete-2); margin-bottom: 16px; }
.comment-form__status--success { background: #E6F4EC; color: var(--success); }
.comment-form__status--error { background: #FCE8E6; color: var(--alert); }
.comment-form__notice { color: var(--muted); }
.comment-form__submit { align-self: flex-start; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; }

/* ══════════════════════════════════════════════════════════
   11. FORMS & CONTACT
══════════════════════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lc-form-label { font-size: 14px; font-weight: 700; }
.field label span[aria-hidden], .lc-form-label span[aria-hidden] { color: var(--alert); margin-right: 2px; }
.field input, .field textarea, .field select, .lc-form-control,
.comment-form__field input, .comment-form__field textarea {
    min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper); color: var(--text); font-size: 16px; transition: border-color .15s;
}
.field textarea, .lc-form-control[rows], textarea.lc-form-control, .comment-form__field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus, .lc-form-control:focus,
.comment-form__field input:focus, .comment-form__field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 106, 19, .25); }
.field__error, .contact-form__error, .field-validation-error { font-size: 13px; color: var(--alert); }
.contact-form__summary ul { color: var(--alert); font-size: 14px; }
.contact-form__summary.validation-summary-valid { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field--wide { grid-column: 1 / -1; }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.form-panel__title { font-size: 24px; font-weight: 900; }
.form-panel__lead { color: var(--muted); margin: 6px 0 24px; font-size: 15px; }
.counter { font-size: 12px; color: var(--muted); text-align: left; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

.contact-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 40px; align-items: start; padding: 56px 0 104px; }
.contact-info { background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; }
.contact-info__body { padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-info__title { font-size: 20px; margin-bottom: 8px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--ink-3); }
.contact-row:first-of-type { border-top: 0; }
.contact-row .svc__ico { width: 42px; height: 42px; background: var(--ink-3); }
.contact-row small { display: block; font-size: 13px; color: var(--faint-on-ink); }
.contact-row a, .contact-row span { color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.7; }
.contact-map { margin-top: 12px; border-radius: var(--r); overflow: hidden; }
.contact-map iframe { width: 100%; min-height: 260px; border: 0; display: block; }
.success-box { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success-box__icon { width: 64px; height: 64px; border-radius: 50%; background: #E6F4EC; color: var(--success); display: grid; place-items: center; }
.success-box__icon .ico { width: 32px; height: 32px; stroke-width: 2.4; }

/* ══════════════════════════════════════════════════════════
   12. ERROR PAGES
══════════════════════════════════════════════════════════ */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 80px 16px; text-align: center; }
.error-page__code { font-size: clamp(80px, 14vw, 160px); font-weight: 900; line-height: 1; color: var(--ink); }
.error-page__band { width: min(360px, 80%); height: 10px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--ink) 14px 28px); border-radius: 3px; }
.error-page__message { font-size: 19px; color: var(--body); max-width: 520px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════
   13. RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
    .live { display: none; }
    .nav-list__link, .nav-list__label { padding: 0 9px; font-size: 14px; }
}

@media (max-width: 1100px) {
    .hphone--alt { display: none; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact:nth-child(3) { border-right: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line-2); }
    .fleet, .onsite, .index-grid, .blog-grid, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app, .faq, .posts { grid-template-columns: 1fr; gap: 40px; }
    .hoods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout-aside, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .aside-sticky { position: static; }
    .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }

    .site-header__inner { gap: 12px; }
    .brand__mark { width: 38px; height: 38px; }
    .brand__name b { font-size: 16px; }
    .brand__name small { display: none; }
    .header-actions .hphone { display: none; }
    .site-nav__toggle { display: inline-flex; }

    /* Off-canvas drawer (panel is hoisted to <body> by site.js on small screens) */
    .site-nav { flex-grow: 0; }
    .site-nav__overlay { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(21, 23, 26, .55); opacity: 0; visibility: hidden; transition: opacity .2s; }
    .site-nav__overlay.is-open { opacity: 1; visibility: visible; }
    .site-nav__panel {
        position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(340px, 88vw); overflow-y: auto;
        background: var(--ink); color: #fff; padding: 0 16px 32px;
        transform: translateX(100%); transition: transform .25s var(--ease); visibility: hidden;
    }
    .site-nav__panel.is-open { transform: none; visibility: visible; }
    .site-nav__header-mobile { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--ink-3); margin-bottom: 12px; }
    .site-nav__close { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--ink-line); background: transparent; color: #fff; display: grid; place-items: center; }
    .site-nav__panel .nav-list--root { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__panel .nav-list__item { border-bottom: 1px solid var(--ink-3); }
    .site-nav__panel .nav-list__link, .site-nav__panel .nav-list__label { width: 100%; min-height: 54px; padding: 0 4px; font-size: 16px; justify-content: space-between; border-radius: 0; box-shadow: none; }
    .site-nav__panel .nav-list__link:hover, .site-nav__panel .nav-list__label:hover { background: none; }
    .site-nav__panel .nav-list__item--current > .nav-list__link { color: var(--signal); }
    .site-nav__panel .nav-list--root > .nav-list__item > .nav-list__children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 12px 8px 0; display: none; min-width: 0; }
    .site-nav__panel .nav-list__item.is-expanded > .nav-list__children { display: block; }
    .site-nav__panel .nav-list--sub .nav-list__item { border: 0; }
    .site-nav__panel .nav-list--sub .nav-list__link { color: var(--muted-on-ink); min-height: 44px; font-size: 15px; }
    .site-nav__panel .nav-list__children .nav-list__children { display: block; }
    .site-nav__panel .nav-list__chevron { transition: transform .2s; }
    .site-nav__panel .is-expanded > .nav-list__branch-row .nav-list__chevron { transform: rotate(180deg); }
    .site-nav__panel .drawer-call { display: flex !important; margin-top: 20px; }
}

@media (max-width: 760px) {
    body { font-size: 16px; padding-bottom: 96px; }
    .hero__grid { padding: 36px 0 44px; }
    .hero__lead { font-size: 16px; }
    .hero__calls { grid-template-columns: 1fr; gap: 10px; }
    .bigcall { padding: 12px 14px; }
    .bigcall strong { font-size: 27px; }
    .bigcall__ico { width: 48px; height: 48px; }
    .triage { padding: 20px; }
    .triage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile { flex-direction: row; align-items: center; min-height: 60px; padding: 0 14px; font-size: 14px; }
    .tile .ico { width: 24px; height: 24px; }
    .fact { padding: 18px 16px; }
    .sec { padding: 56px 0; }
    .sec__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .sub-head { margin-top: 52px; }
    .fleet, .onsite, .index-grid, .blog-grid, .quotes, .form-grid, .priority-media__videos, .priority-gallery { grid-template-columns: 1fr; }
    .rig__visual { height: 120px; }
    .map { height: 340px; }
    .road::before { top: 8px; bottom: 8px; right: 17px; left: auto; width: 8px; height: auto; }
    .road::after { display: none; }
    .steps { grid-template-columns: 1fr; gap: 22px; }
    .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
    .step__n { grid-row: span 2; margin: 0; }
    .hoods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hood { font-size: 14px; padding: 8px 12px; }
    .cov-foot { flex-direction: column; align-items: stretch; }
    .post-row__img { width: 96px; height: 80px; }
    .post-row b { font-size: 16px; }
    .ftr__cta { flex-direction: column; align-items: flex-start; }
    .ftr__cols { grid-template-columns: 1fr; gap: 32px; }
    .ftr__bottom { flex-direction: column; align-items: flex-start; }
    .page-head__inner { padding: 24px 0 36px; }
    .page-head__lead { font-size: 16px; }
    .layout-aside, .layout-single, .contact-grid { padding: 36px 0 64px; }
    .form-panel { padding: 22px; }
    .lc-row { grid-auto-flow: row; }
    .prose table, .page-content__body table, .post__body table { display: block; overflow-x: auto; }

}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .callfab, .callsheet, .aside-sticky { display: none !important; }
    body { background: #fff; padding: 0; }
}

/* ══════════════════════════════════════════════════════════
   14. MOBILE CALL BUTTON & NUMBER CHOOSER (≤ 760px)
   The only place the theme uses motion: a calm "signal" ring, a phone
   wiggle, and a spring-in chooser rising from the button.
══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
    .callfab { display: block; position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; }
    .callfab__btn {
        position: relative; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 8px 0 24px;
        border-radius: 32px; background: var(--signal); color: var(--ink); text-decoration: none;
        box-shadow: 0 12px 28px rgba(255, 106, 19, .38), 0 4px 10px rgba(21, 23, 26, .28);
        -webkit-tap-highlight-color: transparent; touch-action: manipulation;
        transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .25s var(--ease), box-shadow .25s var(--ease);
    }
    .callfab__btn:active { transform: scale(.94); }
    .callfab__icon { position: relative; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
    .callfab__icon .ico { grid-area: 1 / 1; width: 24px; height: 24px; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .2s var(--ease); }
    .callfab__phone { animation: callfab-wiggle 3.6s ease-in-out 1.2s infinite; transform-origin: 50% 60%; }
    .callfab__close { opacity: 0; transform: rotate(-90deg) scale(.4); }
    .callfab__label { display: grid; font-size: 18px; font-weight: 900; line-height: 1; }
    .callfab__label > span { grid-area: 1 / 1; transition: opacity .2s var(--ease), transform .3s var(--ease); }
    .callfab__label-close { opacity: 0; transform: translateY(8px); }

    .callfab__ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--signal); pointer-events: none; animation: callfab-ring 2.8s cubic-bezier(.2, .6, .35, 1) infinite; }
    .callfab__ring--late { animation-delay: 1.4s; }

    /* open: the button calms down and becomes the close control */
    .callfab.is-open .callfab__btn { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
    .callfab.is-open .callfab__icon { background: var(--ink-3); color: #fff; }
    .callfab.is-open .callfab__phone { animation: none; opacity: 0; transform: rotate(90deg) scale(.4); }
    .callfab.is-open .callfab__close { opacity: 1; transform: none; }
    .callfab.is-open .callfab__label-call { opacity: 0; transform: translateY(-8px); }
    .callfab.is-open .callfab__label-close { opacity: 1; transform: none; }
    .callfab.is-open .callfab__ring { animation: none; opacity: 0; }

    .callsheet { display: block; position: fixed; inset: 0; z-index: 65; }
    .callsheet[hidden] { display: none; }
    .callsheet__backdrop { position: absolute; inset: 0; background: rgba(21, 23, 26, .6); opacity: 0; transition: opacity .3s var(--ease); }
    .callsheet__panel {
        position: absolute; right: 12px; left: 12px; bottom: calc(96px + env(safe-area-inset-bottom));
        display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px;
        background: var(--ink); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
        transform-origin: 12% 100%; opacity: 0; transform: translateY(24px) scale(.86);
        transition: transform .5s cubic-bezier(.22, 1.4, .36, 1), opacity .22s var(--ease);
    }
    .callsheet__panel::before { content: ""; position: absolute; top: 0; right: 24px; left: 24px; height: 4px; border-radius: 0 0 4px 4px; background: repeating-linear-gradient(-45deg, var(--signal) 0 8px, transparent 8px 16px); }
    .callsheet__head { padding: 6px 4px 4px; }
    .callsheet__title { font-size: 18px; font-weight: 900; }
    .callsheet__hint { font-size: 13px; color: var(--muted-on-ink); margin-top: 2px; }

    .callopt {
        display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px; border-radius: 16px;
        background: var(--ink-2); border: 1.5px solid var(--ink-line); color: #fff; text-decoration: none;
        opacity: 0; transform: translateY(14px);
        transition: opacity .3s var(--ease), transform .45s cubic-bezier(.22, 1.3, .36, 1), background-color .15s var(--ease);
    }
    .callopt__ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--ink-3); color: var(--signal); display: grid; place-items: center; }
    .callopt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .callopt__text small { font-size: 12px; color: var(--muted-on-ink); }
    .callopt__text strong { font-size: 23px; font-weight: 900; line-height: 1.25; }
    .callopt__arrow { margin-right: auto; width: 20px; height: 20px; color: var(--muted-on-ink); }
    .callopt--primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
    .callopt--primary .callopt__ico { background: var(--ink); }
    .callopt--primary small, .callopt--primary .callopt__arrow { color: rgba(21, 23, 26, .7); }
    .callopt--quiet { min-height: 60px; }
    .callopt--quiet .callopt__text strong { font-size: 16px; }

    .callsheet.is-open .callsheet__backdrop { opacity: 1; }
    .callsheet.is-open .callsheet__panel { opacity: 1; transform: none; }
    .callsheet.is-open .callopt { opacity: 1; transform: none; transition-delay: calc(90ms + var(--i, 0) * 70ms); }
    .callsheet.is-open .callopt:active { transform: scale(.97); transition-delay: 0s; }
}

@keyframes callfab-ring {
    0% { transform: scale(1); opacity: .7; }
    70%, 100% { transform: scale(1.32, 1.6); opacity: 0; }
}

@keyframes callfab-wiggle {
    0%, 22%, 100% { transform: rotate(0); }
    3%, 11% { transform: rotate(-16deg); }
    7%, 15% { transform: rotate(16deg); }
    19% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .callfab__ring { display: none; }
    .callfab__phone { animation: none !important; }
}

.site-nav__panel .drawer-call--alt { margin-top: 10px !important; }

/* Call buttons inside page / article content (legacy CTA lines) */
.page-content__body .cta-line, .post__body .cta-line { margin-top: 1.2em; }
.page-content__body a.btn, .post__body a.btn { text-decoration: none; color: var(--ink); font-weight: 700; min-height: 52px; padding: 0 22px; }
.page-content__body a.btn:hover, .post__body a.btn:hover { color: var(--ink); }
.answer-box ul { margin-top: 0; }

/* ══════════════════════════════════════════════════════════
   15. APP SHOWCASE — device mockup, hero tracking screen,
   interactive app demo, triage band. Pure CSS/SVG, no images.
══════════════════════════════════════════════════════════ */

/* Hero with device */
.hero--app { position: relative; overflow: hidden; }
.hero__streets {
    position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background:
        repeating-linear-gradient(0deg, transparent 0 118px, rgba(255, 255, 255, .035) 118px 120px),
        repeating-linear-gradient(90deg, transparent 0 148px, rgba(255, 255, 255, .035) 148px 150px);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 22% 50%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 22% 50%, #000 0%, transparent 75%);
}
.hero--app .hero__grid { position: relative; grid-template-columns: minmax(0, 1fr) 460px; padding: 72px 0 84px; }
.hero__copy { position: relative; z-index: 1; }

/* Device stage + radar rings */
.device-stage, .appdemo__device { position: relative; display: grid; place-items: center; min-height: 660px; }
.radar { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); transform: translate(-50%, -50%); pointer-events: none; }
.radar--1 { width: 380px; height: 380px; }
.radar--2 { width: 540px; height: 540px; border-color: rgba(255, 255, 255, .05); }
.radar--3 { width: 700px; height: 700px; border-color: rgba(255, 255, 255, .035); }
.radar--1::after {
    content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(255, 106, 19, .5);
    animation: radar-pulse 3.6s cubic-bezier(.2, .6, .35, 1) infinite;
}

/* Device */
.device { position: relative; width: 300px; height: 620px; flex-shrink: 0; z-index: 1; }
.device::before, .device::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #202329; }
.device::before { right: -3px; top: 150px; height: 74px; }
.device::after { left: -3px; top: 120px; height: 46px; box-shadow: 0 64px 0 #202329, 0 124px 0 #202329; }
.device__frame {
    position: absolute; inset: 0; border-radius: 52px; background: #0A0B0D;
    box-shadow:
        inset 0 0 0 1.5px #3A3E45,
        inset 0 0 0 9px #0A0B0D,
        inset 0 0 0 10px #24272D,
        0 60px 100px -30px rgba(0, 0, 0, .75),
        0 30px 60px -20px rgba(0, 0, 0, .5);
}
.device__screen {
    position: absolute; inset: 11px; border-radius: 42px; overflow: hidden; background: #F3F1EC; color: var(--ink);
    font-size: 12px; line-height: 1.55; direction: rtl; isolation: isolate;
}
.device__screen::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20; border-radius: inherit;
    background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%);
}
.device__island { position: absolute; top: 10px; left: 50%; width: 92px; height: 27px; margin-left: -46px; background: #000; border-radius: 16px; z-index: 12; }
.device__status { position: absolute; top: 0; right: 0; left: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0; direction: ltr; z-index: 11; font-size: 12px; }
.device__status b { font-weight: 700; }
.device__sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.device__sig i { width: 3px; border-radius: 1px; background: currentColor; }
.device__sig i:nth-child(1) { height: 4px; } .device__sig i:nth-child(2) { height: 6px; } .device__sig i:nth-child(3) { height: 8px; } .device__sig i:nth-child(4) { height: 11px; }
.device__status--over-map { color: var(--ink); }

/* Tracking screen */
.app-map { position: absolute; top: 0; right: 0; left: 0; height: 392px; }
.app-map svg { width: 100%; height: 100%; display: block; }
.route-flow { animation: route-flow 1.2s linear infinite; }
.app-map__top { position: absolute; top: 50px; right: 14px; left: 14px; display: flex; align-items: center; justify-content: space-between; }
.app-round { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(21, 23, 26, .15); }
.app-round .ico { width: 16px; height: 16px; transform: scaleX(-1); }
.app-pill { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 6px 16px rgba(21, 23, 26, .25); }
.app-pill i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); animation: live-dot 1.6s ease-in-out infinite; }

.app-sheet {
    position: absolute; right: 0; left: 0; bottom: 0; top: 314px; background: #fff; border-radius: 26px 26px 0 0;
    padding: 8px 14px 22px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 -12px 30px rgba(21, 23, 26, .14); z-index: 3;
}
.app-sheet__grip { align-self: center; width: 38px; height: 4px; border-radius: 2px; background: #DAD6CE; }
.app-sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-sheet__title { display: block; font-size: 15px; font-weight: 900; }
.app-sheet__sub { font-size: 10.5px; color: var(--muted); }
.app-eta { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; height: 50px; border-radius: 14px; background: var(--signal); color: var(--ink); line-height: 1.1; }
.app-eta b { font-size: 21px; font-weight: 900; }
.app-eta small { font-size: 9.5px; font-weight: 700; }
.app-eta.is-tick b { animation: eta-tick .5s var(--ease); }

.app-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 9.5px; color: var(--muted); text-align: center; position: relative; }
.app-steps::before { content: ""; position: absolute; top: 4px; right: 12%; left: 12%; height: 2px; background: #E6E2DA; }
.app-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.app-steps i { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: #E6E2DA; border: 2px solid #fff; box-sizing: content-box; }
.app-steps .is-done i { background: var(--ink); }
.app-steps .is-done { color: var(--ink); }
.app-steps .is-now { color: var(--ink); font-weight: 700; }
.app-steps .is-now i { background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 106, 19, .22); animation: live-dot 1.6s ease-in-out infinite; }

.app-driver { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: var(--concrete-2); }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--signal); display: grid; place-items: center; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.app-driver__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; white-space: nowrap; }
.app-driver__text b { font-size: 12px; }
.app-driver__text small { font-size: 9.5px; color: var(--muted); }

/* Iranian licence plate */
.plate { margin-right: auto; display: flex; align-items: stretch; height: 22px; border: 1.5px solid var(--ink); border-radius: 4px; background: #fff; overflow: hidden; font-weight: 900; font-size: 10.5px; line-height: 1; flex-shrink: 0; }
.plate__band { width: 11px; background: #1B4DB5; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 2px 0; }
.plate__band i { width: 7px; height: 5px; background: linear-gradient(#2A9D4B 0 33%, #fff 33% 66%, #D93A2B 66%); }
.plate__band small { font-size: 3.6px; line-height: 1.1; text-align: center; font-weight: 700; }
.plate__num { display: flex; align-items: center; gap: 3px; padding: 0 4px; direction: ltr; font-size: 10px; white-space: nowrap; }
.plate__num b { font-weight: 900; unicode-bidi: isolate; }
.plate__reg { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 4px; border-left: 1.5px solid var(--ink); font-size: 10px; }
.plate__reg small { font-size: 5px; font-weight: 700; }

.app-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.app-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; background: var(--concrete-2); font-size: 12px; font-weight: 700; }
.app-btn .ico { width: 15px; height: 15px; }
.app-btn--call { background: var(--signal); }
.app-fee { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px dashed #E1DCD2; font-size: 10.5px; }
.app-fee span { color: var(--muted); }
.app-fee em { margin-right: auto; display: inline-flex; align-items: center; gap: 3px; font-style: normal; color: var(--success); font-weight: 700; }
.app-fee .ico { width: 12px; height: 12px; stroke-width: 3; }

/* Floating chips around the hero device */
.float-chip {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 16px; border-radius: 14px;
    background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); animation: chip-float 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 13px; line-height: 1.4; }
.float-chip small { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; }
.float-chip__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--signal); display: grid; place-items: center; flex-shrink: 0; }
.float-chip__ico--ink { background: var(--ink); color: var(--signal); }
.float-chip__ico .ico { width: 18px; height: 18px; }
.float-chip--a { top: 120px; right: -34px; }
.float-chip--b { bottom: 110px; left: -40px; animation-delay: -3s; }

/* Triage band (below hero) */
.triage-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: 36px 0; }
.triage--band { display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 28px; align-items: center; padding: 0; border-radius: 0; background: none; }
.triage--band .triage__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.triage--band .tile { min-height: 92px; padding: 14px 12px; font-size: 14px; }
.triage--band .triage__rec { border-top: 0; border-right: 1px solid var(--line-2); padding: 0 24px 0 0; min-height: 0; }

/* App demo section */
.appdemo { position: relative; overflow: hidden; }
.appdemo__grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center; }
.appdemo__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--signal); }
.appdemo__kicker i { width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.demo-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.demo-step {
    position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--ink-line); background: transparent; color: #fff; text-align: right; transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.demo-step:hover { border-color: #4A4F57; }
.demo-step.is-active { background: var(--ink-2); border-color: #4A4F57; }
.demo-step__n { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--ink-3); color: var(--muted-on-ink); font-weight: 900; transition: background-color .25s, color .25s; }
.demo-step.is-active .demo-step__n { background: var(--signal); color: var(--ink); }
.demo-step__text { display: flex; flex-direction: column; gap: 2px; }
.demo-step__text b { font-size: 17px; }
.demo-step__text small { font-size: 14px; color: var(--muted-on-ink); line-height: 1.8; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s var(--ease); }
.demo-step.is-active .demo-step__text small { max-height: 80px; opacity: 1; }
.demo-step__bar { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: transparent; }
.demo-step.is-active .demo-step__bar::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: right; transform: scaleX(0); animation: demo-progress var(--demo-ms, 5600ms) linear forwards; }
.appdemo.is-paused .demo-step__bar::after { animation-play-state: paused; }

.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 22px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.store-btn .ico { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.3; }
.store-btn small { font-size: 11px; color: var(--muted); }
.store-btn b { font-size: 15px; font-weight: 900; }
.store-btn--soon { background: var(--ink-2); color: #fff; border: 1px dashed #4A4F57; cursor: default; }
.store-btn--soon small { color: var(--signal); }

/* Demo screens */
.app-screen {
    position: absolute; inset: 0; padding: 52px 16px 18px; display: flex; flex-direction: column; gap: 12px;
    opacity: 0; visibility: hidden; transform: translateX(-16px) scale(.985);
    transition: opacity .45s var(--ease), transform .55s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .55s;
}
.app-screen.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.app-screen .anim { opacity: 0; transform: translateY(10px); }
.app-screen.is-active .anim { animation: app-rise .5s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: calc(120ms + var(--d, 0) * 70ms); }

.app-head { display: flex; align-items: center; gap: 9px; }
.app-logo { width: 32px; height: 32px; border-radius: 9px; background: var(--signal); display: grid; place-items: center; }
.app-logo .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.app-head__name { display: flex; flex-direction: column; line-height: 1.3; }
.app-head__name b { font-size: 13px; font-weight: 900; }
.app-head__name small { font-size: 10px; color: var(--muted); }
.app-h { font-size: 19px; font-weight: 900; line-height: 1.4; margin-top: 2px; }

.app-loc { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(21, 23, 26, .06); }
.app-loc__ico { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--signal); display: grid; place-items: center; flex-shrink: 0; }
.app-loc__ico .ico { width: 16px; height: 16px; }
.app-loc span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.app-loc small { font-size: 9.5px; color: var(--muted); }
.app-loc b { font-size: 11.5px; }
.app-loc em { margin-right: auto; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--success); background: #E4F3EA; padding: 3px 7px; border-radius: 8px; }

.app-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.app-tile { display: block; height: 74px; }
.app-tile__in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; background: #fff; font-size: 10.5px; font-weight: 700; text-align: center; box-shadow: 0 2px 8px rgba(21, 23, 26, .05); border: 1.5px solid transparent; }
.app-tile .ico { width: 22px; height: 22px; }
.app-screen.is-active .app-tile--pick .app-tile__in { animation: app-pick .35s cubic-bezier(.4, 0, .2, 1) 1.6s forwards; }
.app-note { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 12px; background: #fff; font-size: 10.5px; color: var(--muted); }
.app-note .ico { width: 15px; height: 15px; color: var(--signal); }

.app-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; background: var(--signal); color: var(--ink); font-size: 13.5px; font-weight: 900; }
.app-cta .ico { width: 16px; height: 16px; }
.app-cta--pulse { position: relative; }
.app-screen.is-active .app-cta--pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: cta-pulse 1.8s ease-out 1.4s infinite; }
.app-cta--ghost { background: #fff; border: 1.5px solid var(--ink); }

.app-route { display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(21, 23, 26, .06); }
.app-route__pt { display: flex; align-items: center; gap: 10px; }
.app-route__pt > span { display: flex; flex-direction: column; line-height: 1.35; }
.app-route__pt small { font-size: 9.5px; color: var(--muted); }
.app-route__pt b { font-size: 11.5px; }
.app-route__line { width: 2px; height: 16px; margin: 2px 5px; background: repeating-linear-gradient(to bottom, #CFC9BE 0 3px, transparent 3px 6px); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot--from { background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 106, 19, .2); }
.dot--to { background: var(--ink); box-shadow: 0 0 0 3px rgba(21, 23, 26, .12); }

.app-list { display: flex; flex-direction: column; padding: 4px 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(21, 23, 26, .06); }
.app-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 11px; }
.app-list li + li { border-top: 1px solid #EFECE6; }
.app-list span { color: var(--muted); }
.app-list b { font-weight: 700; }
.app-list .ok { display: inline-flex; align-items: center; gap: 3px; color: var(--success); }
.app-list .ok .ico { width: 12px; height: 12px; stroke-width: 3; }
.app-list .num { direction: ltr; unicode-bidi: isolate; }

.app-fee-box { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; }
.app-fee-box small { font-size: 9.5px; color: var(--muted-on-ink); }
.app-fee-box b { font-size: 15px; color: var(--signal); font-weight: 900; }
.app-fee-box span { font-size: 9.5px; color: var(--muted-on-ink); }

.app-done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 2px; text-align: center; }
.app-done__svg { width: 64px; height: 64px; margin-bottom: 4px; }
.app-done__svg circle { fill: #E4F3EA; stroke: var(--success); stroke-width: 2.5; stroke-dasharray: 146; stroke-dashoffset: 146; }
.app-done__svg path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.app-screen.is-active .app-done__svg circle { animation: draw .7s cubic-bezier(.65, 0, .35, 1) .25s forwards; }
.app-screen.is-active .app-done__svg path { animation: draw .45s cubic-bezier(.65, 0, .35, 1) .85s forwards; }
.app-done b { font-size: 17px; font-weight: 900; }
.app-done small { font-size: 10.5px; color: var(--muted); }
.app-invoice { border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(21, 23, 26, .06); overflow: hidden; }
.app-invoice__head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--concrete-2); font-size: 11px; }
.app-invoice__head span { color: var(--muted); }
.app-invoice .app-list { box-shadow: none; border-radius: 0; }
.app-rate { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.app-rate small { font-size: 10.5px; color: var(--muted); }
.stars { display: flex; gap: 3px; }
.stars i { width: 15px; height: 15px; background: #E1DCD2; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.app-screen.is-active .stars i { animation: star-fill .3s var(--ease) forwards; }
.app-screen.is-active .stars i:nth-child(1) { animation-delay: 1.3s; } .app-screen.is-active .stars i:nth-child(2) { animation-delay: 1.4s; }
.app-screen.is-active .stars i:nth-child(3) { animation-delay: 1.5s; } .app-screen.is-active .stars i:nth-child(4) { animation-delay: 1.6s; }
.app-screen.is-active .stars i:nth-child(5) { animation-delay: 1.7s; }

/* Keyframes */
@keyframes radar-pulse { 0% { transform: scale(.72); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes route-flow { to { stroke-dashoffset: -22; } }
@keyframes live-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(.75); } }
@keyframes eta-tick { 0% { transform: translateY(-6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes demo-progress { to { transform: scaleX(1); } }
@keyframes app-rise { to { opacity: 1; transform: none; } }
@keyframes app-pick { to { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); } }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 19, .55); } 100% { box-shadow: 0 0 0 14px rgba(255, 106, 19, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes star-fill { to { background: var(--signal); } }

/* Responsive */
@media (max-width: 1180px) {
    .triage--band { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .triage--band .triage__rec { border-right: 0; border-top: 1px solid var(--line-2); padding: 18px 0 0; }
    .float-chip--a { right: -10px; }
    .float-chip--b { left: -10px; }
}
@media (max-width: 1100px) {
    .hero--app .hero__grid, .appdemo__grid { grid-template-columns: 1fr; gap: 24px; }
    .device-stage, .appdemo__device { min-height: 640px; }
    .appdemo__device { order: -1; }
}
@media (max-width: 760px) {
    .hero--app .hero__grid { padding: 36px 0 20px; }
    .device-stage, .appdemo__device { min-height: 0; padding: 20px 0 30px; }
    .device-stage .device, .appdemo__device .device { transform: scale(.86); margin: -44px 0; }
    .radar--1 { width: 300px; height: 300px; } .radar--2 { width: 420px; height: 420px; } .radar--3 { display: none; }
    .float-chip { display: none; }
    .triage-band { padding: 28px 0; }
    .triage--band .triage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .triage--band .tile { min-height: 60px; }
    .demo-step { padding: 14px 16px; }
    .demo-step__text b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .radar--1::after, .route-flow, .float-chip, .app-pill i, .app-steps .is-now i { animation: none !important; }
    .app-screen .anim { opacity: 1; transform: none; animation: none !important; }
    .app-done__svg circle, .app-done__svg path { stroke-dashoffset: 0; }
    .stars i { background: var(--signal); }
}
