/* ==========================================================================
   BRAND CARDS (Home & Landing)
   ========================================================================== */
.brand-section { background: #f5faff; padding-top: 58px; padding-bottom: 64px; }
.brand-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; align-items: start; }
.brand-card { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); transition: transform .2s; }
.brand-card:hover { transform: translateY(-4px); }
.brand-card-logo { width: 154px; height: 154px; flex: 0 0 154px; border-radius: 24px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; overflow: hidden; box-shadow: 0 8px 22px rgba(24,35,75,.10); }
.brand-card h3 { font-size: 21px; line-height: 1.2; margin: 0; color: #0d1539; font-weight: 800; }
.brand-card p, .brand-card-arrow { display: none; }

/* Логотипы брендов */
.brand-wb .brand-card-logo { background: linear-gradient(145deg,#ec00a8,#7424e8); font-size: 52px; letter-spacing: -3px; }
.brand-la .brand-card-logo { background: #050505; font-size: 27px; letter-spacing: -1.8px; }
.brand-dm .brand-card-logo { background: #0876e8; font-size: 19px; line-height: 1.05; position: relative; }
.brand-dm .brand-card-logo b { font-weight: 900; max-width: 125px; position: relative; z-index: 2; }
.dm-logo i { position: absolute; top: 28px; left: 35px; width: 14px; height: 14px; background: #f23f43; border-radius: 4px; box-shadow: 19px 0 #f5c51b, 38px 0 #21a84a, 57px 0 #4bb8e8; }
.brand-men .brand-card-logo { background: #0b122b; position: relative; color: #fff; overflow: hidden; }
.brand-men .men-logo:before { content: ''; position: absolute; left: 50%; top: 27px; width: 88px; height: 58px; transform: translateX(-50%); background: linear-gradient(125deg,transparent 0 25%,#fff 26% 43%,transparent 44%), linear-gradient(55deg,transparent 0 47%,#2b82ee 48% 65%,transparent 66%); }
.brand-men .men-logo:after { content: 'Men'; position: absolute; left: 0; right: 0; bottom: 26px; font-size: 29px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.brand-promo .brand-card-logo { background: #ff123d; position: relative; font-size: 0; }
.brand-promo .promo-logo:before { content: ''; position: absolute; left: 50%; top: 50%; width: 92px; height: 58px; transform: translate(-50%,-50%) rotate(-8deg); border: 6px solid #fff; border-radius: 10px; box-sizing: border-box; }
.brand-promo .promo-logo:after { content: '%'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-54%); font-size: 48px; font-weight: 900; color: #fff; line-height: 1; }

/* ==========================================================================
   CHANNELS BLOCK (Bottom)
   ========================================================================== */
.channels { background: #fff; padding-top: 38px; padding-bottom: 64px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.channel-card { position: relative; min-height: 190px; border: 0; border-radius: 26px; padding: 24px 26px; display: grid; grid-template-columns: 128px 1fr 62px; align-items: center; gap: 20px; color: #fff; overflow: hidden; box-shadow: 0 12px 28px rgba(28,33,89,.12); text-decoration: none; }
.channel-card.telegram { background: linear-gradient(135deg,#0284c7 0%,#0369a1 100%); }
.channel-card.max { background: linear-gradient(135deg,#5b21b6 0%,#4c1d95 100%); }
.channel-card:hover { box-shadow: 0 16px 34px rgba(28,33,89,.17); transform: translateY(-2px); }
.channel-icon { width: 102px; height: 102px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); color: #fff; font-size: 0; }
.telegram-icon svg { width: 64px; height: 64px; fill: #fff; }
.channel-card h3 { margin: 0; color: #fff; font-size: 34px; line-height: 1.1; font-weight: 800; }
.channel-card p { margin: 9px 0 0; color: #fff; font-size: 16px; line-height: 1.35; max-width: 330px; }
.channel-arrow { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #0284c7; display: flex; align-items: center; justify-content: center; font-size: 39px; line-height: 1; font-weight: 300; }
.max .channel-arrow { color: #5b21b6; }
.channel-card:after { content: ''; position: absolute; left: 154px; top: 30px; bottom: 30px; width: 2px; background: rgba(255,255,255,.7); }

/* MAX Icon */
.max-icon { position: relative; border-radius: 50%; background: rgba(255,255,255,.18); }
.max-icon:before { content: ''; position: absolute; width: 68px; height: 54px; border: 4px solid rgba(255,255,255,.9); border-radius: 18px; left: 50%; top: 50%; transform: translate(-50%,-48%); box-sizing: border-box; }
.max-icon:after { content: ''; position: absolute; width: 13px; height: 13px; border-left: 4px solid rgba(255,255,255,.9); border-bottom: 4px solid rgba(255,255,255,.9); left: 31px; bottom: 19px; transform: skew(-20deg) rotate(-12deg); }
.max-icon span { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1; white-space: nowrap; }

/* MEN Custom Banner */
.men-channel-card { background: linear-gradient(135deg,#071329,#0b56c7); color: #fff; border-radius: 28px; padding: 32px; text-align: center; }
.men-channel-card h2, .men-channel-card p { color: #fff; }
.men-channel-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   MEDIA (Channels)
   ========================================================================== */
@media (max-width: 1080px) {
  .brand-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  .channel-card { grid-template-columns: 112px 1fr 58px; padding: 22px; }
  .channel-card:after { left: 136px; }
  .channel-icon { width: 90px; height: 90px; }
  .telegram-icon svg { width: 57px; height: 57px; }
  .channel-card h3 { font-size: 30px; }
  .channel-card p { font-size: 15px; }
  .max-icon:before { width: 60px; height: 48px; left: 15px; top: 18px; }
  .max-icon:after { left: 26px; bottom: 16px; }
}
@media (max-width: 760px) {
  .brand-section { padding-top: 44px; padding-bottom: 48px; }
  .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .brand-card-logo { width: 150px; height: 150px; flex-basis: 150px; border-radius: 22px; margin-bottom: 13px; }
  .brand-card h3 { font-size: 18px; }
  .channels { padding-top: 26px; padding-bottom: 48px; }
  .channel-grid { grid-template-columns: 1fr; gap: 14px; }
  .channel-card { min-height: 165px; grid-template-columns: 82px 1fr 50px; padding: 19px; gap: 15px; border-radius: 22px; }
  .channel-card:after { left: 116px; top: 23px; bottom: 23px; }
  .channel-icon { width: 74px; height: 74px; }
  .telegram-icon svg { width: 48px; height: 48px; }
  .channel-card h3 { font-size: 26px; }
  .channel-card p { font-size: 13px; }
  .channel-arrow { width: 48px; height: 48px; font-size: 32px; }
  .max-icon:before { width: 50px; height: 40px; left: 12px; top: 15px; border-width: 4px; }
  .max-icon:after { width: 11px; height: 11px; left: 21px; bottom: 13px; border-width: 3px; }
  .max-icon span { font-size: 20px; }
}
@media (max-width: 430px) {
  .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .brand-card-logo { width: 140px; height: 140px; flex-basis: 140px; }
  .brand-card h3 { font-size: 16px; }
  .channel-card { grid-template-columns: 70px 1fr 44px; padding: 16px; gap: 12px; }
  .channel-card:after { left: 98px; }
  .channel-icon { width: 64px; height: 64px; }
  .telegram-icon svg { width: 40px; height: 40px; }
  .channel-card h3 { font-size: 22px; }
  .channel-card p { font-size: 11px; }
  .channel-arrow { width: 42px; height: 42px; font-size: 28px; }
}