/* ==========================================================================
   URASMILA DIGITAL — site styles
   Logical properties are used throughout so the layout mirrors for Arabic.
   ========================================================================== */

:root {
  --bg: #f4f1ea;
  --bg-alt: #ebe6db;
  --surface: #ffffff;
  --ink: #0e0f11;
  --ink-2: #3a3c41;
  --muted: #696b70;
  --line: #ddd7ca;
  --line-strong: #c4bcab;
  --accent: #0e0f11;
  --accent-dark: #000000;
  --lime: #c8f53c;
  --lime-dark: #b3e021;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ok: #08704b;
  --ok-bg: #e6f2ec;
  --warn: #9a5b06;
  --warn-bg: #fbf0dc;
  --danger: #b42318;
  --danger-bg: #fbeceb;
  --radius: 10px;
  --radius-sm: 6px;
  --font: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter Variable", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.icon { flex: none; }
[dir="rtl"] .flip-rtl, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.container-wide { max-width: 1320px; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- typography ---------- */
.display, .h1, .h2, .h3, .h4 { font-weight: 650; letter-spacing: -0.022em; line-height: 1.12; margin: 0 0 0.55em; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 19ch; }
.h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; }
.h4 { font-size: 1.08rem; letter-spacing: -0.01em; }
[lang="ar"] :is(.display, .h1, .h2, .h3, .h4) { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 60ch; margin: 0 0 1.5em; text-wrap: pretty; }
.lead a { text-decoration: underline; text-underline-offset: 3px; }
.muted-lg { color: var(--ink-2); font-size: 1.05rem; text-wrap: pretty; }
p { margin: 0 0 1em; }
.kicker { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin: 0 0 20px; }
.fine-print { font-size: 0.875rem; color: var(--muted); margin-top: 24px; }
.fine-print a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-arrow { transition: translate 0.25s var(--ease); }
.btn:hover .btn-arrow { translate: 4px 0; }
[dir="rtl"] .btn:hover .btn-arrow { translate: -4px 0; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2c31; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lime); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 0 40%; transition: background-size 0.3s var(--ease); }
.link-arrow:hover { background-size: 100% 40%; }
[dir="rtl"] .link-arrow { background-position: 100% 100%; }
.link-arrow .icon { transition: translate 0.25s var(--ease); }
.link-arrow:hover .icon { translate: 4px 0; }
[dir="rtl"] .link-arrow:hover .icon { translate: -4px 0; }
.link-arrow.small { font-size: 0.9rem; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }

/* ---------- header ---------- */
.test-bar { display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--warn-bg); color: var(--warn); font-size: 0.85rem; padding: 7px 16px; text-align: center; border-bottom: 1px solid #efd9b0; }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line); transition: translate 0.35s var(--ease); }
.site-header.is-hidden { translate: 0 -100%; }
.page-home .site-header { background: var(--ink); border-bottom-color: #222428; }
.page-home .brand, .page-home .main-nav a.is-active, .page-home .main-nav a:hover { color: #fff; }
.page-home .brand-text span, .page-home .main-nav a, .page-home .lang-switch summary, .page-home .cart-link { color: #b9b9b6; }
.page-home .lang-switch summary:hover, .page-home .lang-switch[open] summary, .page-home .cart-link:hover { background: #1f2024; color: #fff; }
.page-home .site-header .logo-mark { color: var(--lime); --logo-ink: var(--ink); }
.page-home .burger { border-color: #3a3c41; }
.page-home .burger span { background: #fff; }
.nav-open .site-header { translate: none; }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-text { font-weight: 700; font-size: 0.98rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-text span { font-weight: 400; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav a { position: relative; padding: 8px 12px; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); }
.main-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
[dir="rtl"] .main-nav a::after { transform-origin: right; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; color: var(--ink-2);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--bg-alt); color: var(--ink); }
.lang-switch ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px -12px rgba(23, 24, 27, 0.25);
}
.lang-switch li a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink-2); }
.lang-switch li a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-switch li a.is-active { font-weight: 600; color: var(--ink); }
.cart-link { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); color: var(--ink-2); }
.cart-link:hover { background: var(--bg-alt); color: var(--ink); }
.cart-badge {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--lime); color: var(--ink); font-size: 0.7rem; font-weight: 700; display: grid; place-items: center;
}
.burger { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; inset-inline-start: 11px; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 24px; }
.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.flash { border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.flash .container { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.flash-success { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--danger-bg); color: var(--danger); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .muted-lg { margin: 0; }
.split-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; }
.split-head > :first-child { max-width: 640px; }
.split-head > p.muted-lg { max-width: 520px; }
.split-head .h2 { margin-bottom: 0.3em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); background: var(--ink); color: #d9d8d4; }
.hero .kicker { color: #9a9ba0; }
.hero .display { color: #fff; font-size: clamp(2.6rem, 7vw, 6rem); max-width: 16ch; letter-spacing: -0.045em; line-height: 0.98; margin-bottom: 0.45em; }
[lang="ar"] .hero .display { line-height: 1.25; letter-spacing: 0; }
.hero .lead { color: #b9b9b6; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 24px 40px; align-items: center; }
.hero-copy .lead { margin-bottom: 32px; }
.hero .hero-grid .display { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 15ch; }
.page-home .site-header, .page-home .hero { background: #000; }
.hero-art { position: relative; perspective: 1200px; }
.hero-art-inner { position: relative; transform-style: preserve-3d; transition: transform 0.6s var(--ease); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero-art img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: float 7s ease-in-out infinite, fade-in 1.2s var(--ease) 0.3s both; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes fade-in { from { opacity: 0; scale: 0.92; } to { opacity: 1; scale: 1; } }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: 8px; }
.hero-row .lead { margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: #1c1d20; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding-block: 28px 0; }
.hero-facts > div { border-top: 1px solid #34363b; padding-top: 14px; }
.hero-facts dt { font-size: 0.82rem; color: #8d8e93; margin-bottom: 2px; }
.hero-facts dd { margin: 0; font-weight: 600; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .w > span { translate: 0 105%; animation: rise 0.9s var(--ease) forwards; animation-delay: calc(0.15s + var(--i) * 0.06s); }
  .hero-in { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; animation-delay: calc(0.55s + var(--d) * 0.12s); }
  .hero-figure { clip-path: inset(18% 8% 0 8% round var(--radius)); animation: open-up 1.3s var(--ease) 0.5s forwards; }
  .hero-figure img { scale: 1.18; animation: settle 1.8s var(--ease) 0.5s forwards; }
  .page-hero .crumbs, .page-hero .h1, .page-hero .lead, .service-hero .media-frame { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; }
  .page-hero .h1 { animation-delay: 0.08s; }
  .page-hero .lead { animation-delay: 0.18s; }
  .service-hero .media-frame { animation-delay: 0.25s; }
}
@keyframes rise { to { translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes open-up { to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes settle { to { scale: 1; } }

/* ---------- ticker ---------- */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker span { padding: 18px 28px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; background: var(--ink); flex: none; rotate: 45deg; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* ---------- service index (home) ---------- */
.h2-xl { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.02; }
[lang="ar"] .h2-xl { line-height: 1.3; letter-spacing: 0; }
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-index li { border-bottom: 1px solid var(--line-strong); }
.service-index a { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px 112px minmax(0, 1fr) auto 24px; gap: 24px; align-items: center; padding: 22px 16px; transition: color 0.35s var(--ease); }
.service-index a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease); }
.service-index img { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.si-num { font-size: 0.85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.35s; }
.si-main { display: grid; gap: 4px; }
.si-title { font-weight: 650; font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; transition: translate 0.45s var(--ease); }
[lang="ar"] .si-title { letter-spacing: 0; line-height: 1.4; }
.si-text { color: var(--ink-2); font-size: 0.95rem; transition: color 0.35s; }
.si-price { color: var(--muted); font-size: 0.9rem; white-space: nowrap; transition: color 0.35s; }
.si-price strong { color: var(--ink); font-weight: 600; transition: color 0.35s; }
.si-arrow { color: var(--ink); transition: translate 0.35s var(--ease), rotate 0.35s var(--ease), color 0.35s; }
.service-index a:hover { color: #fff; }
.service-index a:hover::before { transform: scaleY(1); }
.service-index a:hover .si-title { translate: 10px 0; }
[dir="rtl"] .service-index a:hover .si-title { translate: -10px 0; }
.service-index a:hover :is(.si-text, .si-price) { color: #b9b9b6; }
.service-index a:hover .si-price strong, .service-index a:hover .si-num { color: var(--lime); }
.service-index a:hover .si-arrow { color: var(--lime); rotate: -45deg; }
[dir="rtl"] .service-index a:hover .si-arrow { rotate: 45deg; }
.si-preview { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .service-index a { grid-template-columns: 56px minmax(0, 1fr) auto 24px; }
  .service-index img { display: none; }
  .si-preview {
    display: block; position: fixed; top: 0; left: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
    pointer-events: none; opacity: 0; scale: 0.6; rotate: -6deg; transition: opacity 0.25s, scale 0.4s var(--ease), rotate 0.4s var(--ease);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  }
  .si-preview img { width: 100%; height: 100%; object-fit: cover; }
  .si-preview.is-on { opacity: 1; scale: 1; rotate: 0deg; }
}

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.2s; }
.product-card:hover { translate: 0 -6px; border-color: var(--ink); box-shadow: 0 24px 48px -28px rgba(14, 15, 17, 0.45); }
.product-card:hover .price strong { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 100% 35%; }
.product-art { margin: -12px -12px 18px; border-radius: calc(var(--radius) - 4px); overflow: hidden; aspect-ratio: 16 / 10; background: #f6f2ea; }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.7s var(--ease); }
.product-card:hover .product-art img { scale: 1.07; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card .product-foot .btn { position: relative; z-index: 1; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 24px; margin-bottom: 10px; }
.product-service { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
[lang="ar"] .product-service { text-transform: none; letter-spacing: 0; }
a.product-service:hover { text-decoration: underline; }
.tag { padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.product-card h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 8px; }
.product-card h3 a:hover { color: var(--accent); }
.product-card > p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 12px; }
.product-card > .product-time { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price strong { display: block; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.price small { color: var(--muted); font-size: 0.8rem; }

/* ---------- steps / point lists ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 18px; }
.step::before { content: counter(step); display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.step h3 { font-size: 1.08rem; font-weight: 650; margin: 0 0 6px; }
.step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.section-ink { background: var(--ink); color: #c9c9c6; }
.section-ink .h2 { color: #fff; }
.steps-big { gap: 40px; }
.steps-big .step { border-top-color: #3a3c41; padding-top: 24px; }
.steps-big .step::before { display: none; }
.step-num { display: block; font-size: clamp(3.4rem, 6vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: #2a2c31; margin-bottom: 20px; color: var(--lime); transition: color 0.6s var(--ease); }
.steps-big .step:hover .step-num { color: var(--lime); }
.steps-big h3 { color: #fff; font-size: 1.2rem; }
.steps-big p { color: #a9a9a6; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 32px); }
.point-list-num { counter-reset: pt; }
.point-list-num li { counter-increment: pt; display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; }
.point-list-num li::before { content: counter(pt, decimal-leading-zero); grid-row: span 2; font-weight: 600; font-size: 0.9rem; color: var(--muted); padding-top: 2px; }
.point-list { list-style: none; margin: 0; padding: 0; }
.point-list li { padding-block: 20px; border-top: 1px solid var(--line-strong); }
.point-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.point-list h3 { font-size: 1.05rem; font-weight: 650; margin: 0 0 4px; }
.point-list p { color: var(--ink-2); margin: 0; font-size: 0.97rem; }

.checklist { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-inline-start: 26px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.45em; width: 12px; height: 6px; border-inline-start: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
[dir="rtl"] .checklist li::before { transform: scaleX(-1) rotate(-45deg); }
.checklist-grid { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--accent); }
.acc-plus { position: relative; width: 14px; height: 14px; flex: none; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1.5px; background: currentColor; translate: 0 -50%; transition: transform 0.2s; }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[open] .acc-plus::after { transform: rotate(0); }
.acc-body { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.acc-body p { margin: 0; }

/* ---------- CTA ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); background: var(--ink); color: #e9e7e2; }
.cta-band .h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-lime { background: var(--lime); color: var(--ink); padding-block: clamp(72px, 10vw, 128px); }
.cta-title { font-size: clamp(2.4rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; margin: 0 0 40px; max-width: 18ch; text-wrap: balance; }
[lang="ar"] .cta-title { letter-spacing: 0; line-height: 1.3; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.cta-row p { margin: 0; max-width: 52ch; font-size: 1.1rem; }
.cta-lime .btn-ghost { border-color: var(--ink); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.inline-cta h3 { margin: 0 0 4px; }
.inline-cta p { margin: 0; color: var(--ink-2); }

/* ---------- page hero ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero-compact { padding-block: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 44px); }
.page-hero .h1 { max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { padding-block: 6px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }
.crumb-sep { color: var(--line-strong); }

.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.panel { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kv { margin: 0 0 24px; }
.kv > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: 0.9rem; }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.kv a { color: var(--accent); }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a, .filter-chip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font-size: 0.875rem; color: var(--ink-2); background: transparent; }
.tag-list a:hover, .filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.other-title { color: var(--muted); font-weight: 500; font-size: 0.9rem; }

/* ---------- services list / detail ---------- */
.service-list { display: grid; gap: clamp(48px, 7vw, 88px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.service-row.is-alt .service-row-media { order: 2; }
.service-row-media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body .h3 a:hover { color: var(--accent); }
.mini-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 4px 0 28px; }
.mini-facts dt { font-size: 0.82rem; color: var(--muted); }
.mini-facts dd { margin: 0; font-weight: 600; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.service-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.service-hero .lead { margin-bottom: 28px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose-block p { color: var(--ink-2); }
.prose-block .h3 { margin-top: 0; }
.prose-block .h3 ~ .h3 { margin-top: 40px; }
.prose-block .h3 + .muted-lg { color: var(--ink); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.two-lists .checklist { margin-top: 12px; }
.info-stack { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.info-list { margin: 0; border-top: 1px solid var(--line-strong); }
.info-list > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 0.82rem; color: var(--muted); margin-bottom: 2px; }
.info-list dd { margin: 0; color: var(--ink); font-size: 0.97rem; overflow-wrap: anywhere; }
.info-list a { color: var(--accent); }
.info-list a:hover { text-decoration: underline; }
.num-list { margin: 12px 0 0; padding-inline-start: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.num-list li { counter-increment: n; display: flex; gap: 10px; color: var(--ink-2); font-size: 0.95rem; }
.num-list li::before { content: counter(n) "."; flex: none; min-width: 1.2em; font-weight: 600; color: var(--ink); }

/* ---------- shop ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 56px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--ink-2); display: grid; justify-items: center; gap: 12px; }
.empty-state p { margin: 0; }

/* ---------- product page ---------- */
.product-page { padding-block: 32px 88px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-hero-img { aspect-ratio: 3 / 2; margin-bottom: 40px; }
.buy-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.buy-box .h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 8px 0 10px; }
.buy-box > p { color: var(--ink-2); }
.buy-price { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; margin: 8px 0 4px; border-block: 1px solid var(--line); }
.buy-price strong { font-size: 2.2rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.buy-price > span { color: var(--muted); font-size: 0.875rem; }
.buy-facts { margin: 12px 0 20px; display: grid; gap: 12px; }
.buy-facts dt { color: var(--muted); font-size: 0.82rem; }
.buy-facts dd { margin: 0; font-size: 0.95rem; }
.buy-form { display: grid; gap: 10px; }
.qty-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.92rem; color: var(--ink-2); margin-bottom: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: var(--bg-alt); }
.qty input { width: 42px; height: 36px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.secure-note { font-size: 0.85rem; color: var(--muted); margin: 16px 0 12px; }

/* ---------- checkout ---------- */
.checkout-section { padding-top: 40px; }
.checkout-steps { list-style: none; padding: 0; margin: 0 0 32px; display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 0.875rem; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.cs-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 600; }
.checkout-steps .is-current { color: var(--ink); font-weight: 600; }
.checkout-steps .is-current .cs-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.checkout-steps .is-done { color: var(--ink-2); }
.checkout-steps .is-done .cs-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.checkout-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.form-card, .summary-card, .order-detail { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form-card > .h3, .form-card > .h4 { margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6a6d73 50%), linear-gradient(135deg, #6a6d73 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 36px; }
[dir="rtl"] .field select { background-position: 18px 50%, 13px 50%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 245, 60, 0.55); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 0.84rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { padding: 4px 0; margin: 4px 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 0.95rem; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-success { background: var(--ok-bg); color: var(--ok); }

.summary-card .h4 { margin-bottom: 16px; }
.summary-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.summary-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.summary-items li:not(:has(img)) { grid-template-columns: 1fr auto; }
.summary-items img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.summary-items strong { display: block; font-size: 0.95rem; line-height: 1.3; font-weight: 600; }
.summary-items small { color: var(--muted); font-size: 0.82rem; }
.summary-items > li > span { font-weight: 600; white-space: nowrap; }
.totals { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; color: var(--ink-2); }
.totals dd { margin: 0; }
.totals .grand { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.summary-card .fine-print { margin-top: 12px; }

.cart-list { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cart-row img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-info { display: grid; gap: 2px; }
.cart-info a:hover { color: var(--accent); }
.cart-info small { color: var(--muted); font-size: 0.84rem; }
.cart-line { font-size: 1.02rem; min-width: 90px; text-align: end; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }

.result-card { text-align: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
.result-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; }
.result-ok .result-icon { background: var(--ok-bg); color: var(--ok); }
.result-bad .result-icon { background: var(--danger-bg); color: var(--danger); }
.result-wait .result-icon { background: var(--warn-bg); color: var(--warn); }
.result-card .muted-lg { max-width: 56ch; margin-inline: auto; }
.result-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; text-align: start; }
.result-meta > div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); }
.result-meta dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
.result-meta dd { margin: 0; font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.order-detail { margin-bottom: 20px; }
.status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.82rem; font-weight: 600; }
.status-paid { background: var(--ok-bg); color: var(--ok); }
.status-pending { background: var(--warn-bg); color: var(--warn); }
.status-failed, .status-cancelled { background: var(--danger-bg); color: var(--danger); }
.status-refunded { background: var(--bg-alt); color: var(--ink-2); }

/* ---------- contact / faq / legal ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-refund { margin-top: 24px; color: var(--ink-2); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.faq-layout, .legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.side-nav a { padding: 8px 0; color: var(--muted); font-size: 0.94rem; }
.side-nav a:hover { color: var(--ink); }
.side-nav a.is-active { color: var(--ink); font-weight: 600; }
.faq-group { margin-bottom: 48px; }
.faq-group .h3 { margin-bottom: 8px; }
.prose { max-width: 72ch; color: var(--ink-2); font-size: 1.02rem; }
.prose h2 { color: var(--ink); font-size: 1.25rem; font-weight: 650; margin: 2em 0 0.6em; letter-spacing: -0.01em; }
.prose h3 { color: var(--ink); font-size: 1.05rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.prose .updated { font-size: 0.85rem; color: var(--muted); }
.error-hero { min-height: 60vh; display: flex; align-items: center; border-bottom: 0; }
.error-hero .hero-ctas { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9a9a6; padding-top: 72px; overflow: hidden; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text span { color: #8d8e93; }
.site-footer .logo-mark { color: var(--lime); --logo-ink: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: #a9a9a6; font-size: 0.93rem; margin: 16px 0; max-width: 38ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9rem; color: #c9c9c6; }
.footer-contact a:hover { color: var(--lime); }
.footer-title { font-size: 0.8rem; font-weight: 600; color: #fff; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
[lang="ar"] .footer-title { text-transform: none; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #a9a9a6; font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-mark { margin: 0; font-size: clamp(4rem, 17vw, 13.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; color: #1a1b1f; white-space: nowrap; user-select: none; direction: ltr; text-align: center; transition: color 0.8s var(--ease); }
.footer-mark:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid #2a2c31; margin-top: 24px; font-size: 0.84rem; color: #8d8e93; }
.footer-bottom p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--lime); }
.footer-pay-note { flex-basis: 100%; }

.cookie {
  position: fixed; z-index: 60; bottom: 16px; inset-inline-start: 16px; max-width: 420px;
  display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.45); font-size: 0.86rem;
}
.cookie p { margin: 0; }
.cookie a { color: var(--ink); text-decoration: underline; }
.cookie .btn-light { background: var(--ink); color: #fff; }
.cookie .btn-light:hover { background: var(--lime); color: var(--ink); }
.cookie[hidden] { display: none; }

/* ---------- motion ---------- */
.service-row-media img, .media-frame img { transition: scale 0.8s var(--ease); }
.service-row:hover .service-row-media img, a.media-frame:hover img { scale: 1.05; }
.service-row-body .si-num { display: block; margin-bottom: 14px; }
.acc-body { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .has-reveal [data-reveal]:not(.is-in) { opacity: 0; translate: 0 36px; }
  .has-reveal [data-reveal] { transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
  .has-reveal .product-card[data-reveal].is-in { transition: opacity 0.9s var(--ease), translate 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.2s; transition-delay: 0s; }
  .acc-item[open] .acc-body { animation: fade-up 0.4s var(--ease); }
  .has-reveal .steps-big .step .step-num { color: #2a2c31; }
  .has-reveal .steps-big .step.is-in .step-num { color: var(--lime); transition-duration: 0.9s; transition-delay: calc(0.5s + var(--rd, 0) * 0.25s); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px clamp(20px, 4vw, 40px) 32px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav a { font-size: 1.2rem; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { background: transparent; }
  .main-nav a::after { display: none; }
  .page-home .main-nav { background: var(--ink); }
  .page-home .main-nav a { border-bottom-color: #222428; }
  .main-nav a.is-active { color: var(--ink); font-weight: 700; }
  .sticky-head { position: static; }
  .hero-row, .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); margin-inline: auto; }
  .split, .service-hero-grid, .service-row, .detail-grid, .product-layout, .checkout-layout, .contact-layout, .cta-band { grid-template-columns: 1fr; }
  .service-row.is-alt .service-row-media { order: 0; }
  .info-stack, .buy-box, .checkout-layout > aside, .side-nav { position: static; }
  .product-main { display: contents; }
  .product-hero-img { margin-bottom: 0; }
  .buy-box { order: 1; }
  .product-main > .prose-block { order: 2; }
  .faq-layout, .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .result-meta { grid-template-columns: 1fr 1fr; }
  .service-index a { grid-template-columns: 88px minmax(0, 1fr) 20px; gap: 16px; padding-inline: 8px; }
  .service-index .si-num { display: none; }
  .service-index img { width: 88px; }
  .si-price { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .si-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .steps-big { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .brand-text span { display: none; }
  .lang-switch summary span { display: none; }
  .hero-figure { aspect-ratio: 4 / 3; }
  .steps-big { grid-template-columns: 1fr; }
  .step-num { font-size: 3rem; margin-bottom: 12px; }
  .cta-actions { width: 100%; }
  .footer-mark { font-size: 16vw; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(20px, 4vw, 40px)); padding: 2px clamp(20px, 4vw, 40px); scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; }
  .product-art { aspect-ratio: 16 / 9; }
  .checkout-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 0.8rem; }
  .checkout-steps li { padding-top: 10px; border-top: 3px solid var(--line-strong); min-width: 0; }
  .checkout-steps li.is-current, .checkout-steps li.is-done { border-top-color: var(--ink); }
  .checkout-steps .cs-dot { display: none; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .hero-facts > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; }
  .hero-facts dd { text-align: end; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .steps, .two-lists, .checklist-grid, .form-grid { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .service-index a { grid-template-columns: 72px minmax(0, 1fr) 18px; gap: 14px; padding-block: 14px; }
  .service-index img { width: 72px; }
  .si-title { font-size: 1.02rem; }
  .si-text { font-size: 0.9rem; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .cart-row img { width: 72px; height: 54px; }
  .cart-row .qty { grid-column: 2; justify-self: start; }
  .cart-row .cart-line { grid-column: 3; grid-row: 2; }
  .cart-row .icon-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cookie { inset-inline: 12px; bottom: 12px; max-width: none; flex-wrap: wrap; }
  .product-foot { flex-wrap: wrap; }
}
