/* =========================
   FOOTER STYLES
   ========================= */

.footer {
  background: #0a0a0a;
  color: #e5e7eb;
  padding: 60px 32px 24px;
  margin-top: auto;
  position: relative;
  font-family: 'Helvetica Rounded', "Arial Rounded MT Bold", sans-serif;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 122, 0, 0.4) 30%,
    rgba(255, 122, 0, 0.4) 70%,
    transparent 100%);
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   FOOTER COLUMNS
   ========================= */

.footer-column {
  flex: 0 0 auto;             /* take only as much as needed */
}

/* Company column = logo + name, takes all remaining space */
.footer-company {
  flex: 1 1 auto;             /* grow to fill remaining space */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-company img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-company img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.footer-company h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

/* Link columns - compact, right-aligned group */
.footer-column:not(.footer-company) {
  min-width: 160px;
  text-align: left;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff7a00;
  margin: 0 0 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a {
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-column ul li a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 6px;
  height: 1.5px;
  background: #ff7a00;
  transition: transform 0.25s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-column ul li a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* =========================
   FOOTER BOTTOM BAR
   ========================= */

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-bottom > div:first-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom > div:first-child ul li {
  font-size: 13px;
  color: #71717a;
}

.footer-bottom > div:first-child ul li a {
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom > div:first-child ul li a:hover {
  color: #ff7a00;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  overflow: hidden;
}

.footer-social a img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background: #ff7a00;
  border-color: #ff7a00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* =========================
   COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 720px;
  width: calc(100% - 48px);
  background: #0a0a0a;
  color: #e5e7eb;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9998;
  animation: cookieSlideUp 0.4s ease-out;
  
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a1a1aa;
  flex: 1;
}

.cookie-banner p a {
  color: #ff7a00;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cookie-banner p a:hover {
  color: #ffa040;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-reject {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-accept {
  background: #ff7a00;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.cookie-accept:hover {
  background: #ea6e00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.cookie-reject {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
  .footer {
    padding: 50px 24px 20px;
  }

  .footer-container {
    gap: 40px;
  }

  .footer-column:not(.footer-company) {
    min-width: 130px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    flex-wrap: wrap;
    gap: 32px;
    padding-left: 16px;     /* ← move padding to inner containers */
    padding-right: 16px;
  }

  .footer-company {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-company h3 {
    font-size: 24px;
  }

  .footer-column:not(.footer-company) {
    flex: 1 1 calc(50% - 16px);
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
    padding-left: 16px;     /* ← move padding to inner containers */
    padding-right: 16px;
  }

  .footer-bottom > div:first-child ul {
    justify-content: center;
    gap: 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    bottom: 16px;
    padding: 18px 20px;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-accept,
  .cookie-reject {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 32px 0 16px;
  }
  .footer-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer-column:not(.footer-company) {
    flex: 1 1 100%;
  }

  .footer-column h4 {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .footer-column ul li a {
    font-size: 13px;
  }

  .footer-company img {
    width: 54px;
    height: 54px;
  }

  .footer-company h3 {
    font-size: 22px;
  }

  .footer-bottom > div:first-child ul {
    flex-direction: column;
    gap: 8px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .cookie-banner {
    padding: 16px;
    border-radius: 12px;
  }

  .cookie-banner p {
    font-size: 12px;
  }

  .cookie-accept,
  .cookie-reject {
    padding: 9px 16px;
    font-size: 12px;
  }
}