/* ================================================
   BRANDMAKERS — Главная страница (index.css)
   Стили специфичные для index.html
   ================================================ */

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  padding: calc(var(--bm-header-h) + 80px) 0 80px;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--bm-font-heading);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title em {
  color: var(--bm-orange);
  font-style: normal;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--bm-gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stat-value {
  font-family: var(--bm-font-heading);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--bm-gray);
}

.hero__media {
  position: relative;
}

.hero__video-wrap {
  position: relative;
  border-radius: var(--bm-radius-xl);
  overflow: hidden;
  background: var(--bm-dark);
  aspect-ratio: 9 / 16;
  max-height: 560px;
  box-shadow: var(--bm-shadow-xl);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: var(--bm-white);
  padding: 8px 14px;
  border-radius: var(--bm-radius);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__float-tag {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--bm-white);
  border-radius: var(--bm-radius);
  padding: 12px 16px;
  box-shadow: var(--bm-shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.hero__float-tag-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ===========================
   ECOSYSTEM / BENTO GRID
   =========================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Контент Фабрика — главная карточка */
.bento__content-factory {
  grid-column: span 7;
  background: var(--bm-dark-card);
  border-radius: var(--bm-radius-xl);
  padding: 36px;
  color: var(--bm-white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.bento__content-factory:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-xl);
}

.bento-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bento-card__icon {
  font-size: 28px;
  line-height: 1;
}

.bento-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 100px;
}

.bento-card__title {
  font-family: var(--bm-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bento-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.bento-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bento-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.bento-card__feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bm-orange);
  flex-shrink: 0;
}

/* AI-сотрудники — оранжевая карточка */
.bento__ai-employees {
  grid-column: span 5;
  background: var(--bm-orange);
  border-radius: var(--bm-radius-xl);
  padding: 36px;
  color: var(--bm-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
  text-decoration: none;
}

.bento__ai-employees:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-orange);
}

.bento__ai-employees .bento-card__tag {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

/* SEO/GEO + Ecom — вторая строка */
.bento__geo-seo {
  grid-column: span 4;
  background: var(--bm-white);
  border-radius: var(--bm-radius-xl);
  padding: 32px;
  border: 1px solid var(--bm-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--bm-dark);
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.bento__geo-seo:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-lg);
}

.bento__ecom {
  grid-column: span 4;
  background: var(--bm-dark);
  border-radius: var(--bm-radius-xl);
  padding: 32px;
  color: var(--bm-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.bento__ecom:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-xl);
}

.bento__enterprise {
  grid-column: span 4;
  background: var(--bm-bg);
  border-radius: var(--bm-radius-xl);
  padding: 32px;
  border: 1px solid var(--bm-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--bm-dark);
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.bento__enterprise:hover {
  background: var(--bm-white);
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-lg);
}

/* ===========================
   INDUSTRIES GRID
   =========================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition:
    transform var(--bm-dur) var(--bm-ease),
    box-shadow var(--bm-dur) var(--bm-ease),
    border-color var(--bm-dur) ease;
  text-decoration: none;
  color: var(--bm-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-card:hover {
  transform: translateY(-6px) rotateX(1deg) rotateY(-1deg);
  box-shadow: var(--bm-shadow-xl);
  border-color: var(--bm-orange);
}

.industry-card__emoji {
  font-size: 28px;
  line-height: 1;
}

.industry-card__title {
  font-family: var(--bm-font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.industry-card__desc {
  font-size: 13px;
  color: var(--bm-gray);
  line-height: 1.6;
  flex-grow: 1;
}

.industry-card__services {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.industry-card__service {
  font-size: 12px;
  color: var(--bm-gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.industry-card__service::before {
  content: '→';
  color: var(--bm-orange);
  font-size: 11px;
}

/* ===========================
   CASES (горизонтальный скролл)
   =========================== */
.cases-section {}

.cases-scroll {
  margin: 0 calc(-1 * var(--bm-container-pad));
  padding: 0 var(--bm-container-pad);
}

.case-card {
  width: 320px;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
  text-decoration: none;
  color: var(--bm-dark);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-lg);
}

.case-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.case-card__icon {
  font-size: 32px;
  line-height: 1;
}

.case-card__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bm-orange);
  background: rgba(255, 79, 0, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.case-card__title {
  font-family: var(--bm-font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.case-card__text {
  font-size: 13px;
  color: var(--bm-gray);
  line-height: 1.65;
  flex-grow: 1;
}

.case-card__result {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.06);
  padding: 6px 12px;
  border-radius: var(--bm-radius-sm);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

/* ===========================
   FOUNDER / TEAM SECTION
   =========================== */
.founder {
  background: var(--bm-dark-card);
  border-radius: var(--bm-radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.founder::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.founder__photo-wrap {
  position: relative;
  z-index: 1;
}

.founder__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--bm-radius-lg);
  border: 2px solid rgba(255,79,0,0.3);
}

.founder__photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--bm-radius-lg);
  border: 2px solid rgba(255,79,0,0.3);
  background: linear-gradient(135deg, rgba(255,79,0,0.1), rgba(255,79,0,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.founder__info {
  position: relative;
  z-index: 1;
  color: var(--bm-white);
}

.founder__name {
  font-family: var(--bm-font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.founder__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bm-orange);
  margin-bottom: 24px;
}

.founder__quote {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--bm-orange);
}

.founder__team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.founder__agent {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--bm-radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder__agent-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,79,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.founder__agent-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bm-white);
  margin-bottom: 2px;
}

.founder__agent-status {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.founder__agent-status .live-dot {
  color: #22c55e;
}

/* ===========================
   PROCESS STEPS
   =========================== */
.process-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-home__step {
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--bm-dur) var(--bm-ease), box-shadow var(--bm-dur) var(--bm-ease);
}

.process-home__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--bm-shadow-lg);
}

.process-home__num {
  font-family: var(--bm-font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,79,0,0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.process-home__title {
  font-family: var(--bm-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-home__text {
  font-size: 14px;
  color: var(--bm-gray);
  line-height: 1.65;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  overflow: hidden;
  transition: border-color var(--bm-dur) ease;
}

.faq-item.active {
  border-color: var(--bm-orange);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--bm-font-heading);
  font-size: 15px;
  font-weight: 600;
  gap: 16px;
  user-select: none;
}

.faq-item__q:hover {
  color: var(--bm-orange);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  background: var(--bm-orange);
  color: var(--bm-white);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-item__a {
  max-height: 300px;
}

.faq-item__a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--bm-gray);
  line-height: 1.7;
}

/* ===========================
   LEAD MAGNET
   =========================== */
.lead-magnet {
  background: linear-gradient(135deg, var(--bm-orange), #e64500);
  border-radius: var(--bm-radius-xl);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--bm-white);
}

.lead-magnet__content {
  max-width: 560px;
}

.lead-magnet__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.lead-magnet__title {
  font-family: var(--bm-font-heading);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.lead-magnet__text {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

.lead-magnet .btn--white {
  background: var(--bm-white);
  color: var(--bm-orange);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.lead-magnet .btn--white:hover {
  background: var(--bm-bg);
  transform: translateY(-2px);
}

/* ===========================
   CONTACT SECTION (главная)
   =========================== */
.contact-section {
  background: var(--bm-dark-card);
  border-radius: var(--bm-radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-section__info {
  color: var(--bm-white);
}

.contact-section__title {
  font-family: var(--bm-font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-section__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-section__perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-section__perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-section__perk-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--bm-radius-sm);
  background: rgba(255, 79, 0, 0.15);
  color: var(--bm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__media {
    order: -1;
  }

  .hero__video-wrap {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  .hero__float-tag {
    right: 0;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento__content-factory,
  .bento__ai-employees {
    grid-column: span 1;
  }

  .bento__geo-seo,
  .bento__ecom,
  .bento__enterprise {
    grid-column: span 1;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .founder__photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .founder__team {
    grid-template-columns: 1fr 1fr;
  }

  .process-home {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lead-magnet {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--bm-header-h) + 40px) 0 48px;
    min-height: auto;
  }

  .hero__stats {
    gap: 24px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento__content-factory,
  .bento__ai-employees,
  .bento__geo-seo,
  .bento__ecom,
  .bento__enterprise {
    grid-column: span 1;
  }

  .industries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .industry-card {
    padding: 20px 16px;
  }

  .case-card {
    width: 280px;
  }

  .founder {
    padding: 28px 24px;
  }

  .founder__team {
    grid-template-columns: 1fr;
  }

  .lead-magnet {
    padding: 32px 24px;
  }

  .contact-section {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}
