@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Новая современная палитра: глубокий темный фон */
  --bg-main: #0b0f19;
  --bg-secondary: #131a2a;
  
  /* Эффект стекла */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);
  
  /* Акцентный цвет (замена желтому) - Электрический синий */
  --accent: #3b82f6; 
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.4);
  
  /* Текст */
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  
  /* Цвета ниш (оставили как просил) */
  --n-repair: #f2731d; 
  --n-wash: #2fb8d6; 
  --n-tire: #e6483a; 
  --n-parts: #6fbf5e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[x-cloak] { display: none !important; }

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

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

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }
.text-center { text-align: center; }

/* Фоновые пятна для эффекта стекла */
.glass-bg-blob {
  position: absolute;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
  border-radius: 50%;
  pointer-events: none;
}
.blob-1 { top: -100px; left: -100px; width: 400px; height: 400px; background: var(--accent); }
.blob-2 { top: 40%; right: -150px; width: 500px; height: 500px; background: rgba(139, 92, 246, 0.3); } /* Легкий фиолетовый оттенок для глубины */

/* Утилита Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Кнопки */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--glass-hover); border-color: var(--text-dim); }

/* Topbar */
.topbar {
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px;}
.logo span { color: var(--accent); }
.logo a { color: var(--text-main); text-decoration: none; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); border: 1px solid var(--glass-border); padding: 4px 12px; border-radius: 100px; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
h1 { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 0 auto; max-width: 800px; }
h1 em { font-style: normal; color: var(--accent); background: linear-gradient(90deg, #3b82f6, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 24px auto; max-width: 600px; color: var(--text-dim); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.hero-note { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }

/* Sections */
.section { padding: 60px 0; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.section-head.text-center { align-items: center; }
h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 28px; letter-spacing: 0.5px; }
.section-num { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }

/* Pain Block */
.pain-block { padding: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.feat-card { text-align: left; }
.feat-icon { font-size: 32px; margin-bottom: 16px; }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* Categories (Niches) - ОБВОДКА ПО ЦВЕТАМ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-item {
  padding: 30px 20px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
/* Индивидуальное свечение для ниш */
.cat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--c);
  box-shadow: 0 0 15px var(--c);
}
.cat-item:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px 24px; position: relative; }
.step-num { font-family: 'Oswald', sans-serif; font-size: 40px; font-weight: 700; color: rgba(255,255,255,0.05); position: absolute; top: 10px; right: 20px; }
.step h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.flag { border-color: var(--accent); box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; }
.plan-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 20px; }
.plan-price { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 700; color: #fff; }
.plan-price span { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.plan-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.plan-note { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }

/* СTA Block */
.cta-block { padding: 50px 20px; border-color: rgba(59, 130, 246, 0.3); background: rgba(59, 130, 246, 0.05); }

/* Forms & Inputs (Стили для /example и админки) */
.field-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 8px; display: block; }
.field-input, .field-textarea { 
  width: 100%; 
  background: rgba(0,0,0,0.2); 
  border: 1px solid var(--glass-border); 
  border-radius: 10px; 
  color: var(--text-main); 
  padding: 16px; 
  font-family: 'Manrope', sans-serif; 
  font-size: 15px; 
  margin-bottom: 24px; 
  transition: all 0.3s;
}
.field-textarea { resize: vertical; min-height: 100px; }
.field-input:focus, .field-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: rgba(0,0,0,0.4); }
.field-input::placeholder, .field-textarea::placeholder { color: #475569; }

/* Форма на /example */
.form-card { max-width: 500px; margin: 0 auto 20px auto; padding: 40px; }

/* Выбор ниши в форме (радиокнопки) */
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.niche-opt {
  position: relative; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); border-radius: 10px;
  padding: 16px 10px; cursor: pointer; font-size: 14px; font-weight: 600; text-align: center; transition: all 0.2s;
}
.niche-opt input { position: absolute; opacity: 0; pointer-events: none; }
.niche-opt:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.niche-opt:has(input:checked) {
  border-color: var(--niche-color, var(--accent));
  box-shadow: 0 0 15px rgba(255,255,255,0.05), inset 0 0 0 1px var(--niche-color, var(--accent));
}

/* Footer */
footer { padding: 40px 0; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--glass-border); background: var(--bg-main); }
footer span { color: var(--text-main); font-weight: 600; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media(max-width: 860px) {
  .features-grid, .steps-grid, .plans { grid-template-columns: 1fr; gap: 20px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
}

@media(max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  h1 { font-size: 28px; }
  .form-card { padding: 24px 20px; }
  .glass-panel { border-radius: 12px; }
}





/* ============================================================
   BUILDER.CSS - ВЫДЕЛЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ БИЛДЕРА
   Синхронизировано с новыми переменными из styles.css
   ============================================================ */

/* ---------- Builder Layout ---------- */
.builder-grid,
.builder-controls,
.mobile-form-tabs {
  min-width: 0;
}

.builder-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

@media(max-width: 900px) {
  .builder-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 901px) {
  .builder-preview {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

/* ---------- Мобильные вкладки ---------- */
.mobile-form-tabs {
  display: none;
  min-width: 0;
}

.mobile-form-tab {
  flex: 0 0 auto;
  width: max-content;
  padding: 9px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-dim);
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.2s ease;
}

.mobile-form-tab.active {
  border-color: var(--accent);
  color: var(--text-main);
  background: var(--glass-hover);
}

@media(max-width: 900px) {
  .builder-controls {
    min-width: 0;
    width: 100%;
  }
  .mobile-form-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 0 10px;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    box-sizing: border-box;
  }
  .mobile-form-tab {
    flex: 0 0 auto;
  }
  .mobile-form-tabs::-webkit-scrollbar {
    display: none;
  }
  .builder-panel {
    display: none;
  }
  .builder-panel.panel-active {
    display: block;
  }
}

/* ---------- Theme Picker ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media(max-width: 520px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-card { border: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); border-radius: 10px; padding: 12px; cursor: pointer; transition: all 0.15s ease; }
.theme-card:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.theme-card.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-swatch { height: 34px; border-radius: 6px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 6px; margin-bottom: 8px; }
.theme-swatch span { width: 14px; height: 14px; border-radius: 100px; display: block; }
.theme-name { font-size: 12.5px; font-weight: 700; }
.theme-hint { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Services List ---------- */
.services-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.btn-mini { background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); color: var(--text-main); border-radius: 7px; padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.15s ease; }
.btn-mini:hover { border-color: var(--accent); background: rgba(255,255,255,0.05); }
.services-empty { color: var(--text-dim); font-size: 13px; padding: 14px 0; text-align: center; font-family: 'JetBrains Mono', monospace; }
.service-list { display: flex; flex-direction: column; }
.service-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--glass-border); }
.service-row:last-child { border-bottom: none; }
.service-row-name { font-weight: 700; font-size: 13.5px; }
.service-row-price { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.service-row-actions { display: flex; gap: 6px; }
.service-row-actions button { background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); color: var(--text-dim); width: 28px; height: 28px; border-radius: 6px; cursor: pointer; font-size: 13px; transition: all 0.15s ease; }
.service-row-actions button:hover { border-color: var(--accent); color: var(--text-main); }

/* ---------- Checkbox & Schedule ---------- */
.schedule-toggles { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--glass-border); }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 14px; user-select: none; }
.checkbox-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.checkbox-row input[type=checkbox]:disabled { cursor: not-allowed; opacity: 0.5; }
.schedule-toggles .checkbox-row { margin-bottom: 8px; }
.schedule-toggles .checkbox-row:last-child { margin-bottom: 0; }

.schedule-list { display: flex; flex-direction: column; gap: 4px; }
.schedule-row { display: flex; flex-direction: column; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--glass-border); }
.schedule-row:last-child { border-bottom: none; }
.schedule-row-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.schedule-row-break { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-left: 36px; }
.schedule-day { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; width: 56px; flex-shrink: 0; cursor: pointer; }
.schedule-day input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.schedule-times { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.schedule-time { width: 110px; margin-bottom: 0 !important; padding: 9px 10px !important; font-size: 13px !important; }
.schedule-dash { color: var(--text-dim); }
.schedule-break-toggle { margin: 0 !important; font-size: 10px !important; font-weight: 600 !important; color: var(--text-dim); }
.schedule-off-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }

/* ---------- Modals ---------- */
.local-modal-overlay,
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 20px;
}
.modal-box { background: var(--bg-secondary); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; max-width: 380px; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.modal-box-sm { max-width: 320px; }
.modal-title { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 18px; margin-bottom: 18px; color: #fff; }
.modal-text { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.modal-actions .btn-ghost { flex: 1; text-align: center; display: flex; align-items: center; justify-content: center; }
.modal-actions .btn-primary { flex: 1; }
.modal-actions .btn-danger { flex: 1; background: #ef4444; color: #fff; border: none; border-radius: 10px; padding: 12px; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 14.5px; cursor: pointer; transition: all 0.2s; }
.modal-actions .btn-danger:hover { background: #dc2626; transform: translateY(-2px); }

.field-error { color: #ef4444; font-size: 11.5px; margin-top: -16px; margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; }
.price-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; margin-bottom: 6px; }
.field-select { background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--text-main); padding: 0 12px; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 14px; outline: none; transition: all 0.3s; }
.field-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: rgba(0,0,0,0.4); }

.modal-enter { transition: opacity .2s ease, transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-enter-start { opacity: 0; transform: scale(0.95) translateY(10px); }
.modal-enter-end { opacity: 1; transform: scale(1) translateY(0); }

/* ---------- Live Preview Phone ---------- */
.preview-caption { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim);}

/* Рамка смартфона */
.b-phone-frame {
  background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 36px; padding: 14px; max-width: 340px; width: 100%; margin: 0 auto; position: relative;
  box-sizing: border-box;
}

/* Экран смартфона */
.b-phone-screen {
  height: 650px; max-height: calc(100vh - 150px); min-height: 480px;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none;
  border-radius: 24px; position: relative;
  display: flex; flex-direction: column; transition: background .2s, color .2s;
}
.b-phone-screen::-webkit-scrollbar { display: none; }
.b-phone-screen > * { flex-shrink: 0; }

/* Внутренности экрана */
.b-header { padding: 36px 20px 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid; }
.b-brand { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.b-city { font-family: 'JetBrains Mono', monospace; font-size: 10px; }

.b-hero { padding: 24px 20px 20px; color: #fff; transition: background .2s; }
.b-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.9; margin-bottom: 8px; }
.b-title { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.15; }
.b-offer { 
  margin-top: 8px; 
  font-size: 12.5px; 
  opacity: 0.95; 
  line-height: 1.5; 
  white-space: pre-line;
}

.b-actions { margin-top: 18px; padding: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.b-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.b-actions-row.single { grid-template-columns: 1fr; }

.b-cta-btn, .b-phone-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: #fff; color: #1b1b1d; border-radius: 7px; padding: 10px 4px; text-decoration: none; min-height: 42px;
  cursor: pointer; transition: opacity 0.2s;
}
.b-cta-btn:active, .b-phone-btn:active { opacity: 0.8; }
.b-cta-btn { font-weight: 700; font-size: 11px; text-transform: uppercase; font-family: 'Oswald', sans-serif; letter-spacing: 0.3px; white-space: nowrap; }
.b-phone-number { font-weight: 700; font-size: 11px; font-family: 'JetBrains Mono', monospace; line-height: 1.3; white-space: nowrap; letter-spacing: -0.3px; }
.b-phone-comment { font-size: 9px; color: #6b6c6e; margin-top: 1px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.b-map-wrapper { margin-top: 14px; border-radius: 8px; overflow: hidden; height: 160px; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Tabs UI */
.b-tabs-container {
  display: flex; gap: 6px; padding: 12px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border-bottom: 1px solid;
}
.b-tabs-container::-webkit-scrollbar { display: none; }
.b-tab-pill {
  padding: 6px 12px; border: 1px solid; border-radius: 6px; font-family: 'Manrope', sans-serif; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3px; cursor: pointer; white-space: nowrap; transition: all 0.2s;
}

.b-tabs { display: flex; border-top: 1px solid; padding: 0 18px; }
.b-tab { padding: 11px 0; margin-right: 18px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; opacity: 0.5; cursor: pointer; border-bottom: 2px solid transparent; }
.b-tab.active { opacity: 1; border-color: currentColor; }
.b-tab-panel { padding: 20px; min-height: 150px; }

.b-services-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.b-service-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid; font-size: 13px; font-weight: 600; }
.b-service-row:last-child { border-bottom: none; }

.b-location-address { font-weight: 700; font-size: 13.5px; line-height: 1.4; }
.b-location-comment { font-size: 12px; line-height: 1.5; margin-top: 6px; }
.b-location-map-stub { margin-top: 14px; border: 1px dashed; border-radius: 8px; padding: 22px 10px; text-align: center; font-size: 11px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.5px; }

.b-schedule-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid; font-size: 12.5px; }
.b-schedule-row:last-child { border-bottom: none; }
.b-schedule-day { font-weight: 700; width: 28px; flex-shrink: 0; }

.b-contact { padding: 14px 18px 18px; border-top: 1px solid; font-size: 12px; line-height: 1.6; }
.b-contact-line { font-weight: 600; }
.b-contact-comment { font-weight: 400; opacity: 0.85; margin-top: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--bg-secondary); border: 1px solid var(--glass-border); border-radius: 12px;
  padding: 14px 20px 12px; min-width: 240px; max-width: 90vw;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05); z-index: 100000; overflow: hidden;
}
.toast-text { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 10px; text-align: center; }
.toast-bar { height: 3px; background: var(--accent); border-radius: 3px; width: 100%; box-shadow: 0 0 10px var(--accent-glow); }

/* ---------- Utility / Forms ---------- */
.form-errors {
  background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; border-radius: 10px; padding: 14px 16px;
  margin-bottom: 20px; font-size: 13px; color: #fca5a5;
}
.form-errors ul { padding-left: 18px; }
.form-errors li { margin-bottom: 4px; }
.form-errors li:last-child { margin-bottom: 0; }

/* ---------- Responsive Overrides ---------- */
@media(max-width: 640px) {
  .builder-grid { gap: 14px; }
  .builder-controls { gap: 12px; }
  .form-card.builder-panel { padding: 15px 8px; margin-bottom: 12px; }
}

@media(max-width: 480px) {
  .schedule-time { width: 88px; font-size: 12px !important; padding: 8px !important; }
  .schedule-day { width: 44px; }
  .schedule-row { gap: 6px; }
  .schedule-row-break { padding-left: 0; }
  .local-modal-overlay, .modal-overlay { padding: 14px; }
  .modal-box { padding: 20px; max-height: 88vh; overflow-y: auto; }
}

@media(max-width: 400px) {
  .b-phone-number { font-size: 11px; }
  .b-cta-btn, .b-phone-btn { padding: 6px; min-height: 38px; }
}

@media(max-width: 360px) {
  .schedule-time { width: 78px; }
  .price-row { grid-template-columns: 78px 1fr; }
}