:root {
  --eag-orange: #ff7900;
  --eag-orange-dark: #d95f00;
  --eag-navy: #071b33;
  --eag-navy-soft: #0c2747;
  --eag-white: #ffffff;
  --eag-muted: #cbd5e1;
  --eag-border: rgba(255, 255, 255, 0.16);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #1f8fff !important;
  outline-offset: 3px !important;
}

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

.eag-footer-v2 {
  position: relative;
  width: 100%;
  color: var(--eag-white);
  background: var(--eag-navy);
  font-family: inherit;
  line-height: 1.7;
}

.eag-footer-v2__container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.eag-footer-v2__newsletter {
  background: linear-gradient(125deg, var(--eag-orange), #ff8d22);
  color: #171717;
  padding: 30px 0;
}

.eag-footer-v2__newsletter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.eag-footer-v2__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #4b2300;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eag-footer-v2__newsletter h2,
.eag-footer-v2__newsletter p,
.eag-footer-v2__main h2,
.eag-footer-v2__main p,
.eag-footer-v2__bottom p {
  margin: 0;
}

.eag-footer-v2__newsletter h2 {
  color: #141414;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.eag-footer-v2__newsletter p {
  margin-top: 7px;
  color: #3d240f;
  font-size: 15px;
}

.eag-footer-v2__newsletter-form .widget-title,
.eag-footer-v2__newsletter-form section.widget > h3,
.eag-footer-v2__newsletter-form > h2,
.eag-footer-v2__newsletter-form > h3 {
  display: none !important;
}

.eag-footer-v2__newsletter-form form,
.eag-footer-v2__newsletter-form .input-group,
.eag-footer-v2__newsletter-form .newsletter-form {
  display: flex;
  width: 100%;
  margin: 0;
}

.eag-footer-v2__newsletter-form input[type="email"],
.eag-footer-v2__newsletter-form input[type="text"] {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #161616;
  font-size: 16px;
}

.eag-footer-v2__newsletter-form button,
.eag-footer-v2__newsletter-form input[type="submit"] {
  min-height: 52px;
  min-width: 120px;
  margin-inline-start: 10px;
  padding: 0 22px;
  border: 2px solid #121f31;
  border-radius: 8px;
  background: #121f31;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.eag-footer-v2__newsletter-form button:hover,
.eag-footer-v2__newsletter-form input[type="submit"]:hover {
  border-color: #fff;
  background: #fff;
  color: #111827;
  transform: translateY(-1px);
}

.eag-footer-v2__main {
  padding: 58px 0 46px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 121, 0, 0.09), tranparent 31%),
    var(--eag-navy);
}

.eag-footer-v2__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.65fr) repeat(3, minmax(150px, 0.8fr));
  gap: 44px;
  align-items: start;
}

.eag-footer-v2__logo {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: 22px;
}

.eag-footer-v2__logo img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 230px;
  object-fit: contain;
}

.eag-footer-v2__heading {
  position: relative;
  margin: 0 0 20px !important;
  padding-bottom: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.eag-footer-v2__heading::affter {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--eag-orange);
}

.eag-footer-v2__about {
  max-width: 500px;
  color: var(--eag-muted);
  font-size: 14px;
  line-height: 1.95;
}

.eag-footer-v2__about p {
  margin: 0 0 10px;
}

.eag-footer-v2__links {
  display: grid;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.eag-footer-v2__links li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.eag-footer-v2__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-inline-start: 18px;
  color: var(--eag-muted) !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.eag-footer-v2__links a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--eag-orange);
  border-radius: 50%;
}

.eag-footer-v2__links a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.eag-footer-v2[dir="rtl"] .eag-footer-v2__links a:hover {
  transform: translateX(-3px);
}

.eag-footer-v2__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.eag-footer-v2__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--eag-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  font-size: 18px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.eag-footer-v2__social a:hover {
  border-color: var(--eag-orange);
  background: var(--eag-orange);
  transform: translateY(-2px);
}

.eag-footer-v2__x {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.eag-footer-v2__bottom {
  border-top: 1px solid var(--eag-border);
  background: #05172b;
}

.eag-footer-v2__bottom-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-block: 14px;
}

.eag-footer-v2__bottom p {
  color: #b8c4d3;
  font-size: 14px;
}

.eag-footer-v2__hotline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 15px;
  border: 1px solid var(--eag-border);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
}

.eag-footer-v2__hotline i,
.eag-footer-v2__hotline strong {
  color: var(--eag-orange);
}

.eag-footer-v2__hotline strong {
  font-size: 18px;
}

@media (max-width: 1024px) {
  .eag-footer-v2__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .eag-footer-v2__brand {
    grid-column: 1 / -1;
  }

  .eag-footer-v2__about {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .eag-footer-v2__container {
    width: min(100% - 30px, 620px);
  }

  .eag-footer-v2__newsletter {
    padding: 26px 0;
  }

  .eag-footer-v2__newsletter-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .eag-footer-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }

  .eag-footer-v2__brand,
  .eag-footer-v2__column:last-child {
    grid-column: 1 / -1;
  }

  .eag-footer-v2__main {
    padding: 44px 0 38px;
  }

  .eag-footer-v2__bottom-grid {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .eag-footer-v2__newsletter-form form,
  .eag-footer-v2__newsletter-form .input-group,
  .eag-footer-v2__newsletter-form .newsletter-form {
    display: grid;
    gap: 10px;
  }

  .eag-footer-v2__newsletter-form button,
  .eag-footer-v2__newsletter-form input[type="submit"] {
    width: 100%;
    margin-inline-start: 0;
  }

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

  .eag-footer-v2__brand,
  .eag-footer-v2__column:last-child {
    grid-column: auto;
  }

  .eag-footer-v2__logo img {
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eag-footer-v2 *,
  .eag-footer-v2 *::before,
  .eag-footer-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
