/* ==========================================================================
   کاميتسو — Theme
   Dark, industrial, technical look for professional tools
   ========================================================================== */

:root {
  --bg: #0e1116;
  --bg-2: #12161d;
  --panel: #161b23;
  --panel-2: #1c222c;
  --line: #272e3a;
  --line-soft: #1f2631;
  --text: #e7ecf3;
  --muted: #8f9db1;
  --amber: #ffb01f;
  --amber-dark: #e0930a;
  --amber-soft: rgba(255, 176, 31, .12);
  --steel: #4aa8ff;
  --ok: #2ecc71;
  --danger: #ff5c47;
  --radius: 8px;
  --radius-sm: 6px;
  --wrap: 1240px;
  --header-h: 76px;
  --mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }

body {
  font-family: Vazirmatn, "Segoe UI", Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 56px 56px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }
::selection { background: var(--amber); color: #10141a; }

/* ---------- type ---------- */
h1, h2, h3, h4 { line-height: 1.55; font-weight: 800; letter-spacing: -.2px; }
h1 { font-size: clamp(1.85rem, 4.3vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { color: var(--muted); }

.num { font-family: var(--mono); letter-spacing: -.5px; }

.sec-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.sec-head--start { margin-inline: 0; text-align: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 700;
  color: var(--amber); text-transform: uppercase; letter-spacing: 1.4px;
  border: 1px solid rgba(255, 176, 31, .35); background: var(--amber-soft);
  padding: .3rem .8rem; border-radius: 4px; margin-bottom: 1rem;
}
.sec-head h2 { margin-bottom: .8rem; }
.sec-head h2 u { text-decoration: none; color: var(--amber); }
.sec-head p { font-size: 1rem; }

.hazard { height: 6px; background: repeating-linear-gradient(45deg, var(--amber) 0 14px, #12161d 14px 28px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.6rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .94rem; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--amber { background: var(--amber); color: #10141a; box-shadow: 0 6px 20px rgba(255, 176, 31, .22); }
.btn--amber:hover { background: #ffc247; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 176, 31, .3); }
.btn--line { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn--line:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .05); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { padding: .58rem 1.1rem; font-size: .86rem; }

/* ---------- top bar ---------- */
.topbar { background: #0a0d12; border-bottom: 1px solid var(--line-soft); font-size: .81rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .5rem 0; }
.topbar__list { display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item svg { width: 15px; height: 15px; color: var(--amber); }
.topbar__item b { color: var(--text); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 17, 22, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .5); border-color: #313947; }
.header__in { display: flex; align-items: center; gap: 1.1rem; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 6px; flex: none;
  background: var(--amber); color: #10141a; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(255, 176, 31, .28); position: relative;
}
.logo__mark::after { content: ""; position: absolute; inset-block-end: -4px; inset-inline-start: 0; width: 100%; height: 3px; background: repeating-linear-gradient(45deg, var(--amber) 0 5px, transparent 5px 10px); }
.logo__mark svg { width: 26px; height: 26px; }
.logo__text strong { display: block; font-size: 1.14rem; font-weight: 800; letter-spacing: .3px; }
.logo__text span { display: block; font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .6px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; }
.nav__list a {
  padding: .55rem .85rem; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s; border: 1px solid transparent;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--amber); background: var(--amber-soft); border-color: rgba(255, 176, 31, .22); }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__phone { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; color: var(--text); }
.header__phone svg { width: 19px; height: 19px; color: var(--amber); }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--text); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 330px); z-index: 90;
  background: var(--panel); border-inline-start: 1px solid var(--line);
  padding: 1.4rem; transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s; overflow-y: auto;
}
/* RTL: panel is anchored to the left edge, so it hides by moving further left */
html[dir="rtl"] .drawer { inset: 0 auto 0 0; transform: translateX(-105%); }
.drawer.is-open { transform: translateX(0); visibility: visible; }
html[dir="rtl"] .drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.drawer__head b { font-family: var(--mono); font-size: .8rem; letter-spacing: 1px; color: var(--amber); }
.drawer__close { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 1.3rem; line-height: 1; }
.drawer__list { list-style: none; display: grid; gap: .15rem; }
.drawer__list a { display: block; padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--muted); }
.drawer__list a:hover { background: var(--amber-soft); color: var(--amber); }
.drawer__foot { margin-top: 1.5rem; display: grid; gap: .6rem; }
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 85; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #0b0e13; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #0b0e13 18%, rgba(11, 14, 19, .86) 52%, rgba(11, 14, 19, .55) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 64px 64px; }
.hero__glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: var(--amber); filter: blur(130px); opacity: .18; inset-block-start: -160px; inset-inline-end: -80px; }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.4rem 0 5rem; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: 1px;
  border: 1px solid rgba(255, 176, 31, .4); background: var(--amber-soft); color: var(--amber);
  padding: .35rem .85rem; border-radius: 4px;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 u { text-decoration: none; color: var(--amber); }
.hero__lead { color: #b6c2d3; font-size: 1.03rem; max-width: 33rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero__stat b { display: block; font-size: 1.65rem; font-weight: 800; color: var(--amber); line-height: 1.35; font-family: var(--mono); }
.hero__stat span { font-size: .82rem; color: var(--muted); }

.hero__card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.hero__card img { aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.hero__card::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 5px; background: repeating-linear-gradient(45deg, var(--amber) 0 12px, #12161d 12px 24px); }
.hero__spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #10141a; }
.hero__spec div { padding: .8rem .7rem; text-align: center; border-inline-end: 1px solid var(--line-soft); }
.hero__spec div:last-child { border-inline-end: 0; }
.hero__spec b { display: block; font-family: var(--mono); font-size: .95rem; color: var(--amber); }
.hero__spec span { font-size: .72rem; color: var(--muted); }

/* ---------- feature bar ---------- */
.fbar { background: var(--panel); border-bottom: 1px solid var(--line); }
.fbar__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 0; }
.fbar__item { display: flex; align-items: center; gap: .8rem; }
.fbar__ico { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; flex: none; border: 1px solid rgba(255, 176, 31, .2); }
.fbar__ico svg { width: 21px; height: 21px; }
.fbar__item b { display: block; font-size: .92rem; }
.fbar__item span { font-size: .77rem; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: 5rem 0; position: relative; }
.sec--panel { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: transform .22s var(--ease), border-color .22s, background .22s;
  position: relative; overflow: hidden;
}
.cat::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 0; height: 3px; background: var(--amber); transition: width .3s var(--ease); }
.cat:hover { transform: translateY(-4px); border-color: rgba(255, 176, 31, .4); background: var(--panel-2); }
.cat:hover::after { width: 100%; }
.cat__ico { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; flex: none; }
.cat__ico svg { width: 25px; height: 25px; }
.cat b { display: block; font-size: .98rem; }
.cat span { font-size: .8rem; color: var(--muted); }

/* ---------- products ---------- */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.prod {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .24s var(--ease), border-color .24s, box-shadow .24s;
}
.prod:hover { transform: translateY(-5px); border-color: rgba(255, 176, 31, .45); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.prod__fig { position: relative; aspect-ratio: 4/3.2; overflow: hidden; background: #0c1015; }
.prod__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod:hover .prod__fig img { transform: scale(1.06); }
.prod__sku { position: absolute; inset-block-end: .7rem; inset-inline-end: .7rem; font-family: var(--mono); font-size: .7rem; background: rgba(10, 13, 18, .85); border: 1px solid var(--line); color: var(--amber); padding: .18rem .5rem; border-radius: 4px; }
.prod__flag { position: absolute; inset-block-start: .7rem; inset-inline-start: .7rem; font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: 4px; background: var(--amber); color: #10141a; }
.prod__flag--new { background: var(--steel); color: #06121f; }
.prod__flag--hot { background: var(--danger); color: #fff; }
.prod__body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.prod__cat { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .5px; margin-bottom: .35rem; }
.prod h3 { font-size: .97rem; font-weight: 700; line-height: 1.75; min-height: 3.4rem; margin-bottom: .5rem; }
.prod__specs { list-style: none; display: grid; gap: .3rem; margin-bottom: .8rem; }
.prod__specs li { font-size: .78rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.prod__specs svg { width: 13px; height: 13px; color: var(--amber); flex: none; }
.prod__stock { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--ok); margin-bottom: .7rem; }
.prod__stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(46, 204, 113, .18); font-style: normal; }
.prod__stock--out { color: var(--danger); }
.prod__stock--out i { background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 92, 71, .18); }
.prod__foot { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.prod__price b { display: block; font-size: 1rem; font-weight: 800; }
.prod__price del { font-size: .76rem; color: #6b7787; }
.prod__price span { font-size: .72rem; color: var(--muted); }

/* ---------- specs table ---------- */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.tbl th, table.tbl td { padding: .9rem 1rem; text-align: start; border-bottom: 1px solid var(--line-soft); }
table.tbl thead th { background: #10141a; font-family: var(--mono); font-size: .76rem; letter-spacing: .8px; color: var(--amber); text-transform: uppercase; }
table.tbl tbody tr:hover { background: var(--panel-2); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td.num { color: var(--text); }
table.tbl .pill { display: inline-block; font-size: .72rem; padding: .15rem .55rem; border-radius: 4px; background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(255, 176, 31, .25); }

/* ---------- services ---------- */
.servs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.serv { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: border-color .22s, transform .22s; }
.serv:hover { border-color: rgba(255, 176, 31, .4); transform: translateY(-4px); }
.serv__top { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.serv__no { font-family: var(--mono); font-size: .8rem; color: var(--amber); border: 1px solid rgba(255, 176, 31, .3); border-radius: 4px; padding: .1rem .45rem; }
.serv__ico { color: var(--amber); }
.serv__ico svg { width: 26px; height: 26px; }
.serv h3 { margin-bottom: .45rem; font-size: 1.02rem; }
.serv p { font-size: .88rem; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }
.why__fig { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__fig img { aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.why__fig::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 100%; height: 5px; background: repeating-linear-gradient(45deg, var(--amber) 0 12px, #12161d 12px 24px); }
.why__chip { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; background: rgba(10, 13, 18, .9); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; backdrop-filter: blur(6px); }
.why__chip b { display: block; font-family: var(--mono); font-size: 1.4rem; color: var(--amber); line-height: 1.3; }
.why__chip span { font-size: .75rem; color: var(--muted); }
.why h2 { margin-bottom: .9rem; }
.why p { margin-bottom: 1.5rem; }
.checks { list-style: none; display: grid; gap: .95rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: .35rem; }
.checks b { display: block; font-size: .95rem; }
.checks span { font-size: .85rem; color: var(--muted); }

/* ---------- gallery band ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gal__i { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; }
.gal__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .55s var(--ease), opacity .3s; }
.gal__i:hover img { transform: scale(1.06); opacity: 1; }
.gal__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 18, .95) 4%, rgba(10, 13, 18, .45) 55%, rgba(10, 13, 18, .08) 100%); }
.gal__c { position: relative; z-index: 2; padding: 1.3rem; }
.gal__c .tag { display: inline-block; font-family: var(--mono); font-size: .67rem; letter-spacing: .9px; color: var(--amber); border: 1px solid rgba(255, 176, 31, .35); border-radius: 4px; padding: .05rem .45rem; margin-bottom: .5rem; }
.gal__c b { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.gal__c span { font-size: .82rem; color: var(--muted); }

/* ---------- stats band ---------- */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.band__i { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.band__i b { display: block; font-family: var(--mono); font-size: 1.9rem; color: var(--amber); line-height: 1.3; }
.band__i span { font-size: .82rem; color: var(--muted); }

/* ---------- brands ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.brand { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-sm); padding: .7rem 1.4rem; font-weight: 700; color: var(--muted); font-size: .92rem; transition: color .2s, border-color .2s, transform .2s; }
.brand:hover { color: var(--amber); border-color: rgba(255, 176, 31, .4); transform: translateY(-3px); }

/* ---------- testimonials ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.test { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; transition: border-color .22s, transform .22s; }
.test:hover { border-color: rgba(255, 176, 31, .4); transform: translateY(-4px); }
.test__mark { font-family: var(--mono); font-size: 2.2rem; color: rgba(255, 176, 31, .35); line-height: 1; margin-bottom: .4rem; }
.test__text { font-size: .9rem; color: #b6c2d3; margin-bottom: 1.1rem; min-height: 5.6rem; }
.test__who { border-top: 1px solid var(--line-soft); padding-top: .9rem; }
.test__who b { display: block; font-size: .92rem; }
.test__who span { font-size: .78rem; color: var(--muted); }
.test__stars { display: flex; gap: .15rem; color: var(--amber); margin-bottom: .7rem; }
.test__stars svg { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: .7rem; }
.q { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .22s; }
.q.is-open { border-color: rgba(255, 176, 31, .45); }
.q__btn { width: 100%; text-align: start; padding: 1.1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: .95rem; }
.q__btn i { flex: none; width: 26px; height: 26px; border-radius: 4px; background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; font-style: normal; font-size: 1.1rem; transition: transform .25s var(--ease), background .22s; }
.q.is-open .q__btn i { transform: rotate(45deg); background: var(--amber); color: #10141a; }
.q__body { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.q__body p { padding: 0 1.2rem 1.15rem; font-size: .9rem; }

/* ---------- contact / RFQ ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.4rem; align-items: start; }
.cinfo { display: grid; gap: .9rem; }
.crow { display: flex; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; transition: border-color .2s, transform .2s; }
.crow:hover { border-color: rgba(255, 176, 31, .4); transform: translateY(-3px); }
.crow__ico { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--amber-soft); color: var(--amber); display: grid; place-items: center; flex: none; }
.crow__ico svg { width: 22px; height: 22px; }
.crow b { display: block; font-size: .92rem; margin-bottom: .2rem; }
.crow span, .crow a { display: block; font-size: .87rem; color: var(--muted); }
.crow a:hover { color: var(--amber); }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.form__title { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.form__title svg { width: 22px; height: 22px; color: var(--amber); }
.form__title b { font-size: 1.05rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .83rem; margin-bottom: .4rem; color: var(--muted); font-weight: 600; }
.field label i { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #0f1319; color: var(--text);
  font-size: .92rem; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5e6b7d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: #0c1015; }
.field select option { background: #141a22; color: var(--text); }
.form__note { font-size: .79rem; color: var(--muted); margin-top: .85rem; text-align: center; }
.form__alert { display: none; margin-top: 1rem; border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .87rem; border: 1px solid; }
.form__alert.is-on { display: block; }

/* ---------- map ---------- */
.map { margin-top: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map__bar { background: #10141a; padding: .95rem 1.2rem; display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.map__bar svg { width: 18px; height: 18px; color: var(--amber); }
.map__canvas { height: 260px; background: #0b0e13; position: relative; display: grid; place-items: center; }
.map__canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 176, 31, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 176, 31, .07) 1px, transparent 1px); background-size: 40px 40px; }
.map__pin { position: relative; text-align: center; }
.map__pin svg { width: 40px; height: 40px; color: var(--amber); animation: bob 2.4s ease-in-out infinite; }
.map__pin b { display: block; font-size: .9rem; }
.map__pin span { font-size: .78rem; color: var(--muted); font-family: var(--mono); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, #161b23, #10141a); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 5px; background: repeating-linear-gradient(45deg, var(--amber) 0 12px, #12161d 12px 24px); }
.cta h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.cta p { font-size: .92rem; }

/* ---------- footer ---------- */
.footer { background: #0a0d12; border-top: 1px solid var(--line); padding-top: 3.4rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 1rem; font-family: var(--mono); letter-spacing: .5px; }
.footer p { font-size: .87rem; color: var(--muted); }
.footer__list { list-style: none; display: grid; gap: .55rem; }
.footer__list a { font-size: .87rem; color: var(--muted); transition: color .2s, padding-inline-start .2s; }
.footer__list a:hover { color: var(--amber); padding-inline-start: .3rem; }
.footer .logo { margin-bottom: 1rem; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.1rem; }
.footer__social a { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, transform .2s; }
.footer__social a:hover { color: var(--amber); border-color: rgba(255, 176, 31, .4); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__news { display: flex; gap: .5rem; margin-top: .9rem; }
.footer__news input { flex: 1; padding: .68rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #0f1319; color: var(--text); font-size: .85rem; }
.footer__news button { padding: .68rem 1.1rem; border-radius: var(--radius-sm); background: var(--amber); color: #10141a; font-weight: 700; font-size: .85rem; }
.footer__bottom { border-top: 1px solid var(--line-soft); padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--amber); }

/* ---------- floating ---------- */
.floats { position: fixed; inset-block-end: 1.4rem; inset-inline-start: 1.4rem; z-index: 70; display: grid; gap: .6rem; }
.float { width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center; color: #10141a; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); border: 1px solid var(--line); }
.float:hover { transform: translateY(-4px); }
.float svg { width: 23px; height: 23px; }
.float--call { background: var(--amber); }
.float--wa { background: #25d366; }
.float--top { background: var(--panel); color: var(--text); opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
.float--top.is-on { opacity: 1; pointer-events: auto; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .prods { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .fbar__in { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; gap: 2.4rem; padding: 3.4rem 0 3.8rem; }
  .hero__fig { max-width: 580px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__cta { margin-inline-start: auto; }
  .why, .contact { grid-template-columns: 1fr; }
  .servs { grid-template-columns: 1fr 1fr; }
  .tests { grid-template-columns: 1fr; }
  .sec { padding: 3.6rem 0; }
  .why__fig { order: -1; }
  .news-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .prods { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .hero__stats { gap: .5rem; }
  .hero__stat b { font-size: 1.3rem; }
  .sec-head { margin-bottom: 2rem; }
  .tbl-wrap { overflow-x: auto; }
  table.tbl { min-width: 620px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .prods { grid-template-columns: 1fr; }
  .servs { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .fbar__in { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__news { flex-direction: column; }
  .floats { inset-block-end: .8rem; inset-inline-start: .8rem; }
  .float { width: 44px; height: 44px; }
  .float svg { width: 20px; height: 20px; }
  .cta { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
