:root {
  --emv-footer-bg: #071421;
  --emv-footer-bg-deep: #06111d;
  --emv-footer-blue: #0b8fe3;
  --emv-footer-text: #f7fbff;
  --emv-footer-muted: #b8c7d6;
  --emv-footer-line: rgba(176, 201, 222, 0.28);
}

#site-footer.emv-professional-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--emv-footer-bg) !important;
  color: var(--emv-footer-text);
  font-family: "Roboto", Arial, sans-serif;
}

#site-footer.emv-professional-footer *,
#site-footer.emv-professional-footer *::before,
#site-footer.emv-professional-footer *::after {
  box-sizing: border-box;
}

.emv-footer-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  padding: 56px 0 34px;
}

.emv-footer-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.92fr 0.92fr 1.14fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.emv-footer-brand,
.emv-footer-column,
.emv-footer-contact {
  min-width: 0;
  margin: 0;
}

.emv-footer-logo {
  display: inline-flex;
  align-items: center;
  width: 198px;
  max-width: 100%;
  margin: 0 0 18px;
  text-decoration: none;
}

.emv-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.emv-footer-brand p {
  max-width: 315px;
  margin: 0;
  color: var(--emv-footer-muted) !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

#site-footer.emv-professional-footer .emv-footer-column h2,
#site-footer.emv-professional-footer .emv-footer-contact h2 {
  position: relative;
  margin: 0 0 14px !important;
  padding: 0 0 13px !important;
  color: #fff !important;
  font-family: "Roboto", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-align: left;
}

.emv-footer-column h2::before,
.emv-footer-contact h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 44%;
  height: 2px;
  background: var(--emv-footer-blue);
}

.emv-footer-column h2::after,
.emv-footer-contact h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--emv-footer-line);
}

.emv-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.emv-footer-column li {
  margin: 0;
  padding: 0;
}

.emv-footer-column li + li {
  margin-top: 2px;
}

.emv-footer-column a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
  padding: 4px 0;
  color: #dce6ee !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color 0.18s ease, transform 0.18s ease;
}

.emv-footer-column a svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.emv-footer-column a:hover,
.emv-footer-column a:focus-visible {
  color: #fff !important;
  transform: translateX(3px);
}

.emv-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 38px;
  color: #f2f7fb !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none !important;
}

.emv-footer-contact-row + .emv-footer-contact-row {
  margin-top: 2px;
}

.emv-footer-contact-row svg,
.emv-footer-whatsapp svg,
.emv-footer-reassurance > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--emv-footer-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.emv-footer-contact-row:hover,
.emv-footer-contact-row:focus-visible {
  color: var(--emv-footer-blue) !important;
}

.emv-footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 2px solid var(--emv-footer-blue);
  border-radius: 8px;
  background: transparent;
  color: #19aaf2 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.emv-footer-whatsapp:hover,
.emv-footer-whatsapp:focus-visible {
  border-color: #32b8ff;
  background: rgba(11, 143, 227, 0.12);
  color: #fff !important;
}

.emv-footer-bottom {
  display: grid;
  grid-template-columns: minmax(360px, 1.45fr) minmax(235px, 0.85fr) minmax(270px, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--emv-footer-line);
}

.emv-footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: #bdcad5;
  font-size: 11.5px;
  line-height: 1.45;
}

.emv-footer-legal strong {
  color: #dce6ee;
  font-weight: 500;
}

.emv-footer-reassurance {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.emv-footer-reassurance > svg {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.emv-footer-reassurance > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.emv-footer-reassurance strong {
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.emv-footer-reassurance small {
  color: #aebecd;
  font-size: 11.5px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .emv-footer-shell {
    width: min(100% - 56px, 960px);
    padding: 48px 0 32px;
  }

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

  .emv-footer-brand p {
    max-width: 430px;
  }

  .emv-footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 24px 38px;
    margin-top: 38px;
  }

  .emv-footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .emv-footer-shell {
    width: min(100% - 36px, 540px);
    padding: 38px 0 28px;
  }

  .emv-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 31px;
  }

  .emv-footer-logo {
    width: 174px;
    margin-bottom: 16px;
  }

  .emv-footer-brand p {
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
  }

  #site-footer.emv-professional-footer .emv-footer-column h2,
  #site-footer.emv-professional-footer .emv-footer-contact h2 {
    margin-bottom: 11px !important;
    padding-bottom: 11px !important;
    font-size: 16px !important;
  }

  .emv-footer-column h2::before,
  .emv-footer-contact h2::before {
    width: 88px;
  }

  .emv-footer-column a,
  .emv-footer-contact-row {
    min-height: 44px;
    font-size: 14px;
  }

  .emv-footer-contact-row span {
    overflow-wrap: anywhere;
  }

  .emv-footer-whatsapp {
    min-height: 50px;
  }

  .emv-footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 34px;
    padding-top: 24px;
  }

  .emv-footer-legal {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .emv-footer-shell {
    width: min(100% - 28px, 540px);
  }

  .emv-footer-reassurance strong {
    font-size: 12px;
  }
}
