/* ============================================
   06-responsive.css
   Мобильная адаптация
   Брейкпоинты: 1100px, 720px, 480px
   ============================================ */

/* ============================================
   ── 1100px: ПЛАНШЕТЫ ──
   ============================================ */
@media (max-width: 1100px) {

  /* Шапка */
  .an-header-inner { gap: 20px; }
  .an-nav { display: none; }
  .an-burger { display: flex; }
  .an-search { display: none; }

  /* Секции */
  .an-principles { grid-template-columns: repeat(2, 1fr); }
  .an-steps { grid-template-columns: 1fr; }
  .an-prod-split { grid-template-columns: 1fr; gap: 24px; }
  .an-prod-split-left { position: static; }
  .an-casting-board-grid,
  .an-tech-grid,
  .an-team-grid { grid-template-columns: repeat(2, 1fr); }
  .an-services,
  .an-tariffs { grid-template-columns: 1fr 1fr; }
  .an-h-tree { grid-template-columns: 1fr; gap: 32px; }
  .an-h-side { padding-top: 0; }
  .an-contacts { grid-template-columns: 1fr; }
  .an-quote { grid-template-columns: 1fr; gap: 0; }
  .an-quote img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    object-position: center 20%;
  }
  .an-quote blockquote { padding: 32px 28px; }
  .an-history { grid-template-columns: repeat(2, 1fr); }
  .an-history-line { display: none; }
  .an-history-card { padding-top: 20px; }
  .an-history-dot { display: none; }

  /* Общие .an-reklama-* */
  .an-reklama-grid { grid-template-columns: 1fr; gap: 24px; }
  .an-reklama-output-grid { grid-template-columns: 1fr; }
  .an-reklama-backstage { grid-template-columns: repeat(2, 1fr); }
  .an-reklama-brief-info { grid-template-columns: 1fr; }
  .an-tariffs.an-tariffs-3 { grid-template-columns: 1fr 1fr; }
  .an-reklama-reviews { grid-template-columns: 1fr 1fr; }
  .an-reklama-contacts { grid-template-columns: 1fr; }

  /* Локации */
  .an-locations-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================
   ── 720px: ТЕЛЕФОНЫ ──
   ============================================ */
@media (max-width: 720px) {

  /* База */
  .an-section,
  .an-hero-inner { padding-left: 16px; padding-right: 16px; }
  .an-layout { padding-left: 16px; padding-right: 16px; }

  /* HERO */
  .an-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
    align-items: start;
  }
  .an-hero-bg {
    background-position: center 30%;
    transform: none !important;
  }
  .an-hero-inner { padding: 0 16px; }
  .an-hero h1 {
    font-size: clamp(34px, 12vw, 56px);
    line-height: 1;
    margin-bottom: 14px;
  }
  .an-slogan {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .an-hero-actions { gap: 10px; margin-bottom: 28px; }
  .an-hero-actions .an-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 11px;
  }

  /* Статистика */
  .an-stats { grid-template-columns: repeat(2, 1fr); }
  .an-stat { padding: 16px 0; text-align: center; }
  .an-stat + .an-stat { border-left: 0; padding-left: 0; }
  .an-stat:nth-child(2n) { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 16px; }
  .an-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .an-stat b { font-size: 28px; }
  .an-stat span { font-size: 11px; }

  /* Якорное меню */
  .an-sticky { padding: 8px 12px; }
  .an-sticky-inner { gap: 4px; }
  .an-sticky-inner a { padding: 6px 10px; font-size: 10px; letter-spacing: 0.06em; }

  /* Секции */
  .an-section { padding: 56px 16px; }
  .an-sticky + .an-section { padding-top: 32px; }
  .an-h2 { font-size: clamp(24px, 6vw, 32px); }
  .an-lead { font-size: 15px; margin-bottom: 24px; }
  .an-num { display: none; }
  .an-about-block { margin-top: 36px; }
  .an-prod-h3 { font-size: 20px; }
  .an-prod-lead { font-size: 13px; }

  /* Схема артели */
  .an-hierarchy { padding: 24px 14px; border-radius: 12px; }
  .an-h-root { margin-bottom: 24px; }
  .an-h-root::after { height: 24px; bottom: -24px; }
  .an-h-tree { grid-template-columns: 1fr; gap: 24px; }
  .an-h-l1 { padding: 16px 20px; min-width: 0; width: 100%; font-size: 12px; }
  .an-h-l1 i { font-size: 24px; }
  .an-h-l1 strong { font-size: 16px; letter-spacing: 0.1em; }
  .an-h-l1 small { font-size: 9px; }
  .an-h-l2 { padding: 14px 18px; min-width: 0; width: 100%; }
  .an-h-l2 strong { font-size: 13px; }
  .an-h-l2 small { font-size: 9px; }
  .an-h-core-list { padding-left: 16px; gap: 8px; }
  .an-h-core-list .an-h-leaf::before { left: -18px; width: 16px; }
  .an-h-core-list .an-h-leaf { padding: 10px 12px; gap: 10px; }
  .an-h-core-list .an-h-leaf i { font-size: 18px; }
  .an-h-core-list .an-h-leaf strong { font-size: 11px; }
  .an-h-core-list .an-h-leaf small { font-size: 9px; }
  .an-h-side { padding-top: 0; gap: 8px; }
  .an-h-side-item { padding: 12px 14px; gap: 10px; }
  .an-h-side-item i { font-size: 18px; }
  .an-h-side-item strong { font-size: 11px; }
  .an-h-side-item small { font-size: 9px; }
  .an-h-node { padding: 10px 12px; }
  .an-h-node i { font-size: 18px; margin-bottom: 6px; }
  .an-h-node strong { font-size: 11px; }
  .an-h-node small { font-size: 9px; }
  .an-h-badge { font-size: 8px; padding: 2px 6px; top: -8px; left: 10px; }
  .an-h-note { font-size: 11px; margin-top: 24px; }

  /* Принципы */
  .an-principles { grid-template-columns: 1fr; gap: 12px; }
  .an-principle { padding: 20px 16px; }
  .an-principle-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .an-principle-icon i { font-size: 20px; }
  .an-principle h3 { font-size: 14px; }
  .an-principle p { font-size: 13px; }

  /* Цитата */
  .an-quote { grid-template-columns: 1fr; gap: 0; border-radius: 10px; margin-top: 32px; }
  .an-quote img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    object-position: center 15%;
  }
  .an-quote blockquote {
    padding: 20px 16px;
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.4;
  }
  .an-quote cite { font-size: 10px; margin-top: 12px; }

  /* Услуги */
  .an-services { grid-template-columns: 1fr; }
  .an-svc { padding: 20px 16px; min-height: auto; }
  .an-svc-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .an-svc-icon i { font-size: 22px; }
  .an-svc h3 { font-size: 14px; }
  .an-svc p { font-size: 12px; }
  .an-svc em { font-size: 11px; }

  /* Продакшн-мощь */
  .an-power-subnav { gap: 6px; margin-bottom: 32px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .an-power-subnav a { padding: 8px 14px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
  .an-prod-split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .an-prod-split-left { position: static; }

  /* Кастинг-борд */
  .an-casting-board { padding: 16px; border-radius: 12px; }
  .an-casting-board-head { padding-bottom: 12px; margin-bottom: 14px; }
  .an-casting-code { font-size: 10px; padding: 4px 8px; }
  .an-casting-dots i { width: 9px; height: 9px; }
  .an-casting-board-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .an-casting-sticker { padding: 14px 8px; }
  .an-casting-sticker strong { font-size: 10px; }
  .an-casting-sticker small { font-size: 8px; }
  .an-sticker-icon { font-size: 22px; margin-bottom: 6px; }
  .an-sticker-pin { width: 10px; height: 10px; top: -5px; }
  .an-casting-board-note { font-size: 10px; margin-top: 14px; }

  /* Техника */
  .an-tech-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .an-tech-card { padding: 14px 8px; }
  .an-tech-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .an-tech-icon i { font-size: 18px; }
  .an-tech-card h4 { font-size: 11px; margin-bottom: 4px; }
  .an-tech-card p { font-size: 10px; margin-bottom: 6px; }
  .an-tech-spec { font-size: 9px; padding: 2px 6px; }

  /* Команда */
  .an-team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .an-team-card { padding: 14px 8px; }
  .an-team-icon { font-size: 24px; margin-bottom: 6px; }
  .an-team-card h4 { font-size: 11px; margin-bottom: 4px; }
  .an-team-card p { font-size: 10px; }

  /* Пайплайн */
  .an-pipeline { gap: 10px; }
  .an-pipeline::before { left: 19px; }
  .an-pipeline-item { padding: 12px 14px; gap: 12px; border-radius: 8px; }
  .an-pipeline-num { width: 38px; height: 38px; font-size: 11px; }
  .an-pipeline-item h4 { font-size: 12px; }
  .an-pipeline-item p { font-size: 11px; line-height: 1.45; }

  /* Перебивки */
  .an-break { min-height: auto; padding: 60px 16px; }
  .an-break-bg { background-position: center 30%; transform: none !important; }
  .an-break-title {
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .an-break-title em { word-break: break-word; overflow-wrap: anywhere; }
  .an-break-kicker { font-size: 10px; letter-spacing: 0.24em; margin-bottom: 14px; }
  .an-break-text { font-size: 14px; line-height: 1.5; }

  /* Три шага */
  .an-steps { grid-template-columns: 1fr; gap: 14px; }
  .an-step-card { padding: 24px 18px; }
  .an-step-num { font-size: 44px; top: 12px; right: 18px; }
  .an-step-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .an-step-icon i { font-size: 20px; }
  .an-step-card h3 { font-size: 18px; }
  .an-step-card > p { font-size: 13px; }
  .an-step-tags span { font-size: 10px; padding: 3px 8px; }

  /* Онлайн-бриф */
  .an-brief { padding: 20px 16px; border-radius: 12px; }
  .an-brief-grid { grid-template-columns: 1fr; gap: 14px; }
  .an-field > span { font-size: 12px; }
  .an-field input,
  .an-field select,
  .an-field textarea { padding: 12px 14px; font-size: 14px; border-radius: 6px; }
  .an-brief-actions { gap: 12px; margin-top: 20px; flex-direction: column; align-items: stretch; }
  .an-brief-actions .an-btn { width: 100%; justify-content: center; }
  .an-brief-note { justify-content: center; text-align: center; }

  /* История */
  .an-history { grid-template-columns: 1fr; gap: 14px; padding-top: 0; margin-top: 20px; }
  .an-history-line { display: none; }
  .an-history-dot { display: none; }
  .an-history-card { padding: 20px 16px; text-align: left; }
  .an-history-year { font-size: 11px; padding: 3px 10px; margin-bottom: 12px; }
  .an-history-card h4 { font-size: 14px; }
  .an-history-card p { font-size: 12px; }

  /* Работы */
  .an-works { grid-template-columns: 1fr; gap: 12px; }
  .an-work { min-height: 200px; padding: 20px; }
  .an-work-body h3 { font-size: 16px; }
  .an-work-body p { font-size: 12px; }
  .an-work-body small { font-size: 9px; }

  /* Тарифы */
  .an-tariffs { grid-template-columns: 1fr; gap: 12px; }
  .an-tariff { min-height: auto; padding: 20px 16px; }
  .an-tariff h3 { font-size: 16px; }
  .an-tariff .price { font-size: 18px; }
  .an-tariff ul { font-size: 12px; }
  .an-tariff .an-btn { padding: 12px 20px; font-size: 11px; }

  /* Отзывы */
  .an-reviews { grid-template-columns: 1fr; gap: 12px; }
  .an-rev { padding: 20px 16px; border-radius: 8px; }
  .an-rev-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .an-rev-icon i { font-size: 22px; }
  .an-rev p { font-size: 14px; }
  .an-rev strong { font-size: 12px; }
  .an-rev span { font-size: 11px; }

  /* FAQ */
  .an-acc button { padding: 14px 16px; font-size: 14px; gap: 12px; }
  .an-acc .panel { font-size: 13px; line-height: 1.55; }
  .an-acc.open .panel { padding: 0 16px 16px; }

  /* Контакты */
  .an-contacts { grid-template-columns: 1fr; gap: 20px; padding: 20px 16px; border-radius: 10px; }
  .an-meta h3 { font-size: 18px; margin-bottom: 12px; }
  .an-meta p { font-size: 13px; margin-bottom: 8px; }
  .an-form input, .an-form select, .an-form textarea { padding: 12px 14px; font-size: 14px; }
  .an-form .an-btn { width: 100%; justify-content: center; }

  /* Вкладка слева */
  .an-sidebar-toggle {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 14px 8px;
    gap: 6px;
    border-radius: 0 10px 10px 0;
    font-size: 10px;
  }
  .an-sidebar-toggle-icon { font-size: 18px; }
  .an-sidebar-toggle-text { font-size: 10px; letter-spacing: 0.14em; }
  body.sidebar-open .an-sidebar-toggle { transform: translateY(-50%) translateX(-100%); }

  /* Боковые панели */
  .an-sidebar { width: 100%; max-width: 100%; }
  .an-sidebar-head { padding: 16px 18px; }
  .an-sidebar-title { font-size: 11px; }
  .an-sidebar-close { width: 32px; height: 32px; font-size: 16px; }
  .an-sidebar-body { padding: 8px 0 24px; }
  .an-sidebar-services .mod-articles a { padding: 12px 18px; font-size: 13px; }
  .an-sidebar-main .mod-menu > li > a { padding: 14px 18px; font-size: 14px; }
  .an-sidebar-main .mod-menu__sub a { padding: 9px 18px 9px 30px; font-size: 12px; }

  /* Шапка */
  .an-header-inner { padding: 0 16px; gap: 12px; }
  .an-logo { font-size: 14px; gap: 8px; }
  .an-logo-mark { width: 34px; height: 34px; font-size: 14px; }
  .an-burger { width: 36px; height: 36px; }
  .an-topbar-inner { font-size: 9px; padding: 0 12px; }
  .an-topbar-left { display: none; }
  .an-topbar-right { font-size: 9px; }

  /* Подвал скрыт */
  .an-footer,
  footer.an-footer,
  .an-footer .site-footer { display: none !important; }

  /* Общие .an-reklama-* */
  .an-reklama-list li { font-size: 13px; padding: 10px 12px 10px 32px; }
  .an-reklama-list li::before { left: 12px; top: 16px; width: 6px; height: 6px; }
  .an-reklama-output { padding: 20px 16px; }
  .an-reklama-output-item { font-size: 13px; padding: 12px 14px; }
  .an-reklama-output-item i { font-size: 18px; }
  .an-reklama-backstage { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .an-reklama-brief-info { gap: 10px; }
  .an-reklama-brief-info-item { padding: 14px 16px; }
  .an-reklama-brief-info-item i { font-size: 20px; }
  .an-tariffs.an-tariffs-3 { grid-template-columns: 1fr; }
  .an-reklama-reviews { grid-template-columns: 1fr; gap: 14px; }
  .an-reklama-review { padding: 20px 16px; }
  .an-reklama-video-placeholder i { font-size: 44px; }
  .an-reklama-video-placeholder p { font-size: 14px; }
  .an-reklama-video-placeholder small { font-size: 11px; }
  .an-reklama-contact-card { padding: 20px 16px; }
  .an-reklama-contact-icon { width: 48px; height: 48px; font-size: 22px; }
  .an-reklama-contact-value { font-size: 14px; }

  /* Локации */
  .an-locations-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .an-location-card { padding: 16px 12px; }
  .an-location-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 10px; }
  .an-location-card h4 { font-size: 11px; }
  .an-location-card p { font-size: 10px; }

  /* Школьный медиацентр — раскрывашка */
  .an-school-details summary { padding: 16px 18px; font-size: 13px; gap: 10px; flex-wrap: wrap; }
  .an-school-details summary .badge { font-size: 10px; padding: 3px 8px; }
  .an-school-details-body { padding: 20px 18px 24px; font-size: 13px; }
  .an-school-details-body h4 { font-size: 13px; margin: 20px 0 10px; }
}
/* ============================================
   ── 480px: МАЛЕНЬКИЕ ТЕЛЕФОНЫ ──
   ============================================ */
@media (max-width: 480px) {

  .an-section { padding: 40px 12px; }
  .an-layout { padding-left: 12px; padding-right: 12px; }

  .an-hero h1 { font-size: clamp(30px, 13vw, 44px); }
  .an-slogan { font-size: 15px; }
  .an-hero-actions .an-btn { padding: 12px 18px; font-size: 10px; }

  .an-stats { grid-template-columns: 1fr; }
  .an-stat { padding: 12px 0; text-align: center; }
  .an-stat + .an-stat,
  .an-stat:nth-child(2n) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .an-stat:nth-child(2) { border-top: 1px solid rgba(255,255,255,0.08); }
  .an-stat b { font-size: 24px; }

  .an-h2 { font-size: clamp(20px, 7vw, 26px); }
  .an-prod-h3 { font-size: 18px; }

  .an-break { min-height: auto; padding: 44px 14px; }
  .an-break-title { font-size: clamp(20px, 8vw, 30px); line-height: 1.15; }
  .an-break-kicker { font-size: 9px; letter-spacing: 0.2em; }
  .an-break-text { font-size: 13px; }

  .an-casting-board { padding: 12px; }
  .an-casting-board-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .an-casting-sticker { padding: 12px 6px; }
  .an-casting-sticker strong { font-size: 9px; }
  .an-casting-sticker small { font-size: 7px; }
  .an-sticker-icon { font-size: 18px; }

  .an-tech-grid,
  .an-team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .an-tech-card,
  .an-team-card { padding: 12px 6px; }
  .an-tech-icon { width: 36px; height: 36px; }
  .an-tech-icon i { font-size: 16px; }
  .an-tech-card h4 { font-size: 10px; }
  .an-tech-card p { font-size: 9px; }
  .an-tech-spec { font-size: 8px; padding: 2px 5px; }
  .an-team-icon { font-size: 20px; }
  .an-team-card h4 { font-size: 10px; }
  .an-team-card p { font-size: 9px; }

  .an-pipeline-num { width: 34px; height: 34px; font-size: 10px; }
  .an-pipeline::before { left: 17px; }
  .an-pipeline-item { padding: 10px 12px; gap: 10px; }
  .an-pipeline-item h4 { font-size: 11px; }
  .an-pipeline-item p { font-size: 10px; }

  .an-hierarchy { padding: 20px 10px; }
  .an-h-l1 { padding: 14px 16px; }
  .an-h-l1 i { font-size: 20px; }
  .an-h-l1 strong { font-size: 14px; }
  .an-h-l2 { padding: 12px 14px; }
  .an-h-core-list { padding-left: 12px; }
  .an-h-core-list .an-h-leaf::before { left: -14px; width: 12px; }
  .an-h-core-list .an-h-leaf { padding: 8px 10px; gap: 8px; }
  .an-h-core-list .an-h-leaf i { font-size: 16px; }
  .an-h-core-list .an-h-leaf strong { font-size: 10px; }
  .an-h-side-item { padding: 10px 12px; gap: 8px; }
  .an-h-side-item i { font-size: 16px; }

  .an-brief { padding: 16px 12px; }
  .an-field input,
  .an-field select,
  .an-field textarea { padding: 10px 12px; font-size: 13px; }

  .an-tariff { padding: 16px 12px; }
  .an-tariff h3 { font-size: 15px; }
  .an-tariff .price { font-size: 16px; }

  .an-rev { padding: 16px 12px; }
  .an-rev p { font-size: 13px; }

  .an-contacts { padding: 16px 12px; }
  .an-form input, .an-form select, .an-form textarea { padding: 10px 12px; font-size: 13px; }

  .an-sidebar-toggle { padding: 12px 6px; font-size: 9px; }
  .an-sidebar-toggle-icon { font-size: 16px; }
  .an-sidebar-toggle-text { font-size: 9px; }

  .an-header-inner { padding: 0 12px; }
  .an-logo { font-size: 13px; }
  .an-logo-mark { width: 30px; height: 30px; font-size: 12px; }

  .an-locations-grid { grid-template-columns: 1fr 1fr; }

  .an-school-details summary { font-size: 12px; padding: 14px 14px; }
  .an-school-details-body { padding: 16px 14px 20px; font-size: 12px; }
  .an-school-details-body h4 { font-size: 12px; }
}