/* ==========================================================================
   Arian Data Theme — main stylesheet
   Brand: crimson #A8174A · navy #16477A
   ========================================================================== */

:root {
  --navy-950: #06111f;
  --navy-900: #0a1b33;
  --navy-800: #0f2747;
  --navy-700: #133a66;
  --navy: #16477a;
  --navy-300: #8fb3dc;
  --crimson: #a8174a;
  --crimson-600: #c01d57;
  --crimson-400: #e2457c;
  --crimson-50: #fdf0f4;

  --ink: #0d1726;
  --body: #3a4759;
  --muted: #6b7a90;
  --line: #e4e9f1;
  --line-dark: rgba(255, 255, 255, .09);
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ok: #19b37a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(13, 23, 38, .06), 0 2px 8px rgba(13, 23, 38, .04);
  --shadow: 0 10px 30px -12px rgba(13, 23, 38, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 27, 51, .35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Vazirmatn", "Vazir", Tahoma, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  background: var(--bg);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--crimson); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.4; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--crimson-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--crimson); color: #fff; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto; clip-path: none; color: var(--ink); display: block; height: auto;
  right: 8px; top: 8px; padding: 12px 20px; width: auto; z-index: 100000; border-radius: 8px; box-shadow: var(--shadow);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-950); color: #b9c6d8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head__text { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--crimson); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--crimson-400); }
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; letter-spacing: -.01em; }
.section-lead { font-size: clamp(15px, 1.4vw, 17px); color: var(--muted); margin: 0; }
.section--dark .section-lead { color: #94a3b8; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--crimson); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(168, 23, 74, .55); background: var(--crimson-600); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--ghost:hover { --b-fg: var(--ink); background: var(--bg-soft); box-shadow: none; border-color: #cfd8e4; }
.btn--light { --b-bg: rgba(255,255,255,.06); --b-fg: #fff; --b-bd: rgba(255,255,255,.18); }
.btn--light:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--navy { --b-bg: var(--navy); }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 12px 24px -10px rgba(22, 71, 122, .6); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #93a3b8; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #c7d2e0; }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; gap: 22px; align-items: center; }
.topbar__items span { display: inline-flex; gap: 6px; align-items: center; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(25,179,122,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(25,179,122,0); } 100% { box-shadow: 0 0 0 0 rgba(25,179,122,0); } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,23,38,.4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.site-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.site-brand img, .custom-logo { max-height: 58px; width: auto; }
@media (max-width: 640px) { .site-brand img, .custom-logo { max-height: 48px; } }
.site-brand__name { font-weight: 900; font-size: 19px; color: var(--ink); line-height: 1.2; }
.site-brand__name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--crimson); background: var(--crimson-50); }
.main-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translateY(-2px); opacity: .6; }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-size: 14px; font-weight: 500; padding: 10px 12px; }
.main-nav .sub-menu .sub-menu { top: 0; right: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; position: relative; transition: .2s; }
.icon-btn:hover { border-color: #cdd6e3; color: var(--crimson); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px; background: var(--crimson); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.nav-toggle { display: none; }

/* Search overlay */
.search-panel { position: fixed; inset: 0; z-index: 100; background: rgba(6,17,31,.6); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh var(--gutter) 0; }
.search-panel.is-open { display: flex; animation: fade .2s; }
.search-panel form { width: min(680px, 100%); }
@keyframes fade { from { opacity: 0; } }
.search-form { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.search-form input[type=search] { flex: 1; border: 0; outline: 0; padding: 0 14px; min-height: 52px; font-size: 16px; background: transparent; min-width: 0; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6,17,31,.5); opacity: 0; transition: .3s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(360px, 88vw); background: #fff; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer nav { padding: 12px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: block; padding: 12px 14px; color: var(--ink); font-weight: 600; border-radius: 10px; }
.drawer nav a:hover { background: var(--bg-soft); }
.drawer .sub-menu { padding-right: 14px; border-right: 2px solid var(--line); margin: 2px 14px 6px 0; }
.drawer .sub-menu a { font-weight: 500; font-size: 14px; padding: 9px 12px; }
.drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-950); color: #b6c3d6; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(143,179,220,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,179,220,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,23,74,.35), transparent 62%);
  filter: blur(20px);
}
.hero__glow { position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(22,71,122,.55), transparent 65%); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 112px); }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-size: 13px; color: #cbd5e1; margin-bottom: 26px; }
.hero__badge b { background: var(--crimson); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); line-height: 1.3; letter-spacing: -.02em; font-weight: 900; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff6b9a, var(--crimson-400) 40%, #8fb3dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(15px, 1.5vw, 18px); max-width: 560px; color: #9fb0c6; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; }
.hero__trust span { font-size: 13px; color: #7f91a9; }

/* Hero visual — rack */
.hero__visual { position: relative; }
.rack {
  position: relative; margin-inline: auto; max-width: 440px;
  background: linear-gradient(180deg, #0f2342, #0a1830);
  border: 1px solid rgba(143,179,220,.16); border-radius: 22px; padding: 18px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
}
.rack__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7f91a9; padding: 0 4px 14px; }
.rack__head b { color: #dbe5f1; font-weight: 700; font-size: 13px; }
.rack__unit {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 13px 14px; margin-bottom: 8px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.06);
}
.rack__leds { display: flex; gap: 5px; }
.rack__leds i { width: 6px; height: 6px; border-radius: 50%; background: #1f3b5e; }
.rack__leds i.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: blink 1.6s infinite; }
.rack__leds i.hot { background: var(--crimson-400); box-shadow: 0 0 8px var(--crimson-400); animation: blink 1.1s infinite; }
.rack__unit:nth-child(3) i.on { animation-delay: .4s; }
.rack__unit:nth-child(4) i.on { animation-delay: .9s; }
.rack__unit:nth-child(5) i.on { animation-delay: .2s; }
@keyframes blink { 50% { opacity: .35; } }
.rack__vents { height: 10px; background: repeating-linear-gradient(90deg, rgba(143,179,220,.18) 0 2px, transparent 2px 7px); border-radius: 3px; }
.rack__label { font-size: 11px; color: #8094ad; font-family: ui-monospace, Consolas, monospace; direction: ltr; }

.float-card {
  position: absolute; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; font-weight: 800; }
.float-card span { color: var(--muted); font-size: 12px; }
.float-card__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card__ico svg { width: 20px; height: 20px; }
.float-card--a { top: 14%; right: -6%; }
.float-card--b { bottom: 10%; left: -8%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Service ticker below hero */
.service-strip { position: relative; z-index: 2; margin-top: -48px; }
.service-strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.service-strip a { display: flex; gap: 12px; align-items: center; padding: 22px 20px; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.5; border-left: 1px solid var(--line); transition: background .2s; }
.service-strip a:last-child { border-left: 0; }
.service-strip a:hover { background: var(--bg-soft); color: var(--crimson); }
.service-strip a small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--crimson-50); color: var(--crimson); }
.ico svg { width: 22px; height: 22px; }
.ico--navy { background: #ebf2fa; color: var(--navy); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5dde8; }
.card h3 { font-size: clamp(19px, 1.8vw, 22px); margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__num { position: absolute; top: 24px; left: 28px; font-size: 13px; font-weight: 700; color: #c3cddb; font-family: ui-monospace, Consolas, monospace; }
.card__list { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--body); }
.card__list li { display: flex; gap: 8px; align-items: flex-start; }
.card__list li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 5px; border-radius: 50%; background: var(--crimson-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23a8174a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.card .link-arrow { margin-top: auto; }
.bento .card:nth-child(1) { grid-column: span 3; }
.bento .card:nth-child(2) { grid-column: span 3; }
.bento .card:nth-child(n+3) { grid-column: span 2; }
.card--feature { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-color: transparent; color: #a9b8cc; }
.card--feature h3 { color: #fff; }
.card--feature p { color: #9cadc3; }
.card--feature .card__list li { color: #c6d2e1; }
.card--feature .card__list li::before { background-color: rgba(226,69,124,.16); }
.card--feature .link-arrow { color: #fff; }
.card--feature .ico { background: rgba(226,69,124,.14); color: var(--crimson-400); }
.card--feature .card__num { color: rgba(255,255,255,.25); }
.card--feature::after { content: ""; position: absolute; width: 260px; height: 260px; left: -80px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(168,23,74,.35), transparent 65%); pointer-events: none; }

/* ---------- Tenders ---------- */
@counter-style ad-fa { system: numeric; symbols: "۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹"; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.025); transition: background .25s, border-color .25s; }
.steps li:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); }
.steps li::before { content: counter(step, ad-fa); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--crimson), #7a0f35); color: #fff; font-weight: 800; font-size: 20px; }
.steps h3 { font-size: 17px; margin: 0 0 4px; }
.steps p { margin: 0; font-size: 14px; color: #8fa1b8; }
.tender-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.tender-meta div { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.tender-meta strong { display: block; color: #fff; font-size: 24px; font-weight: 800; }
.tender-meta span { font-size: 12.5px; color: #8697ad; }

/* ---------- Hosting plans ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: .2s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plans[hidden] { display: none; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--pop { border: 2px solid var(--crimson); box-shadow: 0 30px 60px -30px rgba(168,23,74,.45); }
.plan__tag { position: absolute; top: -13px; right: 24px; background: var(--crimson); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan__name { font-size: 15px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.plan__price { font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan__desc { font-size: 14px; color: var(--muted); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--line); }
.plan .card__list { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.spec { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--bg-soft); }
.spec b { color: var(--ink); font-weight: 700; }
.plan__specs { margin-bottom: 26px; }

/* ---------- Equipment ---------- */
.equip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.equip a { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .3s var(--ease); }
.equip a:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.equip strong { font-size: 16px; font-weight: 800; }
.equip span { font-size: 13px; color: var(--muted); line-height: 1.7; }
.brands { display: flex; gap: 12px 36px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 40px; color: #9aa8bb; font-weight: 800; font-size: 20px; letter-spacing: .04em; direction: ltr; }
.brands span { opacity: .8; transition: opacity .2s, color .2s; }
.brands span:hover { opacity: 1; color: var(--navy); }

/* ---------- Startups (Darubox) ---------- */
.showcase { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fbf3f6 100%); border: 1px solid var(--line); }
.showcase__body { padding: clamp(28px, 5vw, 64px); }
.showcase__body h3 { font-size: clamp(26px, 3vw, 36px); }
.showcase__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 34px; }
.showcase__feats div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.showcase__feats b { display: block; color: var(--ink); font-size: 15px; }
.showcase__feats span { color: var(--muted); font-size: 13px; }
.showcase__media { position: relative; background: linear-gradient(160deg, var(--crimson), #6e0c30); display: grid; place-items: center; padding: 40px; min-height: 380px; overflow: hidden; }
.showcase__media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 20px 20px; }
.phone { position: relative; width: 230px; aspect-ratio: 9/18.5; border-radius: 36px; background: #0b1424; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.phone__screen { height: 100%; border-radius: 28px; background: #f6f8fb; overflow: hidden; padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone__bar { height: 10px; width: 60%; border-radius: 6px; background: #e3e8f0; }
.phone__hero { height: 92px; border-radius: 16px; background: linear-gradient(135deg, var(--crimson-400), var(--crimson)); color: #fff; padding: 14px; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; justify-content: flex-end; }
.phone__row { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 9px; box-shadow: var(--shadow-sm); font-size: 11px; color: var(--ink); font-weight: 600; }
.phone__row i { width: 28px; height: 28px; border-radius: 9px; background: #ebf2fa; flex: none; }
.phone__row em { margin-right: auto; font-style: normal; color: var(--ok); font-size: 10px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button, .filters a { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: .2s; }
.filters button:hover, .filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .is-active:hover { color: #fff; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { display: block; color: inherit; }
.work__frame { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.work:hover .work__frame { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work__chrome { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.work__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d5dce6; }
.work__chrome span { margin-right: 10px; flex: 1; font-size: 11px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; direction: ltr; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.work__shot { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #eef2f8, #f8e9ef); position: relative; }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3.5s ease; }
.work:hover .work__shot img { object-position: bottom; }
.work__shot--empty { display: grid; place-items: center; color: #b0bccc; font-weight: 800; font-size: 22px; }
.work__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 4px 0; }
.work__meta h3 { font-size: 16px; margin: 0; }
.work__meta span { font-size: 12.5px; color: var(--muted); }
.work[hidden] { display: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); overflow: hidden; position: relative; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 10% 120%, rgba(168,23,74,.45), transparent 70%); pointer-events: none; }
.stats div { padding: clamp(24px, 3.2vw, 40px); border-left: 1px solid var(--line-dark); position: relative; z-index: 1; }
.stats div:last-child { border-left: 0; }
.stats strong { display: block; color: #fff; font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; line-height: 1.2; }
.stats span { color: #9cb0c9; font-size: 14px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process__item { position: relative; padding-top: 28px; }
.process__item::before { content: ""; position: absolute; top: 9px; right: 0; left: -20px; height: 2px; background: repeating-linear-gradient(-90deg, var(--line) 0 6px, transparent 6px 12px); }
.process__item:last-child::before { left: 0; }
.process__dot { position: absolute; top: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--crimson); }
.process__item h3 { font-size: 18px; margin: 14px 0 6px; }
.process__item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfd8e5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230d1726' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--crimson-50); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #eef2f8, #f8e9ef); display: block; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-card__meta a { color: var(--crimson); font-weight: 700; }
.post-card h3 { font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--crimson); }
.post-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(36px, 6vw, 72px); background: var(--crimson); color: #ffdbe7; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 0% 0%, rgba(255,255,255,.18), transparent 70%), radial-gradient(600px 400px at 100% 100%, #6e0c30, transparent 70%); }
.cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 10px; }
.cta p { margin: 0; font-size: 16px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { --b-bg: #fff; --b-fg: var(--crimson); }
.cta .btn:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta .btn--light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.4); }
.cta .btn--light:hover { background: rgba(255,255,255,.1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8a9bb1; padding-top: clamp(56px, 7vw, 88px); font-size: 14px; }
.site-footer a { color: #b7c4d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { margin: 18px 0 22px; line-height: 2; }
.footer-title { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--crimson-400); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.socials a:hover { background: var(--crimson); border-color: var(--crimson); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom__trust { display: flex; gap: 10px; }
.footer-bottom__trust a, .footer-bottom__trust img { background: #fff; border-radius: 10px; padding: 4px; max-height: 70px; }

.back-top { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s var(--ease); box-shadow: var(--shadow); }
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy-950); position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 80px); color: #9fb0c6; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143,179,220,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143,179,220,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; left: -150px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(168,23,74,.3), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 10px; }
.page-hero p { margin: 0; max-width: 680px; }
.breadcrumbs { font-size: 13px; color: #7f91a9; margin-bottom: 14px; }
.breadcrumbs a { color: #b7c4d6; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .breadcrumb_last { color: var(--crimson-400); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget-title, .widget h2, .widget .wp-block-heading { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }

.entry { background: #fff; }
.entry-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.entry-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #8fa1b8; margin-top: 14px; }
.entry-meta span { display: inline-flex; gap: 6px; align-items: center; }
.entry-meta svg { width: 15px; height: 15px; }

/* Article typography */
.prose { font-size: 17px; line-height: 2.05; color: #2e3a4b; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose a { color: var(--crimson); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-right: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--crimson); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-right: 4px solid var(--crimson); background: var(--crimson-50); border-radius: 12px; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 14px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: right; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; direction: ltr; unicode-bidi: embed; }
.prose pre { background: var(--navy-950); color: #e2e8f0; padding: 20px; border-radius: 14px; overflow-x: auto; direction: ltr; text-align: left; font-size: 14px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.alignwide { margin-inline: calc(var(--gutter) * -1); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.tags a { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--body); }
.tags a:hover { background: var(--crimson-50); color: var(--crimson); }

.author-box { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); margin-top: 40px; align-items: center; }
.author-box img { border-radius: 50%; flex: none; }
.author-box h3 { font-size: 16px; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: 14px; color: var(--muted); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; font-size: 15px; }
.post-nav a:hover { border-color: var(--crimson); }
.post-nav small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-bottom: 4px; }
.post-nav .next { text-align: left; }

/* Pagination */
.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.page-numbers.current { background: var(--crimson); border-color: var(--crimson); color: #fff; }
a.page-numbers:hover { border-color: var(--ink); }

/* Comments */
.comments { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .children { list-style: none; padding-right: 36px; }
.comment-body { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; font-size: 15px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 13px; font-weight: 700; }

/* Forms */
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=search], input[type=number], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22,71,122,.12); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input[type=submit], button[type=submit]:not(.btn), .wp-block-button__link, .wp-element-button {
  background: var(--crimson); color: #fff; border: 0; border-radius: 12px; padding: 0 24px; min-height: 50px; font-weight: 700; cursor: pointer; transition: background .2s;
}
input[type=submit]:hover, button[type=submit]:not(.btn):hover, .wp-block-button__link:hover { background: var(--crimson-600); color: #fff; }

/* Single project */
.project-facts { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.project-facts div:last-child { border-bottom: 0; }
.project-facts b { color: var(--ink); }

/* 404 */
.error-404 { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.error-404 .code { font-size: clamp(90px, 18vw, 200px); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--crimson), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.error-404 .search-form { max-width: 520px; margin: 28px auto 0; border: 1px solid var(--line); box-shadow: none; }

.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- WooCommerce light touch ---------- */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: right; transition: box-shadow .3s; }
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; color: var(--ink); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--crimson); font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--crimson); color: #fff; border-radius: 10px; font-family: var(--font); font-weight: 700; padding: 12px 20px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--crimson-600); color: #fff; }
.woocommerce span.onsale { background: var(--crimson); border-radius: 999px; min-height: auto; min-width: auto; padding: 4px 10px; line-height: 1.6; font-weight: 700; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--navy); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header__inner { justify-content: space-between; }
  .header-actions { margin-right: auto; }
  .service-strip__grid { grid-template-columns: repeat(3, 1fr); }
  .service-strip a:nth-child(3) { border-left: 0; }
  .service-strip a:nth-child(n+4) { border-top: 1px solid var(--line); }
  .equip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
}
@media (max-width: 900px) {
  .hero__inner, .split, .showcase, .cta, .layout { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .bento .card:nth-child(n) { grid-column: span 6; }
  .plans, .works, .posts { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .process__item::before { left: 0; }
  .sidebar { position: static; }
  .showcase__media { min-height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar__items span:not(:first-child) { display: none; }
  .site-header__inner { min-height: 66px; }
  .service-strip { margin-top: -32px; }
  .service-strip__grid { grid-template-columns: 1fr 1fr; }
  .service-strip a { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line); padding: 16px 14px; font-size: 13px; }
  .service-strip a:nth-child(-n+2) { border-top: 0; }
  .service-strip a:nth-child(2n) { border-left: 0 !important; }
  .service-strip a:last-child { grid-column: span 2; }
  .service-strip a small { display: none; }
  .ico { width: 40px; height: 40px; }
  .plans, .works, .posts, .equip, .showcase__feats, .process { grid-template-columns: 1fr; }
  .tender-meta { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .tender-meta div { padding: 12px 10px; }
  .tender-meta strong { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero__trust { gap: 18px 28px; }
  .section-head { align-items: flex-start; }
  .rack__unit { padding: 11px 12px; }
  .cta__actions .btn { flex: 1; }
}

/* ---------- Page-builder guard ----------
   Elementor kit / old theme styles target bare `button`, `a`, headings.
   These rules keep the theme's own components intact. */
body button.icon-btn, body button.icon-btn:hover, body button.icon-btn:focus {
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 0; width: 44px; height: 44px; box-shadow: none; text-transform: none; letter-spacing: normal; font-size: inherit; line-height: 1;
}
body button.icon-btn:hover { border-color: #cdd6e3; color: var(--crimson); }
body button.btn, body button.btn:focus { background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd); border-radius: 12px; padding: 0 24px; font-weight: 700; font-size: 15px; line-height: 1.4; text-transform: none; letter-spacing: normal; }
body button.btn:hover { background: var(--crimson-600); color: var(--b-fg); }
body .tabs button, body .tabs button:hover, body .tabs button:focus { background: transparent; color: var(--muted); border: 0; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 700; box-shadow: none; text-transform: none; }
body .tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
body .filters button { background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; text-transform: none; }
body .filters button:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
body .filters button.is-active, body .filters button.is-active:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
body button.back-top, body button.back-top:hover, body button.back-top:focus { background: var(--ink); color: #fff; border: 0; border-radius: 14px; padding: 0; width: 46px; height: 46px; }
body .site-header, body .site-footer, body .hero, body .section, body .page-hero, body .topbar, body .drawer { font-family: var(--font); }
body .hero h1, body .section-title, body .card h3, body .page-hero h1 { font-family: var(--font); }

.site-footer .site-brand img.footer-logo { max-height: 80px; width: auto; }


/* ==========================================================================
   Home v2 — "from rack to app, one team"
   ========================================================================== */
:root { --paper: #f4f7fb; --blue-line: rgba(22, 71, 122, .075); --plate-gap: 46px; --iso: 220px; }

.h-section { padding-block: clamp(64px, 8vw, 112px); }
.h-section--tint { background: var(--paper); }
.h-section--ink { background: var(--navy-950); color: #a9b8cc; }
.h-section--ink .h-title, .h-section--ink h3 { color: #fff; }
.h-section--ink .h-sub { color: #93a5bc; }
.h-head { margin-bottom: clamp(32px, 4vw, 48px); max-width: 680px; }
.h-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.h-head--split > div { max-width: 640px; }
.h-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 10px; }
.h-sub { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.95; max-width: 62ch; margin: 0; }
.h-kicker { color: var(--crimson); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.h-more { text-align: center; margin: 44px 0 0; }

/* Hero */
.h-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--blue-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-line) 1px, transparent 1px),
    linear-gradient(rgba(22,71,122,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,71,122,.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.h-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.h-hero__title { font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; line-height: 1.28; letter-spacing: -.02em; color: var(--navy-950); margin: 0 0 22px; }
.h-hero__title em { display: block; font-style: normal; font-weight: 300; color: inherit; }
.h-hero__lead { font-size: clamp(16px, 1.45vw, 18px); line-height: 2; color: #4a5a70; max-width: 52ch; margin: 0 0 30px; }
.h-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.h-hero__proof { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--body); }
.h-hero__proof li { display: flex; gap: 10px; align-items: center; }
.h-hero__proof svg { width: 18px; height: 18px; color: var(--crimson); flex: none; }

/* Stack */
.h-stack { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: center; }
.h-stack__scene { position: relative; height: calc(var(--iso) + var(--plate-gap) * 5 + 40px); display: grid; place-items: center; }
.h-stack__iso { position: relative; width: var(--iso); height: var(--iso); transform: translateY(var(--stack-shift, 197px)) rotateX(58deg) rotateZ(-45deg); transform-style: preserve-3d; }
.h-plate {
  position: absolute; inset: 0; border-radius: 22px; cursor: pointer;
  background: #fff; border: 1.5px solid #c6d3e3;
  box-shadow: 7px 7px 0 #d7e1ed, 14px 14px 24px rgba(10, 27, 51, .12);
  transform: translateZ(calc(var(--i) * var(--plate-gap)));
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, box-shadow .3s;
  animation: plate-in .8s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms);
}
@keyframes plate-in { from { opacity: 0; transform: translateZ(calc(var(--i) * var(--plate-gap) + 140px)); } }
.h-plate span { position: absolute; inset: 22px; border-radius: 12px; transition: opacity .3s; }
.h-plate--hw span { background: repeating-linear-gradient(0deg, #c6d3e3 0 4px, transparent 4px 16px); }
.h-plate--host span { background: radial-gradient(#9fb3cc 2px, transparent 2.4px) 0 0 / 18px 18px; }
.h-plate--web span { background: linear-gradient(#c6d3e3, #c6d3e3) 0 0 / 100% 20% no-repeat, linear-gradient(#e2e9f2, #e2e9f2) 0 100% / 47% 68% no-repeat, linear-gradient(#e2e9f2, #e2e9f2) 100% 100% / 47% 68% no-repeat; }
.h-plate--app span { inset: 36px 66px; border: 3px solid #c6d3e3; border-radius: 16px; }
.h-plate--startup span { inset: 50px; border-radius: 50%; background: radial-gradient(circle, #e9b3c6 0 30%, transparent 31%), radial-gradient(circle, transparent 0 58%, #e9b3c6 59% 63%, transparent 64%); }
.h-plate.is-active { background: var(--crimson); border-color: var(--crimson); box-shadow: 7px 7px 0 #7c1037, 18px 18px 30px rgba(168, 23, 74, .3); transform: translateZ(calc(var(--i) * var(--plate-gap) + 28px)); }
.h-plate.is-active span { opacity: .45; filter: grayscale(1) brightness(2.4); }

.h-stack__hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.h-stack__list { display: grid; gap: 4px; }
body button.h-layer, body button.h-layer:hover, body button.h-layer:focus {
  display: block; width: 100%; text-align: right; padding: 11px 14px; border-radius: 10px;
  background: transparent; color: var(--muted); border: 1px solid transparent; border-right: 3px solid transparent;
  font: 700 15px/1.5 var(--font); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal;
  transition: background-color .2s, color .2s, border-color .2s;
}
body button.h-layer.is-active, body button.h-layer.is-active:hover { background: #fff; color: var(--ink); border-color: var(--line); border-right-color: var(--crimson); }
body button.h-layer:focus-visible { outline: 2px solid var(--crimson-400); outline-offset: 2px; }
.h-stack__caption { margin-top: 16px; min-height: 120px; padding-top: 14px; border-top: 1px dashed #c6d3e3; }
.h-stack__caption p { font-size: 14.5px; line-height: 1.95; color: var(--body); margin: 0 0 8px; }

/* Services index */
.h-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.h-index__row { display: grid; grid-template-columns: 52px minmax(180px, 280px) minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background-color .25s; }
.h-index__row:hover { background: var(--paper); color: var(--ink); }
.h-index__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #ebf2fa; color: var(--navy); }
.h-index__ico svg { width: 24px; height: 24px; }
.h-index__name { font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; transition: color .2s; }
.h-index__row:hover .h-index__name { color: var(--crimson); }
.h-index__desc { color: var(--muted); font-size: 15px; line-height: 1.9; }
.h-index__go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.h-index__go svg { width: 18px; height: 18px; }
.h-index__row:hover .h-index__go { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateX(-4px); }

/* Ideas */
.h-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.h-ideas[hidden] { display: none; }
.h-idea { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 20px; }
.h-idea h3 { font-size: 18px; margin: 0 0 8px; }
.h-idea p { font-size: 14.5px; line-height: 1.95; color: var(--muted); margin: 0 0 16px; }
.h-tags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.h-tags li { font-size: 12px; font-weight: 600; color: var(--navy); background: #ebf2fa; padding: 3px 10px; border-radius: 999px; }
.h-idea__cta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--crimson); }
.h-idea__cta:hover { color: var(--crimson-600); text-decoration: underline; text-underline-offset: 4px; }

/* Case study */
.h-case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h-case__media { position: relative; border-radius: 28px; background: linear-gradient(160deg, var(--crimson), #6e0c30); display: grid; place-items: center; padding: 48px 24px; min-height: 460px; overflow: hidden; }
.h-case__media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 20px 20px; }
.h-case__facts { display: grid; gap: 0; margin: 28px 0 30px; border-top: 1px solid var(--line); }
.h-case__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.h-case__facts dt { color: var(--muted); }
.h-case__facts dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Process steps */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: hstep; }
.h-steps li { counter-increment: hstep; position: relative; padding-top: 64px; }
.h-steps li::before { content: counter(hstep, ad-fa); position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--crimson); color: var(--crimson); font-weight: 800; font-size: 18px; z-index: 1; }
.h-steps li::after { content: ""; position: absolute; top: 22px; right: 44px; left: -28px; height: 2px; background: var(--line); }
.h-steps li:last-child::after { display: none; }
.h-steps h3 { font-size: 18px; margin: 0 0 6px; }
.h-steps p { font-size: 14.5px; line-height: 1.9; color: var(--muted); margin: 0; }

/* CTA */
.h-cta { border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: var(--navy-950); color: #a9b8cc; position: relative; overflow: hidden; isolation: isolate; }
.h-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(143,179,220,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143,179,220,.06) 1px, transparent 1px); background-size: 32px 32px; }
.h-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); margin: 0 0 12px; max-width: 22ch; }
.h-cta p { max-width: 56ch; margin: 0 0 28px; font-size: 16px; line-height: 2; }
.h-cta-wrap { padding-top: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .h-hero__inner { grid-template-columns: 1fr; }
  .h-stack { max-width: 640px; }
}
@media (max-width: 900px) {
  .h-case { grid-template-columns: 1fr; }
  .h-steps { grid-template-columns: 1fr 1fr; }
  .h-case__media { min-height: 380px; }
  .h-steps li:nth-child(2)::after { display: none; }
  .h-index__row { grid-template-columns: 52px 1fr 40px; row-gap: 6px; }
  .h-index__desc { grid-column: 2 / 3; grid-row: 2; }
  .h-index__go { grid-row: 1 / 3; grid-column: 3; }
}
@media (max-width: 640px) {
  :root { --plate-gap: 34px; --iso: 160px; --stack-shift: 180px; }
  .h-stack { grid-template-columns: 1fr; gap: 8px; }
  .h-stack__scene { height: 270px; }
  .h-stack__list { grid-template-columns: 1fr 1fr; }
  body button.h-layer, body button.h-layer:hover { font-size: 14px; padding: 10px 12px; }
  .h-steps { grid-template-columns: 1fr; }
  .h-steps li::after { display: none; }
  .h-index__row { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 20px 4px; }
  .h-index__ico { width: 44px; height: 44px; }
  .h-index__go { display: none; }
  .h-case__facts div { grid-template-columns: 90px 1fr; }
}

.work__meta span { white-space: nowrap; flex: none; }
.work__meta h3 { min-width: 0; }
