/* Site footer, 2026 (views/components/footer.blade.php) */

.f26 {
  --f-ink: #0C1A1A;
  --f-ink-2: #122424;
  --f-line: rgba(255, 255, 255, .09);
  --f-text: #A9B8B6;
  --f-gold: #D89A26;
  position: relative;
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--f-ink);
  color: var(--f-text);
  font-family: var(--font-family-manrope);
  font-size: 15px;
}
.f26 a { color: inherit; text-decoration: none; transition: color .25s ease; }
.f26 a:hover { color: var(--f-gold); }
.f26 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- CTA band ---------- */
.f26-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  border: 1px solid var(--f-line); border-radius: 28px;
  background: radial-gradient(110% 160% at 0% 0%, rgba(216, 154, 38, .18) 0%, rgba(216, 154, 38, 0) 55%), var(--f-ink-2);
}
.f26-cta__title {
  margin: 0 0 8px; font-family: var(--font-family-cormorant); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; color: #fff;
}
.f26-cta__title em { font-style: italic; color: var(--f-gold); }
.f26-cta__lead { margin: 0; font-size: 16px; }
.f26-cta__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f26 .f26-cta__phone {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px 14px 14px; border-radius: 100px;
  background: var(--gradient-yellow); color: var(--f-ink); font-size: 20px; font-weight: 800; white-space: nowrap;
  transition: transform .25s ease, filter .25s ease;
}
.f26 .f26-cta__phone:hover { color: var(--f-ink); transform: translateY(-2px); filter: brightness(1.06); }
.f26-cta__phone svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--f-ink); color: var(--f-gold); stroke: none; }
.f26-messengers { display: flex; gap: 10px; }
.f26 .f26-messenger {
  display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.f26 .f26-messenger:hover { border-color: var(--f-gold); background: rgba(216, 154, 38, .12); transform: translateY(-2px); }

/* ---------- main ---------- */
.f26-main {
  display: grid; grid-template-columns: 1.35fr 1.15fr 1fr .8fr; gap: 40px clamp(28px, 4vw, 64px);
  padding: clamp(48px, 6vw, 80px) 0;
}
.f26-logo { display: inline-block; margin-bottom: 22px; }
.f26-logo img { display: block; width: 190px; height: auto; }
.f26-about { max-width: 340px; margin: 0 0 26px; line-height: 1.65; }
.f26-contacts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.f26-contacts li { display: flex; gap: 12px; align-items: flex-start; color: #DCE4E2; line-height: 1.5; }
.f26-contacts li > svg { margin-top: 2px; color: var(--f-gold); }
.f26-contacts #footer-phone-link { font-size: 18px; font-weight: 700; color: #fff; }
.f26-contacts #footer-phone-link:hover { color: var(--f-gold); }
.f26 .f26-route { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--f-gold); }
.f26 .f26-route:hover { color: #FFCD70; }
.f26-hours { display: inline-flex; align-items: center; gap: 8px; }
.f26-hours i {
  width: 8px; height: 8px; border-radius: 50%; background: #3DD68C;
  box-shadow: 0 0 0 4px rgba(61, 214, 140, .18); animation: f26Pulse 2s ease-in-out infinite;
}
@keyframes f26Pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 214, 140, .06); } }

.f26-title {
  margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--f-gold);
}
.f26-list, .f26-col .footer-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.f26-list a, .f26-col .footer-link { color: var(--f-text); line-height: 1.4; }
.f26-list a:hover, .f26-col .footer-link:hover { color: #fff; }

/* ---------- bottom bar ---------- */
.f26-bottom { border-top: 1px solid var(--f-line); }
.f26-bottom__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 24px; padding: 22px 0;
  /* room for the floating call button on the right */
  padding-right: 0;
}
.f26-copy { margin: 0; font-size: 14px; }
.f26-socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.f26-socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); color: #DCE4E2;
}
.f26-socials a:hover { border-color: var(--f-gold); }
.f26-bottom__end { display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 14px; }
.f26 .f26-dev { color: #6F8280; }
.f26-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #DCE4E2; }
.f26-top svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .f26-main { grid-template-columns: repeat(3, 1fr); }
  .f26-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .f26-brand .f26-logo { grid-column: 1; }
  .f26-brand .f26-about { grid-column: 1; }
  .f26-brand .f26-contacts { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 991px) {
  .f26-bottom__row { grid-template-columns: 1fr; justify-items: start; }
  .f26-bottom__end { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .f26-cta { flex-direction: column; align-items: stretch; }
  .f26-cta__actions { flex-direction: column; align-items: stretch; }
  .f26 .f26-cta__phone { justify-content: center; }
  .f26-messengers { justify-content: center; }
  .f26-main { grid-template-columns: 1fr 1fr; }
  .f26-brand { display: block; }
  .f26-brand .f26-contacts { margin-top: 0; }
}
@media (max-width: 575px) {
  .f26-main { grid-template-columns: 1fr; }
  /* keep the last line clear of the sticky "call / Telegram" bar */
  .f26-bottom { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .f26-hours i { animation: none; } }

/* override the old theme's footer/link styles so all columns match */
.f26 .f26-list li, .f26 .f26-col .footer-list li { margin: 0; padding: 0; }
.f26 .f26-list a, .f26 .f26-col .footer-link {
  font-family: var(--font-family-manrope); font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--f-text);
}
.f26 .f26-list a:hover, .f26 .f26-col .footer-link:hover { color: #fff; }
.f26 .f26-route { display: block; margin-top: 6px; }

/* ---------- mobile pass, 08.10 ---------- */
@media (max-width: 575px) {
  /* services full width, "quick help" and "company" side by side: a third shorter footer */
  .f26-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; }
  .f26-main > .f26-brand, .f26-main > .f26-brand + .f26-col { grid-column: 1 / -1; }
  .f26 .f26-list, .f26 .f26-col .footer-list { gap: 0; }
  .f26 .f26-list a, .f26 .f26-col .footer-link { display: inline-block; padding: 7px 0; font-size: 14.5px; }
  /* body already reserves room for the sticky call bar */
  .f26-bottom { padding-bottom: 24px; }
}
/* up to 389px (iPhone SE 375, Android 360): "конфіденційності" does not fit half the width — back to one column */
@media (max-width: 389px) {
  .f26-main { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- accessibility, 09.10 ---------- */
.f26 .f26-dev { color: #8A9C9A; }   /* was #6F8280: 4.40:1 on the footer ink */
.f26 .f26-route, .f26 .f26-dev, .f26-top, .f26-contacts a[href^="tel:"] {
  display: inline-flex; align-items: center; min-height: 44px;
}
.f26 .f26-route { margin-top: 0; }
.f26-socials a { width: 44px; height: 44px; }
.f26 .f26-list a, .f26 .f26-col .footer-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
@media (min-width: 992px) {
  /* desktop: mouse pointer, keep the columns compact */
  .f26 .f26-list a, .f26 .f26-col .footer-list a { min-height: 32px; }
}
.f26 .f26-route { display: flex; width: fit-content; }   /* own line under the address, as before */
