/* FOOTER — Premium Dark, Professional */
.site-footer{
  --bg: #0b0f14;
  --bg2:#0f141a;
  --ink:#f2f4f7;
  --muted:rgba(255,255,255,.62);
  --stroke:rgba(255,255,255,.08);
  --accent:#FABB05;

  background:
    radial-gradient(900px 400px at 15% 0%, rgba(250,187,5,.08), transparent 60%),
    linear-gradient(180deg,var(--bg2) 0%, var(--bg) 100%);
  color: var(--ink);
  padding: 64px 0 28px;
  border-top: 1px solid var(--stroke);
}

.site-footer .container{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px,3vw,28px);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-logo{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 0;
}

.footer-brand__identity{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--ink);
}

.footer-brand__logo{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.26);
}

.footer-desc{
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 14px;
}

.footer-seo{
  color: rgba(255,255,255,.72);
  font-weight: 560;
  line-height: 1.55;
  font-size: 14px;
  max-width: 56ch;
  margin: 0 0 14px;
}

.footer-contact{
  font-weight: 800;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}

.footer-contact a{
  color: var(--accent);
  text-decoration:none;
}

.footer-contact a:hover{
  text-decoration:underline;
}

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.footer-title{
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 12px;
  margin-top: 0;
  letter-spacing:.02em;
}

.footer-col a{
  color: var(--muted);
  text-decoration:none;
  font-weight: 650;
  transition: color .18s ease;
}

.footer-col a:hover{
  color: var(--accent);
}

.footer-bottom{
  border-top: 1px solid var(--stroke);
  padding-top: 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 10px;
}

.footer-copy{
  color: var(--muted);
  font-weight:600;
}

.footer-powered{
  font-weight:700;
  color: rgba(255,255,255,.75);
}

.footer-powered strong{
  color:#fff;
  letter-spacing:.02em;
}

/* Responsive */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-brand__logo{
    width: 52px;
    height: 52px;
  }
  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
}

.footer-powered-link{
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: color .18s ease;
}

.footer-powered-link:hover{
  color: #FABB05;
}

/* Global floating button */
.back-to-top{
  position: fixed;
  left: clamp(12px, 2.2vw, 24px);
  bottom: clamp(14px, 2.5vw, 26px);
  z-index: 1300;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: linear-gradient(180deg, #111722, #0c1018);
  color: #f8fafc;
  box-shadow: 0 18px 44px rgba(2,6,23,.35);
  padding: 10px 13px;
  min-width: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, box-shadow .2s ease;
}
.back-to-top__icon{
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.back-to-top:hover{
  box-shadow: 0 22px 54px rgba(2,6,23,.42);
}
.back-to-top:focus-visible{
  outline: 3px solid rgba(43,196,227,.55);
  outline-offset: 2px;
}
.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 620px){
  .back-to-top{
    left: 10px;
    bottom: 12px;
    min-width: 72px;
    padding: 10px 11px;
    gap: 6px;
    font-size: 12.5px;
  }
}

/* Welcome modal */
body.welcome-open{
  overflow: hidden;
}

.welcome-modal{
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
}

.welcome-modal.is-open{
  display: block;
}

.welcome-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(5,7,12,.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.welcome-modal__panel{
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: clamp(24px, 8vh, 96px) auto 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(680px 300px at 0% 0%, rgba(250,187,5,.34), transparent 62%),
    linear-gradient(180deg, #131922 0%, #0c1118 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
  color: #f8fafc;
  padding: 20px 18px 16px;
}

.welcome-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.07);
  cursor: pointer;
  font-weight: 900;
}

.welcome-modal__close:hover{
  background: rgba(255,255,255,.14);
}

.welcome-modal__kicker{
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  font-weight: 900;
}

.welcome-modal__title{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 1000;
  color: #fff;
}

.welcome-modal__text{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
}

.welcome-modal__call{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 15px;
  color: #091018;
  font-size: clamp(22px, 3.8vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 1000;
  background:
    radial-gradient(40px 20px at 20% 0%, rgba(255,255,255,.55), transparent 72%),
    linear-gradient(90deg, #ffd44f, #ff9c2d);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.welcome-modal__check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  cursor: pointer;
  color: rgba(255,255,255,.84);
  font-weight: 700;
  font-size: 13px;
}

.welcome-modal__check input{
  width: 16px;
  height: 16px;
}

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(14px);
  width: min(980px, calc(100% - 24px));
  z-index: 1500;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.14);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(250,187,5,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.98));
  box-shadow: 0 18px 48px rgba(2,6,23,.20);
  padding: 14px 44px 14px 14px;
  display: none;
  align-items: center;
  gap: 14px;
}

.cookie-banner.is-visible{
  display: flex;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15,23,42,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: rgba(2,6,23,.86);
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner__copy{
  color: rgba(2,6,23,.84);
  font-weight: 650;
  line-height: 1.5;
  font-size: 14px;
}

.cookie-banner__copy a{
  color: #0d4a72;
  font-weight: 800;
}

.cookie-banner__accept{
  margin-left: auto;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  color: #091018;
  background: linear-gradient(90deg, #ffd44f, #ff9c2d);
  box-shadow: 0 10px 24px rgba(255,154,42,.28);
  white-space: nowrap;
}

@media (max-width: 760px){
  .welcome-modal__panel{
    margin-top: 14px;
    padding: 16px 14px 14px;
  }

  .cookie-banner{
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 40px 12px 12px;
  }

  .cookie-banner__accept{
    width: 100%;
    margin-left: 0;
  }
}
