/* ==========================================================================
   ZBSDISK.RU — Main Stylesheet
   БЭМ-методология, CSS Custom Properties, Mobile First
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg: #FFFFFF;
  --bg-alt: #F5F7F8;
  --text: #111111;
  --text-secondary: #5E646B;
  --border: #DDE1E4;
  --accent: #D60000;
  --accent-hover: #B80000;
  --accent-focus: rgba(214, 0, 0, 0.25);
  --white: #FFFFFF;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Sizing */
  --max-width: 1200px;
  --header-height: 72px;
  --btn-height: 52px;
  --radius: 8px;
  --radius-sm: 4px;

  /* Spacing (8px base) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 250ms ease;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-header: 0 1px 0 var(--border);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Focus Visible
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.h1,
h1 {
  font-size: clamp(28px, 5vw + 8px, 48px);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h2,
h2 {
  font-size: clamp(24px, 4vw + 4px, 36px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h3,
h3 {
  font-size: clamp(20px, 3vw + 4px, 28px);
  font-weight: var(--fw-medium);
  line-height: 1.3;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-small {
  font-size: 16px;
  line-height: 1.5;
}

.text-caption {
  font-size: 14px;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section__header {
  margin-bottom: var(--space-xl);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  box-shadow: var(--shadow-header);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: var(--fw-bold);
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--text);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__nav-link {
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--accent);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header__phone {
  font-weight: var(--fw-bold);
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
}

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

.header__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.header__messenger:hover {
  border-color: var(--accent);
}

.header__messenger svg {
  width: 18px;
  height: 18px;
}

.header__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.header__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header__status-dot--open {
  background-color: #1a9f4d;
}

.header__status-dot--closed {
  background-color: var(--accent);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  z-index: 110;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.header__burger--active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  z-index: 105;
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
}

.mobile-menu--active {
  display: flex;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-menu__link {
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--text);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
}

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

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: auto;
}

.mobile-menu__phone {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--text);
}

.mobile-menu__messengers {
  display: flex;
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--space-3xl) 0;
  background-color: var(--bg-alt);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 720px;
}

.hero__title {
  margin-bottom: 0;
}

.hero__desc {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.btn--phone svg {
  flex-shrink: 0;
}

/* Hide phone call button on desktop (tel: links trigger unwanted system dialogs) */
@media (pointer: fine) {
  .btn--phone {
    display: none;
  }
}

.hero__messengers {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.hero__messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.hero__messenger-link svg {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: var(--btn-height);
  padding: 0 var(--space-lg);
  font-weight: var(--fw-medium);
  font-size: 16px;
  line-height: 1;
  border-radius: var(--radius);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn--small {
  height: 40px;
  padding: 0 var(--space-md);
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  background-color: var(--bg);
}

.card__title {
  font-size: 18px;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xs);
}

.card__text {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --------------------------------------------------------------------------
   10. Service Cards
   -------------------------------------------------------------------------- */
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  background-color: var(--bg);
  transition: border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-card:hover {
  border-color: var(--accent);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.service-card__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.service-card__link {
  font-weight: var(--fw-medium);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   11. Warning Block (Что нельзя делать)
   -------------------------------------------------------------------------- */
.warning-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.warning-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.warning-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.warning-item__text {
  font-size: 16px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Symptoms
   -------------------------------------------------------------------------- */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.symptom-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.symptom-card__title {
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.symptom-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.symptom-card__list li {
  font-size: 16px;
  color: var(--text-secondary);
  padding-left: var(--space-sm);
  position: relative;
}

.symptom-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--border);
}

/* --------------------------------------------------------------------------
   13. Process Steps
   -------------------------------------------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background-color: var(--border);
}

.step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  position: relative;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  font-weight: var(--fw-bold);
  font-size: 18px;
  color: var(--text-secondary);
  background-color: var(--bg);
  z-index: 1;
}

.step__content {
  padding-top: var(--space-xs);
}

.step__title {
  font-weight: var(--fw-medium);
  font-size: 18px;
  margin-bottom: 6px;
}

.step__desc {
  color: var(--text-secondary);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   14. Calculator
   -------------------------------------------------------------------------- */
.calc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  background-color: var(--bg);
}

.calc__title {
  margin-bottom: var(--space-md);
}

.calc__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.calc__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.calc__label {
  font-weight: var(--fw-medium);
  font-size: 16px;
}

.calc__select {
  height: 48px;
  padding: 0 var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg);
  font-size: 16px;
  color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235E646B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.calc__select:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.calc__result {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background-color: var(--bg-alt);
  border-radius: var(--radius);
  display: none;
}

.calc__result--visible {
  display: block;
}

.calc__result-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.calc__result-value {
  font-size: 28px;
  font-weight: var(--fw-bold);
  color: var(--text);
}

.calc__result-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.calc__result-custom {
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  font-weight: var(--fw-medium);
  font-size: 16px;
  text-align: left;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--transition-fast);
}

.faq-item__question:hover {
  background-color: var(--bg-alt);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-secondary);
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item__answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. No Data No Fee
   -------------------------------------------------------------------------- */
.ndnf {
  text-align: center;
  padding: var(--space-xl);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.ndnf__title {
  font-size: clamp(20px, 3vw + 4px, 28px);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.ndnf__text {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   17. Price Table
   -------------------------------------------------------------------------- */
.price-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table__head {
  background-color: var(--bg-alt);
}

.price-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--border);
}

.price-table__row:last-child {
  border-bottom: none;
}

.price-table__cell {
  padding: var(--space-sm) var(--space-md);
  font-size: 16px;
}

.price-table__head .price-table__cell {
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  font-size: 14px;
}

.price-table__cell--price {
  white-space: nowrap;
  font-weight: var(--fw-medium);
  text-align: right;
}

/* --------------------------------------------------------------------------
   18. Probability Block
   -------------------------------------------------------------------------- */
.probability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.probability-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.probability-card__title {
  font-weight: var(--fw-medium);
  font-size: 16px;
  margin-bottom: var(--space-xs);
}

.probability-card__bar {
  height: 8px;
  background-color: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.probability-card__fill {
  height: 100%;
  border-radius: 4px;
  background-color: var(--accent);
  transition: width var(--transition-slow);
}

.probability-card__value {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   19. Contact Form
   -------------------------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 560px;
}

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

.form__label {
  font-size: 16px;
  font-weight: var(--fw-medium);
}

.form__label--required::after {
  content: ' *';
  color: var(--accent);
}

.form__input,
.form__textarea {
  height: 48px;
  padding: 0 var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--text);
  background-color: var(--bg);
  transition: border-color var(--transition-fast);
}

.form__textarea {
  height: 120px;
  padding: var(--space-sm) var(--space-md);
  resize: vertical;
}

.form__input:focus-visible,
.form__textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form__input--error,
.form__textarea--error {
  border-color: var(--accent);
}

.form__error {
  font-size: 14px;
  color: var(--accent);
  display: none;
}

.form__error--visible {
  display: block;
}

.form__consent {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.form__checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form__consent-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(214, 0, 0, 0.4);
  text-underline-offset: 2px;
}

.form__consent-link:hover {
  text-decoration-color: var(--accent);
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-alt);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  font-weight: var(--fw-bold);
  font-size: 20px;
  color: var(--text);
}

.footer__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer__column-title {
  font-weight: var(--fw-medium);
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

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

.footer__link {
  font-size: 16px;
  color: var(--text);
}

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

.footer__contact {
  font-size: 16px;
  color: var(--text);
}

.footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal-link {
  font-size: 14px;
  color: var(--text-secondary);
}

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

/* --------------------------------------------------------------------------
   21. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: var(--space-md) 0;
  font-size: 14px;
}

.breadcrumbs__item {
  color: var(--text-secondary);
}

.breadcrumbs__link {
  color: var(--text-secondary);
}

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

.breadcrumbs__separator {
  color: var(--border);
}

/* --------------------------------------------------------------------------
   22. Cookie Banner
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-md);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie--visible {
  transform: translateY(0);
}

.cookie__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie__text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(214, 0, 0, 0.4);
}

.cookie__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   23. Tech Base Block
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.tech-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: var(--space-sm);
}

.tech-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.tech-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-card__title {
  font-weight: var(--fw-medium);
  font-size: 16px;
}

.tech-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   24. SEO Block
   -------------------------------------------------------------------------- */
.seo-block {
  padding: var(--space-xl) 0;
}

.seo-block__content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.seo-block__content p {
  margin-bottom: var(--space-sm);
}

.seo-block__content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   25. Request Form Block
   -------------------------------------------------------------------------- */
.request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.request__info {
  padding-right: var(--space-lg);
}

.request__desc {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.request__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.request__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.request__contact svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

.request__note {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.request__note p {
  margin-bottom: 4px;
}

.request__note p:last-child {
  margin-bottom: 0;
}

.request__form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  background-color: var(--bg);
}

/* --------------------------------------------------------------------------
   25. 404 Page
   -------------------------------------------------------------------------- */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  padding: var(--space-xl);
}

.page-404__code {
  font-size: 120px;
  font-weight: var(--fw-bold);
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-404__title {
  font-size: 24px;
  margin-bottom: var(--space-sm);
}

.page-404__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.page-404__links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   26. Legal Pages
   -------------------------------------------------------------------------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.legal h1 {
  margin-bottom: var(--space-lg);
}

.legal h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal ul {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  list-style: disc;
}

.legal ul li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 56px;
  }

  .header__nav {
    display: none;
  }

  .header__contacts {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .request {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .request__info {
    padding-right: 0;
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero {
    padding: var(--space-xl) 0;
  }

  .hero__desc {
    font-size: 18px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__messengers {
    gap: var(--space-sm);
  }

  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .request {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .request__info {
    padding-right: 0;
  }

  .request__form {
    padding: var(--space-md);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie__actions {
    width: 100%;
  }

  .cookie__actions .btn {
    flex: 1;
  }

  .steps::before {
    left: 15px;
  }

  .step__number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .price-table__row {
    grid-template-columns: 1fr;
  }

  .price-table__cell--price {
    text-align: left;
    padding-top: 0;
  }

  .form {
    max-width: 100%;
  }

  .ndnf {
    padding: var(--space-md);
  }

  .calc {
    padding: var(--space-md);
  }

  .page-404__code {
    font-size: 80px;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .container {
    padding: 0 20px;
  }
}
