/* ===========================
   Футер (v2): темний, на всю ширину (.container-wide з header-v2.css)
   =========================== */
.ft {
  --ft-bg: #12131f;
  --ft-bg2: #1a1b2e;
  --ft-ink: #e9eaf4;
  --ft-muted: #9a9eb8;
  --ft-line: rgba(255, 255, 255, .08);
  background: var(--ft-bg);
  color: var(--ft-ink);
  margin-top: 40px;
}
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { text-decoration: none; }
.ft a:focus-visible,
.ft summary:focus-visible { outline: 3px solid #ffe066; outline-offset: 2px; border-radius: 6px; }

/* ---- 1. смуга −5% ---- */
.ft-promo { position: relative; overflow: hidden; background: linear-gradient(120deg, #667eea, #764ba2); }
.ft-promo::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.ft-promo-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}
.ft-ticket {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: #fff;
  color: #764ba2;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.ft-promo--tg { background: linear-gradient(120deg, #229ed9, #2aabee 45%, #667eea); }
.ft-promo--tg .ft-promo-in { grid-template-columns: auto 1fr auto; }
.ft-ticket--tg { color: #229ed9; font-size: 28px; transform: rotate(-6deg); }
.ft-promo-title { margin: 0; font-size: 21px; font-weight: 900; color: #fff; }
.ft-promo-sub { margin: 3px 0 0; font-size: 14px; color: rgba(255, 255, 255, .88); }
.ft-btn-white,
.ft-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.ft .ft-btn-white { background: #fff; color: #764ba2; }
.ft .ft-btn-white:hover { color: #764ba2; filter: brightness(.97); }
.ft .ft-btn-ghost { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 700; }
.ft .ft-btn-ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* ---- 2. переваги ---- */
.ft-benefits { border-bottom: 1px solid var(--ft-line); }
.ft-benefits-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.ft-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ft-bg2);
  border: 1px solid var(--ft-line);
  min-width: 0;
}
.ft-benefit i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #c7d0ff;
  background: linear-gradient(135deg, rgba(102, 126, 234, .28), rgba(118, 75, 162, .28));
}
.ft-benefit b { display: block; font-size: 14px; color: var(--ft-ink); }
.ft-benefit span { font-size: 12.5px; color: var(--ft-muted); }

/* ---- 3. основна частина ---- */
.ft-main-in {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr) 1.25fr;
  gap: 36px;
  padding-top: 38px;
  padding-bottom: 30px;
}
/* логотип без підкладки; сіра частина лого (годинник, "Time") на темному фоні губиться,
   тому трохи освітлюємо картинку */
.ft-logo { display: inline-flex; align-items: center; transition: transform .2s ease; }
.ft-logo:hover { transform: translateY(-2px); }
.ft-logo-img { display: block; height: 42px; width: auto; filter: brightness(1.8) contrast(1.05); }
.ft-brand p { margin: 12px 0 16px; max-width: 42ch; font-size: 14px; line-height: 1.6; color: var(--ft-muted); }
.ft-social { display: flex; gap: 8px; }
.ft-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: var(--ft-bg2);
  border: 1px solid var(--ft-line);
  transition: transform .2s ease, background .2s ease;
}
.ft-social a:hover { transform: translateY(-2px); background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }

.ft-col summary {
  list-style: none;
  margin: 4px 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ft-muted);
  cursor: default;
  pointer-events: none; /* на комп'ютері колонки завжди відкриті */
}
.ft-col summary::-webkit-details-marker { display: none; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.ft-col li a { color: #d4d6e6; transition: color .2s ease; }
.ft-col li a:hover { color: #fff; }
.ft .ft-hl { color: #a5b4fc; font-weight: 700; }

.ft-contact {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: 18px;
  background: var(--ft-bg2);
  border: 1px solid var(--ft-line);
}
.ft .ft-phone { font-size: 22px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.ft-hours { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ft-muted); }
.ft-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6f86; }
.ft-dot.is-open { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.ft-msgr { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-msgr a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.ft .ft-msgr-tg { background: #2aabee; }
.ft .ft-msgr-viber { background: #7360f2; }
.ft .ft-msgr a:hover { color: #fff; filter: brightness(1.08); }
.ft .ft-mail { font-size: 13.5px; color: #d4d6e6; }

/* ---- 4. популярні категорії й бренди ---- */
.ft-seo { border-top: 1px solid var(--ft-line); }
.ft-seo-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.ft-seo-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ft-muted); }
.ft-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-tags a {
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ft-bg2);
  border: 1px solid var(--ft-line);
  color: #c9cbe0;
  transition: border-color .2s ease, color .2s ease;
}
.ft-tags a:hover { border-color: rgba(165, 180, 252, .6); color: #fff; }
.ft-tags small { margin-left: 5px; color: var(--ft-muted); font-variant-numeric: tabular-nums; }
.ft-about { grid-column: 1 / -1; border-top: 1px dashed var(--ft-line); padding-top: 14px; }
.ft-about summary { cursor: pointer; font-size: 13.5px; color: var(--ft-muted); list-style: none; }
.ft-about summary::-webkit-details-marker { display: none; }
.ft-about summary::after { content: ' ▾'; }
.ft-about[open] summary::after { content: ' ▴'; }
.ft-about-title { margin: 12px 0 8px; font-size: 16px; font-weight: 700; color: var(--ft-ink); }
.ft-about p { max-width: 110ch; font-size: 13.5px; line-height: 1.6; color: var(--ft-muted); }

/* ---- 5. нижній рядок ---- */
.ft-bottom { background: #0c0d16; }
.ft-bottom-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--ft-muted);
}
.ft-copy a { color: var(--ft-muted); }
.ft-copy a:hover { color: #fff; }
.ft-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ft-pay i { font-size: 30px; color: #c9cbe0; }
.ft-pay img { height: 22px; width: auto; opacity: .8; transition: opacity .2s ease; }
.ft-pay img:hover { opacity: 1; }
.ft-ua { display: inline-flex; align-items: center; gap: 6px; }
.ft-flag { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#0057b7 50%, #ffd700 50%); }

/* ---- адаптив ---- */
@media (max-width: 1199px) {
  .ft-main-in { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .ft-contact { grid-column: 1 / -1; grid-template-columns: auto auto 1fr auto; align-items: center; }
}
@media (max-width: 991px) {
  .ft-promo-in { grid-template-columns: auto 1fr; }
  .ft-btn-white, .ft-btn-ghost { grid-column: span 1; }
  .ft-benefits-in { grid-template-columns: repeat(2, 1fr); }
  .ft-main-in { grid-template-columns: repeat(3, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
  .ft-contact { grid-template-columns: 1fr; }
  .ft-seo-in { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ft { margin-top: 24px; }
  .ft-promo-in { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .ft-ticket { width: 54px; height: 54px; font-size: 18px; }
  .ft-promo-title { font-size: 17px; }
  .ft-btn-white, .ft-btn-ghost { grid-column: 1 / -1; }
  .ft-benefits-in { gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .ft-benefit { padding: 10px; gap: 8px; }
  .ft-benefit i { width: 34px; height: 34px; font-size: 14px; }
  .ft-benefit b { font-size: 12.5px; }
  .ft-benefit span { font-size: 11.5px; }

  /* контакти вгорі, колонки — акордеон */
  .ft-main-in { grid-template-columns: 1fr; gap: 0; padding-top: 18px; padding-bottom: 18px; }
  .ft-contact { order: -1; margin-bottom: 14px; }
  .ft-brand { order: 10; margin-top: 16px; }
  .ft-brand p { display: none; }
  .ft-col { border-top: 1px solid var(--ft-line); }
  .ft-col summary {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 14px 0;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ft-ink);
  }
  .ft-col summary::after { content: '+'; color: var(--ft-muted); font-size: 18px; line-height: 1; }
  .ft-col[open] summary::after { content: '−'; }
  .ft-col ul { margin-bottom: 14px; }

  .ft-seo { display: none; }
  .ft-bottom-in { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-social a, .ft-col li a, .ft-tags a, .ft-pay img { transition: none; }
  .ft-social a:hover { transform: none; }
}
