:root {
  --red: #e42313;
  --red-d: #c11b0e;
  --red-soft: #fdecea;
  --bg: #ffffff;
  --bg-2: #f2f3f5;
  --bg-3: #e9eaee;
  --text: #0b0b0d;
  --muted: #6b6e76;
  --line: #e3e4e8;
  --dark: #141416;
  --ok: #1a8f5a;
  --radius: 24px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --arabic: 'Amiri', 'Times New Roman', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- typography ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 10px; }
.h-display { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.h-section { font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.h-section em { font-style: normal; color: var(--red); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.saw { font-family: var(--arabic); font-size: 1.1em; line-height: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 14px; border: 0;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--bg-3); }
.btn-ghost { background: var(--bg-2); color: var(--text); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand::before {
  content: 'FB'; width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.brand-name i { font-style: normal; color: var(--red); }
.brand-name small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--text); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--red); }
.burger { display: none; background: var(--bg-2); border: 0; width: 44px; height: 44px; border-radius: 12px; }

@media (max-width: 900px) {
  .burger { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- hero bento ---------- */
.hero { padding: 16px 0 24px; }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius);
  border: 0; text-align: left; overflow: hidden; min-height: 200px; transition: transform .2s; background: var(--bg-2); color: var(--text);
}
a.tile:hover, button.tile:hover { transform: translateY(-3px); }
.tile-main { grid-row: span 2; padding: 48px; justify-content: center; min-height: 460px; }
.tile-main .bismillah { font-family: var(--arabic); font-size: 26px; color: var(--red); direction: rtl; text-align: left; margin-bottom: 12px; position: relative; z-index: 1; }
.tile-main h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 620px; position: relative; z-index: 1; }
.tile-main .lead { margin: 18px 0 30px; position: relative; z-index: 1; max-width: 520px; }
.tile-art {
  position: absolute; right: -10px; bottom: -50px; font-family: var(--arabic); font-size: 170px; line-height: 1;
  color: var(--red); opacity: .07; direction: rtl; pointer-events: none; white-space: nowrap;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.tile-red { background: var(--red); color: #fff; grid-row: span 2; justify-content: flex-end; }
.tile-red::before { content: ''; position: absolute; right: -70px; top: -70px; width: 250px; height: 250px; border-radius: 50%; background: rgba(255,255,255,.12); }
.tile-red::after { content: ''; position: absolute; right: 40px; top: 110px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.14); }
.tile-dark { background: var(--dark); color: #fff; justify-content: flex-end; }
.tile-soft { justify-content: flex-end; min-height: 150px; }
.tile-k { font-size: 14px; font-weight: 600; opacity: .8; margin-bottom: auto; position: relative; z-index: 1; }
.tile-big { font-size: 110px; font-weight: 800; line-height: .85; letter-spacing: -.05em; position: relative; z-index: 1; }
.tile-mid { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; position: relative; z-index: 1; }
.tile span:not(.tile-k):not(.tile-go) { font-size: 15px; opacity: .85; position: relative; z-index: 1; }
.tile-soft span:not(.tile-k) { color: var(--muted); opacity: 1; }
.tile-go {
  position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); font-size: 20px; z-index: 1;
}
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-main { grid-column: span 2; grid-row: auto; min-height: 0; padding: 32px 24px; }
  .tile-red { grid-row: auto; min-height: 250px; }
  .tile-big { font-size: 84px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-main { grid-column: auto; }
  .tile-art { font-size: 110px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .lead { margin: 14px 0 0; }

/* about */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--bg-2); }
.pillar .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--red); margin-bottom: 22px; }
.pillar .ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* services */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 10px 18px; border-radius: 12px; border: 0; background: var(--bg-2); font-weight: 600; font-size: 15px; color: var(--text); transition: .15s; }
.chip:hover { background: var(--bg-3); }
.chip.active { background: var(--text); color: #fff; }
.chip .n { opacity: .5; margin-left: 6px; font-weight: 500; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--bg-2); transition: transform .2s, background .2s; }
.svc:hover { transform: translateY(-3px); background: var(--bg-3); }
.svc-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 20px; }
.svc-cat { font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; padding: 5px 10px; border-radius: 8px; }
.svc-count { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--red); line-height: 1; text-align: right; }
.svc h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.svc p { margin: 0 0 22px; color: var(--muted); font-size: 15px; flex: 1; }
.svc-link {
  align-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  border: 0; background: #fff; font-weight: 600; font-size: 14px; color: var(--text); transition: .15s;
}
.svc-link svg { width: 16px; height: 16px; }
.svc:hover .svc-link { background: var(--red); color: #fff; }
.svc[hidden] { display: none; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* sets */
#sets { background: var(--bg-2); border-radius: 40px; margin: 0 16px; }
.sets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.set {
  grid-column: span 2; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius);
  background: #fff; transition: transform .2s; position: relative; overflow: hidden;
}
.set:hover { transform: translateY(-3px); }
.set:nth-child(4), .set:nth-child(5) { grid-column: span 3; }
.set-tag { align-self: start; font-size: 13px; font-weight: 600; color: var(--red); background: var(--red-soft); border-radius: 8px; padding: 5px 10px; }
.set h3 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 0; line-height: 1; }
.set h3 small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 6px; }
.set ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.set li { display: flex; gap: 12px; font-size: 15px; }
.set li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--red); }
.set p { color: var(--muted); font-size: 15px; margin: 0 0 24px; flex: 1; }
.set .btn { align-self: start; }
.set[data-tone="nur"] { background: var(--red); color: #fff; }
.set[data-tone="nur"] .set-tag { background: rgba(255,255,255,.18); color: #fff; }
.set[data-tone="nur"] h3 small, .set[data-tone="nur"] p { color: rgba(255,255,255,.8); }
.set[data-tone="nur"] li::before { background: #fff; }
.set[data-tone="nur"] .btn-primary { background: #fff; color: var(--red); }
@media (max-width: 1000px) { .sets { grid-template-columns: 1fr 1fr; } .set, .set:nth-child(4), .set:nth-child(5) { grid-column: span 1; } }
@media (max-width: 640px) { .sets { grid-template-columns: 1fr; } #sets { margin: 0; border-radius: 28px; } }

.water {
  margin-top: 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--radius); background: var(--dark); color: #fff;
}
.water .eyebrow { color: #ff8a80; }
.water-ic { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.water-ic svg { width: 34px; height: 34px; }
.water h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.water p { margin: 0; color: rgba(255,255,255,.7); max-width: 640px; }
@media (max-width: 760px) { .water { grid-template-columns: 1fr; gap: 16px; padding: 26px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg-2); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* partner */
.partner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 32px; background: var(--red); color: #fff; position: relative; overflow: hidden;
}
.partner::before { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.08); }
.partner > * { position: relative; }
.partner .eyebrow { color: rgba(255,255,255,.85); }
.partner .h-section em { color: #fff; opacity: .7; }
.partner ul { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.partner li { display: flex; gap: 14px; align-items: start; color: rgba(255,255,255,.85); }
.partner li b { color: #fff; font-weight: 700; }
.partner li svg { flex: none; width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.partner .btn-primary { background: #fff; color: var(--red); }
.partner .btn-primary:hover { background: var(--red-soft); }
.partner .btn-ghost { background: rgba(255,255,255,.16); color: #fff; }
.partner .btn-ghost:hover { background: rgba(255,255,255,.26); }
.partner-card { border-radius: 24px; padding: 28px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.partner-card .row { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.partner-card .big { font-size: 60px; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 18px; line-height: 1; }
.partner-card .ref { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14px; font-weight: 500; }
.partner-card .bars { display: flex; align-items: end; gap: 8px; height: 80px; margin-top: 22px; }
.partner-card .bars i { flex: 1; background: var(--red); border-radius: 6px; opacity: .25; }
.partner-card .bars i:last-child { opacity: 1; }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 28px; } }

/* cta */
.cta { padding: 24px 0 72px; }
.cta .wrap { background: var(--dark); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; }
.cta .arabic { font-family: var(--arabic); font-size: 30px; color: #ff8a80; direction: rtl; }
.cta h2 { font-size: clamp(30px, 4.2vw, 54px); margin: 12px auto 16px; max-width: 820px; }
.cta .lead { margin: 0 auto 32px; color: rgba(255,255,255,.65); }
.cta .hero-cta { justify-content: center; }
.cta .btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255,255,255,.18); }

/* footer */
.footer { background: var(--bg-2); padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand-name { color: var(--text); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text); font-weight: 500; }
.footer-links a:hover { color: var(--red); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* floating whatsapp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid transparent;
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; transition: border-color .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field input[readonly] { color: var(--muted); }
.field .hint { font-size: 13px; color: var(--muted); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; translate: 0 -50%; background: none; border: 0; color: var(--muted); padding: 8px; }
.pw input { padding-right: 48px; }

.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert-err { background: var(--red-soft); color: var(--red-d); }
.alert-ok { background: #e6f5ee; color: var(--ok); }

/* ---------- auth ---------- */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side {
  position: relative; overflow: hidden; margin: 16px; border-radius: 32px; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between; background: var(--red); color: #fff;
}
.auth-side::before { content: ''; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.1); }
.auth-side::after { content: ''; position: absolute; left: -100px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: rgba(0,0,0,.07); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side .brand::before { background: #fff; color: var(--red); }
.auth-side .brand-name i { color: #fff; }
.auth-side .brand-name small { color: rgba(255,255,255,.75); }
.auth-side > span { color: rgba(255,255,255,.7) !important; }
.auth-quote .ar { font-family: var(--arabic); font-size: 36px; direction: rtl; line-height: 1.6; }
.auth-quote p { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: 10px 0 8px; max-width: 460px; font-style: normal; }
.auth-quote span { color: rgba(255,255,255,.75); font-size: 14px; }
.auth-main { display: grid; place-items: center; padding: 48px 20px; }
.auth-box { width: min(420px, 100%); }
.auth-box h1 { font-size: 36px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.auth-box > p { color: var(--muted); margin: 0 0 28px; }
.auth-box .btn { width: 100%; margin-top: 6px; }
.auth-switch { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.auth-switch a { color: var(--red); font-weight: 600; }
.auth-main .brand.mobile-only { display: none; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding-top: 32px; align-content: start; }
  .auth-main .brand.mobile-only { display: flex; margin-bottom: 36px; }
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(11,11,13,.5); animation: fade .2s ease; }
.modal-box {
  position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  padding: 32px 28px 28px; border-radius: 28px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0,0,0,.45); animation: pop .22s ease;
}
.modal-box h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 4px 0 6px; }
.modal-sub { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.modal-sub b { color: var(--text); }
.modal-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--bg-2); color: var(--text); display: grid; place-items: center; }
.modal-x:hover { background: var(--bg-3); }
.modal .field { margin-bottom: 14px; }
.done-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 12px; }
.done-ic svg { width: 30px; height: 30px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 520px) { .modal { padding: 0; align-items: end; } .modal-box { border-radius: 28px 28px 0 0; max-height: 94svh; padding: 28px 18px 22px; } }

/* ---------- исламские акценты ---------- */
.ar-label { display: block; font-family: var(--arabic); font-size: 24px; line-height: 1; color: var(--red); direction: rtl; text-align: left; margin-bottom: 8px; }
.section-head .ar-label { opacity: .9; }

/* узор: исламская решётка из арок */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e42313' stroke-width='1.2'%3E%3Cpath d='M0 120V70a30 30 0 0 1 60 0v50M60 120V70a30 30 0 0 1 60 0v50'/%3E%3Cpath d='M-30 60V10a30 30 0 0 1 60 0v50M30 60V10a30 30 0 0 1 60 0v50M90 60V10a30 30 0 0 1 60 0v50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* михраб в красной плитке */
.mihrab { position: absolute; left: 28px; right: 28px; top: 74px; display: flex; gap: 10px; align-items: flex-end; justify-content: center; pointer-events: none; }
.mihrab i { width: 40px; height: 74px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.mihrab i:nth-child(2) { height: 100px; width: 50px; border-color: rgba(255,255,255,.55); }
.tile-red .tile-k { margin-bottom: 0; }
.tile-red .tile-big { margin-top: auto; }

/* арка над главной плиткой */
.tile-main::before {
  content: ''; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e42313' stroke-width='1.4'%3E%3Cpath d='M0 120V70a30 30 0 0 1 60 0v50M60 120V70a30 30 0 0 1 60 0v50'/%3E%3Cpath d='M-30 60V10a30 30 0 0 1 60 0v50M30 60V10a30 30 0 0 1 60 0v50M90 60V10a30 30 0 0 1 60 0v50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* аят */
.ayah { padding: 8px 0 24px; }
.ayah-box {
  position: relative; text-align: center; padding: 64px 32px 56px; border-radius: 32px;
  background: var(--red-soft); overflow: hidden;
}
.ayah-box::before, .ayah-box::after {
  content: ''; position: absolute; width: 260px; height: 260px; border: 1.5px solid rgba(228,35,19,.16); border-radius: 130px 130px 0 0;
}
.ayah-box::before { left: -80px; bottom: -40px; }
.ayah-box::after { right: -80px; bottom: -40px; }
.mihrab-line {
  display: block; width: 74px; height: 96px; margin: 0 auto 26px; border: 2px solid var(--red); border-radius: 28px; opacity: .35;
}
.ayah-box .ar { font-family: var(--arabic); font-size: clamp(30px, 4.4vw, 50px); line-height: 1.7; color: var(--red); direction: rtl; margin: 0 0 20px; position: relative; }
.ayah-box .tr { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; max-width: 760px; margin: 0 auto 8px; position: relative; }
.ayah-box .src { color: var(--muted); font-size: 15px; position: relative; }

/* арки в карточках */
.pillar .ic { border-radius: 28px; }
.svc-cat { border-radius: 14px; }
.set-tag { border-radius: 14px; }
.step::before { border-radius: 22px; }
.water-ic { border-radius: 28px; }
.brand::before { border-radius: 20px; }
.avatar { border-radius: 18px; }
.done-ic { border-radius: 28px; }

/* каллиграфия в тёмных блоках */
.cta .wrap { position: relative; overflow: hidden; }
.cta .wrap::before {
  content: ''; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M0 120V70a30 30 0 0 1 60 0v50M60 120V70a30 30 0 0 1 60 0v50'/%3E%3Cpath d='M-30 60V10a30 30 0 0 1 60 0v50M30 60V10a30 30 0 0 1 60 0v50M90 60V10a30 30 0 0 1 60 0v50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.cta .wrap > * { position: relative; }

/* =========== Версия 3: контент заказчика + доступность =========== */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--text); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }
.section-tight { padding: 40px 0; }
ul.services, ul.sets, ul.channels, ul.trust, ul.reviews, ul.videos, ul.intent-grid, ul.footer-links { list-style: none; margin: 0; padding: 0; }
.lead b { color: var(--text); }

/* главный экран */
.tile-main .bismillah { margin: 0 0 12px; }
.tile-red .tile-big { font-size: clamp(56px, 6vw, 92px); }
.tile-red .mihrab { top: 40px; }

/* намерения */
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.intent-grid li { position: relative; padding: 20px 20px 20px 52px; border-radius: 18px; background: var(--bg-2); font-weight: 600; line-height: 1.35; }
.intent-grid li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 18px; height: 22px; border: 2px solid var(--red); border-radius: 9px; }
@media (max-width: 1000px) { .intent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .intent-grid { grid-template-columns: 1fr; } }

/* миссия */
.ayah-box .tr { font-size: clamp(22px, 2.8vw, 34px); }

/* услуги */
.svc-num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--red); line-height: 1; }
.svc h3 { margin-top: 4px; }
.svc > p { flex: 0; margin-bottom: 12px; }
.svc-cat { background: var(--red-soft); color: var(--red); }
.more { margin: 0 0 18px; flex: 1; }
.more summary { cursor: pointer; font-weight: 600; color: var(--red); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 20px; line-height: 1; }
.more[open] summary::after { content: "\2212"; }
.more-body { padding-top: 8px; font-size: 15px; color: var(--text); }
.more-body p { margin: 0 0 10px; }
.svc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.svc:hover { transform: none; background: var(--bg-2); }
.help-box { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; border-radius: var(--radius); background: var(--red-soft); flex-wrap: wrap; }
.help-box h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.help-box p { margin: 0; color: var(--muted); }

/* списки */
ul.dots { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
ul.dots li { position: relative; padding-left: 20px; }
ul.dots li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.checks li { position: relative; padding-left: 28px; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }

/* вода */
.water-big { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.water-main { padding: 44px; border-radius: 32px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.water-main::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 340px; border: 2px solid rgba(255,255,255,.08); border-radius: 130px 130px 0 0; }
.water-main > * { position: relative; z-index: 1; }
.water-main .eyebrow { color: #ff8a80; }
.water-main .h-section { color: #fff; margin-bottom: 20px; }
.water-sub { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.water-main ul.dots li::before { background: #ff8a80; }
.water-main p { color: rgba(255,255,255,.8); }
.price { display: inline-block; font-size: 22px; font-weight: 800; color: #fff !important; background: var(--red); padding: 10px 18px; border-radius: 14px; margin: 6px 0 22px; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.water-side { padding: 36px; border-radius: 32px; background: var(--red-soft); }
.water-side h3 { font-size: 22px; font-weight: 800; margin: 0 0 16px; }
.water-side ul.checks li::before { color: var(--red); }
@media (max-width: 900px) { .water-big { grid-template-columns: 1fr; } .water-main, .water-side { padding: 28px 22px; border-radius: 26px; } }

/* наборы */
ul.sets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
ul.sets .set { grid-column: auto; }
.set h3 { font-size: 28px; }
.set > p { flex: 0; margin: 12px 0 0; }
.set .set-lead { font-weight: 700; color: var(--text); margin: 16px 0 0; }
.set ul { margin: 12px 0 24px; }
.set .svc-actions { margin-top: auto; }
.set.set-red { background: var(--red); color: #fff; }
.set-red .set-tag { background: rgba(255,255,255,.18); color: #fff; }
.set.set-red > p, .set.set-red .set-lead { color: rgba(255,255,255,.9); }
.set-red li::before { background: #fff; }
.set-red .btn-primary { background: #fff; color: var(--red); }
.set-red .btn-light { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 760px) { ul.sets { grid-template-columns: 1fr; } }

/* каналы */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.channel { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--bg-2); }
.tg { width: 52px; height: 52px; border-radius: 26px; display: grid; place-items: center; background: #2aabee; color: #fff; margin-bottom: 18px; }
.tg svg { width: 26px; height: 26px; }
.channel h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.channel > p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.channel > p.set-lead { color: var(--text); font-weight: 700; margin: 4px 0 10px; }
.channel ul.dots { font-size: 15px; }
ul.prices { list-style: none; padding: 0; margin: auto 0 18px; display: grid; gap: 6px; }
ul.prices li { font-weight: 800; font-size: 18px; padding: 10px 14px; border-radius: 12px; background: #fff; }
@media (max-width: 1000px) { .channels { grid-template-columns: 1fr; } }

/* доверие */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust .pillar h3::before { content: ""; display: block; width: 44px; height: 52px; margin-bottom: 18px; border-radius: 22px; background: var(--red); }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* отзывы и видео */
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin-bottom: 16px; padding: 20px; border-radius: var(--radius); background: var(--bg-2); }
.review img, .review video { width: 100%; border-radius: 16px; margin-bottom: 12px; background: #000; }
.review blockquote { margin: 0 0 10px; font-size: 16px; }
.review blockquote p { margin: 0; }
.review-by { margin: 0; color: var(--muted); font-size: 14px; }
.review-by b { color: var(--text); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.video { border-radius: var(--radius); background: var(--bg-2); padding: 12px; }
.video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #000; display: block; }
.video p { margin: 10px 6px 4px; font-weight: 600; }
.muted-note { color: var(--muted); padding: 24px; border-radius: var(--radius); background: var(--bg-2); margin: 0; }

/* вопросы */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: 20px; background: var(--bg-2); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 20px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* финальный блок и подвал */
.cta .lead { max-width: 720px; }
.footer .brand-name { margin: 0 0 6px; }
.foot-note { margin: 0; max-width: 520px; }

/* заметный фокус для клавиатуры и VoiceOver */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* правки после проверки */
.tile-red .tile-big { font-size: clamp(52px, 5.2vw, 80px); white-space: nowrap; }
ul.intent-grid { margin-top: 28px; }
ul.services { align-items: start; }
.water-main .price { background: none; padding: 0; border-radius: 0; font-size: 28px; color: #fff; margin: 4px 0 24px; display: block; }
.set .btn-light { background: var(--bg-2); }
.set .btn-light:hover { background: var(--bg-3); }
.set.set-red .btn-light { background: rgba(255,255,255,.16); color: #fff; }
.review img { min-height: 120px; object-fit: contain; }

/* ===== Круглые значки везде (вместо арок-«надгробий») ===== */
.ic-arch, .b-item .ic-arch, .row .ic-arch { width: 48px !important; height: 48px !important; border-radius: 50% !important; }
.ic-arch::after, .b-item .ic-arch::after { border-radius: 50% !important; inset: 3px !important; }
.ic-lg { width: 64px !important; height: 64px !important; border-radius: 50% !important; }
.ic-lg::after { border-radius: 50% !important; }
.tile-ic, .stat-ic, .modal-arch, .tg, .read-list .n, .del-hero, .trust .pillar h3::before { width: 48px !important; height: 48px !important; border-radius: 50% !important; }
.del-hero { width: 84px !important; height: 84px !important; }
.del-hero::after { border-radius: 50% !important; }
.pillar .ic, .theme-green .pillar .ic, .water-ic, .done-ic, .avatar, .brand::before, .theme-green .brand::before, .step::before, .wz-step::before { border-radius: 50% !important; }
.pillar .ic, .water-ic, .done-ic { aspect-ratio: 1; }
.big-arch, .big-arch::before { border-radius: 50% !important; aspect-ratio: 1; }
.mihrab i { border-radius: 50% !important; height: 40px !important; }
.intent-grid li::before { border-radius: 50% !important; width: 20px !important; height: 20px !important; }

/* ===== Логотип: золотая звезда-хатам и полумесяц ===== */
.brand::before, .theme-green .brand::before, .auth-side .brand::before, .theme-green .auth-side .brand::before {
  content: '' !important; width: 52px !important; height: 52px !important; border-radius: 50% !important;
  background: url(/img/logo.svg) center / cover no-repeat !important; box-shadow: 0 6px 16px -6px rgba(8, 42, 29, .55);
}

/* ===== Кнопки поменьше ===== */
.btn, .btn-gold-cta, .hero-cta .btn { min-height: 0 !important; padding: 11px 22px !important; font-size: 15px !important; border-radius: 14px !important; }
.btn-sm { padding: 9px 16px !important; font-size: 14px !important; }
.hero-cta { gap: 10px !important; }
