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

.footer {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #1c2a4a 0%, #253555 50%, #1c2a4a 100%);
  font-family: Arial, Helvetica, sans-serif;
}

.footer-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(196, 196, 0, 0.05), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(196, 196, 0, 0.03), transparent 50%),
    radial-gradient(circle at 0% 0%, rgba(196, 196, 0, 0.02), transparent 50%);
  pointer-events: none;
}

.footer-cta {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
  border-bottom: 1px solid rgba(196, 196, 0, 0.2);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-content h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

.footer .btn-footer {
  display: inline-block;
  padding: 18px 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #c4c400, #a8a800);
  color: #1c2a4a;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.footer .btn-footer:hover {
  background: linear-gradient(135deg, #d4d200, #b8b800);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(196, 196, 0, 0.3);
}

.footer-links {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
  background: #fff;
  border-top: 1px solid rgba(28, 42, 74, 0.08);
  border-bottom: 1px solid rgba(28, 42, 74, 0.12);
}

.footer-actions {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.footer-action {
  min-height: 58px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c4c400;
  border-radius: 8px;
  background: linear-gradient(135deg, #c4c400, #a8a800);
  color: #1c2a4a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(28, 42, 74, 0.14);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-action:hover {
  border-color: #1c2a4a;
  background: #1c2a4a;
  color: #c4c400;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(28, 42, 74, 0.22);
}

.footer-action:focus-visible,
.footer-contact-button:focus-visible,
.footer-social a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.footer-action:focus-visible {
  outline-color: #1c2a4a;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 80px 5%;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}

.footer-branding,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer .footer-logo {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 24px;
}

.footer .footer-logo img {
  display: block;
  width: auto;
  height: 60px;
  filter: brightness(1.1);
}

.footer-about {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196, 196, 0, 0.2);
  border-radius: 50%;
  background: rgba(196, 196, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a:hover {
  background: rgba(196, 196, 0, 0.25);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 24px rgba(196, 196, 0, 0.15);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-legal h4,
.footer-contact h4 {
  margin: 0 0 20px;
  color: #c4c400;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-legal ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal a,
.footer-email-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal a:hover,
.footer-email-list a:hover {
  color: #c4c400;
}

.footer-legal a:hover {
  padding-left: 8px;
}

.footer-email-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-contact-button {
  align-self: flex-start;
  padding: 10px 22px;
  border: 1px solid #c4c400;
  border-radius: 6px;
  background: #c4c400;
  color: #1c2a4a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-contact-button:hover {
  background: #1c2a4a;
  color: #c4c400;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
  padding-top: 28px;
  border-top: 1px solid rgba(196, 196, 0, 0.15);
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer .btn-footer {
    width: 100%;
  }

  .footer-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-bottom-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-cta,
  .footer-links,
  .footer-bottom {
    padding: 50px 5%;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .footer-bottom-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-actions {
    grid-template-columns: 1fr;
  }
}
