/* =========================================================
   KICKWISE — CLEAN SAAS FOOTER / FINAL
========================================================= */

.kw-site-footer,
.kw-site-footer * {
  box-sizing: border-box;
}

.kw-site-footer {
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kw-site-footer {
  position: relative;
  width: 100%;
  margin-top: 56px;
  padding: 58px 20px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid rgba(0, 49, 114, 0.08);
  color: #003172;
  overflow: hidden;
}

.kw-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 49, 114, 0.13) 24%,
    rgba(2, 132, 199, 0.15) 54%,
    rgba(193, 255, 114, 0.20) 76%,
    transparent 100%
  );
  pointer-events: none;
}

.kw-footer-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.kw-footer-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}


/* ---------------------------------------------------------
   BRAND
--------------------------------------------------------- */

.kw-footer-brand {
  max-width: 300px;
}

.kw-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
}

.kw-footer-logo img {
  display: block;
  width: auto;
  max-width: 152px;
  height: auto;
}

.kw-footer-text {
  margin: 0 0 18px;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(0, 49, 114, 0.62);
}

.kw-footer-contact {
  display: grid;
  gap: 7px;
  margin-bottom: 20px;
}

.kw-footer-contact a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #1a5da8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kw-footer-contact a:hover {
  color: #003172;
}


/* ---------------------------------------------------------
   SOCIAL ICONS
   Brand-colored icons + CTA-like shimmer hover
--------------------------------------------------------- */

.kw-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kw-footer-socials a {
  --kw-social-color: #003172;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 31px;
  height: 31px;
  min-width: 31px;
  min-height: 31px;
  padding: 0 !important;
  border-radius: 9px;
  border: 1px solid rgba(0, 49, 114, 0.08);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 6px 18px rgba(0, 49, 114, 0.05);
  color: var(--kw-social-color) !important;
  text-decoration: none !important;
  transform: none !important;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.2s ease !important;
}

.kw-footer-socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(2, 132, 199, 0.18) 43%,
    rgba(193, 255, 114, 0.24) 52%,
    rgba(255, 255, 255, 0.46) 60%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: translateX(-145%);
  transition: transform 0.72s ease;
  pointer-events: none;
}

.kw-footer-socials a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(233, 243, 255, 0.72) 62%,
    rgba(193, 255, 114, 0.10) 100%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.kw-footer-socials a i,
.kw-footer-socials a i::before {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: var(--kw-social-color) !important;
  fill: var(--kw-social-color) !important;
  stroke: var(--kw-social-color) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.kw-footer-socials a svg {
  color: var(--kw-social-color) !important;
  stroke: var(--kw-social-color) !important;
}

.kw-footer-socials a:hover {
  color: var(--kw-social-color) !important;
  border-color: rgba(0, 49, 114, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(0, 49, 114, 0.08);
  transform: none !important;
}

.kw-footer-socials a:hover::before {
  transform: translateX(145%);
}

.kw-footer-socials a:hover::after {
  opacity: 1;
}

.kw-footer-socials a:hover i,
.kw-footer-socials a:hover i::before,
.kw-footer-socials a:hover svg {
  color: var(--kw-social-color) !important;
  stroke: var(--kw-social-color) !important;
  opacity: 1 !important;
}


.kw-footer-socials a svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 15px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.kw-footer-socials a svg path,
.kw-footer-socials a svg circle,
.kw-footer-socials a svg rect,
.kw-footer-socials a svg line,
.kw-footer-socials a svg polyline,
.kw-footer-socials a svg polygon {
  stroke: currentColor;
}

.kw-social-x {
  --kw-social-color: #000000;
}

.kw-social-instagram {
  --kw-social-color: #EE2A7B;
}

.kw-social-facebook {
  --kw-social-color: #1877F2;
}

.kw-social-youtube {
  --kw-social-color: #FF0000;
}

.kw-social-linkedin {
  --kw-social-color: #0A66C2;
}

.kw-social-whatsapp {
  --kw-social-color: #25D366;
}


/* ---------------------------------------------------------
   FOOTER LINKS
--------------------------------------------------------- */

.kw-footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 28px;
}

.kw-footer-col h3 {
  margin: 0 0 15px;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #003172;
}

.kw-footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kw-footer-col a {
  display: inline-flex;
  width: fit-content;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12.8px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(8, 36, 70, 0.60);
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.kw-footer-col a:hover {
  color: #003172;
  transform: translateX(2px);
}


/* ---------------------------------------------------------
   BOTTOM BAR
--------------------------------------------------------- */

.kw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 49, 114, 0.075);
}

.kw-footer-bottom p {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(0, 49, 114, 0.54);
}

.kw-footer-bottom p a {
  color: #1a5da8;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.kw-footer-bottom p a:hover {
  color: #003172;
}


/* ---------------------------------------------------------
   LOGIN / REGISTER CTA
   White dashboard CTA hover style
--------------------------------------------------------- */

.kw-footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.kw-footer-bottom-links a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid rgba(0, 49, 114, 0.08);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 6px 18px rgba(0, 49, 114, 0.05);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #003172;
  text-decoration: none !important;
  transform: none !important;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.2s ease !important;
}

.kw-footer-bottom-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translateX(-145%);
  transition: transform 0.72s ease;
  pointer-events: none;
}

.kw-footer-bottom-links a:hover {
  color: #003172 !important;
  border-color: rgba(0, 49, 114, 0.14);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(233, 243, 255, 0.92) 62%,
    rgba(193, 255, 114, 0.16) 100%
  );
  box-shadow: 0 10px 26px rgba(0, 49, 114, 0.08);
  transform: none !important;
}

.kw-footer-bottom-links a:hover::before {
  transform: translateX(145%);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1120px) {
  .kw-footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .kw-footer-brand {
    max-width: 520px;
  }

  .kw-footer-links {
    grid-template-columns: repeat(5, minmax(108px, 1fr));
  }
}

@media (max-width: 940px) {
  .kw-footer-links {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 30px 24px;
  }
}

@media (max-width: 680px) {
  .kw-site-footer {
    margin-top: 42px;
    padding: 44px 18px 24px;
  }

  .kw-footer-main {
    gap: 36px;
  }

  .kw-footer-logo img {
    max-width: 142px;
  }

  .kw-footer-links {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 28px 22px;
  }

  .kw-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 36px;
  }

  .kw-footer-bottom-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .kw-footer-links {
    grid-template-columns: 1fr;
  }

  .kw-footer-text {
    font-size: 12.8px;
  }

  .kw-footer-col ul {
    gap: 9px;
  }

  .kw-footer-socials a {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
}

/* KICKWISE Laravel footer logo + dark mode polish */
.kw-footer-logo {
  gap: 9px;
  color: #003172;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.kw-footer-logo img {
  width: 24px;
  max-width: 24px;
  height: 24px;
  object-fit: contain;
}

.kw-footer-socials a {
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html[data-theme="dark"] .kw-site-footer {
  background: linear-gradient(180deg, #050507 0%, #09090b 100%);
  border-top-color: rgba(255,255,255,.08);
  color: #f5f8fc;
}

html[data-theme="dark"] .kw-footer-col h3,
html[data-theme="dark"] .kw-footer-logo,
html[data-theme="dark"] .kw-footer-bottom p a,
html[data-theme="dark"] .kw-footer-contact a {
  color: #eaf1fb;
}

html[data-theme="dark"] .kw-footer-text,
html[data-theme="dark"] .kw-footer-col a,
html[data-theme="dark"] .kw-footer-bottom p {
  color: rgba(226,232,240,.62);
}

html[data-theme="dark"] .kw-footer-col a:hover,
html[data-theme="dark"] .kw-footer-contact a:hover {
  color: #ffffff;
}

html[data-theme="dark"] .kw-footer-bottom,
html[data-theme="dark"] .kw-footer-bottom-links a {
  border-color: rgba(255,255,255,.09);
}

html[data-theme="dark"] .kw-footer-bottom-links a {
  background: rgba(255,255,255,.055);
  color: #eaf1fb !important;
  box-shadow: none;
}

html[data-theme="dark"] .kw-footer-socials a {
  --kw-social-color: #e5e7eb;
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .085);
  color: var(--kw-social-color) !important;
  box-shadow: none;
}

html[data-theme="dark"] .kw-footer-socials a::before {
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, .16) 48%,
    rgba(255, 255, 255, .28) 55%,
    rgba(255, 255, 255, 0) 68%,
    transparent 100%
  );
}

html[data-theme="dark"] .kw-footer-socials a::after,
html[data-theme="dark"] .kw-footer-socials a:hover::after {
  opacity: 0 !important;
}

html[data-theme="dark"] .kw-footer-socials a:hover {
  --kw-social-color: #ffffff;
  background: rgba(255, 255, 255, .072);
  border-color: rgba(255, 255, 255, .13);
  color: var(--kw-social-color) !important;
}
