/* UAE Parking — main stylesheet
   Layout uses logical properties throughout, so Arabic (RTL) needs no separate file. */

:root {
	--ink-950: #060d18;
	--ink-900: #0a1626;
	--ink-800: #0f2136;
	--ink-700: #183049;
	--ink-600: #254562;
	--teal: #1fcfb3;
	--teal-600: #0fae96;
	--teal-700: #097466;
	--teal-50: #e6faf6;
	--teal-rgb: 31, 207, 179;
	--on-teal: var(--ink-950);
	--coral: #ff5b3a;
	--coral-50: #fff0ec;
	--bg: #f3f6fa;
	--surface: #ffffff;
	--line: #e2e8f0;
	--text: #0d1c2e;
	--muted: #586a80;
	--on-dark: #eaf1f8;
	--on-dark-muted: #9db0c4;
	--radius: 22px;
	--radius-md: 16px;
	--radius-sm: 12px;
	--shadow-sm: 0 1px 2px rgba(10, 22, 38, .05), 0 4px 12px -6px rgba(10, 22, 38, .08);
	--shadow: 0 1px 2px rgba(10, 22, 38, .04), 0 18px 40px -18px rgba(10, 22, 38, .22);
	--shadow-lg: 0 30px 70px -30px rgba(6, 13, 24, .55);
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
	--wrap: 1180px;
	--header-h: 68px;
}

html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="hi"] { --font: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 800; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3, h4), html[lang="hi"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
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(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon-arrow, [dir="rtl"] .icon-send { transform: scaleX(-1); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { --wrap: 820px; }
.wrap-read { --wrap: 900px; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--ink-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px;
	font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 10px 24px -12px rgba(var(--teal-rgb), .9); }
.btn-primary:hover { background: color-mix(in srgb, var(--teal) 82%, #fff); box-shadow: 0 14px 30px -12px rgba(var(--teal-rgb), 1); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink-600); }
.btn-soft { background: var(--teal-50); color: var(--teal-700); }
.btn-soft:hover { background: #d3f5ee; }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--ink-600); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-700); }
.link-arrow .icon { transition: translate .2s ease; }
a:hover > .link-arrow .icon, a.link-arrow:hover .icon, .city-card:hover .city-go .icon { translate: 4px 0; }
[dir="rtl"] a:hover > .link-arrow .icon, [dir="rtl"] a.link-arrow:hover .icon, [dir="rtl"] .city-card:hover .city-go .icon { translate: -4px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 22, 38, .82); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.nav-link { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--on-dark-muted); transition: color .2s, background-color .2s; }
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: transparent; color: #fff; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-weight: 700; font-size: .82rem; cursor: pointer; list-style: none; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang-caret { width: 14px; height: 14px; transition: rotate .2s; }
.lang[open] .lang-caret { rotate: 180deg; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current] { color: var(--teal-700); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-900); color: var(--on-dark); padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 420px at 85% 20%, rgba(var(--teal-rgb), .28), transparent 70%), radial-gradient(520px 380px at 8% 90%, rgba(255, 91, 58, .2), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; line-height: 1.04; }
html[lang="ar"] .hero h1, html[lang="hi"] .hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.3; }
.hero-lead { margin-top: 22px; max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: .86rem; color: var(--on-dark-muted); }
.hero-note { margin-top: 28px; font-size: .78rem; color: var(--on-dark-muted); }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .82rem; font-weight: 600; color: var(--on-dark); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .22); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.phone { position: relative; display: flex; flex-direction: column; width: min(100%, 264px); aspect-ratio: 9 / 18.5; padding: 14px; border-radius: 44px; background: linear-gradient(160deg, #1d3550, #0b1a2c); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg), inset 0 0 0 6px #050b14; direction: ltr; }
.phone-notch { flex: none; width: 84px; height: 22px; margin: 4px auto 14px; border-radius: 999px; background: #050b14; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.phone-head img { border-radius: 10px; }
.phone-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(var(--teal-rgb), .16); color: var(--teal); }
.phone-to { display: flex; flex-direction: column; line-height: 1.25; }
.phone-to strong { font-size: 1.05rem; color: #fff; }
.phone-to small { font-size: .76rem; color: var(--on-dark-muted); }
.phone-thread { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; padding: 22px 8px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 20px; font-size: .92rem; line-height: 1.4; }
.bubble-out { align-self: flex-end; background: var(--teal); color: var(--ink-950); border-end-end-radius: 6px; font-family: var(--mono); font-weight: 700; letter-spacing: .04em; transition: opacity .3s ease, transform .3s ease; }
.bubble-out.is-swapping { opacity: 0; transform: translateY(6px); }
.bubble-in { align-self: flex-start; display: flex; gap: 8px; background: rgba(255, 255, 255, .09); color: var(--on-dark); border-end-start-radius: 6px; }
.bubble-in .icon { color: var(--teal); margin-top: 2px; }
.phone-compose { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 6px 8px; color: var(--teal); }
.phone-compose span { flex: 1; height: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--text); font-weight: 800; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.float-plate { left: max(0px, calc(50% - 132px - 96px)); top: 58%; padding: 8px; }
.float-zone { right: max(0px, calc(50% - 132px - 56px)); top: 11%; color: var(--coral); animation-delay: -3s; font-family: var(--mono); }
@keyframes bob { 50% { translate: 0 -10px; } }

.hero-app .stores { margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9rem; color: var(--on-dark-muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--teal); }
.app-rows { display: grid; gap: 10px; padding: 20px 8px; }
.app-rows div { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: .9rem; color: var(--on-dark-muted); }
.app-rows strong { color: #fff; }
.app-rows .app-total { background: rgba(var(--teal-rgb), .14); }
.app-rows .app-total strong { color: var(--teal); font-size: 1.15rem; }
.app-btn { margin: auto 8px 12px; padding: 14px; border-radius: 999px; background: var(--teal); color: var(--ink-950); text-align: center; font-weight: 800; }

.hero-404 { text-align: center; padding-block: clamp(72px, 12vw, 140px); }
.hero-404 .hero-lead { margin-inline: auto; }
.hero-404 .hero-actions { justify-content: center; }
.lot { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; }
.bay { display: grid; place-items: center; width: 62px; height: 96px; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 12px; font-weight: 800; font-size: .9rem; }
.bay-taken { border-style: solid; border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); }
.bay-error { border-style: solid; border-color: var(--coral); color: var(--coral); background: rgba(255, 91, 58, .12); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: radial-gradient(700px 300px at 90% 0%, rgba(var(--teal-rgb), .2), transparent 70%), var(--ink-900); color: var(--on-dark); padding-block: clamp(36px, 5vw, 60px) clamp(88px, 9vw, 120px); }
.page-hero h1 { max-width: 22ch; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero-guide h1, .wrap-read h1 { max-width: none; }
.page-lead { margin-top: 16px; max-width: 68ch; font-size: 1.08rem; color: var(--on-dark-muted); }
.crumbs { margin-bottom: 20px; font-size: .84rem; color: var(--on-dark-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs li:last-child { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a:hover { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 600; }
.chip .icon { color: var(--teal); }
.chip-strong { background: var(--teal); border-color: var(--teal); color: var(--ink-950); }
.chip-strong .icon { color: inherit; }
.chip-strong strong { font-family: var(--mono); font-size: 1rem; letter-spacing: .04em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: linear-gradient(180deg, #eaf0f7, var(--bg)); }
.section-dark { background: var(--ink-900); color: var(--on-dark); }
.section-pull { position: relative; margin-top: -64px; padding-top: 0; }
div.section-pull { padding-bottom: clamp(56px, 8vw, 96px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-row .section-head { margin-bottom: 0; }
.eyebrow { margin-bottom: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
html[lang="ar"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: 0; font-size: .86rem; }
.section-dark .eyebrow { color: var(--teal); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.section-lead { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.card > h2 { font-size: 1.3rem; margin-bottom: 18px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.card-head h2 { font-size: 1.45rem; }
.card-head .eyebrow { margin-bottom: 6px; }
.note { display: flex; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); font-size: .86rem; color: var(--muted); }
.note .icon { margin-top: 2px; color: var(--teal-700); }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.city-card { --tone: var(--teal); position: relative; display: flex; flex-direction: column; gap: 8px; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.city-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tone); }
/* City colours: every emirate keeps its own accent (Dubai red, Abu Dhabi blue, Sharjah green,
   Ajman amber). City pages and guides about a city carry the class on <body>, so every accent
   on the page (buttons, highlights, icons, focus rings, hero glow) follows the city. */
.city-dubai { --tone: #e5484d; }
.city-abu-dhabi { --tone: #3b82f6; }
.city-sharjah { --tone: #16a34a; }
.city-ajman { --tone: #f59e0b; }
body.city-dubai { --teal: #e5484d; --teal-600: #d13438; --teal-700: #b4232a; --teal-50: #fdecec; --teal-rgb: 229, 72, 77; --on-teal: #fff; }
body.city-abu-dhabi { --teal: #3b82f6; --teal-600: #2563eb; --teal-700: #1d4ed8; --teal-50: #eaf2fe; --teal-rgb: 59, 130, 246; --on-teal: #fff; }
body.city-sharjah { --teal: #16a34a; --teal-600: #15803d; --teal-700: #166534; --teal-50: #e9f8ef; --teal-rgb: 22, 163, 74; --on-teal: #fff; }
body.city-ajman { --teal: #f59e0b; --teal-600: #d97706; --teal-700: #b45309; --teal-50: #fef5e6; --teal-rgb: 245, 158, 11; --on-teal: var(--ink-950); }
.page-hero-city { background: radial-gradient(760px 340px at 90% 0%, rgba(var(--teal-rgb), .34), transparent 70%), var(--ink-900); }
.cover-dubai { --teal-rgb: 229, 72, 77; }
.cover-abu-dhabi { --teal-rgb: 59, 130, 246; }
.cover-sharjah { --teal-rgb: 22, 163, 74; }
.cover-ajman { --teal-rgb: 245, 158, 11; }
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); }
.city-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.city-code { display: grid; place-items: center; min-width: 54px; height: 34px; padding-inline: 10px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 14%, #fff); color: color-mix(in srgb, var(--tone) 50%, #000); font-family: var(--mono); font-weight: 800; letter-spacing: .08em; font-size: .82rem; }
.city-sms { font-size: .8rem; color: var(--muted); }
.city-sms strong { font-family: var(--mono); font-size: .95rem; color: var(--text); }
.city-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.city-desc { font-size: .9rem; color: var(--muted); flex: 1; }
.city-facts { display: grid; gap: 6px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; font-weight: 600; }
.city-facts span { display: flex; align-items: center; gap: 8px; }
.city-facts .icon { color: var(--muted); }
.city-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: color-mix(in srgb, var(--tone) 55%, #000); }
.support-row { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 14px; margin-top: 18px; }
.support { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.support > .icon { width: 28px; height: 28px; color: var(--teal-700); }
.support strong { display: block; font-size: .95rem; }
.support span { font-size: .84rem; color: var(--muted); }
.support-note { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); background: var(--coral-50); color: #8a3a26; font-size: .86rem; }
.support-note .icon { color: var(--coral); margin-top: 2px; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare-item { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-item header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.compare-item h2 { font-size: 1.3rem; }
.compare-item p { color: var(--muted); font-size: .95rem; }
.compare-item dl { display: flex; gap: 28px; margin: 18px 0; }
.compare-item dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.compare-item dd { margin: 2px 0 0; font-weight: 800; }
.sms-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: .8rem; font-weight: 600; }
.sms-chip strong { font-family: var(--mono); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--ink-900); color: var(--teal); font-weight: 800; font-size: 1.1rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 28px; }
.benefits li, .ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.benefits .icon, .ticks .icon { margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.ticks { display: grid; gap: 12px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(140deg, var(--teal-50), #fff); border: 1px solid #c9f1e9; color: var(--teal-700); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--muted); }

/* Explainer */
.explain { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.explain-body { display: grid; gap: 18px; color: var(--on-dark-muted); font-size: 1.02rem; }
.sms-anatomy { display: inline-flex; gap: 8px; margin-block: 28px; padding: 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-md); background: rgba(255, 255, 255, .05); font-family: var(--mono); font-weight: 800; font-size: 1.1rem; direction: ltr; }
.seg { padding: 8px 14px; border-radius: 10px; }
.seg-plate { background: #fff; color: var(--ink-900); }
.seg-zone { background: var(--coral); color: #fff; }
.seg-time { background: var(--teal); color: var(--ink-950); }
.explain-head .btn { display: flex; width: fit-content; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-800); }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
.cover-art { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 100%; padding: 18px; color: #fff; background: radial-gradient(260px 200px at 85% 10%, rgba(var(--teal-rgb), .55), transparent 70%), linear-gradient(140deg, var(--ink-700), var(--ink-950)); }
.cover-code { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; opacity: .95; }
.cover-sms { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-family: var(--mono); font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }
.guide-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px; }
.guide-meta { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.guide-title { font-size: 1.12rem; line-height: 1.35; letter-spacing: -.01em; }
.guide-title a::after { content: ""; position: absolute; inset: 0; }
.guide-card { position: relative; }
.guide-excerpt { font-size: .92rem; color: var(--muted); flex: 1; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; font-weight: 700; color: var(--muted); }

/* Languages */
.lang-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lang-grid li { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.lang-grid strong { font-size: 1.15rem; }
.lang-grid span { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item, .prose details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-item summary, .prose details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker, .prose details summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: rotate .2s; }
.faq-item[open] summary .icon { rotate: 180deg; }
.faq-item[open], .prose details[open] { border-color: #bfeee5; box-shadow: var(--shadow-sm); }
.faq-body, .prose details > p { padding: 0 20px 20px; color: var(--muted); }
.prose details summary::after { content: "+"; font-size: 1.3rem; font-weight: 500; color: var(--muted); line-height: 1; }
.prose details[open] summary::after { content: "–"; }
.prose details { margin-block: 10px; }
.prose details > p { margin: 0; }

/* Download band */
.band { padding-block: clamp(48px, 7vw, 88px); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 8px); background: radial-gradient(520px 260px at 100% 0%, rgba(var(--teal-rgb), .34), transparent 70%), radial-gradient(420px 240px at 0% 100%, rgba(255, 91, 58, .22), transparent 70%), var(--ink-900); color: #fff; box-shadow: var(--shadow-lg); }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 20ch; }
.band p { margin-top: 10px; color: var(--on-dark-muted); font-size: .95rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
/* Every placement sits on a dark surface, so the badges are light to stand out. */
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 176px; padding: 10px 18px; border: 1px solid #fff; border-radius: 14px; background: #fff; color: var(--ink-900); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); transition: transform .2s ease, box-shadow .2s ease; direction: ltr; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store small { font-size: .64rem; letter-spacing: .04em; opacity: .75; }
.store strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.stores-sm .store { min-width: 0; padding: 8px 14px; }
.stores-sm .store strong { font-size: .95rem; }
.stores-stack { flex-direction: column; }
.stores-stack .store { flex: 0 0 auto; justify-content: center; }

.webapp { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.webapp h2 { font-size: 1.6rem; }
.webapp p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.webapp-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- City page ---------- */
.city-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.city-main { display: grid; gap: 24px; min-width: 0; }
.city-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.city-side .card { padding: 24px; box-shadow: var(--shadow-sm); }
.city-side .card h2 { font-size: 1.1rem; margin-bottom: 16px; }
.card-app { background: var(--ink-900); color: var(--on-dark); border-color: var(--ink-700); }
.card-app p { margin-bottom: 16px; color: var(--on-dark-muted); font-size: .92rem; }
.card-app .ticks { margin-bottom: 20px; font-size: .9rem; }
.card-app .ticks .icon { background: rgba(var(--teal-rgb), .16); color: var(--teal); }
.card-link { display: grid; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link .feature-icon { margin-bottom: 6px; }

.gen-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
.gen-form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.field-row .field { flex: 0 1 130px; }
.field-row .field-grow { flex: 1 1 170px; }
.field label { font-size: .84rem; font-weight: 700; }
.field small { font-size: .78rem; color: var(--muted); }
.optional { font-weight: 500; color: var(--muted); font-size: .78rem; }
.field input, .field select { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field select { padding-inline-end: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .2); }
.field input::placeholder { color: #a5b2c2; font-weight: 500; }
#gen-area, #plate-code, #plate-number, #plate-source { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plate-pick { display: flex; gap: 10px; }
.plate-pick select { flex: 1; min-width: 0; }
.plate-pick .btn { min-height: 52px; border-radius: var(--radius-sm); }
.gen-out { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-md); background: radial-gradient(300px 180px at 100% 0%, rgba(var(--teal-rgb), .22), transparent 70%), var(--ink-900); color: var(--on-dark); }
.gen-label { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
html[lang="ar"] .gen-label, html[lang="hi"] .gen-label { letter-spacing: 0; font-size: .84rem; }
.sms-bubble { align-self: flex-end; max-width: 100%; padding: 16px 20px; border-radius: 22px; border-end-end-radius: 6px; background: var(--teal); color: var(--ink-950); font-family: var(--mono); font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 800; letter-spacing: .05em; word-break: break-word; direction: ltr; }
.sms-bubble.is-empty { align-self: stretch; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 16px; color: var(--on-dark-muted); font-family: var(--font); font-size: .92rem; font-weight: 500; letter-spacing: 0; text-align: center; direction: inherit; }
.sms-bubble.is-error { align-self: stretch; background: rgba(255, 91, 58, .14); border: 1px solid rgba(255, 91, 58, .4); color: #ffc2b3; font-family: var(--font); font-size: .92rem; font-weight: 600; letter-spacing: 0; direction: inherit; border-radius: 16px; }
.gen-meta { display: flex; gap: 24px; margin: 0; }
.gen-meta dt { font-size: .74rem; color: var(--on-dark-muted); }
.gen-meta dd { margin: 0; font-size: 1.2rem; font-weight: 800; color: #fff; }
.gen-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.gen-actions .btn-primary { flex: 1 1 auto; }
.gen-actions .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }

.rate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.rate { padding: 18px; border: 1px solid var(--line); border-inline-start: 4px solid var(--zone, var(--teal)); border-radius: var(--radius-md); background: #fff; }
.rate h3 { font-size: 1.05rem; }
.rate-desc { margin: 4px 0 12px; min-height: 2.6em; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.rate li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .88rem; }
.rate li span { color: var(--muted); }
/* Quick answer and key facts on city pages */
.quick-answer { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.65; }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0; }
.quick-facts div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); }
.quick-facts dt { font-size: .76rem; color: var(--muted); }
.quick-facts dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.quick-facts code, .numbers code { font-size: .9em; }
/* SMS numbers table on the home page */
.numbers { margin-top: 32px; padding: 24px; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); }
.numbers h3 { margin: 0 0 6px; }
.numbers p { margin: 0 0 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.numbers table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.numbers th, .numbers td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; }
.numbers tbody tr:last-child > * { border-bottom: 0; }
.numbers thead th { font-size: .8rem; color: var(--muted); font-weight: 600; }
.numbers code { white-space: nowrap; }
@media (max-width: 560px) {
	.numbers { padding: 18px 14px; }
	.numbers table { font-size: .86rem; }
	.numbers th, .numbers td { padding: 10px 6px; }
}
.hours { display: grid; gap: 0; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.hours div:first-child { border-top: 0; padding-top: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 800; color: var(--teal-700); }

/* ---------- Prose ---------- */
.prose { font-size: 1.04rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: 1.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.18rem; }
.prose p, .prose li { color: #2a3b50; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal-600); }
.prose a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote { margin-inline: 0; padding: 16px 20px; border-inline-start: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--teal-50); }
.prose img { border-radius: var(--radius-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--bg); }
.guide-figure { margin: 0 0 28px; }
.prose figure { margin-inline: 0; }
.prose figure img { display: block; width: 100%; height: auto; }
.prose figcaption { margin-top: 8px; font-size: .86rem; line-height: 1.5; color: var(--muted); text-align: center; }
/* Photo sets from the blog generator: a swipeable carousel that peeks at the next slide. */
.prose .uaep-carousel { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.prose .uaep-carousel > figure { flex: 0 0 min(86%, 560px); margin: 0; scroll-snap-align: start; }
.prose .uaep-carousel img { aspect-ratio: 3 / 2; object-fit: cover; }
.prose .uaep-carousel:focus-visible { outline-offset: 4px; }

.guide-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.guide-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.guide-main { display: grid; gap: 24px; min-width: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); }
.toc .card { padding: 22px; box-shadow: var(--shadow-sm); }
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
html[lang="ar"] .toc h2, html[lang="hi"] .toc h2 { letter-spacing: 0; font-size: .9rem; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 8px 10px; border-radius: 10px; font-size: .88rem; font-weight: 600; line-height: 1.4; color: var(--muted); }
.toc a:hover, .toc a.is-current { background: var(--teal-50); color: var(--teal-700); }
.city-cta { display: grid; gap: 8px; justify-items: start; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); background: radial-gradient(360px 200px at 100% 0%, rgba(var(--teal-rgb), .3), transparent 70%), var(--ink-900); color: var(--on-dark-muted); box-shadow: var(--shadow); }
.city-cta > strong { font-size: 1.5rem; color: #fff; letter-spacing: -.02em; }
.city-cta .btn { margin-top: 12px; }
.city-cta .sms-chip { background: rgba(var(--teal-rgb), .16); color: var(--teal); }

.sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sitemap ul { display: grid; gap: 10px; }
.sitemap a { font-weight: 600; color: var(--teal-700); }
.sitemap a:hover { text-decoration: underline; }

/* ---------- Plates ---------- */
.plate { display: inline-flex; align-items: stretch; height: 46px; border: 2px solid var(--ink-900); border-radius: 9px; background: #fff; color: var(--ink-900); font-family: var(--mono); font-weight: 800; font-size: 1.15rem; letter-spacing: .08em; overflow: hidden; direction: ltr; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(10, 22, 38, .12); }
.plate > span { display: grid; place-items: center; padding-inline: 12px; }
.plate-code { border-inline-end: 2px solid var(--ink-900); min-width: 40px; }
.plate-code:empty { display: none; }
.plate-origin { border-inline-start: 2px solid var(--ink-900); background: var(--ink-900); color: #fff; font-size: .62rem; letter-spacing: .1em; padding-inline: 10px; }
.plate-list { display: grid; gap: 12px; }
.plate-item { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.plate-info { flex: 1; min-width: 120px; display: flex; flex-direction: column; }
.plate-info strong { font-size: 1rem; }
.plate-info span { font-size: .84rem; color: var(--muted); }
.plate-actions { display: flex; gap: 8px; }
.plate-actions .is-danger { color: #c2331a; border-color: #f6c7bd; }
.plate-actions .is-armed { background: #c2331a; border-color: #c2331a; color: #fff; width: auto; padding-inline: 12px; font-size: .8rem; font-weight: 700; }
.empty { text-align: center; padding: clamp(24px, 5vw, 48px) 16px; }
.empty-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 22px; background: var(--teal-50); color: var(--teal-700); }
.empty-icon .icon { width: 34px; height: 34px; }
.empty h3 { font-size: 1.3rem; }
.empty p { margin: 8px auto 22px; max-width: 40ch; color: var(--muted); }
.next-step { display: flex; justify-content: center; margin-top: 24px; }

.dialog { width: min(100% - 24px, 520px); padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); }
.dialog::backdrop { background: rgba(6, 13, 24, .6); backdrop-filter: blur(4px); }
.dialog-card { display: grid; gap: 18px; padding: clamp(20px, 4vw, 30px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-head h2 { font-size: 1.35rem; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; }
.dialog-hint { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); font-size: .84rem; color: var(--muted); }
.plate-preview { display: grid; place-items: center; min-height: 96px; border-radius: var(--radius-md); background: repeating-linear-gradient(135deg, #eef2f7 0 12px, #f6f8fb 12px 24px); }
.plate-preview .plate { height: 54px; font-size: 1.35rem; }
.toast { position: fixed; inset-inline: 0; bottom: 24px; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.toast span { padding: 12px 20px; border-radius: 999px; background: var(--ink-900); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); animation: toast 2.4s ease forwards; }
@keyframes toast { 0% { opacity: 0; translate: 0 12px; } 12%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--on-dark-muted); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; margin-bottom: 20px; }
.site-footer h2 { margin-bottom: 16px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
html[lang="ar"] .site-footer h2, html[lang="hi"] .site-footer h2 { letter-spacing: 0; font-size: .92rem; }
.site-footer nav ul { display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-disclaimer { margin-top: 40px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-sm); font-size: .8rem; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.footer-social { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; translate: 0 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.support-row { grid-template-columns: 1fr 1fr; }
	.support-note { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.city-layout { grid-template-columns: minmax(0, 1fr); }
	.city-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.city-side .btn-block { grid-column: 1 / -1; }
	.guide-layout { grid-template-columns: minmax(0, 1fr); }
	.toc { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.menu-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.nav { position: absolute; inset-inline: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px 20px 22px; background: var(--ink-900); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg); }
	.nav.is-open { display: flex; }
	.nav-link { padding: 14px 16px; font-size: 1.02rem; border-radius: 14px; }
	.nav-cta { display: inline-flex; margin-top: 10px; }
	.hero-inner { grid-template-columns: minmax(0, 1fr); }
	.hero-visual { min-height: 0; margin-top: 12px; }
	.explain { grid-template-columns: minmax(0, 1fr); }
	.gen-grid { grid-template-columns: minmax(0, 1fr); }
	.lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.compare { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
	.wrap { width: min(100% - 32px, var(--wrap)); }
	.city-grid, .steps, .steps-3, .feature-grid, .guide-grid, .benefits, .sitemap, .support-row { grid-template-columns: minmax(0, 1fr); }
	.city-side { grid-template-columns: minmax(0, 1fr); }
	.hero-actions .btn, .gen-actions .btn, .webapp-actions .btn { flex: 1 1 100%; }
	.hero-stats { gap: 16px 24px; }
	.hero-stats dt { font-size: 1.5rem; }
	.plate-pick { flex-direction: column; }
	.plate-pick select { flex: none; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.band-inner { border-radius: var(--radius); }
	.stores { width: 100%; }
	.store { flex: 1 1 150px; }
	.dialog-foot .btn { flex: 1; }
	.float { display: none; }
}

@media print {
	.site-header, .site-footer, .band, .toc, .city-side, .gen, .hero-visual, .skip-link { display: none !important; }
	.js .reveal { opacity: 1; translate: none; }
	.hero, .page-hero, .section-dark { background: none !important; color: #000; }
	.section-pull { margin-top: 0; }
	.card { box-shadow: none; }
}
