/* =========================================================
   SVET PÁSOK – GLOBÁLNA PÄTIČKA
========================================================= */

.spGlobalFooter,
.spGlobalFooter *,
.spGlobalFooter *::before,
.spGlobalFooter *::after {
  box-sizing: border-box;
}

.spGlobalFooter {
  --sp-green: #315c61;
  --sp-green-dark: #24474b;
  --sp-dark: #172326;
  --sp-text: #536063;
  --sp-muted: #7b8789;
  --sp-line: #dfe5e4;
  --sp-soft: #f3f3f1;
  --sp-soft-green: #e8efed;
  --sp-white: #ffffff;

  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--sp-dark);
  background: var(--sp-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif !important;
}

.spGlobalFooter a {
  color: inherit;
  text-decoration: none !important;
}

/* =========================================================
   CTA
========================================================= */

.spFooterCta {
  padding: clamp(82px, 9vw, 140px) clamp(20px, 5vw, 72px);
  background: var(--sp-soft);
  border-top: 1px solid var(--sp-line);
}

.spFooterCtaInner {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(45px, 6vw, 90px);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.spFooterCtaContent {
  flex: 1 1 auto;
  max-width: 940px;
}

.spFooterEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 21px;
  color: var(--sp-green);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.spFooterEyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--sp-green);
  border-radius: 10px;
}

.spFooterCta h2 {
  max-width: 940px;
  margin: 0 !important;
  color: var(--sp-dark) !important;
  font-size: clamp(44px, 5.4vw, 82px) !important;
  line-height: 0.96 !important;
  font-weight: 650 !important;
  letter-spacing: -0.063em !important;
  text-align: left !important;
  text-transform: none !important;
}

.spFooterCta p {
  max-width: 710px;
  margin: 28px 0 0 !important;
  color: var(--sp-text) !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
}

/* =========================================================
   CTA TLAČIDLÁ
========================================================= */

.spFooterCtaActions {
  display: flex !important;
  flex: 0 0 245px;
  flex-direction: column;
  gap: 11px;
  width: 245px;
}

.spFooterButton {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 55px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 680;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.spFooterButton i,
.spFooterContactLink i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.spFooterButtonPrimary {
  color: #ffffff !important;
  background: var(--sp-green);
  border-color: var(--sp-green);
}

.spFooterButtonPrimary:hover {
  color: #ffffff !important;
  background: var(--sp-green-dark);
  border-color: var(--sp-green-dark);
  transform: translateY(-2px);
}

.spFooterButtonSecondary {
  color: var(--sp-dark) !important;
  background: var(--sp-white);
  border-color: #d4dcda;
}

.spFooterButtonSecondary:hover {
  color: var(--sp-green) !important;
  border-color: var(--sp-green);
  transform: translateY(-2px);
}

.spFooterButton:hover i,
.spFooterContactLink:hover i {
  transform: translateX(4px);
}

/* =========================================================
   HLAVNÁ ČASŤ
========================================================= */

.spFooterMain {
  padding:
    clamp(70px, 7vw, 108px)
    clamp(20px, 5vw, 72px)
    clamp(54px, 6vw, 88px);
  background: var(--sp-white);
}

.spFooterMainInner {
  display: grid !important;
  grid-template-columns:
    minmax(270px, 1.5fr)
    minmax(145px, 0.8fr)
    minmax(130px, 0.72fr)
    minmax(180px, 1fr)
    minmax(190px, 1fr);
  align-items: start;
  gap: clamp(30px, 3.5vw, 58px);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

/* =========================================================
   LOGO A ZNAČKA
========================================================= */

.spFooterBrand {
  width: auto !important;
  max-width: 380px;
  margin: 0 !important;
}

.spFooterLogo {
  display: inline-flex !important;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}

.spFooterLogoSymbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  color: #ffffff;
  background: var(--sp-green);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.spFooterLogoText {
  color: var(--sp-dark);
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.spFooterBrand > p {
  max-width: 370px;
  margin: 0 !important;
  color: var(--sp-text) !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
}

/* =========================================================
   NADPISY STĹPCOV
========================================================= */

.spFooterColumn h3 {
  margin: 5px 0 24px !important;
  padding: 0 !important;
  color: var(--sp-dark) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

/* =========================================================
   NAVIGÁCIA
========================================================= */

.spFooterColumn nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.spFooterColumn nav a {
  position: relative;
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  color: var(--sp-text) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

.spFooterColumn nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--sp-green);
  transition: width 0.25s ease;
}

.spFooterColumn nav a:hover {
  color: var(--sp-green) !important;
}

.spFooterColumn nav a:hover::after {
  width: 100%;
}

/* =========================================================
   KONTAKT
========================================================= */

.spFooterContact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.spFooterContact > a:not(.spFooterContactLink) {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
  width: auto !important;
  margin: 0 0 18px !important;
  color: var(--sp-dark) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 680 !important;
  transition: color 0.2s ease;
}

.spFooterContact > a:not(.spFooterContactLink) span {
  color: var(--sp-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spFooterContact > a:not(.spFooterContactLink):hover {
  color: var(--sp-green) !important;
}

.spFooterContactLink {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 5px !important;
  color: var(--sp-green) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

/* =========================================================
   SOCIÁLNE SIETE
========================================================= */

.spFooterSocials {
  display: flex !important;
  align-items: center;
  flex-flow: row wrap;
  gap: 9px;
  margin-top: 28px;
}

.spFooterSocials a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  color: var(--sp-green);
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 50%;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.spFooterSocials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.spFooterSocials a:hover {
  color: #ffffff;
  background: var(--sp-green);
  border-color: var(--sp-green);
  transform: translateY(-3px);
}

/* =========================================================
   SPODNÁ ČASŤ
========================================================= */

.spFooterBottom {
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--sp-white);
}

.spFooterBottomInner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1480px;
  min-height: 86px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--sp-line);
}

.spFooterBottom p {
  margin: 0 !important;
  color: var(--sp-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

.spFooterLegal {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-flow: row wrap;
  gap: 14px 24px;
}

.spFooterLegal a {
  color: var(--sp-muted) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 550 !important;
  transition: color 0.2s ease;
}

.spFooterLegal a:hover {
  color: var(--sp-green) !important;
}

/* =========================================================
   MENŠÍ DESKTOP
========================================================= */

@media (max-width: 1250px) {
  .spFooterMainInner {
    grid-template-columns:
      minmax(260px, 1.4fr)
      repeat(2, minmax(160px, 0.8fr))
      minmax(200px, 1fr);
  }

  .spFooterContact {
    grid-column: 2 / -1;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {
  .spFooterCtaInner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 38px;
  }

  .spFooterCtaActions {
    width: 100%;
    max-width: 540px;
    flex: 0 0 auto;
    flex-direction: row;
  }

  .spFooterButton {
    flex: 1;
  }

  .spFooterMainInner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 55px;
  }

  .spFooterBrand {
    grid-column: 1 / -1;
    max-width: 650px;
  }

  .spFooterContact {
    grid-column: auto;
  }
}

/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 700px) {
  .spFooterCta {
    padding: 70px 20px;
  }

  .spFooterCta h2 {
    font-size: clamp(40px, 11vw, 54px) !important;
  }

  .spFooterCtaActions {
    width: 100%;
    max-width: none;
    flex-direction: column;
  }

  .spFooterButton {
    width: 100%;
  }

  .spFooterMain {
    padding: 61px 20px 47px;
  }

  .spFooterMainInner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .spFooterBrand {
    grid-column: auto;
    max-width: none;
    padding-bottom: 38px;
  }

  .spFooterColumn {
    padding: 28px 0;
    border-top: 1px solid var(--sp-line);
  }

  .spFooterColumn h3 {
    margin: 0 0 19px !important;
    font-size: 10px !important;
  }

  .spFooterColumn nav {
    gap: 13px !important;
  }

  .spFooterContact {
    padding-bottom: 0;
  }

  .spFooterBottom {
    padding: 0 20px;
  }

  .spFooterBottomInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 27px 0;
  }

  .spFooterLegal {
    justify-content: flex-start;
    gap: 13px 17px;
  }
}

/* =========================================================
   PRÍSTUPNOSŤ
========================================================= */

.spFooterButton:focus-visible,
.spFooterColumn a:focus-visible,
.spFooterSocials a:focus-visible,
.spFooterLegal a:focus-visible {
  outline: 2px solid var(--sp-green);
  outline-offset: 3px;
}

/* =========================================================
   OBMEDZENIE ANIMÁCIÍ
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .spFooterButton,
  .spFooterColumn a,
  .spFooterSocials a,
  .spFooterLegal a {
    transition: none !important;
  }
}

/* =========================================================
   SKRYTIE PÔVODNEJ SHOPTET PÄTIČKY
========================================================= */

#footer {
  display: none !important;
}