/* =====================================================
   Yakarta.pro — Premium Hi-Tech Industrial Design System
   Concepts: Brushed Aluminum, Frosted Glass, Liquid Translucency
   ===================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/static/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/static/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;

  /* 0. Core Color Palette */
  --brand:         #FC3F1D;
  --brand-hover:   #E02F0F;
  --brand-light:   rgba(252, 63, 29, 0.07);
  --brand-border:  rgba(252, 63, 29, 0.22);
  --brand-glow:    rgba(252, 63, 29, 0.15);

  --success:       #10B981;
  --success-light: rgba(16, 185, 129, 0.08);
  --warning:       #F59E0B;
  --warning-light: rgba(245, 158, 11, 0.08);
  --danger:        #EF4444;

  /* Level 0 — Pearl Silver Canvas */
  --bg-main:       #F5F7F9;
  --bg-soft:       #ECEFF3;
  --bg-pearl:      linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);

  /* Level 1 — Flat Surfaces */
  --surface:       rgba(255, 255, 255, 0.88);
  --surface-solid: #FFFFFF;
  --surface-hover: rgba(255, 255, 255, 0.98);

  /* Level 2 — Frosted / Wet Glass Tokens */
  --glass-bg:      linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 244, 248, 0.65) 100%);
  --glass-border:  rgba(255, 255, 255, 0.85);
  --glass-shadow:  0 20px 48px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --glass-blur:    blur(20px) saturate(125%);

  /* Level 3 — Featured Brushed Metal Tokens */
  --metal-dark-bg: linear-gradient(135deg, #2B3137 0%, #1C2024 35%, #353C43 65%, #1E2226 100%);
  --metal-border:  rgba(255, 255, 255, 0.16);
  --metal-shadow:  0 24px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);

  /* Metallic Borders & Strokes */
  --border-soft:   rgba(205, 215, 226, 0.5);
  --border-strong: rgba(180, 195, 210, 0.8);
  --border-silver: rgba(220, 230, 240, 0.9);

  /* High-Contrast B2B Typography */
  --text-strong:   #0F172A;
  --text:          #2A3648;
  --text-muted:    #5A687C;
  --text-faint:    #8E9DB0;

  /* Tokenized Radii — Light Technical Editorial System */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 9999px;

  /* Motion Standards */
  --transition-fast:   all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:   all 0.40s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Tokens (Fallback Support) */
html[data-theme="dark"] {
  --bg-main:       #090A0F;
  --bg-soft:       #11131B;
  --surface:       rgba(22, 25, 35, 0.88);
  --surface-solid: #161923;
  --surface-hover: rgba(30, 34, 48, 0.95);
  --border-soft:   rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);

  --text-strong:   #F8FAFC;
  --text:          #CBD5E1;
  --text-muted:    #94A3B8;
  --text-faint:    #64748B;
  --glass-bg:      linear-gradient(135deg, rgba(25, 30, 42, 0.85) 0%, rgba(15, 18, 26, 0.7) 100%);
  --glass-border:  rgba(255, 255, 255, 0.12);
}

/* Base Reset & Level 0 Pearl Canvas */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.9) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(230, 238, 245, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Fine Technical Grid Canvas Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(200, 212, 224, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 212, 224, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Common Typography & Headings */
h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--text-strong);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 2.5vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.6vw, 1.55rem); }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; transition: var(--transition-normal); }

/* SVG Icons Utility */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(32px, 4vw, 55px) 0;
  position: relative;
}

.text-gradient {
  background: linear-gradient(135deg, #FC3F1D 0%, #FF6A4D 50%, #E11D48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-title { margin-bottom: 14px; }
.section-subtitle { font-size: 1.1rem; max-width: 680px; margin: 0 auto; }

/* Buttons — Polished Metallic & Glass Treatment */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #FC3F1D 0%, #E02F0F 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 25px -4px rgba(252, 63, 29, 0.35);
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #FF4E2F 0%, #EC3213 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 32px -4px rgba(252, 63, 29, 0.45);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text-strong);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn--secondary:hover {
  background: var(--surface-hover);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 6px 16px rgba(15, 23, 42, 0.08);
}

.btn--full { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* Integrated Card Illustration Box */
.editorial-graphic-box {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-top: auto;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.editorial-graphic-box:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--brand-border);
}

.editorial-graphic-box img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card--large .editorial-graphic-box img {
  height: 185px;
}

.editorial-graphic-box:hover img {
  transform: scale(1.02);
}

.editorial-graphic-box--phone {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.editorial-graphic-box--phone img {
  height: 185px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.16));
}

.editorial-graphic-box--rig {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-silver);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 4px 12px rgba(15, 23, 42, 0.04);
  margin-top: auto;
  margin-bottom: 20px;
}

.editorial-graphic-box--rig .bento-featured__bg-graphic {
  position: absolute;
  inset: 0;
  background-image: url('/static/img/yandex_maps_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.50;
  filter: contrast(1.1);
  pointer-events: none;
}

.editorial-graphic-box--rig .rig {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.35);
  margin: 0;
  width: 660px;
  height: 480px;
  z-index: 2;
}

.editorial-graphic-box--rig .phone__screen {
  overflow-y: auto !important;
  pointer-events: auto !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* =====================================================
   6. HEADER — Sticky Frosted Glass Strip
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 50, 70, 0.08);
  box-shadow: none;
  transition: var(--transition-normal);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-strong);
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FC3F1D 0%, #FF6A4D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 14px rgba(252, 63, 29, 0.35);
}

.logo__dot { color: var(--brand); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav__link:hover { color: var(--text-strong); }
.nav__link--accent { color: var(--brand); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__link:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-normal);
}

.theme-toggle:hover { border-color: var(--border-strong); color: var(--text-strong); transform: translateY(-1px); }

.theme-toggle__icon--sun { display: none; }
.theme-toggle__icon--moon { display: block; }
html[data-theme="light"] .theme-toggle__icon--sun { display: block; }
html[data-theme="light"] .theme-toggle__icon--moon { display: none; }

/* Anti-bot Invisible Honeypots */
.hp-trap {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* =====================================================
   7. HERO — Visual Centerpiece with Atmospheric Graphic
   ===================================================== */
.hero {
  padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.88) 0%, rgba(240, 244, 248, 0.94) 100%);
}

/* Atmospheric futuristic glass-metallic artwork */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/hero_maps_bg.webp');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%; right: 5%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 240, 250, 0.5) 0%, rgba(252, 63, 29, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 660px; }

/* Technical Diagnostic Offer Banner */
.diag-banner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-silver);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--glass-shadow);
}

.diag-banner__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diag-banner__text {
  font-size: 0.92rem;
  color: var(--text-strong);
  line-height: 1.45;
}

/* Quick Audit Input Form */
.hero__quickform-wrap {
  position: relative;
  margin-bottom: 32px;
}

.hero__quickform {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 32px -6px rgba(15, 23, 42, 0.08);
  margin-bottom: 0;
  transition: var(--transition-normal);
}

.hero__quickform:focus-within {
  border-color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 40px -8px rgba(252, 63, 29, 0.22);
}

.hero__quickform--error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.hero__quickform-error-msg {
  display: block;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 6px;
  padding-left: 6px;
  font-weight: 600;
  animation: fadeIn 0.2s ease;
}

@keyframes quickformShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.hero__quickform--shake {
  animation: quickformShake 0.4s ease;
}

.hero__quickform input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.98rem;
  color: var(--text-strong);
  min-width: 0;
}

.hero__quickform input::placeholder { color: var(--text-faint); }

/* Stats Bar — Unified Translucent Horizontal Strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 6px;
}

.stat-card {
  padding: 16px 14px;
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-soft);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
}

.stat-card__num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* =====================================================
   8. HERO DASHBOARD — Premium Product Interface
   ===================================================== */
.hero__dash {
  position: relative;
}

/* Decorative Chrome Ring / Glass Arc Accent behind Dashboard */
.hero__dash::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(200, 215, 230, 0.2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 32px rgba(15, 23, 42, 0.05);
  pointer-events: none;
  z-index: -1;
}

.tech-dashboard {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--glass-shadow);
  font-family: var(--font-sans);
  position: relative;
  transition: var(--transition-normal);
}

.tech-dashboard:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.dash-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(15, 23, 42, 0.03);
}

.metric-box__val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-strong);
}

.metric-box__val--green { color: var(--success); }
.metric-box__label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.dash-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dash-check-item__label { display: flex; align-items: center; gap: 8px; color: var(--text-strong); font-weight: 500; }
.dash-check-item__status { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--success); }
.dash-check-item__status--warn { color: var(--warning); }

.dash-task-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 6px 16px rgba(15, 23, 42, 0.04);
}

.dash-task-info { display: flex; flex-direction: column; gap: 2px; }
.dash-task-id { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-faint); font-weight: 700; }
.dash-task-title { font-size: 0.88rem; font-weight: 700; color: var(--text-strong); }
.dash-task-badge { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: var(--success); background: var(--success-light); padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(16, 185, 129, 0.2); }

/* =====================================================
   11. BENTO GRID SERVICES SECTION
   ===================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  min-width: 0;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 36px rgba(15, 23, 42, 0.08);
}

body {
  background-color: #F8FAFC;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bento-card--featured {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.92) 100%);
  border: 1px solid var(--brand-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 12px 32px rgba(252, 63, 29, 0.06);
  padding: 32px;
}

@media (max-width: 1100px) {
  .bento-card--featured {
    grid-template-columns: 1fr;
  }
}

.bento-featured__content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.bento-featured__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F1F5F9;
}

.bento-featured__bg-graphic {
  position: absolute;
  inset: 0;
  background-image: url('/static/img/yandex_maps_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: contrast(1.1);
  pointer-events: none;
}

.bento-featured__visual .rig {
  position: relative;
  z-index: 2;
  transform: scale(0.85);
  transform-origin: center center;
  margin: 0 auto;
}

/* Hero rig: телефон + связка + браузер */
.rig {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 270px) auto minmax(0, 320px);
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 680px;
  height: 500px !important;
  max-height: 500px !important;
  overflow: hidden !important;
  margin: 10px auto;
  padding: 10px 0;
  z-index: 2;
}

.rig .phone {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 270px;
  height: 480px !important;
  max-height: 480px !important;
  border-radius: 36px;
  background: linear-gradient(180deg, #1d2029 0%, #0c0d12 100%);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  transform: rotate(-3deg);
  transition: transform .4s ease;
  z-index: 2;
  overflow: hidden !important;
}

.rig .phone:hover { transform: rotate(0) translateY(-4px); }

.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #000; border-radius: 999px; z-index: 5;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.phone__home {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 3px; background: rgba(255,255,255,.5);
  border-radius: 999px; z-index: 5;
}
.phone__screen {
  background: #fff;
  border-radius: 28px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: 448px !important;
  max-height: 448px !important;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.phone__screen::-webkit-scrollbar { display: none; width: 0; height: 0; }
.phone__screen::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* iPhone-style status bar */
.phone__statusbar {
  position: sticky; top: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px 4px;
  background: linear-gradient(180deg, #ffffff 60%, rgba(255,255,255,.92));
  color: #0A0B0F;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  min-height: 22px;
}
.phone__time { font-variant-numeric: tabular-nums; }
.phone__sys { display: inline-flex; align-items: center; gap: 4px; color: #0A0B0F; }
.phone__sys-icon { display: block; }
.phone__battery {
  position: relative;
  display: inline-block;
  width: 18px; height: 8px;
  border: 1px solid rgba(10,11,15,.45);
  border-radius: 2px;
  padding: 1px;
}
.phone__battery::after {
  content: '';
  position: absolute; right: -3px; top: 2px;
  width: 2px; height: 3px; background: rgba(10,11,15,.45);
  border-radius: 0 1px 1px 0;
}
.phone__battery-fill {
  display: block; height: 100%; width: 80%;
  background: #0A0B0F; border-radius: 1px;
}

.map-card { color: #1a1d24; font-size: .75rem; }

.map-card__photo {
  height: 125px !important;
  max-height: 125px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #2a2017;
}
.map-card__photo img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.map-card__photo-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.map-card__rating {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(255,255,255,.96);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}
.map-card__open {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  background: #1DB954; color: #fff;
  padding: 3px 8px; border-radius: 999px;
  font-weight: 600; font-size: .68rem;
  box-shadow: 0 2px 6px rgba(29,185,84,.35);
}
.map-card__open-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
}
.map-card__counter {
  position: absolute; bottom: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px;
  background: rgba(10,11,15,.62);
  color: #fff;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
}

.map-card__phototabs {
  display: flex; gap: 4px;
  padding: 8px 10px;
  overflow-x: auto;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
  scrollbar-width: none;
}
.map-card__phototabs::-webkit-scrollbar { display: none; }
.phototab {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  color: #6c7384;
  background: #f3f4f7;
  white-space: nowrap;
}
.phototab.is-active {
  background: #0A0B0F;
  color: #fff;
}

.map-card__body { padding: 10px 10px 0; }
.map-card__body h3 {
  font-size: 1.1rem;
  margin: 2px 0 2px;
  color: #0A0B0F;
  font-weight: 800;
}
.map-card__meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 2px;
}
.map-card__stars {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: #6c7384;
}
.map-card__stars b { color: #0A0B0F; font-weight: 700; }
.map-card__cat {
  font-size: .72rem; color: #8a93a6;
  margin: 0 0 4px;
}
.map-card__hours {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: #1DB954;
  font-weight: 600;
  margin: 0 0 10px;
}
.map-card__hours-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1DB954;
}

.map-card__actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; margin-bottom: 12px;
}
.map-act {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0; background: transparent;
  font-size: .62rem; font-weight: 600;
  color: #0A0B0F;
  border: none;
  cursor: pointer;
}
.map-act__circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
}
.map-act__circle--call { background: linear-gradient(140deg, #FF6A4D, #FC3F1D); }
.map-act__circle--route { background: linear-gradient(140deg, #2C313A, #0A0B0F); }
.map-act__circle--site { background: linear-gradient(140deg, #FFD84D, #FFB800); color: #2C2200; }
.map-act__circle--save { background: #F3F4F7; color: #5A6171; }
.map-act__lbl { line-height: 1.1; }

.map-card__gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; margin-bottom: 12px;
}
.map-thumb { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.map-thumb img {
  width: 100%; height: 50px;
  object-fit: cover; border-radius: 8px; display: block;
}
.map-thumb figcaption { font-size: .58rem; color: #8a93a6; text-align: center; }

.map-org { border-top: 1px solid #eef0f4; padding: 10px 0 2px; margin-bottom: 8px; }
.map-org__title, .map-menu__title, .map-reviews__title {
  font-size: .84rem; font-weight: 700; color: #0A0B0F; margin: 0 0 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.map-org__row { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; }
.map-org__icon { flex: 0 0 auto; width: 24px; height: 24px; padding: 4px; border-radius: 6px; background: #f3f4f7; color: #5A6171; }
.map-org__icon--metro { background: rgba(252,63,29,.10); color: #FC3F1D; }
.map-org__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.map-org__text span { font-size: .76rem; color: #0A0B0F; font-weight: 600; }
.map-org__text small { font-size: .64rem; color: #8a93a6; }
.map-org__dist { font-size: .68rem; color: #5A6171; font-weight: 700; }
.map-org__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.map-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; background: #f3f4f7; border-radius: 999px; font-size: .64rem; font-weight: 600; color: #5A6171; }

.map-menu { border-top: 1px solid #eef0f4; padding: 10px 0 2px; margin-bottom: 8px; }
.map-menu__more { font-size: .68rem; color: #FC3F1D; font-weight: 600; }
.map-menu__list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.map-menu__item { display: flex; align-items: center; gap: 4px; padding: 6px 0; font-size: .75rem; }
.map-menu__name { color: #0A0B0F; font-weight: 500; }
.map-menu__dots { flex: 1; border-bottom: 1.5px dotted #d4d8e0; margin: 0 4px; height: 1px; }
.map-menu__price { color: #0A0B0F; font-weight: 800; }

.map-reviews { border-top: 1px solid #eef0f4; padding: 10px 0 2px; margin-bottom: 8px; }
.map-reviews__count { font-size: .68rem; color: #8a93a6; }
.map-review { display: flex; gap: 8px; }
.map-review__ava { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #FF6A4D, #FC3F1D); color: #fff; font-size: .62rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.map-review__main { flex: 1; min-width: 0; }
.map-review__head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.map-review__head b { font-size: .76rem; color: #0A0B0F; }
.map-review__date { font-size: .62rem; color: #8a93a6; }
.map-review__stars { color: #FFCC00; font-size: .68rem; margin-bottom: 2px; }
.map-review__text { margin: 0 0 6px; font-size: .72rem; color: #2c313a; line-height: 1.3; }
.map-review__reply { padding: 6px 8px; background: #f7f8fc; border-left: 2px solid #FC3F1D; border-radius: 4px 8px 8px 4px; display: flex; flex-direction: column; gap: 2px; }
.map-review__reply b { font-size: .64rem; color: #FC3F1D; }
.map-review__reply span { font-size: .68rem; color: #2c313a; }

.map-card__tour { margin: 4px 0 12px; display: flex; align-items: center; gap: 8px; padding: 8px; background: linear-gradient(135deg, #1a1d24, #2c313a); color: #fff; border-radius: 12px; }
.map-card__tour-thumb { position: relative; flex: 0 0 auto; width: 52px; height: 38px; border-radius: 8px; overflow: hidden; }
.map-card__tour-thumb img { width: 100%; height: 100%; object-fit: cover; }
.map-card__tour-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.32); color: #fff; }
.map-card__tour-info { flex: 1; display: flex; flex-direction: column; }
.map-card__tour-info b { font-size: .76rem; }
.map-card__tour-info small { font-size: .64rem; color: rgba(255,255,255,.65); }
.map-card__tour-arrow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.10); color: #fff; }

.phone__tabbar {
  position: sticky; bottom: 0; z-index: 4;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px; padding: 4px 4px 8px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid #eef0f4;
  backdrop-filter: blur(10px);
}
.phone-tab {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 2px; font-size: .55rem; font-weight: 600; color: #8a93a6; background: transparent; border: none;
}
.phone-tab.is-active { color: #FC3F1D; }
.phone-tab--center .phone-tab__pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-top: -8px; border-radius: 50%;
  background: linear-gradient(140deg, #FF6A4D, #FC3F1D); color: #fff;
  box-shadow: 0 4px 10px rgba(252,63,29,.4);
}

.rig__flow {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 3;
  min-width: 50px;
}
.rig__flow-dash {
  display: block; width: 0; height: 16px;
  border-left: 1.5px dashed var(--brand);
}
.rig__flow-chip {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  white-space: nowrap;
}
.rig__flow-chip--accent {
  color: #fff; background: var(--brand); border-color: var(--brand);
}

.rig__browser {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 1;
  transform: rotate(2deg) translateY(12px);
  transition: transform .35s ease;
}
.rig__browser:hover { transform: rotate(0) translateY(4px); }

.rig__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.rig__dots { display: inline-flex; gap: 4px; }
.rig__dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.rig__dots i:nth-child(1) { background: #FF5F57; }
.rig__dots i:nth-child(2) { background: #FEBC2E; }
.rig__dots i:nth-child(3) { background: #28C840; }
.rig__url {
  flex: 1; min-width: 0; padding: 3px 8px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); font-family: var(--font-mono);
  font-size: .64rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rig__site { position: relative; aspect-ratio: 16 / 11; background: #0a0b0f; }
.rig__site img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rig__site-cta {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 10px; background: var(--brand); color: #fff;
  font-size: .64rem; font-weight: 700; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(252,63,29,.4);
}

.bento-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bento-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.bento-card__desc { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 20px; flex: 1; }

.bento-card__list { margin: 0 0 24px; padding: 0; list-style: none; }
.bento-card__list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-strong); margin-bottom: 8px; }
.bento-card__list svg { color: var(--success); flex-shrink: 0; }

.bento-card__link { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 0.92rem; }
.bento-card__link:hover { gap: 10px; color: var(--brand-hover); }

/* =====================================================
   12. POPULAR TASKS CHIPS SECTION
   ===================================================== */
.tasks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.task-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: var(--transition-normal);
  cursor: pointer;
}

.task-chip:hover {
  border-color: var(--brand-border);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 18px rgba(252, 63, 29, 0.1);
}

.task-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* =====================================================
   13. TECHNICAL CASE STUDIES (Enterprise Analytics UI)
   ===================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.case-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 36px rgba(15, 23, 42, 0.08);
}

.case-card__tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-card__title { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }

.case-card__metrics {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.case-metric { text-align: center; }
.case-metric__val { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--text-strong); }
.case-metric__val--green { color: var(--success); }
.case-metric__label { font-size: 0.75rem; color: var(--text-muted); }

.case-card__desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }

/* Technical Case Studies Proof Accordion */
.case-proof-details {
  margin-top: 14px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

.case-proof-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
  user-select: none;
  transition: var(--transition-fast);
}

.case-proof-summary::-webkit-details-marker {
  display: none;
}

.case-proof-summary:hover {
  color: var(--brand-hover);
}

.case-proof-arrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.case-proof-details[open] .case-proof-arrow {
  transform: rotate(180deg);
}

.case-proof-body {
  margin-top: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
  animation: fadeIn 0.25s ease;
}

.case-proof-row {
  margin-bottom: 8px;
}

.case-proof-row:last-child {
  margin-bottom: 0;
}

.case-proof-row strong {
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  margin-right: 4px;
}

.case-proof-code {
  margin-top: 10px;
  padding: 8px 10px;
  background: #0F172A;
  color: #38BDF8;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  overflow-x: auto;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* =====================================================
   14. PROCESS — Featured Dark Brushed Aluminum Section
   ===================================================== */
body:not(.home-redesign) #process {
  background: var(--metal-dark-bg);
  color: #F8FAFC;
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

body:not(.home-redesign) #process .section-tag {
  background: rgba(252, 63, 29, 0.15);
  border-color: rgba(252, 63, 29, 0.35);
  color: #FF6A4D;
  box-shadow: none;
}

body:not(.home-redesign) #process .section-title { color: #FFFFFF; }
body:not(.home-redesign) #process .section-subtitle { color: #A0AEC0; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -9px; top: 30%; bottom: 30%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 0, 0, 0.4);
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #FFFFFF; }
.process-step__desc { font-size: 0.85rem; color: #CBD5E1; margin: 0; line-height: 1.5; }

/* Why Me Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition-normal);
}

.why-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.why-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.why-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.why-card__desc { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Tech Stack Grid */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.stack-col {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stack-col__title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.stack-col__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
  padding: 8px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition-normal);
}

.stack-item:hover {
  border-color: var(--brand-border);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.stack-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   16. PRICING SECTION
   ===================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pricing-card--featured {
  border: 2px solid var(--brand);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 40px rgba(252, 63, 29, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FC3F1D 0%, #E02F0F 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(252, 63, 29, 0.3);
}

.pricing-card__title { font-size: 1.3rem; margin-bottom: 6px; }

.pricing-card__price {
  margin: 14px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card__amount {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem);
  font-weight: 700;
  color: var(--text-strong);
}

.pricing-card__period { color: var(--text-muted); font-size: 0.9rem; }
.pricing-card__desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }

.pricing-card__features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.pricing-card__features svg { color: var(--success); flex-shrink: 0; }

/* =====================================================
   17. FAQ ACCORDION SECTION
   ===================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition-normal);
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 24px rgba(15, 23, 42, 0.05);
}

.faq-summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-strong);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

.faq-icon {
  font-size: 1.2rem;
  color: var(--brand);
  transition: var(--transition-fast);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* =====================================================
   18. FINAL FORM & FOOTER
   ===================================================== */
.cta-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--glass-shadow);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.cta-form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 0.88rem; font-weight: 700; color: var(--text-strong); }
.field__input {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--text-strong);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: var(--transition-normal);
}

.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02), 0 0 0 3px var(--brand-light);
}

.field__textarea { resize: vertical; min-height: 90px; }

/* Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 72px 0 32px;
  border-top: 1px solid #1E293B;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer__desc { max-width: 340px; font-size: 0.9rem; line-height: 1.6; }
.footer__title { color: #FFFFFF; font-size: 0.95rem; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: #FFFFFF; }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Floating Action Button (FAB) — Polished Liquid Glass Accent */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #FC3F1D 0%, #E02F0F 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 28px rgba(252, 63, 29, 0.45);
  transition: var(--transition-normal);
}

.fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 36px rgba(252, 63, 29, 0.55);
}

/* =====================================================
   21. RESPONSIVE IMPLEMENTATION & PERFORMANCE PASS
   ===================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .bento-grid, .cases-grid, .pricing-grid, .why-grid { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--featured { grid-column: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Performance optimization: reduce backdrop-filter on mobile */
  .nav, .tech-dashboard, .diag-banner, .hero__stats, .cta-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media (max-width: 640px) {
  .process-grid, .stack-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats .stat-card:not(:last-child)::after { display: none; }
  .hero__quickform { flex-direction: column; padding: 10px; }
  .hero__quickform input { width: 100%; text-align: center; }
  .hero__quickform .btn { width: 100%; }
}

/* 22. Scroll Reveal Animations & Guaranteed Content Visibility */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 23. Reduced Motion Fallback */
/* 24. Standardized Editorial Graphic Box (16:9) */
.editorial-graphic-box {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-top: 20px;
  background: var(--surface);
}

.editorial-graphic-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
