/* ═══════════════════════════════════════════════════
   Expert Level — Custom Theme Styles
   Design source: kbiz template
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────── */
:root {
  --blue: #2563eb;
  --blue-l: #3b82f6;
  --blue-lt: #eff6ff;
  --purple: #7c3aed;
  --dark: #0f172a;
  --mid: #1e293b;
  --body: #475569;
  --muted: #94a3b8;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #fff;
  --section-gap: 88px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-pill: 100px;
  --shadow-soft: 0 1px 8px rgba(15,23,42,0.05);
  --shadow-card: 0 8px 32px rgba(37,99,235,0.1);
  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root:lang(ru) {
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Fira Sans', sans-serif;
}

/* ── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── HEADER ────────────────────────────── */
header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: var(--shadow-soft); transition: var(--transition); }
header.scrolled { box-shadow: 0 4px 20px rgba(15,23,42,0.08); }
.hdr { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.header-logo-img { height: 32px; width: auto; }
.logo-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-top: 2px; }
.header-nav { flex: 1; display: flex; align-items: center; }
.header-nav .nav-link { font-size: 0.84rem; font-weight: 500; color: var(--body); padding: 8px 14px; transition: color 0.15s; }
.header-nav .nav-link:hover,
.header-nav .nav-link.active { color: var(--blue); }
.hdr-r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-phone { font-size: 0.84rem; font-weight: 600; color: var(--mid); padding: 8px 10px; transition: color 0.15s; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }

/* nav dropdown */
.nav-item-dropdown { position: relative; }
.nav-link-dropdown { cursor: default; }
.nav-link-caret { font-size: 0.65rem; margin-left: 2px; display: inline-block; transition: transform 0.2s; }
.mobile-svc-toggle { background: none; border: none; padding: 0; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.mobile-svc-sub { display: flex; flex-direction: column; }
.nav-dropdown-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 320px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(15,23,42,0.12); padding: 12px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 300; }
.nav-item-dropdown:hover .nav-dropdown-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown-card { display: block; padding: 12px 14px; border-radius: var(--radius-md); transition: background 0.15s; }
.nav-dropdown-card:hover { background: var(--light); }
.nav-dropdown-title { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.nav-dropdown-text { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* lang switcher */
.lang-switcher { display: flex; gap: 2px; align-items: center; }
.lang-btn { font-size: 0.75rem; font-weight: 700; color: var(--muted); padding: 4px 7px; border-radius: 4px; transition: 0.15s; }
.lang-btn:hover { color: var(--blue); }
.lang-btn.lang-active { color: var(--blue); background: var(--blue-lt); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; border-radius: var(--radius); cursor: pointer; transition: 0.15s; border: none; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; padding: 9px 20px; font-size: 0.84rem; border-radius: var(--radius); white-space: nowrap; }
.btn-primary:hover { background: var(--blue-l); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--mid); padding: 9px 18px; font-size: 0.84rem; font-weight: 600; border-radius: var(--radius); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); padding: 12px 28px; border-radius: 7px; font-size: 0.9rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: 0.15s; }
.btn-white:hover { background: var(--blue-lt); }
.btn-white svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* nav toggle / burger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 1px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* mobile nav */
.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 199; padding: 24px 28px; flex-direction: column; gap: 8px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1rem; font-weight: 600; color: var(--dark); padding: 12px 0; border-bottom: 1px solid var(--border); display: block; }
.mobile-nav .nav-link:hover { color: var(--blue); }
.mobile-nav .mobile-lang { display: flex; gap: 8px; padding-top: 16px; margin-top: auto; }
.mobile-nav .btn-primary { width: 100%; justify-content: center; margin-top: 16px; padding: 14px; font-size: 0.95rem; }

/* ── HERO ──────────────────────────────── */
.hero { min-height: calc(100dvh - 68px); display: flex; align-items: center; padding: 48px 0; background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); overflow: hidden; }
.hero-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-lt); border: 1px solid #bfdbfe; border-radius: var(--radius-pill); padding: 5px 14px; font-size: 0.76rem; font-weight: 700; color: var(--blue); margin-bottom: 18px; }
.hero-badge svg { width: 13px; height: 13px; stroke: var(--blue); fill: none; stroke-width: 2.5; }
.hero h1 { font-size: 3rem; font-weight: 900; color: var(--dark); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; }
.hero h1 span { background: linear-gradient(135deg, var(--blue), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 0.95rem; color: var(--body); line-height: 1.82; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.bh1 { background: var(--blue); color: #fff; padding: 13px 26px; border-radius: 7px; font-size: 0.9rem; font-weight: 700; transition: background 0.15s; display: inline-flex; align-items: center; gap: 7px; }
.bh1 svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; }
.bh1:hover { background: var(--blue-l); }
.bh2 { color: var(--mid); padding: 12px 22px; border-radius: 7px; font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border); transition: 0.15s; background: transparent; }
.bh2 svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.bh2:hover { border-color: var(--blue); color: var(--blue); }
.hero-trust-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-val { font-size: 1.8rem; font-weight: 900; color: var(--blue); line-height: 1; }
.trust-val span { font-size: 1.1rem; }
.trust-label { font-size: 0.77rem; color: var(--muted); margin-top: 4px; }
.hero-right { position: relative; }
.hero-right img { width: 100%; height: auto; max-height: calc(100dvh - 180px); object-fit: contain; object-position: right center; border-radius: 0; box-shadow: none; background: transparent; }
.hero--full-bg { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; }
.hero--full-bg::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.35); z-index: 0; }
.hero--full-bg .hero-inner { position: relative; z-index: 1; }
.hero--full-bg .hero-right { display: none; }
.hero-card { position: absolute; bottom: 24px; left: -20px; background: #fff; border-radius: var(--radius-lg); padding: 14px 18px; box-shadow: 0 8px 24px rgba(15,23,42,0.12); display: flex; gap: 10px; align-items: center; }
.hc-ic { width: 36px; height: 36px; background: var(--blue-lt); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.hc-ic svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; }
.hc-title { font-size: 0.78rem; font-weight: 700; color: var(--dark); }
.hc-sub { font-size: 0.71rem; color: var(--muted); }

/* ── FEATURES STRIP ────────────────────── */
.feat-strip { background: #0b399f; padding: 20px 28px; }
.fs-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 0; justify-content: space-around; flex-wrap: wrap; }
.fsi { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.fsi svg { width: 16px; height: 16px; stroke: rgb(255 167 0); fill: none; stroke-width: 2; }
.fsi span { font-size: 0.82rem; color: rgb(255 167 0); font-weight: 500; }

/* ── SECTION HEAD ──────────────────────── */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-lt); border-radius: var(--radius-pill); padding: 4px 14px; font-size: 0.73rem; font-weight: 700; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sec-head h2 { font-size: 2.1rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; line-height: 1.2; }
.sec-head p { font-size: 0.9rem; color: var(--body); max-width: 520px; margin: 10px auto 0; line-height: 1.8; }

/* ── SERVICES ──────────────────────────── */
.services { background: var(--white); padding: var(--section-gap) 0; }
.services .sec-head { max-width: 1200px; margin: 0 auto 52px; padding: 0 28px; }
/* ── SERVICES SLIDER ──────────────────── */
.svc-slider { margin: 0 20px; display: flex; align-items: stretch; gap: 12px; }
.svc-slider-viewport { flex: 1; overflow: hidden; min-width: 0; }
.svc-slider-track { display: flex; gap: 20px; transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.svc-arrow { flex-shrink: 0; width: 44px; height: 44px; align-self: center; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.15s; box-shadow: var(--shadow-soft); color: var(--dark); }
.svc-arrow:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,0.12); }
.svc-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.sc { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; display: flex; flex-direction: column; overflow: hidden; }
.sc-ic { width: 48px; height: 48px; background: var(--blue-lt); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sc-ic svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.sc-ic--grad { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.sc-ic--grad svg { stroke: #fff; }
.detail-subitems .sc-ic { width: 56px; height: 56px; }
.detail-subitems .sc-ic svg { width: 26px; height: 26px; }
.sc h3 { font-size: 0.93rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.sc p { font-size: 0.83rem; color: var(--body); line-height: 1.72; flex: 1; }
.sc-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 600; color: var(--blue); margin-top: 14px; transition: gap 0.15s; }
.sc-link:hover { gap: 8px; }
.sc-photo { margin: -28px -22px 18px; border-radius: 9px 9px 0 0; overflow: hidden; }
.sc-photo img { width: 100%; height: auto; display: block; }

/* ── SERVICES EXPAND GRID ──────────────── */
.svc-grid-view { display: none; max-width: 1200px; margin: 0 auto; padding: 0 28px; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid-view.is-open { display: grid; }
.svc-grid-view .sc { width: auto !important; }
.svc-expand-wrap { text-align: center; margin-top: 28px; }
.svc-expand-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 26px; border-radius: var(--radius-pill); background: transparent; border: 1.5px solid var(--border); font-size: 0.84rem; font-weight: 600; color: var(--dark); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.svc-expand-btn:hover { border-color: var(--blue); color: var(--blue); }
.svc-expand-icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.25s; }
.svc-expand-btn.is-expanded .svc-expand-icon { transform: rotate(180deg); }
@media (max-width: 900px) { .svc-grid-view { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid-view { grid-template-columns: 1fr; padding: 0 16px; } }
@keyframes svcCardIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.svc-grid-view.is-open .sc { animation: svcCardIn 0.38s ease both; }
.svc-grid-view.is-open .sc:nth-child(2) { animation-delay: 0.07s; }
.svc-grid-view.is-open .sc:nth-child(3) { animation-delay: 0.14s; }
.svc-grid-view.is-open .sc:nth-child(4) { animation-delay: 0.21s; }
.svc-grid-view.is-open .sc:nth-child(5) { animation-delay: 0.28s; }
.svc-grid-view.is-open .sc:nth-child(6) { animation-delay: 0.35s; }
.svc-grid-view.is-open .sc:nth-child(7) { animation-delay: 0.42s; }
.svc-grid-view.is-open .sc:nth-child(8) { animation-delay: 0.49s; }

/* ── ABOUT ─────────────────────────────── */
.about { background: var(--light); padding: var(--section-gap) 28px; }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-xl); }
.ab-badge { position: absolute; top: 24px; left: 24px; background: var(--blue); color: #fff; border-radius: var(--radius-md); padding: 12px 18px; font-size: 1.4rem; font-weight: 900; }
.ab-badge span { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.75; }
.about-text .sec-tag { margin-bottom: 10px; }
.about-text h2 { font-size: 2rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; line-height: 1.2; margin-top: 8px; margin-bottom: 16px; }
.about-text p { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 14px; }
.about-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.am { background: var(--white); border-radius: var(--radius-md); padding: 16px 18px; border: 1px solid var(--border); }
.am-n { font-size: 1.8rem; font-weight: 900; color: var(--blue); line-height: 1; }
.am-l { font-size: 0.77rem; color: var(--muted); margin-top: 4px; }

/* ── WHY / TRUST ───────────────────────── */
.why { background: var(--light); padding: var(--section-gap) 28px; }
.why-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-text .sec-tag { margin-bottom: 10px; }
.why-text h2 { font-size: 1.9rem; font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.5px; }
.why-text p { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 20px; }
.why-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.wb { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--dark); font-weight: 500; }
.wb-ic { width: 18px; height: 18px; background: var(--blue-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wb-ic svg { width: 10px; height: 10px; stroke: var(--blue); fill: none; stroke-width: 3; }
.why-img img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-xl); }

/* ── FAQ ───────────────────────────────── */
.faq { background: var(--light); padding: var(--section-gap) 28px; }
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; background: var(--white); }
.faq-q { padding: 18px 22px; font-size: 0.9rem; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.15s; }
.faq-q:hover { color: var(--blue); }
.faq-q svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); stroke: var(--blue); }
.faq-a { font-size: 0.87rem; color: var(--body); line-height: 1.8; padding: 0 22px 18px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── CTA SECTION ───────────────────────── */
.cta-sec { background: linear-gradient(135deg, var(--blue), var(--purple)); padding: 72px 28px; text-align: center; }
.cta-inner h2 { font-size: 2.2rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.2; }
.cta-inner p { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── CONTACT SECTION ───────────────────── */
.contact-sec { padding: var(--section-gap) 28px; background: var(--white); }
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-ic { width: 42px; height: 42px; background: var(--blue-lt); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-ic svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; }
.contact-item-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item-value { font-size: 0.9rem; color: var(--dark); font-weight: 500; }
.contact-item-value a { color: var(--dark); transition: color 0.15s; }
.contact-item-value a:hover { color: var(--blue); }
.contact-map { border-radius: var(--radius-xl); overflow: hidden; height: 280px; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* contact form */
.contact-form-wrap { background: var(--light); border-radius: var(--radius-xl); padding: 36px; border: 1px solid var(--border); }
.form-title { font-size: 1.3rem; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.form-subtitle { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select { font-family: inherit; font-size: 0.87rem; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--dark); transition: border-color 0.15s; outline: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; }
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.78rem; color: var(--body); margin-bottom: 16px; cursor: pointer; }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form-check a { color: var(--blue); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 32px 16px; }
.form-success p:first-child { font-size: 1.3rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.form-success p:last-child { font-size: 0.9rem; color: var(--body); }

/* ── FOOTER ────────────────────────────── */
footer { background: #001955; padding: 64px 28px 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { margin-bottom: 14px; display: inline-block; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.83rem; color: rgb(255 255 255 / 61%); line-height: 1.8; margin-bottom: 16px; }
.fc h4 { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fc a { font-size: 0.83rem; color: rgb(255 255 255 / 61%); transition: color 0.15s; }
.fc a:hover { color: var(--blue-l); }
.fc ul li { font-size: 0.83rem; color: rgb(255 255 255 / 61%); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.77rem; color: rgba(255,255,255,0.2); }
.footer-lang-switch { display: flex; gap: 6px; }
.footer-lang-switch a { color: rgba(255,255,255,0.3); font-weight: 600; transition: color 0.15s; }
.footer-lang-switch a:hover { color: var(--blue-l); }
.footer-lang-switch a.lang-active { color: var(--blue-l); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--blue-l); }
.footer-dev-link { color: rgba(255,255,255,0.2); transition: color 0.15s; font-size: 0.77rem; }
.footer-dev-link:hover { color: var(--blue-l); }

/* ── MODAL ─────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(4px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s, visibility 0.25s; }
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-box { background: var(--white); border-radius: var(--radius-xl); padding: 36px; max-width: 540px; width: 100%; position: relative; box-shadow: 0 24px 64px rgba(15,23,42,0.2); transform: translateY(20px); transition: transform 0.25s; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; padding: 4px; color: var(--muted); transition: color 0.15s; }
.modal-close:hover { color: var(--dark); }
.modal-close svg { width: 20px; height: 20px; }

/* ── COOKIE BANNER ─────────────────────── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: rgba(255,255,255,0.6); padding: 16px 28px; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 400; font-size: 0.82rem; transform: translateY(100%); transition: transform 0.3s; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner .btn-primary { padding: 8px 18px; font-size: 0.8rem; flex-shrink: 0; }

/* ── SIDEBAR ───────────────────────────── */
.sidebar-toggle-btn { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 180; background: var(--white); border: 1px solid var(--border); border-left: none; border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 12px 8px; cursor: pointer; box-shadow: 2px 0 12px rgba(15,23,42,0.06); transition: 0.2s; display: none !important; }
.sidebar-toggle-btn:hover { background: var(--blue-lt); }
.burger-line { display: block; width: 16px; height: 2px; background: var(--dark); margin: 3px 0; border-radius: 1px; }
.sidebar-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.4); z-index: 190; opacity: 0; visibility: hidden; pointer-events: none; transition: 0.25s; }
.sidebar-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.sidebar-nav { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--white); z-index: 195; padding: 24px; overflow-y: auto; transition: left 0.3s; box-shadow: 4px 0 24px rgba(15,23,42,0.1); }
.sidebar-nav.open { left: 0; }
.sidebar-nav a { display: block; padding: 10px 0; font-size: 0.88rem; font-weight: 500; color: var(--body); border-bottom: 1px solid var(--border); transition: color 0.15s; }
.sidebar-nav a:hover { color: var(--blue); }
.sidebar-nav a.active { color: var(--blue); font-weight: 700; }

/* ── SCROLL UP ─────────────────────────── */
.scroll-up-btn { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--blue); color: #fff; border: none; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 16px rgba(37,99,235,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: 0.25s; z-index: 100; }
.scroll-up-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-up-btn:hover { background: var(--blue-l); }
.scroll-up-btn svg { width: 20px; height: 20px; }

/* ── PAGE HERO (inner pages) ───────────── */
.page-hero { background: linear-gradient(180deg, #f0f7ff 0%, var(--light) 100%); padding: 48px 28px 36px; }
.page-hero .container { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: 2.2rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 8px; }
.page-hero p { font-size: 0.92rem; color: var(--body); max-width: 600px; line-height: 1.7; }

/* breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--border); }

/* ── SERVICE DETAIL ────────────────────── */
.detail-section { max-width: 1200px; margin: 0 auto; padding: 64px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.detail-section.reversed { direction: rtl; }
.detail-section.reversed > * { direction: ltr; }
.detail-img { width: 100%; border-radius: var(--radius-xl); background: var(--light); overflow: hidden; }
.detail-img img { width: 100%; height: auto; display: block; }
.detail-section h2 { font-size: 1.6rem; font-weight: 900; color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.detail-section .detail-intro { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 20px; }
.detail-features { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; margin-bottom: 24px; }
.detail-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--dark); font-weight: 500; }
.detail-features li::before { content: ''; width: 18px; height: 18px; background: var(--blue-lt); border-radius: 50%; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }

/* ── SERVICE SUB-ITEMS SLIDER ─────────── */
.detail-subitems { background: var(--light); padding: 56px 0; }
.detail-subitems-slider { margin: 0 20px; }

/* ── FEATURE LIST SHOW-MORE ────────── */
.df-extra { display: none; }
.sc.df-expanded .df-extra { display: flex; }
.detail-subitems .sc p { flex: none; }
.df-toggle-btn { display: none; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--blue); background: none; border: none; cursor: pointer; padding: 0; margin-top: 8px; transition: color 0.15s; }
.df-toggle-btn:hover { color: var(--blue-l); }
.df-toggle-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.2s; flex-shrink: 0; }
.sc.df-expanded .df-toggle-btn svg { transform: rotate(180deg); }

/* ── RELATED SERVICES ──────────────────── */
.related { background: var(--light); padding: var(--section-gap) 0; }

/* ── TEAM BLOCK ────────────────────────── */
.team-block { background: #f1f2f2; padding: var(--section-gap) 28px; }
.team-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: center; }
.team-photo-wrap { display: flex; justify-content: center; align-items: center; }
.team-photo { width: 260px; height: 260px; border-radius: 50%; object-fit: cover; object-position: top center; border: 4px solid var(--blue-lt); box-shadow: 0 16px 48px rgba(37,99,235,0.15); }
.team-photo-placeholder { width: 260px; height: 260px; border-radius: 50%; background: var(--light); border: 4px solid var(--blue-lt); }
.team-content .sec-tag { margin-bottom: 12px; }
.team-name { font-size: 1.9rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; margin-bottom: 4px; line-height: 1.2; }
.team-role { font-size: 0.88rem; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.team-para { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 12px; }
.team-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0 4px; }
.team-bullets li { font-size: 0.88rem; color: var(--dark); font-weight: 500; display: flex; align-items: flex-start; gap: 10px; }
.team-bullets li::before { content: ''; display: inline-block; width: 8px; height: 8px; min-width: 8px; background: var(--blue); border-radius: 50%; margin-top: 6px; }

/* ── LEGAL PAGES ───────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 28px 88px; }
.legal-content h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-top: 36px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-top: 24px; margin-bottom: 8px; }
.legal-content p { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content ul li { font-size: 0.9rem; color: var(--body); line-height: 1.82; margin-bottom: 6px; list-style: disc; }
.legal-content a { color: var(--blue); text-decoration: underline; }

/* ── HIDDEN SECTIONS ──────────────────── */
/* Temporarily hidden — remove display:none to restore */
.why { display: none; }
.faq { display: none; }
.about { display: none; }

/* ── SCROLL REVEAL ─────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1000px) {
  .hero-inner,
  .about-inner,
  .why-inner,
  .team-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { display: none; }
  .team-photo,
  .team-photo-placeholder { width: 180px; height: 180px; }
  .team-photo-wrap { margin-bottom: 4px; }
  .detail-section { grid-template-columns: 1fr; gap: 32px; }
  .detail-section.reversed { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .hero--full-bg::before { background: rgba(255,255,255,0.78); }
  .header-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .hdr-r .btn-primary { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .sec-head h2 { font-size: 1.7rem; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
  /* slider: full width on mobile */
  .svc-slider { margin: 0 10px; gap: 6px; }
  .svc-arrow { width: 36px; height: 36px; flex-shrink: 0; }
  .svc-arrow svg { width: 16px; height: 16px; }
  /* images: natural proportions on mobile */
  .about-img img,
  .why-img img { height: auto; aspect-ratio: 4/3; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .fs-inner { flex-direction: column; align-items: flex-start; }
  .fsi { padding-left: 0; }
  .hero-trust-stats { flex-direction: column; gap: 16px; }
  .modal-overlay { padding: 12px; }
  .modal-box { padding: 16px 20px 20px; max-height: 92vh; overflow-y: auto; }
  .form-title { padding-right: 40px; }
  .contact-form-wrap { padding: 24px; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .team-block { padding-left: 0; padding-right: 0; }
}

/* ── LEGAL PAGES ────────────────────────────────────────── */
.legal-content { padding: 56px 0 80px; }
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 2.2rem 0 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--light); }
.legal-body h3 { font-size: 1rem; font-weight: 600; color: var(--dark); margin: 1.4rem 0 0.4rem; }
.legal-body p { color: #44505e; line-height: 1.75; margin-bottom: 0.9rem; }
.legal-body ul, .legal-body ol { color: #44505e; line-height: 1.75; padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-body strong { color: var(--dark); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.9rem; }
.legal-body th { background: var(--light); padding: 10px 14px; text-align: left; font-weight: 600; color: var(--dark); border: 1px solid #dde2e8; }
.legal-body td { padding: 9px 14px; border: 1px solid #dde2e8; color: #44505e; vertical-align: top; }

/* ── SERVICE EXTRA BLOCKS ────────────────────────────────── */
.svc-for { padding: var(--section-gap) 28px; }
.svc-steps { padding: var(--section-gap) 28px; background: var(--light); }
.svc-why { padding: var(--section-gap) 28px; }

/* For-grid (audience cards) */
.for-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.for-card { background: var(--white); border: 1px solid var(--border); padding: 28px 24px; border-radius: var(--radius-md); }
.for-ic { width: 44px; height: 44px; background: linear-gradient(135deg,#2563eb 0%,#4f46e5 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.for-ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.for-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.for-card p { font-size: 0.875rem; color: #44505e; line-height: 1.68; margin: 0; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.step-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,#2563eb 0%,#4f46e5 100%); color: #fff; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-body p { font-size: 0.875rem; color: #44505e; line-height: 1.72; margin: 0; }

/* Why-grid */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 40px; max-width: 960px; }
.why-card { display: flex; gap: 14px; align-items: flex-start; }
.why-card .wb-ic { flex-shrink: 0; width: 28px; height: 28px; background: linear-gradient(135deg,#2563eb 0%,#4f46e5 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.why-card .wb-ic svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.why-card strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.why-card p { font-size: 0.855rem; color: #44505e; line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .for-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .for-grid { grid-template-columns: 1fr; }
  .steps-list { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   WIDE-SCREEN LAYOUT — 1600px+ (FHD, 1920×1080, 2K)
   Content grows to 1440px, fonts and spacing scale up.
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
  :root { --section-gap: 112px; }

  .container,
  .hdr,
  .hero-inner,
  .fs-inner,
  .services .sec-head,
  .svc-grid-view,
  .about-inner,
  .why-inner,
  .faq-inner,
  .contact-grid,
  .footer-grid,
  .footer-bottom,
  .page-hero .container,
  .detail-section,
  .team-inner { max-width: 1440px; }

  /* Slider: constrained to match container + arrow buttons */
  .svc-slider { max-width: 1552px; margin-left: auto; margin-right: auto; }

  .hero h1               { font-size: 3.8rem; letter-spacing: -2px; }
  .sec-head h2           { font-size: 2.6rem; }
  .cta-inner h2          { font-size: 2.8rem; }
  .page-hero h1          { font-size: 2.8rem; }
}

/* ══════════════════════════════════════════════════════════
   EXTRA-WIDE — 2100px+ (QHD 2560×1440, 34" ultrawide)
   Content grows to 1760px — no more 46%-width column.
   ══════════════════════════════════════════════════════════ */
@media (min-width: 2100px) {
  :root { --section-gap: 132px; }

  .container,
  .hdr,
  .hero-inner,
  .fs-inner,
  .services .sec-head,
  .svc-grid-view,
  .about-inner,
  .why-inner,
  .faq-inner,
  .contact-grid,
  .footer-grid,
  .footer-bottom,
  .page-hero .container,
  .detail-section,
  .team-inner { max-width: 1760px; }

  .svc-slider { max-width: 1872px; }

  .hero h1               { font-size: 4.5rem; letter-spacing: -2.5px; }
  .sec-head h2           { font-size: 3.1rem; }
  .cta-inner h2          { font-size: 3.3rem; }
  .page-hero h1          { font-size: 3.2rem; }
  .about-img img,
  .why-img img           { height: 560px; }
  .steps-list            { max-width: 1100px; }
  .why-grid              { max-width: 1300px; }
  .faq-inner             { max-width: 1100px; }
}
