/* ==========================================================================
   UniZone — public site styles
   Mobile-first. Logical properties (inline-start/end) so Arabic RTL mirrors automatically.
   ========================================================================== */

:root {
  --navy-900: #0b1f3a;
  --navy-800: #12305b;
  --navy-700: #1b4079;
  --navy-100: #dde7f4;
  --navy-50: #eef3fa;
  --accent: #f2a93b;
  --accent-600: #b86e0a;
  --accent-50: #fdf4e6;
  --ink: #142033;
  --muted: #5a6678;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --success: #117a43;
  --danger: #b42318;
  --wa: #128c7e;
  --wa-dark: #0e6f64;
  --surface: #ffffff;
  --ink-soft: var(--ink-soft);
  --input-border: var(--input-border);
  --accent-hover: var(--accent-hover);
  --on-primary: #ffffff;
  --on-accent: #0b1f3a;
  --on-dark: #ffffff;
  --on-dark-muted: var(--on-dark-muted);
  --primary-rgb: 18 48 91;
  --accent-rgb: 242 169 59;
  --dark-rgb: 11 31 58;
  --wa-rgb: 18 140 126;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px -12px rgb(var(--dark-rgb) / .18);
  --shadow-sm: 0 2px 8px rgb(var(--dark-rgb) / .06);
  --header-h: 72px;
}

:lang(ar) { --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }

/* ---------- Base ---------- */
*, *::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; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); font-weight: 700; letter-spacing: -.015em; }
:lang(ar) :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100; background: var(--navy-900); color: var(--on-dark); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: var(--on-dark); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.text-link { font-weight: 600; font-size: .92rem; }
.grid { display: grid; gap: 1.5rem; }
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .align-center { align-items: center; } }
@media (max-width: 639px) { .hide-sm { display: none !important; } }
@media (max-width: 991px) { .hide-md { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 700; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.025rem; }
.btn-sm { padding: .5rem .85rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); box-shadow: 0 8px 20px -8px rgb(var(--accent-rgb) / .7); }
.btn-dark { background: var(--navy-800); color: var(--on-primary); }
.btn-dark:hover { background: var(--navy-900); color: var(--on-dark); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: var(--on-primary); }
.btn-ghost-light { border-color: rgb(var(--on-dark-rgb) / .55); color: var(--on-dark); }
.btn-ghost-light:hover { background: var(--on-dark); color: var(--navy-900); }
.btn-wa { background: var(--wa); color: var(--on-wa); }
.btn-wa:hover { background: var(--wa-dark); color: var(--on-wa); }
.btn-link { background: none; color: var(--navy-700); padding-inline: .5rem; }
.btn-link:hover { text-decoration: underline; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--navy-900); cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--navy-50); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.topbar-contact li, .topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--accent); }
.lang-switch { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; border: 1px solid rgb(var(--on-dark-rgb) / .25); }
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 97%, transparent); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-logo { width: auto; max-width: 240px; object-fit: contain; flex: none; }
.brand-light { color: var(--on-dark); }
.nav-menu { display: none; }
.nav-menu ul { list-style: none; display: flex; gap: .15rem; }
.nav-menu a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-menu a:hover { background: var(--navy-50); color: var(--navy-900); }
.nav-menu a[aria-current="page"] { color: var(--navy-800); background: var(--navy-50); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
.nav-cta { display: none; }
.cart-count {
  position: absolute; top: -6px; inset-inline-end: -6px; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem;
  border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--surface);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; padding-block: .75rem; }
.mobile-menu a { display: block; padding: .8rem .5rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--navy-800); }
.mobile-menu-actions { display: grid; gap: .6rem; padding-bottom: 1.25rem; }

@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav-menu { display: block; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Flash ---------- */
.flash-stack { padding-top: 1rem; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid; margin-bottom: 1rem; }
.alert p { margin: 0; }
.alert .icon { margin-top: .15rem; }
.alert a { font-weight: 700; color: inherit; }
.alert-success { background: #ecfdf3; border-color: #abefc6; color: #085d3a; }
.alert-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.alert-info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(1200px 500px at 85% -10%, rgb(var(--accent-rgb) / .18), transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgb(var(--on-dark-rgb) / .08); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; padding-block: 3.5rem 4rem; }
.hero h1 { color: var(--on-dark); font-size: clamp(2.1rem, 5vw, 3.5rem); max-width: 15ch; }
:lang(ar) .hero h1 { max-width: 18ch; }
.hero .lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgb(var(--on-dark-rgb) / .14); }
.hero-stats strong { display: block; font-size: 1.85rem; line-height: 1.1; color: var(--on-dark); }
.hero-stats span { color: var(--on-dark-muted); font-size: .9rem; }
.hero-art img { width: 100%; max-width: 540px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.1fr .9fr; padding-block: 5rem 5.5rem; } }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .icon { width: 1.1rem; height: 1.1rem; }
.eyebrow:has(.icon)::before { display: none; }
.eyebrow-dark { color: var(--accent-600); }
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section-flush-top { padding-top: 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.section-head.split h2 { margin: 0; }

/* ---------- Page hero & breadcrumb ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy-50), var(--bg-soft)); border-bottom: 1px solid var(--line); padding-block: 2.25rem 2.75rem; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: .35em; }
.page-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 46rem; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .875rem; color: var(--muted); margin-bottom: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .35rem; color: #a3aebf; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumb-top { padding-block: 1.25rem; }

/* ---------- Cards: industries, features ---------- */
.icon-badge { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy-800); }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-wa { background: color-mix(in srgb, var(--wa) 12%, var(--surface)); color: var(--wa-dark); }
.cards-industries { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.industry-card {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); color: inherit; }
.industry-card:hover .icon-badge { background: var(--navy-800); color: var(--on-primary); }
.industry-card h3 { margin: .25rem 0 0; }
.industry-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--navy-800); font-size: .92rem; }

.why-layout { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .why-layout { grid-template-columns: .85fr 1.15fr; align-items: start; } .why-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.step-icon { color: var(--navy-700); }
.step-icon .icon { width: 28px; height: 28px; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Product cards ---------- */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (max-width: 479px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.badge { display: inline-block; padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--accent); color: var(--on-accent); }
.product-media .badge { position: absolute; top: .75rem; inset-inline-start: .75rem; }
.product-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: 1rem 1.1rem 1.2rem; }
.product-cat { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
:lang(ar) .product-cat { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.product-title { font-size: 1.02rem; margin: 0; line-height: 1.35; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a::after { content: ""; position: absolute; inset: 0; }
.product-title a:focus-visible { outline: none; }
.product-card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.price { margin: auto 0 0; padding-top: .35rem; font-weight: 800; color: var(--navy-800); }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.price-lg { font-size: 1.6rem; margin: 0; padding: 0; }
.price-lg small { font-size: .9rem; }
@media (max-width: 479px) { .product-body { padding: .8rem .85rem 1rem; } .product-title { font-size: .95rem; } }

/* ---------- Clients & testimonials ---------- */
.clients-title { text-align: center; font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 1.5rem; }
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.logo-strip li { display: grid; place-items: center; height: 92px; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.logo-strip img { max-height: 64px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip li:hover img { filter: none; opacity: 1; }
.testimonials { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.testimonial blockquote { margin: 0; font-size: 1.02rem; flex: 1; }
.testimonial blockquote p { margin: 0; }
.stars { display: flex; gap: 2px; color: var(--accent); }
.icon-star { fill: currentColor; width: 1.1rem; height: 1.1rem; }
.who { display: flex; align-items: center; gap: .8rem; }
.who strong { display: block; color: var(--navy-900); }
.who small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-50); color: var(--navy-800); display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 22px; color: var(--on-dark);
  background: radial-gradient(600px 300px at 100% 0%, rgb(var(--accent-rgb) / .25), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.cta-band h2 { color: var(--on-dark); margin-bottom: .4rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field { min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--navy-900); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid var(--input-border); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; padding-inline-end: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6678' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right .8rem center; }
[dir="rtl"] select { background-position: left .8rem center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / .14); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: .35rem 0 0; }
.hint { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.hint.warn { color: var(--accent-600); font-weight: 600; }
.input-sm { min-height: 40px !important; padding: .45rem .7rem !important; font-size: .9rem; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; top: 50%; inset-inline-start: .85rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input:not([type="radio"]) { padding-inline-start: 2.6rem; }
.radio { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-weight: 500 !important; cursor: pointer; margin: 0 !important; }
.radio input { width: 18px; height: 18px; accent-color: var(--navy-800); }
.field-inline { display: flex; align-items: center; gap: .6rem; }
.field-inline label { margin: 0; white-space: nowrap; }
.field-inline select { min-height: 42px; width: auto; }
.qty { display: flex; align-items: stretch; max-width: 170px; border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.qty:focus-within { border-color: var(--navy-800); box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / .14); }
.qty button { width: 44px; border: 0; background: var(--bg-soft); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--navy-50); }
.qty input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: center; min-width: 0; -moz-appearance: textfield; appearance: textfield; font-weight: 700; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.card-title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin-bottom: .75rem; }
.card-title .icon { color: var(--navy-700); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.form-layout { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .form-layout { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.contact-quick { display: grid; gap: .6rem; margin-top: 1.5rem; }
.contact-quick a { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-quick a:hover { border-color: var(--navy-100); background: var(--navy-50); }
.contact-quick .icon { color: var(--navy-700); }

/* ---------- Catalog ---------- */
.catalog { display: grid; gap: 1.75rem; }
@media (min-width: 992px) { .catalog { grid-template-columns: 270px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filters summary { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; color: var(--navy-900); }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; margin-inline-start: auto; font-size: 1.3rem; line-height: 1; color: var(--navy-700); }
.filters[open] summary::after { content: "−"; }
.filters form { display: grid; gap: 1.25rem; padding: 0 1.25rem 1.25rem; }
.filter-actions { display: flex; gap: .5rem; align-items: center; }
@media (min-width: 992px) {
  .filters { position: sticky; top: calc(var(--header-h) + 1rem); }
  .filters summary { pointer-events: none; }
  .filters summary::after { display: none; }
}
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-count { margin: 0; color: var(--muted); font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.chip .icon { width: 1rem; height: 1rem; color: var(--navy-700); }
.chip:hover { border-color: var(--navy-100); background: var(--navy-50); color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--on-primary); }
.chip[aria-pressed="true"] .icon { color: var(--on-primary); }
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-bar { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--surface) 95%, transparent); border-bottom: 1px solid var(--line); padding-block: .8rem; }
@media (max-width: 767px) { .chip-bar .chip-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .chip-bar .chip { white-space: nowrap; } }
.filter-chips { margin-bottom: 1.75rem; justify-content: center; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 .75rem; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--surface); }
.pagination a:hover { background: var(--navy-50); }
.pagination [aria-current="page"] { background: var(--navy-800); color: var(--on-primary); border-color: var(--navy-800); }
.pagination .gap { border: 0; background: none; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty > .icon { width: 52px; height: 52px; margin: 0 auto 1rem; color: #9aa7b8; display: block; }
.empty h2 { font-size: 1.35rem; }
.empty-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr 1fr; align-items: start; } .gallery { position: sticky; top: calc(var(--header-h) + 1rem); } }
.gallery-main { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.gallery-thumbs button { width: 76px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--bg-soft); cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--navy-800); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin: .35rem 0 1rem; }
.price-row { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.product-intro { font-size: 1.075rem; color: var(--ink-soft); }
.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.spec-list div { padding: .75rem 1rem; border-radius: 12px; background: var(--bg-soft); }
.spec-list dt { font-size: .78rem; color: var(--muted); font-weight: 600; }
.spec-list dd { margin: 0; font-weight: 700; color: var(--navy-900); }
.option-group { margin-bottom: 1.25rem; }
.option-title { font-size: .95rem; margin-bottom: .6rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem .3rem .35rem; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; }
[dir="rtl"] .swatch { padding: .3rem .35rem .3rem .75rem; }
.swatch i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); background: var(--c); }
.size-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.size-list li { min-width: 46px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-weight: 700; font-size: .875rem; }
.quote-box { margin-top: 1.5rem; padding: 1.4rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.quote-box-title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: 1rem; }
.quote-box-title .icon { color: var(--navy-700); }
.quote-box-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.quote-box-actions .btn { flex: 1 1 200px; }
.perks { display: grid; gap: .6rem; margin-top: 1.25rem; }
.perks li { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .95rem; }
.perks .icon { color: var(--success); }
.detail-grid { display: grid; gap: 2rem; }
@media (min-width: 992px) { .detail-grid { grid-template-columns: 1.4fr .8fr; align-items: start; } }
.detail-main { display: grid; gap: 1.5rem; }
.detail-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.detail-block h2 { font-size: 1.35rem; }
.detail-block h2 small { color: var(--muted); font-weight: 500; font-size: .9rem; }
.detail-side { display: grid; gap: 1.25rem; }
.check-list { display: grid; gap: .7rem; margin-top: 1rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: .2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.prose p:last-child { margin-bottom: 0; }
.prose-lg { font-size: 1.075rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .7rem .9rem; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { background: var(--bg-soft); font-weight: 700; color: var(--navy-900); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--navy-900); }

/* ---------- Industries ---------- */
.sector { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.sector:last-child { border-bottom: 0; }
@media (min-width: 900px) { .sector { grid-template-columns: 1fr 1fr; gap: 4rem; } .sector:nth-child(even) .sector-media { order: 2; } }
.sector-media { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-50), var(--navy-100)); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; }
.sector-icon { color: var(--navy-800); }
.sector-icon .icon { width: 120px; height: 120px; stroke-width: 1.2; }
.sector-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.mini-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin: 1.5rem 0; }
.mini-products a { display: flex; align-items: center; gap: .75rem; padding: .5rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; background: var(--surface); }
.mini-products a:hover { border-color: var(--navy-100); background: var(--navy-50); }
.mini-products img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.sector-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Quote cart ---------- */
.cart-layout { display: grid; gap: 2rem; }
@media (min-width: 1080px) { .cart-layout { grid-template-columns: 1.35fr 1fr; align-items: start; } #quote-contact { position: sticky; top: calc(var(--header-h) + 1rem); } }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .5rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.cart-info h3 { font-size: 1rem; margin-bottom: .2rem; }
.cart-info h3 a { color: inherit; text-decoration: none; }
.cart-info p { font-size: .875rem; margin-bottom: .6rem; }
.cart-qty { grid-column: 2; }
.cart-qty label { font-size: .8rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: .25rem; }
.cart-qty .qty { max-width: 150px; }
.cart-qty .qty button { width: 38px; }
.cart-qty .qty input { min-height: 40px; }
.cart-remove { grid-column: 3; grid-row: 1; }
@media (min-width: 700px) {
  .cart-line { grid-template-columns: 88px 1fr 170px auto; }
  .cart-thumb img { width: 88px; height: 110px; }
  .cart-qty { grid-column: 3; grid-row: 1; }
  .cart-remove { grid-column: 4; }
}
.cart-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-top: 1.25rem; }
.success-mark { width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 50%; background: #ecfdf3; color: var(--success); display: grid; place-items: center; }
.success-mark .icon { width: 44px; height: 44px; stroke-width: 2.4; }
.reference { font-size: 1.1rem; padding: 1rem; border-radius: 12px; background: var(--bg-soft); display: inline-block; }

/* ---------- Gallery ---------- */
.project-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.project-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.project-media { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.project-media:hover img { transform: scale(1.04); }
.photo-count { position: absolute; bottom: .75rem; inset-inline-end: .75rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: rgb(var(--dark-rgb) / .8); color: var(--on-dark); font-size: .8rem; font-weight: 700; }
.photo-count .icon { width: 1rem; height: 1rem; }
.project-body { padding: 1.25rem 1.4rem 1.5rem; }
.project-body h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.project-body p:last-child { margin: 0; }
.project-meta { display: flex; align-items: center; gap: .75rem; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-weight: 700; font-size: .78rem; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(var(--dark-rgb) / .88); }
.lightbox img { max-width: 100%; max-height: 85vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy-900); display: grid; place-items: center; cursor: pointer; }
.lightbox-close { top: 1rem; inset-inline-end: 1rem; }
.lightbox-prev { top: 50%; inset-inline-start: 1rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; inset-inline-end: 1rem; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: .75rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--navy-100); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-50); color: var(--navy-800); display: grid; place-items: center; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--navy-800); color: var(--on-primary); }
.faq .answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq-contact { display: grid; gap: 1rem; margin-top: 2rem; align-items: center; }
@media (min-width: 768px) { .faq-contact { grid-template-columns: 1fr auto; } }
.faq-contact p { margin: 0; }

/* ---------- About ---------- */
.about-art { border-radius: 24px; padding: 2rem; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1.75rem 1rem; border-radius: var(--radius); background: var(--navy-50); }
.stat strong { display: block; font-size: 2.2rem; color: var(--navy-800); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; }
.values { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.value-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value-card h3 { margin-top: 1rem; }
.value-card p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.info-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list h2 { font-size: .85rem; color: var(--muted); font-weight: 600; margin: 0 0 .15rem; }
.info-list p { margin: 0; font-weight: 600; }
.info-list a { font-weight: 700; color: var(--navy-900); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--bg-soft); }

/* ---------- Errors ---------- */
.error-page { padding-block: clamp(4rem, 10vw, 7rem); }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 .5rem; background: linear-gradient(135deg, var(--navy-800), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-inline { display: flex; gap: .5rem; max-width: 480px; margin: 1.5rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 22rem; }
.footer-title { color: var(--on-dark); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer ul:not(.social) li { margin-bottom: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--on-dark-rgb) / .08); }
.social a:hover { background: var(--accent); color: var(--on-accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgb(var(--on-dark-rgb) / .1); font-size: .875rem; }
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; z-index: 60; bottom: 1.25rem; inset-inline-end: 1.25rem; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: var(--on-wa); box-shadow: 0 12px 28px -6px rgb(var(--wa-rgb) / .55); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: var(--on-wa); }
.wa-float .icon { width: 30px; height: 30px; }

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .cta-band, .quote-box { display: none !important; }
}
