/* ==========================================================================
   شوفاژ دات شاپ — Theme
   Warm, modern e-commerce look for heating / cooling / plumbing
   ========================================================================== */

:root {
  --ink: #0f2740;
  --ink-soft: #33506e;
  --muted: #6b7f95;
  --brand: #1867c0;
  --brand-dark: #0f4d92;
  --brand-light: #e8f1fc;
  --flame: #ff6a2b;
  --flame-dark: #e5541a;
  --flame-light: #fff2ea;
  --cool: #17b0c4;
  --bg: #f6f9fd;
  --card: #ffffff;
  --line: #e3eaf3;
  --ok: #16a34a;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 39, 64, .06);
  --shadow: 0 10px 30px rgba(15, 39, 64, .09);
  --shadow-lg: 0 24px 60px rgba(15, 39, 64, .16);
  --wrap: 1220px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

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; }

::selection { background: var(--flame); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.5; font-weight: 800; letter-spacing: -.2px; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
h3 { font-size: 1.12rem; }
p { color: var(--ink-soft); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-light); color: var(--brand-dark);
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; margin-bottom: 1rem;
}
.sec-head .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); }
.sec-head h2 { margin-bottom: .8rem; }
.sec-head p { font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--flame { background: linear-gradient(135deg, var(--flame), var(--flame-dark)); color: #fff; box-shadow: 0 8px 22px rgba(255, 106, 43, .34); }
.btn--flame:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 106, 43, .42); }
.btn--brand { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 8px 22px rgba(24, 103, 192, .3); }
.btn--brand:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24, 103, 192, .4); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.6px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--brand-dark); transform: translateY(-3px); }
.btn--outline { border: 1.6px solid var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn--sm { padding: .6rem 1.15rem; font-size: .87rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: #cfe0f2; font-size: .82rem;
  padding: .5rem 0;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar__list { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item svg { width: 15px; height: 15px; opacity: .75; }
.topbar__badge { color: var(--flame); font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 39, 64, .1); }
.header__in { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: linear-gradient(140deg, var(--flame), var(--brand));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(24, 103, 192, .3);
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text strong { display: block; font-size: 1.1rem; font-weight: 800; line-height: 1.4; }
.logo__text span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.4; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: .2rem; list-style: none; }
.nav__list a {
  padding: .55rem .9rem; border-radius: var(--radius-pill);
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav__list a:hover, .nav__list a.is-active { background: var(--brand-light); color: var(--brand-dark); }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__phone { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: var(--brand-dark); }
.header__phone svg { width: 20px; height: 20px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--ink); }
.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: #fff; padding: 1.4rem; transform: translateX(105%);
  visibility: hidden;
  transition: transform .32s var(--ease), visibility .32s;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
/* 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.4rem; }
.drawer__close { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); font-size: 1.3rem; line-height: 1; }
.drawer__list { list-style: none; display: grid; gap: .2rem; }
.drawer__list a { display: block; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.drawer__list a:hover { background: var(--brand-light); color: var(--brand-dark); }
.drawer__foot { margin-top: 1.6rem; display: grid; gap: .7rem; }
.overlay { position: fixed; inset: 0; background: rgba(15, 39, 64, .5); 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: linear-gradient(140deg, #0d2f52 0%, #14538f 55%, #1867c0 100%); color: #fff; }
.hero__bg { position: absolute; inset: 0; opacity: .26; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(13, 47, 82, .96) 22%, rgba(13, 47, 82, .72) 60%, rgba(13, 47, 82, .35) 100%); }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--a { background: #ff6a2b; top: -170px; inset-inline-end: -120px; }
.hero__glow--b { background: #17b0c4; bottom: -220px; inset-inline-start: -140px; }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; padding: 4.6rem 0 5.4rem; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  padding: .42rem 1rem; border-radius: var(--radius-pill); font-size: .83rem; font-weight: 600;
}
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); font-style: normal; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: #ffb27a; }
.hero__lead { color: #d3e4f6; font-size: 1.06rem; max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.6rem; }
.hero__stat b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.3; }
.hero__stat span { font-size: .84rem; color: #a9c6e4; }

.hero__card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px; padding: .75rem; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero__card img { border-radius: 20px; aspect-ratio: 4/3.05; object-fit: cover; width: 100%; }
.hero__cardfig { position: relative; }
.hero__pill {
  position: absolute; inset-block-end: 1.3rem; inset-inline-start: 1.3rem;
  background: #fff; color: var(--ink); border-radius: var(--radius-pill);
  padding: .55rem 1.1rem; font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem; box-shadow: var(--shadow);
}
.hero__pill svg { width: 17px; height: 17px; color: var(--flame); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.7rem 0; }
.trust__item { display: flex; align-items: center; gap: .8rem; }
.trust__ico { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust__ico svg { width: 22px; height: 22px; }
.trust__item b { display: block; font-size: .95rem; }
.trust__item span { font-size: .79rem; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: 5rem 0; }
.sec--alt { background: #fff; }
.sec--tint { background: linear-gradient(180deg, #f6f9fd, #eef4fb); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem .85rem; text-align: center; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f5; }
.cat__ico { width: 58px; height: 58px; margin: 0 auto .85rem; border-radius: 17px; display: grid; place-items: center; background: var(--brand-light); color: var(--brand); transition: background .25s, color .25s; }
.cat:hover .cat__ico { background: linear-gradient(135deg, var(--flame), var(--brand)); color: #fff; }
.cat__ico svg { width: 28px; height: 28px; }
.cat b { font-size: .93rem; display: block; }
.cat span { font-size: .78rem; color: var(--muted); }

/* ---------- Products ---------- */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.prod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.prod:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.prod__fig { position: relative; aspect-ratio: 4/3.15; overflow: hidden; background: #eef3f9; }
.prod__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod:hover .prod__fig img { transform: scale(1.07); }
.prod__badge {
  position: absolute; inset-block-start: .8rem; inset-inline-end: .8rem;
  background: var(--flame); color: #fff; font-size: .74rem; font-weight: 700;
  padding: .28rem .7rem; border-radius: var(--radius-pill);
}
.prod__badge--new { background: var(--cool); }
.prod__badge--hot { background: #e11d48; }
.prod__body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.prod__brand { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; margin-bottom: .35rem; }
.prod__brand svg { width: 13px; height: 13px; color: var(--ok); }
.prod h3 { font-size: 1rem; font-weight: 700; line-height: 1.7; margin-bottom: .45rem; min-height: 3.4rem; }
.prod__meta { font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.prod__rate { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: #f59e0b; margin-bottom: .8rem; }
.prod__rate svg { width: 15px; height: 15px; }
.prod__rate span { color: var(--muted); margin-inline-start: .25rem; }
.prod__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .85rem; border-top: 1px dashed var(--line); }
.prod__price b { font-size: 1.06rem; font-weight: 800; color: var(--ink); }
.prod__price span { font-size: .74rem; color: var(--muted); display: block; }
.prod__price del { font-size: .78rem; color: #b0bccb; display: block; }
.prod__buy { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; transition: background .22s, color .22s, transform .22s; flex: none; }
.prod__buy:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.prod__buy svg { width: 20px; height: 20px; }

/* ---------- Collections (image cards) ---------- */
.colls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.coll { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.coll:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.coll:hover img { transform: scale(1.08); }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 47, 82, .93) 8%, rgba(13, 47, 82, .45) 48%, rgba(13, 47, 82, .12) 100%); }
.coll__ov { position: relative; z-index: 2; padding: 1.5rem; color: #fff; width: 100%; }
.coll__tag { display: inline-block; background: var(--flame); color: #fff; font-size: .74rem; font-weight: 700; padding: .24rem .7rem; border-radius: var(--radius-pill); margin-bottom: .6rem; }
.coll__ov b { display: block; font-size: 1.16rem; margin-bottom: .3rem; }
.coll__ov span:last-child { font-size: .86rem; color: #cfe0f2; }

.prods__more { text-align: center; margin-top: 2.6rem; }

/* ---------- Brands ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.brand {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1.5rem; font-weight: 700; color: var(--ink-soft); font-size: .95rem;
  transition: transform .22s, box-shadow .22s, color .22s;
}
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); color: var(--brand); }

/* ---------- Services ---------- */
.servs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.serv {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: transform .25s var(--ease), box-shadow .25s;
  position: relative; overflow: hidden;
}
.serv::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--flame), var(--brand)); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.serv:hover::before { transform: scaleX(1); }
.serv:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.serv__ico { width: 52px; height: 52px; border-radius: 15px; background: var(--flame-light); color: var(--flame-dark); display: grid; place-items: center; margin-bottom: 1.1rem; }
.serv__ico svg { width: 26px; height: 26px; }
.serv h3 { margin-bottom: .5rem; }
.serv p { font-size: .9rem; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }
.why__fig { position: relative; }
.why__fig img { border-radius: 24px; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: var(--shadow-lg); }
.why__chip {
  position: absolute; inset-block-end: -1.4rem; inset-inline-start: -1rem;
  background: #fff; border-radius: 20px; padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
}
.why__chip b { font-size: 1.6rem; color: var(--flame); display: block; line-height: 1.2; }
.why__chip span { font-size: .82rem; color: var(--muted); }
.why__chip svg { width: 40px; height: 40px; color: var(--flame); }
.why h2 { margin-bottom: .9rem; }
.why > div > p { margin-bottom: 1.6rem; }
.checks { list-style: none; display: grid; gap: .95rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.checks svg { width: 22px; height: 22px; color: #fff; background: var(--ok); border-radius: 7px; padding: 4px; flex: none; margin-top: .35rem; }
.checks b { display: block; }
.checks span { font-size: .86rem; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc { background: linear-gradient(140deg, #0d2f52, #14538f); border-radius: 28px; padding: 3rem; color: #fff; display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 106, 43, .35); filter: blur(80px); inset-block-start: -180px; inset-inline-end: -120px; }
.calc h2 { color: #fff; margin-bottom: .8rem; }
.calc p { color: #cfe0f2; }
.calc__ico { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; margin-bottom: 1.2rem; }
.calc__ico svg { width: 30px; height: 30px; color: #ffb27a; }
.calc__form { position: relative; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 1.6rem; backdrop-filter: blur(8px); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; margin-bottom: .4rem; color: #dbeaf8; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: .93rem; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a9c6e4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flame); background: rgba(255, 255, 255, .16); }
.field select option { color: var(--ink); background: #fff; }
.calc__out { margin-top: 1rem; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: var(--radius-sm); padding: 1rem 1.2rem; display: none; }
.calc__out.is-on { display: block; animation: pop .3s var(--ease); }
.calc__out b { font-size: 1.35rem; color: var(--brand-dark); }
.calc__out span { display: block; font-size: .84rem; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Testimonials ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.test { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .25s var(--ease), box-shadow .25s; }
.test:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.test__stars { display: flex; gap: .15rem; color: #f59e0b; margin-bottom: .9rem; }
.test__stars svg { width: 17px; height: 17px; }
.test__text { font-size: .93rem; color: var(--ink-soft); margin-bottom: 1.2rem; min-height: 5.5rem; }
.test__who { display: flex; align-items: center; gap: .75rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.test__av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--cool)); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.test__who b { display: block; font-size: .93rem; }
.test__who span { font-size: .78rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: .8rem; }
.q { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.q.is-open { border-color: #cfe0f5; box-shadow: var(--shadow-sm); }
.q__btn { width: 100%; text-align: start; padding: 1.15rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: .97rem; }
.q__btn i { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 1.15rem; transition: transform .28s var(--ease), background .25s, color .25s; }
.q.is-open .q__btn i { transform: rotate(45deg); background: var(--flame); color: #fff; }
.q__body { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.q__body p { padding: 0 1.3rem 1.25rem; font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.6rem; align-items: start; }
.cinfo { display: grid; gap: 1rem; }
.crow { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; transition: transform .22s, box-shadow .22s; }
.crow:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.crow__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; }
.crow__ico svg { width: 23px; height: 23px; }
.crow b { display: block; font-size: .93rem; margin-bottom: .15rem; }
.crow span, .crow a { font-size: .89rem; color: var(--muted); display: block; }
.crow a:hover { color: var(--brand); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .field input, .form .field select, .form .field textarea {
  border-color: var(--line); background: #f9fbfe; color: var(--ink);
}
.form .field label { color: var(--ink-soft); }
.form .field input::placeholder, .form .field textarea::placeholder { color: #9dafc2; }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { border-color: var(--brand); background: #fff; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.form__alert { display: none; margin-top: 1rem; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .89rem; background: #ecfdf5; border: 1px solid #a7f3d0; color: #15803d; }
.form__alert.is-on { display: block; animation: pop .3s var(--ease); }
.map { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map__bar { background: #fff; padding: 1rem 1.3rem; display: flex; align-items: center; gap: .6rem; font-size: .88rem; border-bottom: 1px solid var(--line); }
.map__bar svg { width: 18px; height: 18px; color: var(--flame); }
.map__canvas { height: 260px; background: linear-gradient(120deg, #e8f1fc, #dbe9f8); position: relative; display: grid; place-items: center; }
.map__canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(24, 103, 192, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 103, 192, .09) 1px, transparent 1px); background-size: 44px 44px; }
.map__pin { position: relative; text-align: center; color: var(--brand-dark); }
.map__pin svg { width: 42px; height: 42px; color: var(--flame); animation: bob 2.4s ease-in-out infinite; }
.map__pin b { display: block; font-size: .9rem; }
.map__pin span { font-size: .8rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9c6e4; padding: 3.6rem 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 2.6rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer p { color: #9ab6d4; font-size: .89rem; }
.footer__list { list-style: none; display: grid; gap: .6rem; }
.footer__list a { font-size: .89rem; transition: color .2s, padding-inline-start .2s; }
.footer__list a:hover { color: var(--flame); padding-inline-start: .3rem; }
.footer .logo__text strong { color: #fff; }
.footer .logo__text span { color: #8aa8c8; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .22s, transform .22s; }
.footer__social a:hover { background: var(--flame); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__news { display: flex; gap: .5rem; margin-top: 1rem; }
.footer__news input { flex: 1; padding: .7rem 1rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font-size: .86rem; }
.footer__news input::placeholder { color: #8aa8c8; }
.footer__news button { padding: .7rem 1.2rem; border-radius: var(--radius-pill); background: var(--flame); color: #fff; font-weight: 700; font-size: .86rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .83rem; }
.footer__bottom a:hover { color: var(--flame); }

/* ---------- Floating ---------- */
.floats { position: fixed; inset-block-end: 1.4rem; inset-inline-start: 1.4rem; z-index: 70; display: grid; gap: .7rem; }
.float { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .22s var(--ease); position: relative; }
.float:hover { transform: translateY(-4px) scale(1.05); }
.float svg { width: 24px; height: 24px; }
.float--call { background: linear-gradient(135deg, #22c55e, #16a34a); }
.float--wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.float--top { background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s, transform .22s; }
.float--top.is-on { opacity: 1; pointer-events: auto; }
.float--call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .prods { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust__in { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; gap: 2.6rem; padding: 3.6rem 0 4rem; }
  .hero__fig { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header__cta .header__phone { display: none; }
  .burger { display: grid; }
  .header__cta { margin-inline-start: auto; }
  .why, .calc, .contact { grid-template-columns: 1fr; }
  .calc { padding: 2rem 1.5rem; }
  .sec { padding: 3.6rem 0; }
  .tests { grid-template-columns: 1fr; }
  .servs { grid-template-columns: 1fr 1fr; }
  .colls { grid-template-columns: 1fr 1fr; }
  .why__fig { order: -1; }
  .why__chip { inset-inline-start: 1rem; }
}
@media (max-width: 720px) {
  .prods { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .trust__in { grid-template-columns: 1fr; }
  .nav__list a { padding: .5rem .65rem; }
  .form .grid2 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero__stat b { font-size: 1.3rem; }
  .sec-head { margin-bottom: 2rem; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .prods { grid-template-columns: 1fr; }
  .servs { grid-template-columns: 1fr; }
  .topbar__list { gap: .8rem; font-size: .76rem; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .calc { border-radius: 20px; }
  .floats { inset-block-end: .8rem; inset-inline-start: .8rem; }
  .float { width: 46px; height: 46px; }
  .float svg { width: 21px; height: 21px; }
}

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