/* ============================================================
   আইটি সার্ভিস বিডি — design system
   Replicates the dark-navy + brand-red theme of it-service-bd.org
   ============================================================ */

:root {
  --bg: #0f1729;
  --bg-deep: #0b1220;
  --surface: #131c2e;
  --surface-2: #16203a;
  --surface-3: #1b2740;
  --border: #1e2a3d;
  --border-soft: #243149;

  --primary: #e53935;
  --primary-dark: #c62828;
  --accent: #ef4444;
  --accent-warm: #f97316;
  --amber: #f59e0b;

  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --muted: #8b9cb8;
  --focus: #e53935;
  --focus-ring: rgba(229, 57, 53, 0.55);
  --focus-ring-width: 2px;
  --link: #e53935;
  --link-hover: #f97316;

  --surface-hover: #1c2740;
  --surface-active: #243252;
  --surface-inset: #0f1830;
  --border-strong: #33415c;
  --overlay: rgba(11, 18, 32, 0.72);

  --glass-bg: rgba(19, 28, 46, 0.65);
  --glass-border: rgba(36, 49, 73, 0.6);
  --glass-blur: 12px;

  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.14);
  --on-primary: #ffffff;
  --on-accent: #0b1220;
  --on-success: #0b1220;
  --on-danger: #ffffff;
  --on-warning: #0b1220;

  --brand-gradient: linear-gradient(135deg, #e53935 0%, #f97316 100%);
  --brand-gradient-strong: linear-gradient(135deg, #c62828 0%, #e53935 55%, #f97316 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(229, 57, 53, 0.16), rgba(249, 115, 22, 0.16));
  --gradient-text: linear-gradient(135deg, #e53935 0%, #f97316 55%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, rgba(229, 57, 53, 0.22), rgba(249, 115, 22, 0.08));
  --gradient-border: linear-gradient(135deg, rgba(229, 57, 53, 0.6), rgba(249, 115, 22, 0.25));
  --primary-soft: rgba(229, 57, 53, 0.14);
  --accent-soft: rgba(249, 115, 22, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --border-width: 1px;

  --font-size-base: 16px;
  --font-size-sm: 13px;
  --font-size-lg: 20px;
  --font-size-xl: 25px;
  --font-size-2xl: 31px;
  --font-size-3xl: 39px;
  --line-height: 1.7;
  --line-height-heading: 1.15;
  --letter-spacing: -0.01em;
  --heading-weight: 700;
  --font-weight-body: 400;

  --space-unit: 8px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --container-max: 1240px;

  --shadow-xs: 0 1px 4px rgba(2, 6, 23, 0.26);
  --shadow-sm: 0 2px 10px rgba(2, 6, 23, 0.35);
  --shadow: 0 18px 40px -18px rgba(2, 6, 23, 0.75);
  --shadow-lg: 0 40px 90px -36px rgba(2, 6, 23, 0.85);
  --shadow-glow: 0 18px 40px -14px rgba(229, 57, 53, 0.45);
  --shadow-glow-strong: 0 30px 80px -28px rgba(229, 57, 53, 0.63);

  --motion-fast: 140ms;
  --motion-duration: 240ms;
  --motion-slow: 380ms;

  --header-h: 64px;
  --font-bn: 'Hind Siliguri', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-en: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-bn);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  font-weight: var(--font-weight-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  font-weight: var(--heading-weight);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(19, 28, 46, 0.55) 0%, rgba(15, 23, 41, 0.2) 100%);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head-compact {
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  margin-bottom: 0.4em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

.text-left {
  text-align: left;
}

.mt-4 {
  margin-top: 16px;
}

/* ── Icon sizing ──────────────────────────────────────────── */
/* views/partials/icon.ejs emits these size classes on every inline
   SVG. Without real rules the SVGs fall back to the browser default
   (up to 300×150px) and blow the layout apart. */
.w-3\.5 {
  width: 14px;
}

.h-3\.5 {
  height: 14px;
}

.w-4 {
  width: 16px;
}

.h-4 {
  height: 16px;
}

.w-5 {
  width: 20px;
}

.h-5 {
  height: 20px;
}

.w-6 {
  width: 24px;
}

.h-6 {
  height: 24px;
}

.w-7 {
  width: 28px;
}

.h-7 {
  height: 28px;
}

.w-3\.5,
.h-3\.5,
.w-4,
.h-4,
.w-5,
.h-5,
.w-6,
.h-6,
.w-7,
.h-7 {
  flex: none;
  vertical-align: middle;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease),
    background-color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-strong);
}

.btn-outline {
  border-color: var(--border-soft);
  background: rgba(22, 32, 58, 0.6);
  color: var(--text-soft);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(229, 57, 53, 0.12);
}

.btn-ghost {
  background: rgba(11, 18, 32, 0.7);
  border-color: var(--border);
  color: var(--muted);
}

.btn-ghost:hover {
  color: #fff;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ── Badges & chips ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  margin-bottom: 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 57, 53, 0.35);
  background: rgba(229, 57, 53, 0.1);
  color: #ffb4b2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
  color: var(--text-soft);
}

.chip {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.chip-primary {
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(229, 57, 53, 0.4);
  color: #ffb4b2;
}

/* ── Header ───────────────────────────────────────────────── */
/* ── Site announcement bar (Admin → Settings → Site announcement bar) ── */
.site-announcement {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.site-announcement.tone-info { background: linear-gradient(90deg, #1e40af, #0284c7); }
.site-announcement.tone-success { background: linear-gradient(90deg, #047857, #059669); }
.site-announcement.tone-warning { background: linear-gradient(90deg, #b45309, #d97706); }

.site-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 38px;
  padding: 6px 16px;
  text-align: center;
}

.site-announcement-text { line-height: 1.45; }

.site-announcement-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.site-announcement-link:hover { opacity: 0.85; }

/* The fixed header grows by the announcement band; content offsets follow. */
body.has-announcement { --header-h: 146px; }

@media (max-width: 899px) {
  body.has-announcement { --header-h: 116px; }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 23, 41, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.97);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.header-phone:hover {
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.7);
  color: var(--text);
}

.menu-toggle:hover {
  border-color: var(--accent);
  color: #fff;
}

/* ── Mobile left-side drawer ──────────────────────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(2px);
}
.mobile-nav-backdrop[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 130;
  width: min(86vw, 340px);
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  box-shadow: 0 0 40px -12px rgba(0, 0, 0, 0.85);
  transform: translateX(-100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
  padding: 0;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.mobile-menu-head .brand {
  min-width: 0;
  font-size: 0.95rem;
}

.mobile-menu-head .brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.7);
  color: var(--text-soft);
}

.mobile-menu-close:hover {
  color: #fff;
  border-color: var(--accent);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 16px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  .header-actions .header-cta {
    display: none;
  }
  .header-inner .brand {
    min-width: 0;
    flex-shrink: 1;
  }
  .header-inner .brand .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.mobile-nav-link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(36, 49, 73, 0.5);
  font-weight: 600;
  color: var(--text-soft);
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-nav-link.is-active {
  color: var(--accent);
}

.mobile-menu-footer {
  display: flex;
  gap: 10px;
  padding: 14px 16px 20px;
  margin-top: auto;
}

.mobile-menu-footer .btn {
  flex: 1;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1 {
  top: 60px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.28), transparent 70%);
}

.hero-glow-2 {
  bottom: -60px;
  right: -20px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
}

.hero-glow-3 {
  top: 40%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(229, 57, 53, 0.1), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2rem, 1.3rem + 3.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.35em;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.78);
}

.hero-bullets svg {
  color: var(--accent);
}

/* ── Stats ────────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: rgba(15, 23, 41, 0.85);
  border-top: 1px solid rgba(30, 42, 61, 0.8);
  border-bottom: 1px solid rgba(30, 42, 61, 0.8);
}

.stats-glow {
  position: absolute;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translateY(-50%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.stats-glow-left {
  left: 18%;
  background: rgba(229, 57, 53, 0.16);
}

.stats-glow-right {
  right: 18%;
  background: rgba(245, 158, 11, 0.14);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 22px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 42, 61, 0.9);
  background: rgba(11, 18, 32, 0.7);
  text-align: center;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.45);
}

.stat-icon {
  display: inline-flex;
  padding: 9px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-soft);
  color: var(--accent);
}

.stat-value {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.stat-suffix {
  color: var(--accent);
}

.stat-label {
  margin: 6px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(22, 32, 58, 0.75), rgba(15, 23, 41, 0.65));
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 1.06rem;
  margin-bottom: 0.4em;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Sanitized HTML/Markdown content inside cards, FAQs and footer text. */
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0 0 0.55em; }
.rich-text ul,
.rich-text ol { margin: 0.35em 0 0.55em; padding-left: 1.2em; }
.rich-text li { margin: 0.15em 0; }
.rich-text h2,
.rich-text h3,
.rich-text h4 { margin: 0.6em 0 0.3em; font-size: 1.05em; }
.rich-text a { color: var(--brand); text-decoration: underline; }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--radius); }
.rich-text blockquote {
  margin: 0.6em 0;
  padding-left: 0.8em;
  border-left: 3px solid var(--brand);
  color: var(--muted);
}
.rich-text code {
  padding: 0.1em 0.3em;
  border-radius: 4px;
  background: var(--surface-2, rgba(0, 0, 0, 0.06));
  font-size: 0.9em;
}

/* Features */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(229, 57, 53, 0.25);
  color: var(--accent);
}

/* ── Package detail ───────────────────────────────────────── */
.section.detail-page {
  padding-top: calc(var(--header-h) + 28px);
}

.package-detail {
  padding: 18px 0 28px;
}

.package-detail-head .page-title {
  margin: 14px 0 10px;
}

.package-detail-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 12px;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.package-detail-title {
  margin: 30px 0 14px;
  font-size: 1.2rem;
}

.package-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 26px;
}

.package-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pricing-details {
  justify-content: center;
  margin-top: 6px;
  font-size: 0.85rem;
}

/* Services */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

/* Service category filters */
.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.service-filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(19, 28, 46, 0.7);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.service-filter:hover {
  color: var(--text);
  border-color: rgba(229, 57, 53, 0.4);
}

.service-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 10px 24px -14px rgba(229, 57, 53, 0.8);
}

.service-empty {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
}

.service-cross {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(229, 57, 53, 0.8);
  flex-shrink: 0;
}

.service-icon-lg {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 18px;
}

.service-card .card-title {
  margin-bottom: 0;
}

.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 49, 73, 0.7);
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-tag {
  font-family: var(--font-en);
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
}

.price-tag small {
  font-family: var(--font-bn);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.link-arrow:hover {
  gap: 9px;
  color: #fff;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.check-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.7), rgba(15, 23, 41, 0.7));
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 57, 53, 0.4);
  box-shadow: var(--shadow);
}

.pricing-card.is-popular {
  border-color: rgba(229, 57, 53, 0.6);
  background: linear-gradient(165deg, rgba(229, 57, 53, 0.14), rgba(249, 115, 22, 0.08) 60%, rgba(15, 23, 41, 0.8));
  box-shadow: 0 26px 60px -32px rgba(229, 57, 53, 0.7);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pricing-name {
  font-size: 1.1rem;
  margin: 0;
}

.pricing-description {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 0;
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pricing-currency {
  font-size: 1.2rem;
  color: var(--accent);
}

.pricing-old {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}

.pricing-period {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-features {
  flex: 1;
  margin: 12px 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 49, 73, 0.7);
}

/* ── Team ─────────────────────────────────────────────────── */
.team-card {
  text-align: center;
}

.team-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid rgba(229, 57, 53, 0.4);
  background: var(--surface-2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-initials {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.team-name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.team-role {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.team-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.team-socials a {
  display: inline-flex;
  padding: 7px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--muted);
}

.team-socials a:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(229, 57, 53, 0.14);
}

/* ── Reviews ──────────────────────────────────────────────── */
.tabs {
  display: block;
}

.tab-list {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.65);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.tab:hover {
  color: #fff;
}

.tab.is-active {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(229, 57, 53, 0.9);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeIn 0.3s var(--ease);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: rgba(139, 156, 184, 0.4);
}

.review-stars .is-on {
  color: var(--amber);
}

.review-message {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 49, 73, 0.7);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.review-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
}

.review-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.review-role {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.video-card {
  padding: 14px;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.video-thumb:hover img {
  transform: scale(1.05);
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(229, 57, 53, 0.9);
  transition: transform 0.22s var(--ease);
}

.video-thumb:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s var(--ease);
}

.video-modal-frame {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #000;
  box-shadow: var(--shadow);
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ── Clients marquee ──────────────────────────────────────── */
.clients-section {
  overflow: hidden;
  padding-bottom: 48px;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 72px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 42, 61, 0.7);
  background: rgba(19, 28, 46, 0.5);
}

.marquee-item img {
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.75;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.marquee-item:hover img {
  filter: none;
  opacity: 1;
}

.marquee-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* ── CEO meeting ──────────────────────────────────────────── */
.meeting-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.meeting-description {
  color: var(--muted);
  font-size: 0.92rem;
}

.meeting-points {
  gap: 12px;
  margin-bottom: 24px;
}

.meeting-points strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.meeting-points small {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
}

.meeting-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}

.meeting-stats div {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.6);
}

.meeting-stats dt {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.meeting-stats dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.meeting-ceo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.meeting-ceo img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(229, 57, 53, 0.45);
}

.meeting-ceo-name {
  margin: 0;
  font-weight: 700;
}

.meeting-ceo-title {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.meeting-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(11, 18, 32, 0.75);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 156, 184, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
}

.form-status {
  margin: 0;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
}

.form-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.link-center {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.link-center:hover {
  color: var(--accent);
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: linear-gradient(135deg, #101a2e 0%, #1d2939 55%, #0f1729 100%);
  border-top: 1px solid rgba(30, 42, 61, 0.8);
  border-bottom: 1px solid rgba(30, 42, 61, 0.8);
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.22), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-title {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
}

.cta-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.72);
}

.cta-badges svg {
  color: var(--accent);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 58px 0 26px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 34px;
  padding-bottom: 34px;
}

.footer-description {
  margin: 16px 0 18px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.8;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  background: rgba(19, 28, 46, 0.7);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}

.trust-chip svg {
  color: var(--accent);
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-list a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.social-row {
  display: flex;
  gap: 9px;
}

.social-link {
  display: inline-flex;
  padding: 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--muted);
}

.social-link:hover {
  border-color: var(--accent);
  background: rgba(229, 57, 53, 0.14);
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.79rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  color: rgba(139, 156, 184, 0.75);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a:hover {
  color: #fff;
}

/* ── Floating actions ─────────────────────────────────────── */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease);
}

.floating-btn:hover {
  transform: scale(1.07);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-call {
  background: var(--brand-gradient);
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
}

/* ── Chat widget ──────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 95;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(229, 57, 53, 0.85);
  transition: transform 0.2s var(--ease);
}

.chat-toggle:hover {
  transform: scale(1.06);
}

.chat-toggle-close {
  display: none;
}

.chat-widget.is-open .chat-toggle-open {
  display: none;
}

.chat-widget.is-open .chat-toggle-close {
  display: block;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 140px));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
}

.chat-widget.is-open .chat-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 2px 4px;
}

.chat-quick-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.chat-quick-btn:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
}

.chat-jump {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-jump:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
}

.chat-jump[hidden] {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--brand-gradient);
  color: #fff;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
  font-size: 0.86rem;
}

.chat-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.72rem;
  opacity: 0.9;
}

.chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.chat-close {
  padding: 6px;
  border-radius: var(--radius-full);
  color: #fff;
  opacity: 0.85;
}

.chat-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.chat-notify-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(251, 191, 36, 0.12);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 0.72rem;
  color: #fde68a;
}

.chat-notify-prompt[hidden] { display: none; }

.chat-notify-prompt.is-done {
  background: rgba(52, 211, 153, 0.14);
  border-bottom-color: rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
}

.chat-notify-text {
  flex: 1;
  line-height: 1.35;
}

.chat-notify-enable {
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: #fbbf24;
  color: #1f2937;
  font-size: 0.7rem;
  font-weight: 600;
}

.chat-notify-enable:hover { filter: brightness(1.06); }
.chat-notify-enable:disabled { opacity: 0.6; }

.chat-notify-dismiss {
  padding: 3px 5px;
  color: inherit;
  opacity: 0.7;
}

.chat-notify-dismiss:hover {
  opacity: 1;
  background: transparent;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  background: rgba(11, 18, 32, 0.5);
}

.chat-message {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message-bot {
  align-self: flex-start;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  color: var(--text-soft);
  border-bottom-left-radius: 4px;
}

.chat-message-user {
  align-self: flex-end;
  background: var(--brand-gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-message.is-typing {
  color: var(--muted);
  font-style: italic;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.chat-input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(11, 18, 32, 0.8);
  font-size: 0.86rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: #fff;
}

.chat-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Inner pages ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 54px) 0 42px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.8rem);
  font-weight: 800;
}

.page-subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb [aria-current] {
  color: var(--text-soft);
  font-weight: 600;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-soft);
}

.prose {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: 1.24rem;
  color: #fff;
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 1.06rem;
  color: #fff;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(11, 18, 32, 0.8);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}

.prose strong {
  color: #fff;
}

.legal-contact {
  margin-top: 24px;
  text-align: center;
}

.legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.service-detail {
  padding: 24px 0;
}

.service-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

.service-detail-meta div {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(19, 28, 46, 0.6);
}

.service-detail-meta dt {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.service-detail-meta dd {
  margin: 4px 0 0;
  font-family: var(--font-en);
  font-weight: 800;
  color: #fff;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.related-services {
  margin-top: 56px;
}

.related-services .section-title {
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.service-card-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Error pages ──────────────────────────────────────────── */
.error-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
}

.error-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 480px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.24), transparent 70%);
  filter: blur(80px);
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.error-code {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-title {
  font-size: 1.5rem;
}

.error-text {
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s var(--ease) both;
}

.delay-1 {
  animation-delay: 0.08s;
}
.delay-2 {
  animation-delay: 0.16s;
}
.delay-3 {
  animation-delay: 0.24s;
}
.delay-4 {
  animation-delay: 0.32s;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 640px) {
  .container {
    padding: 0 28px;
  }

  .section {
    padding: 88px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .header-phone {
    display: inline-flex;
  }

  .floating-actions {
    bottom: 110px;
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .meeting-layout {
    grid-template-columns: 1fr 1fr;
    gap: 46px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  }
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .tab-list {
    width: 100%;
  }

  .tab {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .meeting-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Page builder blocks ─────────────────────────────────── */
.block-figure {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.7);
}

.block-figure img {
  width: 100%;
  border-radius: var(--radius);
}

.block-figure figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.block-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.block-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.block-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(19, 28, 46, 0.6);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(229, 57, 53, 0.35);
  background: rgba(19, 28, 46, 0.92);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-a {
  padding: 0 18px 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Professional polish ─────────────────────────────────── */
::selection {
  background: rgba(229, 57, 53, 0.32);
  color: #fff;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border: 2px solid var(--bg-deep);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a3a56;
}

img {
  max-width: 100%;
}

.btn {
  transition: transform 0.12s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

/* ── Section pages: slim breadcrumb bar under the fixed header ── */
.page-crumbbar {
  padding: calc(var(--header-h) + 18px) 0 0;
}
.page-crumbbar .breadcrumb {
  margin-bottom: 0;
}

/* ============================================================
   Design refresh — bold, modern, high-impact (applies site-wide)
   ============================================================ */
:root {
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 16px rgba(2, 6, 23, 0.45);
  --shadow: 0 34px 80px -34px rgba(2, 6, 23, 0.9);
  --shadow-glow: 0 30px 80px -28px rgba(229, 57, 53, 0.55);
}

body {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--primary-soft), transparent 60%),
    radial-gradient(900px 520px at -10% 12%, var(--accent-soft), transparent 60%),
    var(--bg);
}

h1, h2, h3, h4 { letter-spacing: var(--letter-spacing); }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: rgba(9, 14, 24, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header-inner { gap: 24px; }
.brand-name { font-size: 1.16rem; }
.nav-link { font-size: 0.92rem; }

/* ── Sections & headings ────────────────────────────────── */
.section { padding: 92px 0; }
.section-head { max-width: 800px; margin: 0 auto 54px; }
.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5em;
}
.section-subtitle {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.badge {
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.4);
  color: #ffc9c6;
  box-shadow: 0 10px 26px -16px rgba(229, 57, 53, 0.9);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  padding: 14px 26px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 999px;
}
.btn-primary {
  background: var(--brand-gradient);
  box-shadow: 0 16px 38px -16px rgba(229, 57, 53, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 24px 52px -18px rgba(229, 57, 53, 0.9);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-soft);
  backdrop-filter: blur(6px);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: calc(var(--header-h) + 96px) 0 100px;
  background:
    radial-gradient(900px 520px at 50% -14%, rgba(229, 57, 53, 0.2), transparent 62%),
    radial-gradient(700px 400px at 90% 20%, rgba(249, 115, 22, 0.1), transparent 60%),
    linear-gradient(180deg, #0a1120 0%, #0f172a 55%, #0a1120 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner { max-width: 1000px; }
.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 0.32em;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.hero-subtitle {
  font-size: clamp(1.06rem, 0.95rem + 0.5vw, 1.3rem);
  max-width: 730px;
  line-height: 1.75;
}
.hero-actions { gap: 16px; }
.hero-bullets {
  gap: 12px 16px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-bullets li {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
}

.hero-note {
  margin: 22px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Cards & grids ──────────────────────────────────────── */
.grid { gap: 22px; }
.card {
  padding: 28px;
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.85), rgba(13, 20, 34, 0.72));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.5);
  box-shadow: 0 34px 70px -34px rgba(229, 57, 53, 0.5);
}
.card-title { font-size: 1.16rem; }
.card-text { font-size: 0.94rem; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 18px 34px -20px rgba(229, 57, 53, 0.9);
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-card:hover { transform: translateY(-8px); }
.pricing-card.is-popular {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.7);
  box-shadow: 0 46px 90px -40px rgba(229, 57, 53, 0.8);
}
.pricing-name { font-size: 1.24rem; }
.pricing-price { font-size: 2.5rem; }

/* ── Stats ──────────────────────────────────────────────── */
.stats-bar { padding: 60px 0; }
.stat-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 32, 58, 0.72), rgba(11, 18, 32, 0.62));
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}
.stat-value { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }

/* ── Team & reviews ─────────────────────────────────────── */
.team-photo { width: 112px; height: 112px; }
.review-card { padding: 28px; }
.review-message { font-size: 0.96rem; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-item { border-radius: var(--radius); }
.faq-q { padding: 19px 22px; font-size: 1.02rem; }
.faq-a { padding: 0 22px 20px; }

/* ── CTA ────────────────────────────────────────────────── */
.cta-section { padding: 104px 0; }
.cta-title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.cta-subtitle { font-size: 1.08rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { padding-top: 64px; }
.footer-heading { letter-spacing: 0.1em; }

/* ── Motion (respect reduced-motion below) ──────────────── */
@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .hero { padding: calc(var(--header-h) + 60px) 0 68px; }
  .section-head { margin-bottom: 36px; }
  .hero-bullets { margin-top: 34px; padding-top: 22px; }
}

/* ── Header: separated menu and action/logon zones ────────── */
.nav-desktop {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 8px;
  gap: 2px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: 999px;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  background: rgba(229, 57, 53, 0.16);
  color: #fff;
}

.nav-link.is-active::after {
  display: none;
}

.header-actions {
  border-left: 1px solid var(--border-soft);
  padding-left: 14px;
  margin-left: 4px;
}

@media (max-width: 640px) {
  .header-actions {
    padding-left: 10px;
    margin-left: 0;
  }
}

/* ── Header: two rows — name/login/WhatsApp, then menu on its own line ── */
:root { --header-h: 108px; }

.site-header { height: auto; }
.header-top { height: 64px; }
.header-top .header-inner { height: 64px; }

.header-nav-row {
  border-top: 1px solid var(--border-soft);
  background: rgba(9, 14, 24, 0.55);
}

.header-nav-row .container {
  display: flex;
  align-items: center;
  height: 44px;
}

.header-nav-row .nav-desktop {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav-row .nav-desktop::-webkit-scrollbar { display: none; }

.header-nav-row .nav-link {
  padding: 6px 12px;
  white-space: nowrap;
}

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.12);
  color: #86efac;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.header-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #fff;
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .header-nav-row { display: none; }
  .header-top { height: 64px; }
}

@media (max-width: 640px) {
  .header-wa span { display: none; }
  .header-wa {
    width: 40px;
    justify-content: center;
    padding: 0;
  }
}

/* ============================================================
   Page transmission — content is "built" as the page arrives
   ============================================================ */
.pt-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(229, 57, 53, 0.16), transparent 46%),
    radial-gradient(circle at 84% 88%, rgba(249, 115, 22, 0.12), transparent 46%),
    linear-gradient(160deg, #0b1220 0%, #0f1729 58%, #0b1220 100%);
  color: var(--text);
  transform: translateY(0);
  transition: transform 0.82s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

html.pt-loading .pt-overlay,
.pt-overlay.is-entering,
.pt-overlay.is-covering,
.pt-overlay.is-leaving {
  display: grid;
  pointer-events: auto;
}

.pt-overlay.is-entering {
  transform: translateY(100%);
  transition: none;
}

.pt-overlay.is-covering {
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.pt-overlay.is-leaving {
  transform: translateY(-100%);
}

/* Background drafting grid + travelling construction beam */
.pt-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 12%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 46%, #000 12%, transparent 68%);
  animation: ptGridDrift 7s linear infinite;
}

@keyframes ptGridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-52px, 52px, 0);
  }
}

.pt-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 57, 53, 0.95) 30%,
    rgba(249, 115, 22, 0.95) 70%,
    transparent
  );
  box-shadow: 0 0 22px rgba(229, 57, 53, 0.55);
  opacity: 0;
  animation: ptBeamSweep 1.55s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ptBeamSweep {
  0% {
    transform: translateY(8vh);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(92vh);
    opacity: 0;
  }
}

/* Technical corner brackets */
.pt-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(229, 57, 53, 0.55);
  opacity: 0.8;
}

.pt-corner-tl {
  top: 22px;
  left: 22px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 6px 0 0 0;
}

.pt-corner-tr {
  top: 22px;
  right: 22px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 6px 0 0;
}

.pt-corner-bl {
  bottom: 22px;
  left: 22px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 6px;
}

.pt-corner-br {
  bottom: 22px;
  right: 22px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 6px 0;
}

/* Centre console */
.pt-core {
  position: relative;
  z-index: 2;
  width: min(430px, 82vw);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

.pt-overlay.is-leaving .pt-core {
  opacity: 0;
  transform: translateY(-16px);
}

.pt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.pt-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 16px rgba(229, 57, 53, 0.9);
  animation: ptPulse 1.1s ease-in-out infinite;
}

@keyframes ptPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

.pt-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  min-height: 1.7em;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.pt-status-label {
  color: var(--primary);
  font-family: var(--font-en);
  font-weight: 800;
}

.pt-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-warm);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
  animation: ptBlink 0.9s steps(1) infinite;
}

@keyframes ptBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.pt-track {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pt-track-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
  box-shadow: 0 0 18px rgba(229, 57, 53, 0.7);
  transition: width 0.18s linear;
}

.pt-percent {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.pt-foot {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(139, 156, 184, 0.75);
}

/* ── Content assembly after the overlay lifts ─────────────── */
@keyframes ptBuild {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.987);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes ptWrite {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.15;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* Keep the page invisible behind the overlay so it assembles exactly
   when the curtain lifts, never flashing in fully built first. */
html.pt-loading body > header,
html.pt-loading body > main > *,
html.pt-loading body > footer,
html.pt-loading .floating-actions,
html.pt-loading .chat-widget {
  opacity: 0;
}

html.pt-ready body > header,
html.pt-ready body > footer {
  animation: ptBuild 0.65s var(--ease) backwards;
}

html.pt-ready .floating-actions,
html.pt-ready .chat-widget {
  animation: fadeIn 0.6s ease 0.35s backwards;
}

html.pt-ready body > main > * {
  animation: ptBuild 0.72s var(--ease) backwards;
}

html.pt-ready body > main > *:nth-child(1) {
  animation-delay: 0.04s;
}
html.pt-ready body > main > *:nth-child(2) {
  animation-delay: 0.1s;
}
html.pt-ready body > main > *:nth-child(3) {
  animation-delay: 0.16s;
}
html.pt-ready body > main > *:nth-child(4) {
  animation-delay: 0.22s;
}
html.pt-ready body > main > *:nth-child(5) {
  animation-delay: 0.28s;
}
html.pt-ready body > main > *:nth-child(6) {
  animation-delay: 0.34s;
}
html.pt-ready body > main > *:nth-child(7) {
  animation-delay: 0.4s;
}
html.pt-ready body > main > *:nth-child(8) {
  animation-delay: 0.46s;
}

html.pt-ready .hero-title,
html.pt-ready .page-title,
html.pt-ready .error-title {
  animation: ptWrite 0.95s var(--ease) 0.06s backwards;
}

/* ── Extra construction detail ────────────────────────────── */
.pt-beam-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.75), transparent);
  opacity: 0;
  animation: ptBeamV 2.4s linear infinite;
}

@keyframes ptBeamV {
  0% {
    transform: translateX(6vw);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 0.55;
  }
  100% {
    transform: translateX(94vw);
    opacity: 0;
  }
}

/* Four blocks snap together into the mark */
.pt-mark {
  display: inline-grid;
  grid-template-columns: 14px 14px;
  grid-auto-rows: 14px;
  gap: 4px;
  margin-bottom: 6px;
}

.pt-mark span {
  border-radius: 4px;
  background: var(--brand-gradient);
  box-shadow: 0 0 14px rgba(229, 57, 53, 0.45);
  opacity: 0.92;
  animation: ptAssemble 0.75s var(--ease) backwards;
}

.pt-mark span:nth-child(1) {
  --pt-x: -26px;
  --pt-y: -26px;
  animation-delay: 0.02s;
}

.pt-mark span:nth-child(2) {
  --pt-x: 26px;
  --pt-y: -26px;
  animation-delay: 0.1s;
}

.pt-mark span:nth-child(3) {
  --pt-x: -26px;
  --pt-y: 26px;
  animation-delay: 0.18s;
}

.pt-mark span:nth-child(4) {
  --pt-x: 26px;
  --pt-y: 26px;
  animation-delay: 0.26s;
}

@keyframes ptAssemble {
  0% {
    opacity: 0;
    transform: translate(var(--pt-x), var(--pt-y)) scale(0.35) rotate(18deg);
  }
  60% {
    opacity: 0.95;
  }
  100% {
    opacity: 0.92;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* Build log */
.pt-log {
  list-style: none;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 5px;
  font-family: var(--font-en);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: left;
}

.pt-log li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(4px);
}

.pt-log li.is-on {
  animation: ptLogIn 0.32s var(--ease) forwards;
}

.pt-log-cmd::before {
  content: "> ";
  color: var(--accent-warm);
}

.pt-log-ok {
  color: #34d399;
  opacity: 0;
  transition: opacity 0.18s ease 0.12s;
}

.pt-log li.is-on .pt-log-ok {
  opacity: 1;
}

@keyframes ptLogIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Bright leading edge on the lifting curtain */
.pt-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 57, 53, 0.9) 25%,
    rgba(249, 115, 22, 0.95) 60%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pt-overlay.is-leaving::after {
  opacity: 1;
  box-shadow: 0 0 34px rgba(229, 57, 53, 0.75), 0 0 80px rgba(249, 115, 22, 0.35);
}

/* One scanline sweeps the freshly revealed page */
.pt-sweep {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2147482000;
  display: none;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 57, 53, 0.55) 25%,
    rgba(249, 115, 22, 0.65) 60%,
    transparent
  );
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.4);
}

html.pt-ready .pt-sweep {
  display: block;
  animation: ptAfterSweep 1.35s 0.05s var(--ease) backwards;
}

@keyframes ptAfterSweep {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(102vh);
    opacity: 0;
  }
}

/* Inner hero/page-head pieces assemble in sequence */
html.pt-ready .hero .badge,
html.pt-ready .hero-subtitle,
html.pt-ready .hero-actions,
html.pt-ready .hero-note,
html.pt-ready .hero-bullets,
html.pt-ready .page-hero .breadcrumb,
html.pt-ready .page-hero .page-subtitle {
  animation: ptBuild 0.6s var(--ease) backwards;
}

html.pt-ready .hero .badge {
  animation-delay: 0.12s;
}

html.pt-ready .hero-subtitle {
  animation-delay: 0.2s;
}

html.pt-ready .hero-actions {
  animation-delay: 0.27s;
}

html.pt-ready .hero-note {
  animation-delay: 0.32s;
}

html.pt-ready .hero-bullets {
  animation-delay: 0.38s;
}

html.pt-ready .page-hero .breadcrumb {
  animation-delay: 0.1s;
}

html.pt-ready .page-hero .page-subtitle {
  animation-delay: 0.2s;
}

/* ============================================================
   Transition variants
   ============================================================ */
.pt-shutter {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  display: none;
  z-index: 0;
}

.pt-shutter-top {
  top: 0;
}

.pt-shutter-bottom {
  bottom: 0;
}

html[data-pt="shutter"] .pt-shutter {
  display: block;
  transition: transform 0.82s cubic-bezier(0.76, 0, 0.24, 1);
}

html[data-pt="shutter"] .pt-overlay {
  background: transparent;
}

html[data-pt="shutter"] .pt-shutter-top {
  background:
    radial-gradient(circle at 18% 92%, rgba(229, 57, 53, 0.34), transparent 62%),
    linear-gradient(180deg, #0b1220, #131c2e);
}

html[data-pt="shutter"] .pt-shutter-bottom {
  background:
    radial-gradient(circle at 82% 8%, rgba(249, 115, 22, 0.3), transparent 62%),
    linear-gradient(0deg, #0b1220, #131c2e);
}

html[data-pt="shutter"] .pt-shutter-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 57, 53, 0.85),
    rgba(249, 115, 22, 0.85),
    transparent
  );
}

html[data-pt="shutter"] .pt-overlay.is-entering,
html[data-pt="shutter"] .pt-overlay.is-covering,
html[data-pt="shutter"] .pt-overlay.is-leaving {
  transform: none;
}

html[data-pt="shutter"] .pt-overlay.is-entering .pt-shutter {
  transition: none;
}

html[data-pt="shutter"] .pt-overlay.is-entering .pt-shutter-top,
html[data-pt="shutter"] .pt-overlay.is-leaving .pt-shutter-top {
  transform: translateY(-100%);
}

html[data-pt="shutter"] .pt-overlay.is-entering .pt-shutter-bottom,
html[data-pt="shutter"] .pt-overlay.is-leaving .pt-shutter-bottom {
  transform: translateY(100%);
}

html[data-pt="shutter"] .pt-overlay.is-covering .pt-shutter-top,
html[data-pt="shutter"] .pt-overlay.is-covering .pt-shutter-bottom {
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-pt="shutter"] .pt-mark {
  transform: rotate(45deg);
}

/* Orbiting ring for shutter / iris variants */
.pt-orbit {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(229, 57, 53, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ptSpin 18s linear infinite;
  z-index: 1;
}

html[data-pt="shutter"] .pt-orbit,
html[data-pt="iris"] .pt-orbit {
  display: block;
}

.pt-orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.9);
  transform: translateX(-50%);
}

@keyframes ptSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Iris variant: radial rings, lens-style open/close */
html[data-pt="iris"] .pt-overlay {
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(229, 57, 53, 0.09) 0 1px,
      transparent 1px 46px
    ),
    radial-gradient(circle at 50% 50%, #16203a 0%, #0b1220 72%);
  transition: none;
}

html[data-pt="iris"] .pt-overlay.is-entering {
  transform: none;
  clip-path: circle(0% at 50% 50%);
  transition: none;
}

html[data-pt="iris"] .pt-overlay.is-covering {
  transform: none;
  clip-path: circle(140% at 50% 50%);
  transition: clip-path 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-pt="iris"] .pt-overlay.is-leaving {
  transform: none;
  animation: ptIrisOut 0.82s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes ptIrisOut {
  from {
    clip-path: circle(140% at 50% 50%);
  }
  to {
    clip-path: circle(0% at 50% 50%);
  }
}

/* Layer order above the split panels */
.pt-grid,
.pt-beam,
.pt-beam-v,
.pt-corner {
  z-index: 1;
}

.pt-foot {
  z-index: 2;
}

.pt-mode {
  margin-left: 8px;
  color: rgba(139, 156, 184, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

/* Decoration fades while the curtain lifts */
.pt-overlay.is-leaving .pt-grid,
.pt-overlay.is-leaving .pt-orbit,
.pt-overlay.is-leaving .pt-corner,
.pt-overlay.is-leaving .pt-foot {
  opacity: 0;
  transition: opacity 0.32s ease;
}

@media (max-height: 540px) {
  .pt-core {
    gap: 9px;
  }

  .pt-mark {
    grid-template-columns: 11px 11px;
    grid-auto-rows: 11px;
  }

  .pt-log,
  .pt-foot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-overlay,
  .pt-sweep,
  .pt-shutter,
  .pt-orbit,
  html.pt-ready .pt-sweep {
    display: none !important;
  }

  html.pt-loading body > header,
  html.pt-loading body > main > *,
  html.pt-loading body > footer,
  html.pt-loading .floating-actions,
  html.pt-loading .chat-widget,
  html.pt-ready body > header,
  html.pt-ready body > footer,
  html.pt-ready body > main > *,
  html.pt-ready .floating-actions,
  html.pt-ready .chat-widget,
  html.pt-ready .hero-title,
  html.pt-ready .page-title,
  html.pt-ready .error-title,
  html.pt-ready .hero .badge,
  html.pt-ready .hero-subtitle,
  html.pt-ready .hero-actions,
  html.pt-ready .hero-note,
  html.pt-ready .hero-bullets,
  html.pt-ready .page-hero .breadcrumb,
  html.pt-ready .page-hero .page-subtitle,
  .pt-mark span,
  .pt-log li {
    animation: none !important;
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }
}

/* ============================================================
   Mouse interaction system
   ============================================================ */
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor [contenteditable="true"],
html.has-custom-cursor.cursor-native,
html.has-custom-cursor.cursor-native * {
  cursor: auto;
}

.cursor-fx {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cursor-fx.is-visible {
  opacity: 1;
}

.cursor-fx.is-native {
  opacity: 0;
}

.cursor-fx-dot,
.cursor-fx-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform;
}

.cursor-fx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-color, var(--accent-warm));
  box-shadow: 0 0 12px var(--fx-glow, rgba(249, 115, 22, 0.9));
  transition: opacity 0.2s ease;
}

.cursor-fx-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--fx-size, 34px);
  height: var(--fx-size, 34px);
  border-radius: 50%;
  transition: width 0.22s var(--ease), height 0.22s var(--ease),
    border-radius 0.22s ease, border-color 0.22s ease, background 0.22s ease,
    opacity 0.2s ease;
}

.cursor-fx.is-hover .cursor-fx-ring {
  border-color: var(--fx-color, rgba(249, 115, 22, 0.85));
}

.cursor-fx.is-down .cursor-fx-ring {
  opacity: 0.85;
}

.cursor-fx-label {
  font-family: var(--font-bn);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cursor-fx.is-label .cursor-fx-label {
  opacity: 1;
  transform: scale(1);
}

.cursor-fx-burst {
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid var(--fx-color, rgba(249, 115, 22, 0.9));
  box-shadow: 0 0 14px var(--fx-glow, rgba(249, 115, 22, 0.6));
  pointer-events: none;
  transform: translate3d(var(--bx), var(--by), 0) scale(0.35);
  animation: cursorBurst 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cursorBurst {
  0% {
    transform: translate3d(var(--bx), var(--by), 0) scale(0.35);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(var(--bx), var(--by), 0) scale(2.8);
    opacity: 0;
  }
}

/* Card tilt follows the pointer */
.tilt {
  position: relative;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    240px circle at var(--tilt-gx, 50%) var(--tilt-gy, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 62%
  );
}

.tilt.is-tilting .tilt-glare {
  opacity: 1;
}

.tilt.is-tilting {
  transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transition: transform 0.08s linear;
  z-index: 2;
}

/* Hero glows drift and rotate with the cursor */
.hero-glow {
  transform: translate3d(var(--pt-px, 0px), var(--pt-py, 0px), 0)
    rotate(var(--pt-pr, 0deg));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-glow-3 {
  transform: translate(-50%, -50%)
    translate3d(var(--pt-px, 0px), var(--pt-py, 0px), 0)
    rotate(var(--pt-pr, 0deg));
}

/* Cursor spotlight over the hero */
html.has-pointer .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    340px circle at var(--hero-mx, 50%) var(--hero-my, 30%),
    rgba(249, 115, 22, 0.1),
    transparent 65%
  );
}

/* Same cursor light on inner-page heroes */
html.has-pointer .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--ph-mx, 50%) var(--ph-my, 50%),
    rgba(249, 115, 22, 0.1),
    transparent 65%
  );
}

html.has-pointer .page-hero > .container {
  position: relative;
  z-index: 1;
}

/* Scroll progress rail */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 2147481000;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.55);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-fx,
  .cursor-fx-burst,
  .scroll-progress {
    display: none !important;
  }

  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: auto !important;
  }

  .tilt.is-tilting {
    transform: none !important;
  }
}

@media print {
  .cursor-fx,
  .scroll-progress {
    display: none !important;
  }
}

/* ============================================================
   Per-page hero overrides & feature modules
   Authored from each page's own admin screen (/admin/pages/<slug>).
   These blocks only render when a page opts in, so pages without
   overrides keep their original design.
   ============================================================ */
.page-hero-custom .page-title {
  max-width: 900px;
  margin: 10px 0 12px;
}

.page-eyebrow {
  margin: 0 0 8px;
  color: var(--accent-warm, #f97316);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero-actions {
  margin: 22px 0 0;
}

.page-hero-image {
  display: block;
  width: 100%;
  max-width: 780px;
  margin: 28px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-feature-checks {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  display: grid;
  gap: 10px 22px;
}

.page-feature-gallery figure {
  margin: 0;
  overflow: hidden;
}

.page-feature-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.page-notice {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: rgba(110, 168, 254, 0.08);
  font-size: 0.95rem;
}

.page-notice.tone-success {
  border-left-color: #34d399;
  background: rgba(52, 211, 153, 0.08);
}

.page-notice.tone-warning {
  border-left-color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
}

.page-feature-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #000;
}

.page-feature-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--border);
}

.page-timeline li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 26px 22px;
}

.page-timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary, #e53935);
  border-radius: 50%;
  background: var(--bg, #0f1729);
}

.page-timeline li:last-child {
  padding-bottom: 0;
}

.page-timeline-date {
  flex: none;
  min-width: 92px;
  color: var(--accent-warm, #f97316);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-timeline-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.page-quote {
  margin: 0;
  padding: 28px 30px;
  border-left: 4px solid var(--primary, #e53935);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.page-quote blockquote {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  line-height: 1.55;
}

.page-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.85rem;
}

.page-quote figcaption strong {
  color: var(--text);
}
