/* ==========================================================================
   UniformPro — B2B Uniform Export Website
   Design system: deep navy + orange accent, responsive, RTL-ready
   ========================================================================== */

:root {
  --navy-950: #071a33;
  --navy-900: #0b2347;
  --navy-800: #10305f;
  --navy-700: #16407c;
  --navy-600: #1d51a0;
  --blue-500: #2b6be4;
  --blue-100: #e3edfd;
  --orange-600: #e05e0a;
  --orange-500: #f97316;
  --orange-400: #fb8a3c;
  --orange-100: #fdeadd;
  --ink: #10233f;
  --muted: #5b6b84;
  --soft: #7c8aa3;
  --line: #dde4ef;
  --line-strong: #c6d2e4;
  --bg: #f4f7fb;
  --bg-deep: #eaf0f8;
  --white: #ffffff;
  --wa: #1fb356;
  --wa-soft: #e7f8ee;
  --danger: #d64545;
  --success: #1e9e5a;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 66, .06), 0 1px 3px rgba(9, 30, 66, .08);
  --shadow-md: 0 6px 18px -6px rgba(9, 30, 66, .16);
  --shadow-lg: 0 18px 40px -14px rgba(9, 30, 66, .28);
  --font-latin: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Cairo", "Archivo", "Segoe UI", Tahoma, sans-serif;
  --font: var(--font-latin);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
html[dir="rtl"] body { font-family: var(--font-arabic); }
html[dir="rtl"] :is(h1,h2,h3,h4,h5,h6,.btn,.eyebrow,.nav-link,.logo-word) { font-family: var(--font-arabic); }
img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5em; line-height: 1.22; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-inline-start: 1.25em; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container-wide { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-deep { background: var(--navy-900); color: #dbe6f7; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange-500); }
html[dir="rtl"] .eyebrow::before { order: 2; }
.section-deep .eyebrow { color: var(--orange-400); }
.section-deep .eyebrow::before { background: var(--orange-400); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; }
.section-deep .lead { color: #b9c9e0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 4px 12px -4px rgba(249, 115, 22, .55); }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17954a; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-700); }
.btn-ghost:hover { background: var(--bg-deep); }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg.wa { fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy-900);
  color: #fff;
}
.topbar {
  background: var(--navy-950);
  font-size: .8rem;
  color: #b9c9e0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar-info { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-info a { color: #cfe0f5; display: inline-flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: #fff; }
.topbar-info svg { width: 13px; height: 13px; }
.topbar-langs { display: flex; gap: 2px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: #9fb2ce; font-family: inherit; font-size: .78rem; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { color: var(--orange-400); background: rgba(249,115,22,.14); }
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.logo:hover { color: #fff; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--orange-500), #ff9a3d);
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-word { font-weight: 800; font-size: 1.18rem; line-height: 1.1; letter-spacing: -.01em; }
.logo-sub { display: block; font-size: .62rem; font-weight: 500; color: #9fb2ce; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: #d7e2f2; font-weight: 500; font-size: .95rem;
  padding: 9px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.active { color: var(--orange-400); background: rgba(249,115,22,.12); }
.nav-cta { margin-inline-start: 8px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; color: #fff;
  padding: 8px; border-radius: 6px;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 120; display: none;
}
.mobile-drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7,26,51,.55); }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(320px, 86vw);
  background: var(--white); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 22px;
  overflow-y: auto;
}
html[dir="rtl"] .drawer-panel { inset-inline-start: auto; inset-inline-end: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close { background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-nav { list-style: none; margin: 0 0 18px; padding: 0; }
.drawer-nav a {
  display: block; padding: 12px 10px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line); border-radius: 6px;
}
.drawer-nav a:hover, .drawer-nav a.active { color: var(--orange-500); background: var(--bg); }
.drawer-langs { display: flex; gap: 8px; margin-top: 6px; }

/* ---------- Hero / carousel ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; min-height: 620px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,51,.88) 0%, rgba(7,26,51,.62) 45%, rgba(7,26,51,.18) 100%);
}
html[dir="rtl"] .hero-slide::after { background: linear-gradient(-100deg, rgba(7,26,51,.88) 0%, rgba(7,26,51,.62) 45%, rgba(7,26,51,.18) 100%); }
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 620px; max-width: 640px; padding: 90px 0 110px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; background: rgba(249,115,22,.16);
  border: 1px solid rgba(249,115,22,.45);
  color: var(--orange-400); font-size: .82rem; font-weight: 600;
  padding: 6px 13px; border-radius: 40px; margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p.hero-sub { color: #c6d4ea; font-size: 1.1rem; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ribbon {
  position: absolute; inset-inline-end: 0; bottom: 0; z-index: 2;
  background: rgba(11,35,71,.85); backdrop-filter: blur(4px);
  color: #cfe0f5; font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 26px 12px 20px;
  border-start-start-radius: 10px;
}
.hero-ribbon svg { width: 18px; height: 18px; color: var(--orange-400); }
.carousel-dots {
  position: absolute; bottom: 34px; inset-inline-start: max(24px, calc((100% - 1200px)/2)); z-index: 3;
  display: flex; gap: 9px;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--orange-400); transform: scale(1.18); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(11,35,71,.6); border: 1px solid rgba(255,255,255,.28);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.carousel-arrow:hover { background: rgba(249,115,22,.75); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow.prev { inset-inline-start: 18px; }
.carousel-arrow.next { inset-inline-end: 18px; }
html[dir="rtl"] .carousel-arrow svg { transform: scaleX(-1); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2x2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Advantage cards */
.adv-card { position: relative; overflow: hidden; }
.adv-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--navy-900); color: var(--orange-400);
  display: grid; place-items: center; margin-bottom: 18px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { margin-bottom: 8px; }
.adv-card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }
.adv-num {
  position: absolute; inset-inline-end: 18px; top: 8px;
  font-size: 3.2rem; font-weight: 800; color: var(--bg-deep); line-height: 1;
}
html[dir="rtl"] .adv-num { letter-spacing: 0; }

/* Category cards */
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--navy-900); }
.cat-card img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-body {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 22px; color: #fff;
  background: linear-gradient(180deg, rgba(7,26,51,0) 0%, rgba(7,26,51,.88) 100%);
}
.cat-body h3 { color: #fff; margin-bottom: 4px; }
.cat-body p { margin: 0; color: #c6d4ea; font-size: .85rem; }
.cat-body .cat-arrow { position: absolute; inset-inline-end: 18px; bottom: 20px; color: var(--orange-400); }
.cat-body .cat-arrow svg { width: 20px; height: 20px; }
html[dir="rtl"] .cat-body .cat-arrow svg { transform: scaleX(-1); }
.cat-count { font-weight: 700; color: var(--orange-400); }

/* Stats */
.stat-block { display: flex; flex-direction: column; gap: 30px; }
.stat { border-inline-start: 3px solid var(--orange-500); padding-inline-start: 18px; }
.stat .num { font-size: 2.35rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.stat .num span { color: var(--orange-500); }
.stat .lbl { color: var(--muted); font-size: .92rem; }
.section-deep .stat .num { color: #fff; }
.section-deep .stat .lbl { color: #b9c9e0; }

/* Why us */
.why-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: none; }
.why-item svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--orange-500); }
.why-item h4 { margin-bottom: 2px; }
.why-item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Testimonials */
.testi-card { display: flex; flex-direction: column; }
.testi-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; font-size: .9rem; }
.testi-text { font-size: .98rem; color: var(--ink); margin-bottom: 20px; flex: 1; }
.testi-foot { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: 1rem;
  display: grid; place-items: center; letter-spacing: .02em;
}
.testi-foot .who { font-weight: 700; color: var(--navy-900); font-size: .94rem; }
.testi-foot .meta { font-size: .8rem; color: var(--muted); }

/* Steps / flow */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 1.9rem; font-weight: 800; color: var(--orange-400); line-height: 1;
  display: block; margin-bottom: 12px;
}
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }
.step-connector { display: none; }

/* Timeline (about) */
.timeline { display: grid; grid-template-columns: 120px 40px 1fr; gap: 0; }
.tl-row { display: contents; }
.tl-time { padding: 18px 0; text-align: end; font-weight: 700; color: var(--navy-800); font-size: .98rem; }
.tl-axis { display: flex; justify-content: center; position: relative; }
.tl-axis::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.tl-dot {
  width: 15px; height: 15px; border-radius: 50%; align-self: center;
  background: var(--orange-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange-500);
  position: relative; z-index: 1;
}
.tl-content { padding: 14px 0 14px 26px; }
html[dir="rtl"] .tl-content { padding: 14px 26px 14px 0; }
.tl-content h4 { margin-bottom: 4px; }
.tl-content p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 560px; }

/* Certifications */
.cert-card { text-align: center; padding: 26px 18px; }
.cert-card .cert-mark {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--navy-900); color: var(--orange-400);
  display: grid; place-items: center;
}
.cert-card .cert-mark svg { width: 30px; height: 30px; }
.cert-card h4 { margin-bottom: 4px; font-size: 1rem; }
.cert-card p { margin: 0; color: var(--muted); font-size: .82rem; }

/* Product cards */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.prod-media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--bg); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .prod-media img { transform: scale(1.04); }
.prod-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--orange-500); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .03em;
}
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: .76rem; font-weight: 700; color: var(--blue-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.prod-name { font-size: 1.06rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; line-height: 1.3; }
.prod-spec { margin: 0 0 6px; color: var(--muted); font-size: .87rem; display: flex; gap: 7px; }
.prod-spec svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--orange-500); }
.prod-spec b { color: var(--ink); font-weight: 600; }
.prod-foot { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; align-items: center; }
.prod-price { font-size: .85rem; color: var(--muted); }
.prod-price b { color: var(--navy-800); font-size: .95rem; }

/* Filters */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-chip {
  border: 1px solid var(--line-strong); background: var(--white); color: var(--navy-800);
  font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 30px; transition: all .16s;
}
.filter-chip:hover { border-color: var(--navy-700); }
.filter-chip.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-search { position: relative; margin-inline-start: auto; }
.filter-search svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--soft); }
.filter-search input {
  width: 240px; padding: 10px 14px 10px 38px; border-radius: 30px;
  border: 1px solid var(--line-strong); font-family: inherit; font-size: .9rem; background: var(--white);
}
html[dir="rtl"] .filter-search input { padding: 10px 38px 10px 14px; }
html[dir="rtl"] .filter-search svg { inset-inline-start: auto; inset-inline-end: 13px; }
.filter-search input:focus { outline: 2px solid var(--blue-500); outline-offset: -1px; }
.result-count { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--line-strong); }

/* ---------- Quote / forms ---------- */
.quote-panel {
  background: var(--navy-900); border-radius: var(--radius);
  padding: 44px; color: #dbe6f7; position: relative; overflow: hidden;
}
.quote-panel::after {
  content: ""; position: absolute; inset-inline-end: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.35), transparent 65%);
}
.quote-panel h2 { color: #fff; }
.quote-panel .lead { color: #b9c9e0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: .85rem; font-weight: 600; color: inherit; }
.quote-panel .form-label { color: #d7e2f2; }
.form-control, .form-select, textarea.form-control {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 11px 14px; width: 100%;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus { outline: 2px solid var(--blue-500); outline-offset: -1px; border-color: transparent; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--muted); }
.quote-panel .form-hint { color: #93a7c4; }
.form-note { font-size: .8rem; color: var(--soft); }
.quote-panel .form-note { color: #93a7c4; }
.quote-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.quote-or { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: .85rem; }
.quote-panel .quote-or { color: #93a7c4; }
.file-hint { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--muted); }
.file-hint svg { width: 15px; height: 15px; color: var(--orange-400); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: none; }
.info-icon {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  background: var(--navy-900); color: var(--orange-400); display: grid; place-items: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-card h4 { margin-bottom: 2px; }
.info-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
.promise-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--wa-soft); border: 1px solid #bfe8d1; border-radius: var(--radius);
  padding: 18px 22px; color: #14532d;
}
.promise-card svg { width: 30px; height: 30px; flex: none; color: var(--wa); }
.promise-card h4 { margin-bottom: 2px; color: #14532d; }
.promise-card p { margin: 0; font-size: .9rem; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; bottom: 16px; inset-inline: 16px; z-index: 130;
  max-width: 760px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 18px 20px; display: none; gap: 18px; align-items: center;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: .88rem; color: var(--ink); flex: 1; }
.cookie-bar a { font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; flex: none; }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 110;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgba(31,179,86,.55);
  display: grid; place-items: center; transition: transform .15s;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 27px; height: 27px; }
.chat-panel {
  position: fixed; bottom: 92px; inset-inline-end: 22px; z-index: 111;
  width: min(360px, calc(100vw - 44px));
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: none;
  flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--navy-900); color: #fff; padding: 14px 16px; display: flex; gap: 11px; align-items: center; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-500); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.chat-head .name { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.chat-head .status { font-size: .75rem; color: #9fd6b4; display: flex; align-items: center; gap: 5px; }
.chat-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-close { margin-inline-start: auto; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; }
.chat-close svg { width: 20px; height: 20px; }
.chat-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; max-height: 46vh; overflow-y: auto; }
.chat-msg { background: var(--bg); border-radius: 10px; padding: 10px 13px; font-size: .87rem; color: var(--ink); max-width: 92%; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 16px 12px; }
.chat-quick button {
  background: var(--bg); border: 1px solid var(--line); color: var(--navy-800);
  font-family: inherit; font-size: .78rem; cursor: pointer; padding: 7px 12px; border-radius: 20px;
}
.chat-quick button:hover { border-color: var(--wa); color: var(--wa); }
.chat-actions { padding: 0 16px 14px; display: flex; gap: 8px; }
.chat-actions .btn { flex: 1; }

/* ---------- Toast / modal ---------- */
.toast {
  position: fixed; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 150; background: var(--navy-900); color: #fff;
  padding: 13px 22px; border-radius: 10px; box-shadow: var(--shadow-lg);
  font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 140; background: rgba(7,26,51,.55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white); border-radius: 14px; width: min(520px, 100%);
  padding: 30px; box-shadow: var(--shadow-lg); max-height: 88vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 8px; }
.modal .modal-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% -20%, rgba(249,115,22,.28), transparent 45%),
    linear-gradient(100deg, rgba(7,26,51,.92), rgba(11,35,71,.72));
}
.page-hero .container { position: relative; z-index: 1; padding-block: 64px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .lead { color: #c6d4ea; margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .83rem; color: #93a7c4; margin-bottom: 14px; }
.breadcrumb a { color: var(--orange-400); }
.breadcrumb svg { width: 13px; height: 13px; }
html[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9bcd9; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer-brand p { color: #8fa4c4; max-width: 300px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #a9bcd9; display: inline-flex; align-items: center; gap: 7px; }
.footer-links a:hover { color: var(--orange-400); }
.footer-links svg { width: 13px; height: 13px; color: var(--orange-400); }
html[dir="rtl"] .footer-links svg { transform: scaleX(-1); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--orange-400); }
.footer-contact a { color: #a9bcd9; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: #7d92b2;
}
.footer-bottom a { color: #a9bcd9; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 44px; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; } .gap-3 { gap: 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.img-round { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }
.badge-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-100); color: var(--navy-700); font-size: .78rem; font-weight: 600;
  padding: 4px 11px; border-radius: 20px;
}
.badge-orange { background: var(--orange-100); color: var(--orange-600); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-2x2, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero, .hero-content { min-height: 540px; }
  .hero-content { padding: 70px 0 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-panel { padding: 32px 24px; }
  .timeline { grid-template-columns: 90px 34px 1fr; }
  .tl-content { padding-inline-start: 18px; }
  html[dir="rtl"] .tl-content { padding-inline-start: 0; padding-inline-end: 18px; }
  .hero-ribbon { display: none; }
  .carousel-dots { inset-inline-start: 24px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .section { padding: 48px 0; }
  .container, .container-wide { padding-inline: 18px; }
  .grid-3, .grid-4, .grid-2, .prod-grid, .steps { grid-template-columns: 1fr; }
  .topbar-info span.topbar-item { display: none; }
  .hero, .hero-content { min-height: 500px; }
  .hero-content { padding: 56px 0 88px; }
  .carousel-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .timeline { grid-template-columns: 74px 28px 1fr; }
  .tl-time { font-size: .86rem; }
  .filter-search { margin-inline-start: 0; width: 100%; }
  .filter-search input { width: 100%; }
  .quote-panel { padding: 26px 18px; }
  .page-hero .container { padding-block: 46px; }
  .chat-fab { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .chat-panel { bottom: 80px; inset-inline-end: 16px; }
}

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