/* company.tpl — стили страницы компании (вынесено из templates/company.tpl) */

/* ═══════════════════════════════════════════════
   COMPANY GLASSMORPHISM — СВЕТЛАЯ ТЕМА
   ═══════════════════════════════════════════════ */

:root {
  --ink: #12203a;
  --muted: #5b6b85;
  --blue: #2f6bed;
  --violet: #7c5cff;
  --stroke: rgba(255, 255, 255, .85);
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --shadow: 0 10px 40px rgba(43, 74, 140, .08);
  --radius: 24px;
  --success: #15803d;
  --danger: #dc2626;
  --warning: #f59e0b;
  font-family: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  color: var(--ink);
  background: linear-gradient(165deg, #eef4ff 0%, #f4f1ff 45%, #eefaff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: rgba(47, 107, 237, .25); }

img { max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ═══ GLASS ═══ */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-strong {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(43, 74, 140, .12);
}

/* ═══ BACKGROUND BLOBS ═══ */
.bg-decor {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.b1 { width: 520px; height: 520px; background: #bcd4ff; top: -160px; left: -120px; }
.b2 { width: 460px; height: 460px; background: #d8ccff; top: 32%; right: -140px; }
.b3 { width: 420px; height: 420px; background: #c2f0ff; bottom: -160px; left: 28%; }

/* ═══ HERO ═══ */
.hero { padding: 22px 0 40px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.hero-logo-wrap { display: flex; align-items: center; gap: 20px; }

.hero-logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo img { width: 100%; height: 100%; object-fit: contain; }

.hero-logo-placeholder {
  font-size: 2rem; font-weight: 600;
  color: var(--muted); opacity: 0.5;
  display: flex; align-items: center; justify-content: center;
}

.hero-subtitle {
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(135deg, #12203a, #2f6bed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: 15px; color: var(--muted);
  margin-bottom: 16px; font-style: italic;
}

.hero-badges {
  display: flex; flex-wrap: wrap;
  gap: 10px; margin-bottom: 20px;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
}

.badge-verified {
  background: rgba(21, 128, 61, .12);
  border: 1px solid rgba(21, 128, 61, .25);
  color: var(--success);
}

.badge-rating {
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .25);
  color: var(--warning);
}

.badge-activity {
  background: rgba(47, 107, 237, .1);
  border: 1px solid rgba(47, 107, 237, .2);
  color: var(--blue);
}

.badge-online {
  background: rgba(21, 128, 61, .08);
  border: 1px solid rgba(21, 128, 61, .15);
  color: var(--success);
}

.hero-actions {
  display: flex; gap: 10px;
  flex-wrap: wrap; margin-bottom: 20px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit;
  font-weight: 500; font-size: 14px;
  padding: 10px 20px; border-radius: 14px;
  transition: all .25s; text-decoration: none;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 8px 20px rgba(64, 105, 255, .3);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(64, 105, 255, .45); transform: translateY(-1px); }

.btn-glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  color: var(--ink);
}

.btn-glass:hover { background: rgba(255, 255, 255, .8); }

.btn-soft {
  background: rgba(47, 107, 237, .1);
  color: var(--blue);
}

.btn-soft:hover { background: rgba(47, 107, 237, .18); }

.hero-contact { display: flex; flex-direction: column; gap: 8px; }

.contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
}

.contact-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255, 255, 255, .7);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue); font-size: 1rem;
}

.contact-label {
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px;
}

.contact-value { font-weight: 500; color: var(--ink); }
.contact-value a { color: var(--ink); text-decoration: none; }
.contact-value a:hover { color: var(--blue); }

/* ═══ HERO VISUAL ═══ */
.hero-visual {
  position: relative;
  padding: 32px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(47, 107, 237, .15), transparent 60%);
  border-radius: var(--radius);
}

.hero-center-icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 16px 48px rgba(64, 105, 255, .4);
  position: relative; z-index: 2;
  margin-bottom: 12px;
}

.hero-stats {
  position: absolute;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats .stat-label {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
  font-weight: 500;
}

.hero-stats .stat-value {
  font-size: 18px; font-weight: 600;
}

.stat-center { position: relative; z-index: 3; }

.stat-1 { top: 24px; left: 20px; }
.stat-2 { top: 40%; right: 20px; transform: translateY(-50%); }
.stat-3 { bottom: 24px; left: 20px; }

/* ═══ ГОРОДА ═══ */
.hero-cities {
  position: relative;
  z-index: 3;
  margin-top: 12px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid var(--stroke);
}

.hero-cities--placeholder {
  opacity: 0.7;
  border-style: dashed;
}

.hero-cities__title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
  margin-bottom: 6px;
}

.hero-cities__list {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.hero-cities__dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.hero-cities__dot-marker {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: city-pulse 2s infinite;
  box-shadow: 0 0 0 2px rgba(47, 107, 237, .2);
}

@keyframes city-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(47, 107, 237, .2); }
  50% { box-shadow: 0 0 0 6px rgba(47, 107, 237, .08); }
}

.hero-cities__dot-label {
  font-size: 11px;
  color: var(--muted);
}

.hero-cities__placeholder {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* ═══ NAVS ═══ */
.company-navs {
  margin-bottom: 24px;
}

/* ═══ SECTION ═══ */
.section { padding: 0 0 36px; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.section-title {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -.3px;
  margin: 0;
}

.section-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.section-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.section-link:hover { text-decoration: underline; }

.section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(47, 107, 237, .1);
  color: var(--blue);
  font-weight: 500;
  font-size: 13px;
}

/* ═══ STATS GRID ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-card .stat-number {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.stat-card .stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

/* ═══ DELIVERY & PAYMENT ═══ */
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dp-card { padding: 24px; }

.dp-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.dp-list { display: flex; flex-direction: column; gap: 10px; }

.dp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .5);
  border-radius: 12px;
  transition: background .25s;
}

.dp-item:hover { background: rgba(255, 255, 255, .75); }

.dp-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #fff;
}

.dp-name { font-weight: 500; font-size: 14px; color: var(--ink); }
.dp-desc { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ═══ CATEGORIES ═══ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.category-card {
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}

.category-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .75);
}

.category-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: var(--blue);
}

.category-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--ink);
}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-text p { color: var(--muted); margin-bottom: 14px; font-size: 14px; }

.about-descr {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px;
  background: rgba(255, 255, 255, .5);
  border-radius: 10px;
}

.about-feature .check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--success), #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: .75rem;
}

.about-image {
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* ═══ PORTFOLIO ═══ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.portfolio-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 32, 58, .85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity .3s;
  border-radius: 16px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══ REVIEWS ═══ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.review-card { padding: 20px; }

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  color: #fff;
}

.review-name { font-weight: 500; font-size: 14px; color: var(--ink); }
.review-date { font-size: 11px; color: var(--muted); }

.review-stars {
  color: var(--warning);
  margin-bottom: 8px;
  font-size: 13px;
}

.review-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.review-product {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-product a {
  color: var(--blue);
  text-decoration: none;
}

.review-product a:hover { text-decoration: underline; }

/* ═══ SOCIAL ═══ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.social-card {
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}

.social-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .8);
}

.social-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 8px;
  color: #fff;
}

.social-tg .social-icon { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.social-vk .social-icon { background: linear-gradient(135deg, #4C75A3, #3b5998); }
.social-max .social-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.social-yt .social-icon { background: linear-gradient(135deg, #FF0000, #CC0000); }
.social-insta .social-icon { background: linear-gradient(135deg, #f09433, #e6683c); }

.social-name { font-weight: 500; margin-bottom: 2px; color: var(--ink); }

/* ═══ FOOTER ═══ */
.company-footer {
  padding: 32px 0 24px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-brand img { width: 28px; height: 28px; border-radius: 50%; }

.footer-desc {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.company-footer h5 {
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
}

.footer-links a:hover { color: var(--blue); text-decoration: none; }

.footer-links i { font-size: .8rem; color: var(--blue); }

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--blue); }

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  max-width: 540px;
  width: 100%;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.modal p {
  color: var(--muted);
  margin-bottom: 16px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--stroke);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.modal-input:focus { border-color: var(--blue); }

/* ═══ GLASS PLACEHOLDER ═══ */
.glass-card-placeholder {
  padding: 32px;
}

.glass-card-placeholder h3 { font-weight: 500; }
.glass-card-placeholder .ml-2 { margin-left: .5rem; }

/* ═══ FOLLOW BUTTON ═══ */
.follow-btn {
  font-weight: 500;
  transition: all .25s;
}

.follow-btn--active {
  background: rgba(220, 38, 38, .08);
  color: var(--danger);
  border-color: rgba(220, 38, 38, .25);
}

/* ═══ SCROLL FADE-IN ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ PROMO ═══ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.promo-card {
  padding: 24px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.promo-card::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,237,.15), transparent 70%);
}
.promo-card h3 { font-weight: 500; font-size: 16px; margin: 0; line-height: 1.3; }
.promo-card p { margin: 0; color: var(--muted); font-size: 13px; }
.promo-exp { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ═══ EVENTS ═══ */
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-card {
  padding: 18px; display: flex; gap: 16px; align-items: center;
  transition: all .25s; cursor: default;
}
.event-card:hover { background: rgba(255,255,255,.75); transform: translateX(3px); }
.event-date {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex-shrink: 0; color: #fff;
}
.event-day { font-size: 20px; font-weight: 600; line-height: 1; }
.event-month { font-size: 10px; text-transform: uppercase; }
.event-info h4 { font-size: 15px; margin-bottom: 2px; font-weight: 500; }
.event-info p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.event-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.event-meta span { display: flex; align-items: center; gap: 3px; }

/* ═══ NEWS ═══ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; }
.news-card { overflow: hidden; cursor: default; transition: all .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(43,74,140,.14); }
.news-image { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-image img { transform: scale(1.06); }
.news-image--placeholder { background: linear-gradient(135deg, #dbeafe, #e0e7ff); display: flex; align-items: center; justify-content: center; }
.news-emoji { font-size: 3rem; color: var(--muted); opacity: .5; }
.news-content { padding: 14px; }
.news-tag { display: inline-block; padding: 2px 10px; background: rgba(47,107,237,.12); border-radius: 999px; font-size: 11px; color: var(--blue); font-weight: 500; margin-bottom: 6px; }
.news-content h4 { font-size: 14px; margin-bottom: 6px; font-weight: 500; line-height: 1.3; overflow: hidden; }
.news-content p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.news-meta { font-size: 11px; color: var(--muted); display: flex; gap: 8px; }

/* ═══ FAQ ═══ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 16px 20px; cursor: pointer; transition: background .2s; }
.faq-item:hover { background: rgba(255,255,255,.7); }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 14px; }
.faq-toggle { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: transform .25s; flex-shrink: 0; color: var(--muted); }
.faq-item.faq-open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s, margin-top .3s, padding .3s; color: var(--muted); font-size: 13px; line-height: 1.5; }
.faq-item.faq-open .faq-answer { max-height: 300px; margin-top: 10px; padding: 4px 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(18px, 5vw, 24px); }
  .hero-logo { width: 60px; height: 60px; }
  .section-title { font-size: clamp(16px, 4vw, 20px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card .stat-number { font-size: clamp(16px, 4vw, 24px); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-visual { min-height: 240px; }
  .hero-center-icon { width: 80px; height: 80px; font-size: 2rem; }
  .hero-stats { padding: 8px 12px; }
  .hero-stats .stat-value { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .stat-1 { top: 16px; left: 12px; }
  .stat-2 { top: 30%; right: 12px; transform: translateY(-50%); }
  .stat-3 { bottom: 16px; left: 12px; }
}

/* ==================== company_panel_navs.tpl (block 1 of 1) - extracted from templates/company_panel_navs.tpl ==================== */

	/* ── Навигация компании ── */
	.company-nav {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.7rem;
		/* padding-bottom: 0.5rem; */
	}

	.company-nav__link {
		display: inline-flex;
		align-items: center;
		padding: 0.35rem 1rem;
		font-size: 0.85rem;
		font-weight: 400;
		color: #555;
		background: #f5f5f5;
		/* border: 1px solid rgba(0,0,0,0.06); */
		border-radius: 8px;
		text-decoration: none;
		transition: all 0.2s ease;
		white-space: nowrap;
	}

	.company-nav__link:hover {
		color: #007AFF;
		background: #e8f4fd;
		border-color: #b0d4f1;
		text-decoration: none;
	}

	.company-nav__link--active {
		color: #fff;
		background: #007AFF;
		border-color: #007AFF;
		font-weight: 500;
	}

	.company-nav__link--active:hover {
		color: #fff;
		background: #0062cc;
		border-color: #0062cc;
	}

	.company-nav__alert {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		padding: 0.45rem 0.85rem;
		font-size: 0.8rem;
		font-weight: 500;
		color: #991b1b;
		background: #fef2f2;
		border: 1px solid #fecaca;
		border-radius: 8px;
		white-space: nowrap;
		/* margin-left: 0.5rem; */
	}

	.company-nav__alert i {
		color: #ef4444;
	}

	.company-nav__sort {
		padding: .5rem .3rem;
		font-size: 0.8rem;
		/* font-weight: 300; */
		color: #555;
		background: #f5f5f5;
		border: 1px solid #e8e8e8;
		border-radius: 8px;
		height: auto;
		line-height: 1.5;
		transition: all 0.2s ease;
	}

	.company-nav__sort:focus {
		border-color: #6bb7f5;
		box-shadow: 0 0 0 3px rgba(0,122,255,0.12);
		outline: none;
	}

	@media (max-width: 767.98px) {
		.company-nav {
			gap: 0.25rem;
		}

		.company-nav__link {
			font-size: 0.8rem;
			padding: 0.35rem 0.75rem;
			width: 100%;
			justify-content: center;
		}

		.company-nav__alert {
			width: 100%;
			justify-content: center;
			margin-left: 0;
			font-size: 0.75rem;
			padding: 0.35rem 0.75rem;
		}

		.company-nav__sort {
			width: 100%;
			margin-top: 0.25rem;
		}
	}
