/* Premium site footer styles extracted from the production source. */

.fgf-footer {
  position: relative;
  width: 100%;
  margin-top: 64px;
  padding-top: 64px;
  background:
    linear-gradient(135deg, #0d1522 0%, #152234 46%, #1b2e44 100%);
  color: rgba(244, 247, 251, 0.92);
  overflow: hidden;
}

.fgf-footer::before,
.fgf-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fgf-footer::before {
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 107, 44, 0),
    rgba(255, 107, 44, 0.9),
    rgba(73, 194, 255, 0.8),
    rgba(255, 200, 114, 0.9),
    rgba(255, 107, 44, 0)
  );
  background-size: 220% 100%;
  animation: fgfFooterRainbow 8s linear infinite;
}

.fgf-footer::after {
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 107, 44, 0.24), transparent 58%),
    radial-gradient(circle at 38% 38%, rgba(73, 194, 255, 0.16), transparent 58%);
  filter: blur(8px);
  animation: fgfFooterOrb 10s ease-in-out infinite alternate;
}

.fgf-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 24px 28px;
}

.fgf-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.fgf-footer-col {
  min-height: 100%;
  height: 100%;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.fgf-footer-col:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

.fgf-footer-col h3 {
  margin: 14px 0 12px;
  color: #fff;
  font-family: "Sora", "Oswald", system-ui, sans-serif;
  font-size: 2.3rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.fgf-footer-col p,
.fgf-footer-col li,
.fgf-footer-bottom p {
  color: rgba(244, 247, 251, 0.76);
  font-size: 1.62rem;
  line-height: 1.88;
}

.fgf-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fgf-footer-col li + li {
  margin-top: 10px;
}

.fgf-footer-col a,
.fgf-footer-bottom a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.fgf-footer-col a:hover,
.fgf-footer-bottom a:hover {
  color: #fff;
  transform: translateX(4px);
}

.fgf-footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 9px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20);
}

.fgf-footer-about {
  background:
    radial-gradient(circle at top right, rgba(73, 194, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.fgf-footer-kicker {
  margin: 0 0 10px;
  color: #ffb86a;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fgf-footer-links a {
  display: inline-block;
  line-height: 1.45;
  position: relative;
}

.fgf-footer-links a::after {
  content: "→";
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.fgf-footer-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.fgf-footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fgf-footer-bottom p {
  margin: 0;
}

.fgf-footer-bottom span {
  display: inline-block;
  margin: 0 10px;
  opacity: 0.45;
}

@keyframes fgfFooterRainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes fgfFooterOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-24px, -16px, 0) scale(1.08);
  }
}

@media (max-width: 1200px) {
  .fgf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .fgf-footer {
    margin-top: 48px;
    padding-top: 48px;
  }

  .fgf-footer-inner {
    padding: 0 12px 22px;
  }

  .fgf-footer-grid {
    grid-template-columns: 1fr;
  }

  .fgf-footer-col {
    padding: 18px;
    border-radius: 20px;
  }
}

/* Compact footer pass for the standalone theme. */
body.wp-theme-fotografovanie-theme .fgf-footer {
  margin-top: 0;
  padding-top: clamp(28px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(8, 15, 25, 0.98), rgba(5, 9, 15, 1));
}

body.wp-theme-fotografovanie-theme .fgf-footer::after {
  display: none;
}

body.wp-theme-fotografovanie-theme .fgf-footer-inner {
  max-width: 1420px;
  padding: 0 20px 18px;
}

body.wp-theme-fotografovanie-theme .fgf-footer-grid {
  gap: 16px;
  align-items: start;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col {
  min-height: 0;
  height: auto;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col:hover {
  transform: none;
}

body.wp-theme-fotografovanie-theme .fgf-footer-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col h3 {
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: 0;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col p,
body.wp-theme-fotografovanie-theme .fgf-footer-col li,
body.wp-theme-fotografovanie-theme .fgf-footer-bottom p {
  font-size: 14px;
  line-height: 1.58;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col p {
  margin: 0 0 12px;
}

body.wp-theme-fotografovanie-theme .fgf-footer-col li + li {
  margin-top: 7px;
}

body.wp-theme-fotografovanie-theme .fgf-footer-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
}

body.wp-theme-fotografovanie-theme .fgf-footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
}

@media (max-width: 900px) {
  body.wp-theme-fotografovanie-theme .fgf-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.wp-theme-fotografovanie-theme .fgf-footer {
    margin-top: 28px;
    padding-top: 24px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-inner {
    padding: 0 12px 16px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-about {
    display: none;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-col:nth-child(4) {
    display: none;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-col {
    padding: 12px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-logo {
    width: 46px;
    height: 46px;
    padding: 6px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-col h3 {
    margin: 0 0 8px;
    font-size: 16px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-col p,
  body.wp-theme-fotografovanie-theme .fgf-footer-col li,
  body.wp-theme-fotografovanie-theme .fgf-footer-bottom p {
    font-size: 12px;
    line-height: 1.35;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-col li + li {
    margin-top: 5px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-links a::after {
    display: none;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-bottom {
    margin-top: 10px;
    padding-top: 10px;
  }

  body.wp-theme-fotografovanie-theme .fgf-footer-bottom span,
  body.wp-theme-fotografovanie-theme .fgf-footer-bottom a {
    display: none;
  }
}