:root {
  --gie-footer-navy: #031f46;
  --gie-footer-navy-light: #07366f;
  --gie-footer-blue: #1176dc;
  --gie-footer-green: #2ca447;
  --gie-footer-orange: #f87916;
  --gie-footer-orange-dark: #df6309;
  --gie-footer-white: #ffffff;
  --gie-footer-muted: #aebdd0;
  --gie-footer-line: rgba(255, 255, 255, 0.12);
  --gie-footer-card: rgba(255, 255, 255, 0.07);
  --gie-footer-wrap: 1440px;
}

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

.gie-footer-wrap {
  width: min(var(--gie-footer-wrap), calc(100% - 40px));
  margin-inline: auto;
}

.gie-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.gie-footer-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--gie-footer-white);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.14), transparent 25%),
    linear-gradient(110deg, var(--gie-footer-navy), var(--gie-footer-blue));
}

.gie-footer-cta::before,
.gie-footer-cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.gie-footer-cta::before {
  width: 250px;
  height: 250px;
  top: -145px;
  right: 13%;
  border: 42px solid rgba(255, 255, 255, 0.05);
}

.gie-footer-cta::after {
  width: 140px;
  height: 140px;
  left: 7%;
  bottom: -105px;
  border: 28px solid rgba(44, 164, 71, 0.2);
}

.gie-footer-cta-inner {
  position: relative;
  z-index: 1;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-block: 35px;
}

.gie-footer-cta-copy {
  max-width: 760px;
}

.gie-footer-eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  color: #90dca0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gie-footer-cta h2,
.gie-footer-section-head h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
}

.gie-footer-cta h2 {
  color: #fff;
  font-size: clamp(27px, 4vw, 43px);
  line-height: 1.12;
}

.gie-footer-cta p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.gie-footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.gie-footer-btn {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 21px;
  overflow: hidden;
  border-radius: 13px;
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.gie-footer-btn:hover {
  transform: translateY(-2px);
}

.gie-footer-btn-track {
  color: var(--gie-footer-navy);
  background: #fff;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.15);
}

.gie-footer-btn-track::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 25%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(17, 118, 220, 0.18),
    transparent
  );
  animation: gieFooterTrackShine 3s ease-in-out infinite;
}

.gie-footer-track-icon {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--gie-footer-blue);
  animation: gieFooterTrackPulse 1.8s ease-in-out infinite;
}

.gie-footer-track-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.gie-footer-btn-quote {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--gie-footer-orange),
    #ff9d3b
  );
  box-shadow: 0 14px 28px rgba(248, 121, 22, 0.28);
}

.gie-footer-btn-quote:hover {
  color: #fff;
  background: var(--gie-footer-orange-dark);
}

.gie-footer-main {
  position: relative;
  overflow: hidden;
  color: var(--gie-footer-white);
  background:
    radial-gradient(circle at 7% 4%, rgba(44, 164, 71, 0.15), transparent 23%),
    radial-gradient(circle at 94% 80%, rgba(17, 118, 220, 0.15), transparent 25%),
    var(--gie-footer-navy);
}

.gie-footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

.gie-footer-main > .gie-footer-wrap {
  position: relative;
  z-index: 1;
  padding-block: 76px 34px;
}

.gie-footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.55fr) repeat(4, minmax(150px, 0.8fr));
  gap: 42px;
}

.gie-footer-brand {
  min-width: 0;
}

.gie-footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 75px;
  padding: 7px 15px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}

.gie-footer-logo img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.gie-footer-description {
  margin: 25px 0 0;
  max-width: 490px;
  color: var(--gie-footer-muted);
  font-size: 14px;
  line-height: 1.85;
}

.gie-footer-contact-list {
  display: grid;
  gap: 11px;
  margin-top: 25px;
}

.gie-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.gie-footer-contact-icon {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: #91dda2;
  background: rgba(255, 255, 255, 0.07);
  font-size: 16px;
}

.gie-footer-contact span:last-child {
  min-width: 0;
}

.gie-footer-contact small,
.gie-footer-contact strong {
  display: block;
}

.gie-footer-contact small {
  color: #8094ad;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gie-footer-contact strong {
  margin-top: 3px;
  color: #e9f2ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

a.gie-footer-contact:hover strong {
  color: #91dda2;
}


/* Social media */
.gie-footer-social-block {
  margin-top: 25px;
}

.gie-footer-social-title {
  display: block;
  margin-bottom: 11px;
  color: #dce8f6;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gie-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.gie-social-link {
  position: relative;
  width: 41px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gie-social-link::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    transparent 55%
  );
  transition: opacity 0.2s ease;
}

.gie-social-link:hover,
.gie-social-link:focus-visible {
  color: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 13px 23px rgba(0, 0, 0, 0.2);
}

.gie-social-link:hover::after,
.gie-social-link:focus-visible::after {
  opacity: 1;
}

.gie-social-link svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.gie-social-facebook:hover,
.gie-social-facebook:focus-visible {
  background: #1877f2;
}

.gie-social-twitter:hover,
.gie-social-twitter:focus-visible {
  background: #111111;
}

.gie-social-pinterest:hover,
.gie-social-pinterest:focus-visible {
  background: #e60023;
}

.gie-social-instagram:hover,
.gie-social-instagram:focus-visible {
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 6% 10%, #fd5949 31%, #d6249f 60%, #285aeb 90%);
}

.gie-social-youtube:hover,
.gie-social-youtube:focus-visible {
  background: #ff0000;
}

.gie-footer-column h3 {
  position: relative;
  margin: 3px 0 21px;
  padding-bottom: 13px;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 850;
}

.gie-footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--gie-footer-green),
    var(--gie-footer-blue)
  );
}

.gie-footer-links {
  display: grid;
  gap: 1px;
}

.gie-footer-links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding: 7px 0 7px 15px;
  color: var(--gie-footer-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.gie-footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-right: 1.7px solid #51bd67;
  border-bottom: 1.7px solid #51bd67;
  transform: rotate(-45deg);
}

.gie-footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.gie-footer-all-link {
  margin-top: 5px;
  color: #74bdff !important;
  font-weight: 800 !important;
}

.gie-footer-branches {
  margin-top: 62px;
  padding-top: 44px;
  border-top: 1px solid var(--gie-footer-line);
}

.gie-footer-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 23px;
}

.gie-footer-section-head h2 {
  color: #fff;
  font-size: 27px;
}

.gie-footer-section-head p {
  max-width: 600px;
  margin: 0;
  color: var(--gie-footer-muted);
  font-size: 14px;
  line-height: 1.7;
}

.gie-branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gie-branch-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 13px;
  padding: 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.035)
    );
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.gie-branch-card:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(93, 197, 115, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.gie-branch-marker {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--gie-footer-green),
    #4bc167
  );
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(44, 164, 71, 0.22);
}

.gie-branch-content {
  min-width: 0;
}

.gie-branch-content strong,
.gie-branch-content small {
  display: block;
}

.gie-branch-content strong {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.gie-branch-content small {
  margin-top: 7px;
  color: var(--gie-footer-muted);
  font-size: 12px;
  line-height: 1.55;
}

.gie-branch-arrow {
  color: #6fb8fb;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.gie-branch-card:hover .gie-branch-arrow {
  transform: translateX(3px);
}

.gie-footer-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 25px;
  padding: 18px 21px;
  border: 1px solid var(--gie-footer-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.gie-footer-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #d9e6f6;
  font-size: 12px;
  text-align: center;
}

.gie-footer-trust-item span {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--gie-footer-green);
  font-size: 12px;
  font-weight: 900;
}

.gie-footer-bottom {
  color: #9fb0c6;
  background: #021832;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gie-footer-bottom-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 15px;
}

.gie-footer-bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.gie-footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.gie-footer-bottom a {
  color: #b9c9da;
  text-decoration: none;
}

.gie-footer-bottom a:hover {
  color: #fff;
}

.gie-footer-credit {
  text-align: right;
}

.gie-footer-credit a {
  color: #72d087;
  font-weight: 800;
}

@keyframes gieFooterTrackShine {
  0%, 20% {
    left: -45%;
  }
  62%, 100% {
    left: 125%;
  }
}

@keyframes gieFooterTrackPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(17, 118, 220, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(17, 118, 220, 0);
  }
}

@media (max-width: 1240px) {
  .gie-footer-grid {
    grid-template-columns: minmax(310px, 1.35fr) repeat(2, 1fr);
  }

  .gie-footer-brand {
    grid-row: span 2;
  }

  .gie-branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .gie-footer-cta-inner,
  .gie-footer-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gie-footer-cta-actions {
    width: 100%;
  }

  .gie-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gie-footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gie-footer-description {
    max-width: 760px;
  }

  .gie-footer-contact-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gie-footer-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gie-footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .gie-footer-credit {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .gie-footer-wrap {
    width: min(var(--gie-footer-wrap), calc(100% - 24px));
  }

  .gie-footer-cta-inner {
    min-height: auto;
    padding-block: 33px;
  }

  .gie-footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .gie-footer-main > .gie-footer-wrap {
    padding-block: 44px 24px;
  }

  /*
   * Phone layout:
   * - Brand/company information occupies the full first row.
   * - The four navigation sections form a compact 2 × 2 grid.
   */
  .gie-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 34px;
  }

  .gie-footer-brand {
    grid-column: 1 / -1;
  }

  .gie-footer-contact-list,
  .gie-branch-grid,
  .gie-footer-trust-row {
    grid-template-columns: 1fr;
  }

  .gie-footer-column {
    min-width: 0;
  }

  .gie-footer-column h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.3;
  }

  .gie-footer-column h3::after {
    width: 31px;
  }

  .gie-footer-links {
    gap: 0;
  }

  .gie-footer-links a {
    width: 100%;
    padding: 6px 2px 6px 13px;
    font-size: 11.5px;
    line-height: 1.38;
    overflow-wrap: anywhere;
  }

  .gie-footer-links a::before {
    top: 12px;
    width: 5px;
    height: 5px;
  }

  .gie-footer-logo img {
    width: 195px;
  }

  .gie-footer-social-block {
    margin-top: 21px;
  }

  .gie-footer-social {
    gap: 8px;
  }

  .gie-social-link {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .gie-social-link svg {
    width: 18px;
    height: 18px;
  }

  .gie-footer-description {
    font-size: 13px;
    line-height: 1.72;
  }

  .gie-footer-branches {
    margin-top: 42px;
    padding-top: 36px;
  }

  .gie-branch-card {
    min-height: auto;
  }

  .gie-footer-trust-item {
    justify-content: flex-start;
    text-align: left;
  }

  .gie-footer-bottom-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .gie-footer-grid {
    column-gap: 11px;
  }

  .gie-footer-column h3 {
    font-size: 13px;
  }

  .gie-footer-links a {
    padding-left: 11px;
    font-size: 10.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gie-footer-btn-track::after,
  .gie-footer-track-icon {
    animation: none;
  }

  .gie-footer-btn,
  .gie-footer-links a,
  .gie-branch-card,
  .gie-branch-arrow {
    transition: none;
  }
}
