/* Footer layout is independent of the legacy UX Builder block. */
.etest-footer, .etest-footer * { box-sizing: border-box; }
.etest-footer { --etest-footer-unit: 1px; font: 400 calc(16 * var(--etest-footer-unit))/1.6 "ETEST Inter", Inter, sans-serif; color: #0e0e0e; text-align: left; }
.etest-footer__modern-signup .c-form-section { margin-block-start: 0; background: #fff; }
.etest-footer__modern-signup .c-form-section .c-form-section__container { overflow: visible; }
.etest-footer__modern-signup .c-form-section__form-container { box-shadow: 0 4px 20px rgb(0 0 0 / 10%); }
.etest-footer .etest-footer__container { width: calc(100% - 48px); max-width: var(--etest-content-max-width, 1440px); margin-inline: auto; }
.etest-footer h2, .etest-footer h3, .etest-footer p, .etest-footer ul { margin: 0; font-family: inherit; }
.etest-footer p { color: inherit; }
.etest-footer a { color: inherit; text-decoration: none; }
.etest-footer a:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.etest-footer a:focus-visible, .etest-footer input:focus-visible, .etest-footer select:focus-visible, .etest-footer textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.etest-footer .etest-footer__signup { padding: calc(64 * var(--etest-footer-unit)) 0; background: #fff; }
.etest-footer .etest-footer__signup-intro { max-width: calc(1280 * var(--etest-footer-unit)); margin: 0 auto calc(32 * var(--etest-footer-unit)); text-align: center; }
.etest-footer .etest-footer__signup-intro h2 { color: #9a1b1d; font-size: calc(32 * var(--etest-footer-unit)); font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.etest-footer .etest-footer__signup-intro p { max-width: calc(860 * var(--etest-footer-unit)); margin: calc(16 * var(--etest-footer-unit)) auto 0; font-size: calc(16 * var(--etest-footer-unit)); line-height: 1.6; }
.etest-footer .etest-footer__contact-grid { display: grid; grid-template-columns: minmax(calc(260 * var(--etest-footer-unit)),1fr) minmax(0,2fr); align-items: stretch; gap: calc(24 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__hotlines, .etest-footer .etest-footer__form { min-width: 0; padding: calc(32 * var(--etest-footer-unit)); border-radius: 16px; background: #9a1b1d; color: #fff; }
.etest-footer .etest-footer__hotlines { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(24 * var(--etest-footer-unit)); text-align: center; }
.etest-footer .etest-footer__hotlines h3 { color: #fff; font-size: calc(20 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(24 * var(--etest-footer-unit)); text-transform: uppercase; }
.etest-footer .etest-footer__hotlines h3::after { content: ""; display: block; width: calc(60 * var(--etest-footer-unit)); height: calc(1 * var(--etest-footer-unit)); margin: calc(12 * var(--etest-footer-unit)) auto 0; background: #ffffff80; }
.etest-footer .etest-footer__hotline { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__branch-name { font-size: calc(16 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(24 * var(--etest-footer-unit)); text-transform: uppercase; }
.etest-footer .etest-footer__hotline a { display: inline-flex; align-items: center; gap: calc(8 * var(--etest-footer-unit)); min-height: calc(48 * var(--etest-footer-unit)); padding: calc(4 * var(--etest-footer-unit)) calc(16 * var(--etest-footer-unit)) calc(4 * var(--etest-footer-unit)) calc(4 * var(--etest-footer-unit)); border-radius: 100px; background: #ffffff50; color: #fff; font-size: calc(22 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(28 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__hotline img { display: block; width: calc(40 * var(--etest-footer-unit)); height: calc(40 * var(--etest-footer-unit)); flex: none; }
.etest-footer .etest-footer__form { position: relative; }
.etest-footer .etest-footer__form form { margin: 0; color: #fff; }
.etest-footer .etest-footer__form .row { display: flex; flex-wrap: wrap; gap: calc(16 * var(--etest-footer-unit)); width: 100%; max-width: none; margin: 0 0 calc(16 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__form .row:last-child { margin-bottom: 0; }
.etest-footer .etest-footer__form .row > .col { flex: 1 1 0; width: auto; max-width: none; min-width: 0; padding: 0; }
.etest-footer .etest-footer__form p { margin: 0; }
.etest-footer .etest-footer__form .wpcf7-form-control-wrap { display: block; }
.etest-footer .etest-footer__form input:not([type=hidden]):not([type=submit]),
.etest-footer .etest-footer__form select,
.etest-footer .etest-footer__form textarea { display: block; width: 100%; min-width: 0; min-height: calc(48 * var(--etest-footer-unit)); height: auto; margin: 0; padding: calc(12 * var(--etest-footer-unit)) calc(20 * var(--etest-footer-unit)); border: 1px solid #ffffff70; border-radius: 100px; box-shadow: none; background: #ffffff33; color: #fff; font-family: inherit; font-size: calc(16 * var(--etest-footer-unit)); font-weight: 400; line-height: calc(24 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__form .form-flat :is(input,select,textarea):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.etest-footer .etest-footer__form input::placeholder, .etest-footer .etest-footer__form textarea::placeholder { color: #fff; opacity: 1; }
.etest-footer .etest-footer__form select { padding-right: calc(40 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__form option { color: #0e0e0e; background: #fff; }
.etest-footer .etest-footer__form textarea { min-height: calc(120 * var(--etest-footer-unit)); height: calc(120 * var(--etest-footer-unit)); resize: vertical; border-radius: 16px; }
.etest-footer .etest-footer__form input[type=submit] { min-width: calc(120 * var(--etest-footer-unit)); min-height: calc(48 * var(--etest-footer-unit)); margin: 0; padding: calc(12 * var(--etest-footer-unit)) calc(24 * var(--etest-footer-unit)); border: 0; border-radius: 100px; box-shadow: none; background: #fff; color: #9a1b1d; font-family: inherit; font-size: calc(16 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(24 * var(--etest-footer-unit)); cursor: pointer; }
.etest-footer .etest-footer__form .wpcf7-not-valid-tip { margin-top: calc(6 * var(--etest-footer-unit)); color: #fff1bd; font-size: calc(14 * var(--etest-footer-unit)); line-height: calc(20 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__form .wpcf7-response-output { margin: calc(16 * var(--etest-footer-unit)) 0 0; padding: calc(12 * var(--etest-footer-unit)); color: #fff; }
.etest-footer .etest-footer__form .wpcf7-spinner { position: absolute; right: calc(16 * var(--etest-footer-unit)); bottom: 16px; margin: 0; }
.etest-footer .etest-footer__body { padding: calc(56 * var(--etest-footer-unit)) 0 calc(24 * var(--etest-footer-unit)); background: #9c1619; color: #fff; }
.etest-footer .etest-footer__company { display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--etest-footer-unit)); text-align: center; }
.etest-footer .etest-footer__logo { display: block; width: calc(160 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__logo img { display: block; width: 100%; max-height: calc(160 * var(--etest-footer-unit)); height: auto; object-fit: contain; }
.etest-footer .etest-footer__company h2 { color: #fff; font-size: calc(18 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(26 * var(--etest-footer-unit)); text-transform: uppercase; }
.etest-footer .etest-footer__legal { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: calc(32 * var(--etest-footer-unit)); width: 100%; max-width: calc(1100 * var(--etest-footer-unit)); margin: calc(24 * var(--etest-footer-unit)) auto calc(48 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__legal ul { padding-left: calc(20 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__legal li { margin: 0; }
.etest-footer .etest-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.etest-footer .etest-footer__branches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: calc(24 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__branch { min-width: 0; margin: 0; padding: calc(24 * var(--etest-footer-unit)) calc(20 * var(--etest-footer-unit)); border: 1px solid #ffffff40; border-radius: 12px; background: #ffffff12; color: #fff; font-size: calc(16 * var(--etest-footer-unit)); font-style: normal; line-height: 1.6; }
.etest-footer .etest-footer__branch p { display: grid; grid-template-columns: calc(24 * var(--etest-footer-unit)) minmax(0,1fr); align-items: start; gap: calc(12 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__branch p + p { margin-top: calc(8 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__branch svg { width: calc(22 * var(--etest-footer-unit)); height: calc(24 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__branch a, .etest-footer .etest-footer__branch span { min-width: 0; overflow-wrap: anywhere; }
.etest-footer .etest-footer__map { text-decoration: underline; text-underline-offset: 3px; }
.etest-footer .etest-footer__navigation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: calc(32 * var(--etest-footer-unit)); margin-top: calc(40 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__navigation > * { min-width: 0; }
.etest-footer .etest-footer__navigation h3 { margin-bottom: calc(20 * var(--etest-footer-unit)); color: #fff; font-size: calc(16 * var(--etest-footer-unit)); font-weight: 700; line-height: calc(24 * var(--etest-footer-unit)); text-transform: uppercase; }
.etest-footer .etest-footer__navigation ul { list-style: none; padding: 0; }
.etest-footer .etest-footer__navigation li { margin: 0; }
.etest-footer .etest-footer__navigation nav li + li { margin-top: calc(8 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__navigation nav a { overflow-wrap: anywhere; }
.etest-footer .etest-footer__socials { display: flex; flex-wrap: wrap; gap: calc(16 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__socials a { display: block; width: calc(40 * var(--etest-footer-unit)); height: calc(40 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__socials img { display: block; width: calc(40 * var(--etest-footer-unit)); height: calc(40 * var(--etest-footer-unit)); object-fit: contain; }
.etest-footer .etest-footer__badges { display: flex; flex-direction: column; align-items: flex-start; gap: calc(20 * var(--etest-footer-unit)); margin-top: calc(28 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__badges a { display: inline-block; max-width: calc(170 * var(--etest-footer-unit)); }
.etest-footer .etest-footer__badges img { display: block; width: auto; max-width: calc(170 * var(--etest-footer-unit)); max-height: calc(64 * var(--etest-footer-unit)); height: auto; object-fit: contain; }
.etest-footer .etest-footer__copyright { margin-top: calc(56 * var(--etest-footer-unit)); color: #ffffffbf; font-size: calc(14 * var(--etest-footer-unit)); line-height: calc(22 * var(--etest-footer-unit)); text-align: center; }
/* Keep footer spacing, type, logos, and form controls proportional on laptops. */
@media (min-width: 1024px) and (max-width: 1440px) {
  .etest-footer { --etest-footer-unit: min(.75px, calc((100vw - 48px) / 1440)); }
}
@media (max-width: 1023px) {
  .etest-footer .etest-footer__navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .etest-footer .etest-footer__branches { gap: 16px; }
  .etest-footer .etest-footer__branch { padding: 20px 16px; font-size: 15px; }
}
@media (max-width: 767px) {
  .etest-footer .etest-footer__container { width: calc(100% - 32px); }
  .etest-footer .etest-footer__signup { padding: 48px 0; }
  .etest-footer .etest-footer__signup-intro h2 { font-size: 24px; line-height: 1.3; }
  .etest-footer .etest-footer__signup-intro p { font-size: 15px; }
  .etest-footer .etest-footer__contact-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .etest-footer .etest-footer__hotlines, .etest-footer .etest-footer__form { padding: 24px 20px; border-radius: 12px; }
  .etest-footer .etest-footer__hotline a { font-size: 20px; }
  .etest-footer .etest-footer__form .row > .col { flex-basis: 100%; }
  .etest-footer .etest-footer__form input:not([type=hidden]):not([type=submit]), .etest-footer .etest-footer__form select, .etest-footer .etest-footer__form textarea { padding-inline: 16px; font-size: 16px; }
  .etest-footer .etest-footer__body { padding-top: 40px; }
  .etest-footer .etest-footer__logo { width: 100px; }
  .etest-footer .etest-footer__company h2 { font-size: 16px; }
  .etest-footer .etest-footer__legal { grid-template-columns: minmax(0,1fr); gap: 16px; margin-bottom: 32px; font-size: 15px; }
  .etest-footer .etest-footer__branches { grid-template-columns: minmax(0,1fr); }
  .etest-footer .etest-footer__branch { padding: 20px; }
  .etest-footer .etest-footer__navigation { gap: 32px 24px; }
  .etest-footer .etest-footer__navigation h3 { margin-bottom: 16px; }
  .etest-footer .etest-footer__copyright { margin-top: 40px; font-size: 12px; }
}
@media (max-width: 599px) {
  .etest-footer .etest-footer__navigation { grid-template-columns: minmax(0,1fr); }
}



.back-to-top {
  display: none !important;
}

@keyframes tilt-shaking {
  0%,
  60%,
  100% {
    transform: rotate(0deg);
  }

  4% {
    transform: rotate(5deg);
  }

  8% {
    transform: rotate(0deg);
  }

  12% {
    transform: rotate(-5deg);
  }

  16% {
    transform: rotate(0deg);
  }
}

.c-tilt-shaking-animation-element {
  --ripple-color: var(--color-primary-300, #e4879e);
  --animation-duration: 1.5s;
  --animation-delay: 0s;
  border-radius: 9999px;
  animation-name: tilt-shaking;
  animation-duration: var(--animation-duration, 1.5s);
  animation-delay: var(--animation-delay, 0s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

:root { --etest-floating-unit: 1px; }

.c-floating-action-button__list p,
.c-floating-action-button__list li {
  margin: 0;
}

.c-floating-action-button__list {
  position: fixed;
  display: none;
  flex-direction: column;
  align-items: end;
  z-index: 100000;
  row-gap: calc(10 * var(--etest-floating-unit));
  right: calc(10 * var(--etest-floating-unit));
  top: calc(120 * var(--etest-floating-unit));

  @media (min-width: 1024px) {
    row-gap: calc(20 * var(--etest-floating-unit));
    right: calc(20 * var(--etest-floating-unit));
    top: calc(120 * var(--etest-floating-unit));
    display: flex;
  }
}

.c-floating-action-button__last-button-wrapper {
  margin-bottom: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: end;
  z-index: 100000;
  right: calc(10 * var(--etest-floating-unit));
  bottom: calc(14 * var(--etest-floating-unit));

  @media (min-width: 1024px) {
    right: calc(20 * var(--etest-floating-unit));
    bottom: calc(34 * var(--etest-floating-unit));
  }
}

.c-floating-action-button__list .c-floating-action-button__item {
  display: flex;
}

.c-floating-action-button__list .c-floating-action-button__link {
  z-index: 20;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.c-floating-action-button__list .c-floating-action-button__image-container {
  background: #FFFFFF;
  box-shadow: calc(0 * var(--etest-floating-unit)) calc(3 * var(--etest-floating-unit)) calc(8 * var(--etest-floating-unit)) rgba(0, 0, 0, 0.15);
  border-radius: calc(9999 * var(--etest-floating-unit));
  display: grid;
  place-content: center;
  width: calc(54 * var(--etest-floating-unit));
  height: calc(54 * var(--etest-floating-unit));
  padding: calc(8 * var(--etest-floating-unit));

  @media (min-width: 1024px) {
    width: calc(72 * var(--etest-floating-unit));
    height: calc(72 * var(--etest-floating-unit));
    padding: calc(8 * var(--etest-floating-unit));
  }
}

.c-floating-action-button__list .c-floating-action-button__text-container {
  border-radius: calc(10 * var(--etest-floating-unit));
  display: grid;
  place-content: center;
  background: linear-gradient(180deg, #FC2100 0%, #790D0D 100%);
  box-shadow: calc(0 * var(--etest-floating-unit)) calc(3 * var(--etest-floating-unit)) calc(8 * var(--etest-floating-unit)) rgba(0, 0, 0, 0.15);
  width: calc(80 * var(--etest-floating-unit));
  padding: calc(4 * var(--etest-floating-unit));
  margin-top: calc(-8 * var(--etest-floating-unit));
  border: calc(2 * var(--etest-floating-unit)) solid #fff;

  @media (min-width: 1024px) {
    width: calc(100 * var(--etest-floating-unit));
    padding: calc(6 * var(--etest-floating-unit));
    margin-top: calc(-14 * var(--etest-floating-unit));
    border: calc(3 * var(--etest-floating-unit)) solid #fff;
  }
}

.c-floating-action-button__list .c-floating-action-button__text {
  font-weight: 700;
  font-size: calc(14 * var(--etest-floating-unit));
  line-height: calc(17 * var(--etest-floating-unit));
  color: #fff;
  text-wrap: balance;
  text-align: center;
}

.c-floating-action-button__last-button-container {
  margin: 0;
  padding: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.c-floating-action-button__last-button-image {
  width: calc(48 * var(--etest-floating-unit));
  height: calc(48 * var(--etest-floating-unit));
  object-fit: cover;

  @media (min-width: 1024px) {
    width: calc(60 * var(--etest-floating-unit));
    height: calc(60 * var(--etest-floating-unit));
  }
}

.c-floating-action-button__last-button-text-container {
  background-color: #fff;
  border-radius: calc(8 * var(--etest-floating-unit));
  padding: calc(6 * var(--etest-floating-unit));
  box-shadow: calc(0 * var(--etest-floating-unit)) calc(1 * var(--etest-floating-unit)) calc(1 * var(--etest-floating-unit)) rgba(0, 0, 0, 0.1);
  position: relative;

  @media (min-width: 1024px) {
    padding: calc(12 * var(--etest-floating-unit));
  }
}

.c-floating-action-button__last-button-text-container::after {
  content: '';
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  right: calc(-4 * var(--etest-floating-unit));
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(4 * var(--etest-floating-unit)) calc(0 * var(--etest-floating-unit)) calc(4 * var(--etest-floating-unit)) calc(4 * var(--etest-floating-unit));
  border-color: transparent transparent transparent #ffffff;
}

.c-floating-action-button__last-button-text {
  margin: 0;
  font-weight: 400;
  text-transform: none;
  color: #0e0e0e;
  line-height: 1.5;
  font-size: calc(12 * var(--etest-floating-unit));

  @media (min-width: 1024px) {
    font-size: calc(14 * var(--etest-floating-unit));
  }
}

/* Scale fixed controls alongside the shared laptop layout. */
@media (min-width: 1024px) and (max-width: 1440px) {
  :root { --etest-floating-unit: min(.75px, calc((100vw - 48px) / 1440)); }
  .contact-button-opener.c-floating-action-button__last-button-wrapper .c-floating-action-button__last-button-container > svg {
    width: calc(66 * var(--etest-floating-unit));
    height: calc(66 * var(--etest-floating-unit));
    flex-shrink: 0;
  }
}

.c-form-modal__overlay p {
  margin-bottom: 0;
}

.c-form-modal__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: grid;
  place-content: center;
  z-index: -1;
  opacity: 0;
  user-select: none;
  pointer-events: none;
  visibility: hidden;

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s;
  }
}

#form-modal-toggle {
  appearance: none;
  height: 0;
}

#form-modal-toggle:checked + .c-form-modal__overlay {
  z-index: 10000000000;
  opacity: 1;
  user-select: all;
  pointer-events: all;
  visibility: visible;
}

.c-form-modal__box {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 420px;
}

.c-form-modal__heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 8px;
}

.c-form-modal__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #9a1b1d;
}

.c-form-modal__description {
  text-align: center;
  color: #0e0e0e;
}

.c-form-modal__form {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.c-form-modal__form-input {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.c-form-modal__input-container {
  background-color: rgb(245, 245, 245);
  padding: 10px;
  border-radius: 10px;
}

.c-form-modal__input-container input,
.c-form-modal__input-container select,
.c-form-modal__input-container textarea {
  background-color: rgb(245, 245, 245) !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  border: none !important;
  line-height: 19px !important;
  font-size: 16px !important;
  min-height: 0 !important;
  width: 100% !important;

  &:focus {
    box-shadow: none !important;
  }
}

.c-form-modal__submit-button {
  margin-inline: auto;
  width: fit-content;
  color: #fff;
  border-radius: 9999px;
  padding: 12px 24px;
  line-height: 1.5;
}

.c-form-modal__toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
