/* Meriwani Technology — site styles
   Brand: red #EC1E24, charcoal #404041 (from the logo) */

:root {
  --red: #EC1E24;          /* logo red: marks, dots, accents */
  --red-strong: #D3171D;   /* buttons & red text (readable on white) */
  --red-deep: #B31217;     /* hover */
  --red-soft: #FDEDED;
  --ink: #404041;          /* logo charcoal: body text */
  --ink-strong: #222223;   /* headings */
  --muted: #6C6C70;
  --line: #E8E8EB;
  --soft: #F6F6F7;
  --bg: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(34,34,35,.05), 0 8px 24px rgba(34,34,35,.06);
  --shadow-lg: 0 2px 4px rgba(34,34,35,.05), 0 24px 48px rgba(34,34,35,.10);
  --max: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-rtl: "Vazirmatn", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-rtl); line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink-strong); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(236,30,36,.45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-strong);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 14px 0 0 -1px #9a9a9d; margin-inline-end: 14px; }
html[dir="rtl"] .eyebrow::before { box-shadow: -14px 0 0 -1px #9a9a9d; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red-strong); color: #fff; box-shadow: 0 6px 18px rgba(211,23,29,.25); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink-strong); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red-strong); }
.btn-light:hover { background: var(--red-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ---------- header ---------- */
.site-header {
  --tb-h: 38px;
  position: sticky; top: calc(env(safe-area-inset-top, 0px) - var(--tb-h)); z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(34,34,35,.05); }
.topbar { background: var(--ink-strong); color: #d4d4d7; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a { display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-left span, .topbar .tb-left a { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--red); }
.nav { display: flex; align-items: center; height: 78px; gap: 28px; }
.brand img { height: 46px; width: auto; transition: transform .35s ease; transform-origin: left center; }
html[dir="rtl"] .brand img { transform-origin: right center; }
.site-header.scrolled .brand img { transform: scale(.86); }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
.nav-links a:hover { color: var(--ink-strong); background: var(--soft); }
.nav-links a.active { color: var(--red-strong); }
.nav-links a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateX(-50%); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.lang a { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.lang a:hover { color: var(--ink-strong); }
.lang a[aria-current="true"] { background: #fff; color: var(--ink-strong); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lang a[lang="ar"], .lang a[lang="ckb"] { font-family: var(--font-rtl); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, #dcdce0 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); margin-top: 20px; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--red); display: block; }
html[dir="rtl"] .hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: 0; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--red); }

/* floor plan card */
.plan-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.plan-head h3 { font-size: 17px; letter-spacing: -0.01em; }
.plan-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #1d7a45; background: #e9f7ef; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 0 rgba(34,163,90,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,163,90,.5); } 70% { box-shadow: 0 0 0 7px rgba(34,163,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,163,90,0); } }
.plan-svg { width: 100%; height: auto; border-radius: 12px; background: #fbfbfc; border: 1px solid #f0f0f2; direction: ltr; }
.plan-svg .wall { fill: none; stroke: #404041; stroke-width: 3; stroke-linecap: round; }
.plan-svg .wall-thin { fill: none; stroke: #9b9b9f; stroke-width: 1.5; }
.plan-svg .room-label { font: 600 9px var(--font); fill: #a2a2a6; letter-spacing: .06em; }
.plan-svg .cov { fill: rgba(236,30,36,.08); stroke: none; }
.plan-svg .link { stroke: #ec1e24; stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; opacity: .55; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
html:not(.gsap) .plan-svg .dev { animation: pop .5s cubic-bezier(.2,1.4,.4,1) backwards; }
.plan-svg .dev > g { transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 18px; border-radius: 6px; display: inline-grid; place-items: center; }
.legend i svg { width: 12px; height: 12px; }
.lg-cam { background: #EC1E24; color: #fff; }
.lg-wifi { background: #404041; color: #fff; }
.lg-door { background: #fff; color: #EC1E24; border: 1.5px solid #EC1E24; }
.lg-phone { background: #fff; color: #404041; border: 1.5px solid #404041; }
.dots { position: absolute; pointer-events: none; }
.dots i { position: absolute; border-radius: 50%; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .num { font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--ink-strong); letter-spacing: -0.03em; line-height: 1; direction: ltr; display: inline-block; }
.stat .num em { font-style: normal; color: var(--red); }
.stat p { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s; overflow: hidden;
}
.svc { scroll-margin-top: 140px; }
.svc::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s ease; }
.svc:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.svc:hover::after { width: 100%; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-strong); }
.ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 18px; margin-top: 20px; letter-spacing: -0.01em; }
.svc p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--red-strong); }
.svc .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg { transform: translateX(3px); }
html[dir="rtl"] .svc .more svg { transform: scaleX(-1); }
html[dir="rtl"] .svc:hover .more svg { transform: scaleX(-1) translateX(3px); }
.sec-foot { margin-top: 40px; text-align: center; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.why-item .n { font-size: 13px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.why-item h3 { font-size: 18px; margin-top: 10px; }
.why-item p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.why-visual { position: sticky; top: 140px; }
.badge-card { background: var(--ink-strong); color: #fff; border-radius: 22px; padding: 36px; position: relative; overflow: hidden; }
.badge-card .big { font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: #fff; direction: ltr; display: inline-block; }
.badge-card .big em { color: var(--red); font-style: normal; }
.badge-card strong { display: block; color: #fff; font-size: 20px; margin-top: 10px; }
.badge-card p { color: #c5c5c9; margin-top: 8px; font-size: 17px; max-width: 320px; }
.badge-card .ring { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(236,30,36,.16); inset-inline-end: -80px; bottom: -90px; }

/* ---------- audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.aud { text-align: center; padding: 26px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, color .2s; }
.aud:hover { border-color: var(--red); }
.aud .ico { margin: 0 auto; background: var(--soft); color: var(--ink); }
.aud:hover .ico { background: var(--red-soft); color: var(--red-strong); }
.aud p { margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--ink-strong); }

/* ---------- brands ---------- */
.brands { padding: 56px 0; border-top: 1px solid var(--line); }
.brands h2 { font-size: 15px; text-align: center; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin-top: 26px; direction: ltr; }
.brand-row span { font-size: 22px; font-weight: 800; color: #b3b3b7; letter-spacing: -0.02em; transition: color .2s; font-family: var(--font); }
.brand-row span:hover { color: var(--ink); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 9px; inset-inline-start: 22px; inset-inline-end: -18px; height: 2px; background: repeating-linear-gradient(90deg, #d7d7db 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step .dot { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--red); }
.step .k { font-size: 13px; font-weight: 800; color: var(--muted); margin-top: 14px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 19px; margin-top: 6px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- CTA band ---------- */
.band { padding: 0 0 96px; }
.band-inner { position: relative; overflow: hidden; background: var(--red-strong); color: #fff; border-radius: 26px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-inner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); max-width: 640px; }
.band-inner p { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 18px; }
.band-inner .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.band-inner .ring { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 56px solid rgba(255,255,255,.08); inset-inline-end: -120px; top: -150px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; background: var(--soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
.page-hero p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 680px; }
.crumbs { font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--red-strong); }
.crumbs .sep { margin: 0 8px; color: #b8b8bc; }

/* services page */
.cat { padding: 72px 0; border-bottom: 1px solid var(--line); }
.cat:last-of-type { border-bottom: 0; }
.cat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.cat-head .idx { font-weight: 800; color: var(--red); font-size: 15px; }
.cat-head h2 { font-size: clamp(24px, 3vw, 32px); }
.svc-grid.wide { grid-template-columns: repeat(4, 1fr); }

/* about page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.timeline { position: relative; margin-top: 28px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; background: var(--line); }
.tl { position: relative; padding-inline-start: 44px; padding-bottom: 30px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--ink); }
.tl:last-child::before { border-color: var(--red); }
.tl .y { font-weight: 800; font-size: 22px; color: var(--ink-strong); letter-spacing: -0.02em; }
.tl p { color: var(--muted); margin-top: 4px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { font-size: 22px; }
.panel p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.panel.dark { background: var(--ink-strong); border-color: var(--ink-strong); }
.panel.dark h3 { color: #fff; }
.panel.dark p { color: #c5c5c9; }
.panel .btn { margin-top: 22px; }
.iso-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--red); color: var(--red-strong); font-weight: 800; font-size: 16px; margin-bottom: 18px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; gap: 18px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: var(--ink); position: relative; font-family: var(--font); }
.avatar::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid #fff; inset-inline-end: -2px; bottom: 2px; }
.member h3 { font-size: 18px; }
.member p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info .ico { flex: none; width: 46px; height: 46px; }
.info h3 { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.info p, .info a { font-weight: 700; color: var(--ink-strong); font-size: 16px; }
.info a:hover { color: var(--red-strong); }
.info .phones { display: grid; gap: 2px; margin-top: 2px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s; }
.social a:hover { background: var(--red-strong); border-color: var(--red-strong); color: #fff; }
.social svg { width: 18px; height: 18px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(236,30,36,.12); }
.field input[type="tel"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #178345; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-err { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--red-strong); display: none; }
.form-err.show { display: block; }
.map { margin-top: 48px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35); }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 72px 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ft-grid img { height: 48px; width: auto; }
.ft-grid > div > p { margin-top: 18px; color: var(--muted); max-width: 320px; }
.ft-grid h4 { font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.ft-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-grid li a, .ft-grid li span { color: var(--muted); font-weight: 600; font-size: 15px; }
.ft-grid li a:hover { color: var(--red-strong); }
.ft-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ft-bottom a { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.ft-bottom a:hover { color: var(--red-strong); }
.ft-bottom svg { width: 16px; height: 16px; }

/* ---------- floating WhatsApp ---------- */
.fab { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,157,85,.35); transition: transform .2s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid, .svc-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { position: static; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-links, .nav-tools .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-tools { margin-inline-start: auto; }
  .nav.open + .mobile-nav { display: block; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step:nth-child(2)::before { display: none; }
  .topbar .tb-hide { display: none; }
  .dots { display: none; }
  .stat:nth-child(3) { padding-inline-start: 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .svc-grid, .svc-grid.wide, .why-list, .team, .ft-grid, .fields { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .band-inner { padding: 36px 24px; }
  .form-card { padding: 24px 18px; }
  .brand img { height: 38px; }
  .nav { height: 66px; gap: 12px; }
  .lang a { padding: 6px 8px; font-size: 12px; }
  .badge-card .big { font-size: 72px; }
  .stat { padding: 24px 16px; }
  .topbar { display: none; }
  .site-header { --tb-h: 0px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* mobile drawer */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 10px 16px 18px; display: grid; gap: 2px; }
.mobile-nav a { display: block; padding: 13px 12px; border-radius: 10px; font-weight: 700; color: var(--ink-strong); }
.mobile-nav a.active { color: var(--red-strong); background: var(--red-soft); }
.mobile-nav .btn { display: flex; margin-top: 10px; }


/* ================= Motion & polish layer ================= */
.anim, .magnet { transition-property: background-color, color, border-color, box-shadow !important; }

/* scroll progress */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left center; display: none; }
html[dir="rtl"] .progress { transform-origin: right center; }
.gsap .progress { display: block; }

/* hero lines */
.hero h1 .line { display: block; }

/* Wi-Fi rings on the floor plan */
.plan-svg .ring { transform-box: fill-box; transform-origin: center; animation: ring 2.8s ease-out infinite; opacity: 0; }
.plan-svg .ring.r2 { animation-delay: 1.4s; }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
.plan-card { will-change: transform; }

/* service & audience icons */
.ico { transition: background-color .25s, color .25s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.svc:hover .ico { background: var(--red-strong); color: #fff; transform: rotate(-8deg) scale(1.08); }
.aud:hover .ico { transform: translateY(-4px); }
.info { transition: border-color .25s, box-shadow .25s; }
.info:hover { border-color: transparent; box-shadow: var(--shadow); }
.info:hover .ico { background: var(--red-strong); color: #fff; }
.social a:hover { transform: translateY(-2px); }
.member { transition: box-shadow .25s, border-color .25s; }
.member:hover { border-color: transparent; box-shadow: var(--shadow); }
.member .avatar { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.member:hover .avatar { transform: scale(1.06); }

/* button arrows nudge */
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn-primary:hover::after { left: 120%; }

/* process line */
.steps-line { display: none; position: absolute; top: 9px; inset-inline-start: 10px; width: calc((100% - 54px) * .75 + 54px); height: 2px; pointer-events: none; z-index: 0; }
.steps-line i { display: block; height: 100%; background: var(--red); transform-origin: left center; }
html[dir="rtl"] .steps-line i { transform-origin: right center; }
.gsap .steps-line { display: block; }
.step .dot { z-index: 1; transition: background-color .3s; }
.gsap .step.on .dot { background: var(--red); box-shadow: 0 0 0 6px rgba(236,30,36,.12); }
@media (max-width: 920px) { .gsap .steps-line { display: none; } }

/* about timeline */
.timeline-line { display: none; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; background: var(--red); transform-origin: top center; }
.gsap .timeline-line { display: block; }


/* ================= Multi-page additions ================= */
.brand picture, .ft-grid picture { display: block; }
.ft-grid picture img { height: 48px; width: auto; }
.nav-links a.ext { display: inline-flex; align-items: center; gap: 5px; }
.nav-links a.ext svg { width: 13px; height: 13px; opacity: .55; }
.mobile-nav a.ext { display: flex; align-items: center; gap: 8px; }
.mobile-nav a.ext svg { width: 15px; height: 15px; opacity: .55; }
@media (max-width: 1080px) {
  .nav-links, .nav-tools .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-tools { margin-inline-start: auto; }
  .nav.open + .mobile-nav { display: block; }
}
.spacer { height: 96px; }
.container.narrow { max-width: 880px; }

/* service page hero */
.svc-hero-row { display: flex; gap: 24px; align-items: flex-start; margin-top: 18px; }
.svc-hero-row > div:last-child { min-width: 0; }
.svc-hero-row h1 { margin-top: 0; }
.ico-lg { flex: none; width: 72px; height: 72px; border-radius: 20px; background: var(--red-strong); color: #fff; box-shadow: 0 10px 24px rgba(211,23,29,.25); }
.ico-lg svg { width: 36px; height: 36px; }
.svc-hero .hero-cta { margin-top: 28px; }
.svc-hero .hero-cta .btn-ghost svg { color: #1f9d55; }

/* what's included + side card */
.sp-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.sp-grid > div { min-width: 0; }
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inc li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; color: var(--ink-strong); font-size: 17px; }
.inc li svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red-soft); color: var(--red-strong); stroke-width: 2.6; margin-top: 1px; }
.side-card { position: sticky; top: 110px; background: var(--ink-strong); color: #fff; border-radius: 22px; padding: 30px; display: grid; gap: 14px; }
.side-card h3 { color: #fff; font-size: 22px; }
.side-card > p { color: #c5c5c9; }
.chips-label { font-size: 13px; font-weight: 700; color: #9b9ba0; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .chips { justify-content: flex-end; }
.chips span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 700; font-size: 14px; font-family: var(--font); }
.side-card .btn { margin-top: 8px; }
.side-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: #fff; padding: 6px; }
.side-phone svg { width: 16px; height: 16px; color: var(--red); }
.side-phone:hover { color: #ffd3d4; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; color: var(--ink-strong); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 22px; height: 22px; color: var(--red-strong); transition: transform .3s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
.faq-item[open] .faq-a { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* related */
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }

/* click-to-load map */
.map { display: grid; place-items: center; }
.map-ph { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 32px 20px; }
.map-ph .ico { width: 56px; height: 56px; }
.map-ph p { font-weight: 700; color: var(--ink-strong); }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.map-actions .btn svg { width: 15px; height: 15px; }
.map.loaded { display: block; }

@media (max-width: 920px) {
  .sp-grid { grid-template-columns: 1fr; gap: 32px; }
  .side-card { position: static; }
  .svc-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-hero-row { flex-direction: column; gap: 16px; }
  .ico-lg { width: 60px; height: 60px; border-radius: 16px; }
  .ico-lg svg { width: 30px; height: 30px; }
  .spacer { height: 64px; }
  .map { height: auto; min-height: 260px; }
}

/* contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { position: relative; }
.form-fail { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--red-strong); display: none; background: var(--red-soft); padding: 12px 14px; border-radius: 10px; }
.form-fail.show { display: block; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-ok { display: none; text-align: center; padding: 32px 8px 8px; }
.form-ok:focus { outline: none; }
.form-card.sent > :not(.form-ok) { display: none; }
.form-card.sent .form-ok { display: grid; justify-items: center; gap: 12px; animation: faqIn .4s ease; }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e9f7ef; color: #1d7a45; }
.ok-ico svg { width: 32px; height: 32px; stroke-width: 2.4; }
.form-ok h3 { font-size: 22px; }
.form-ok p { color: var(--muted); max-width: 360px; }

/* ================= Animated hero background ================= */
.hero { isolation: isolate; }
.hero > .container { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%); }
html[dir="rtl"] .hero-bg {
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%);
          mask-image: linear-gradient(270deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%); }
.hero[data-bg]::before { opacity: .35; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
@media (max-width: 920px) {
  .hero-bg, html[dir="rtl"] .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 40%, #000 70%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 40%, #000 70%); }
}
