.footer-top {
  position: relative;
}

.footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/footer/decor-ft.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -2;
}

.footer-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 102, 102, 0.85) 0%,
    rgba(0, 102, 102, 0.85) 100%
  );
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: multiply;
}

.footer-top-inner {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0;
}

.working-time {
  width: 41rem;
  position: absolute;
  bottom: 0;
  left: 0;
}

.working-time-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  border-radius: 16px 16px 0 0;
  background: #faa73f;
  padding: 1.75rem 0;
}

.working-time-head .icon {
  width: 4rem;
  aspect-ratio: 1/1;
}

.working-time-body {
  background-color: #fff;
  padding: 2.4rem 4rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.working-time-row {
  display: flex;
  justify-content: space-between;
}

.working-time-row:not(:last-child) {
  margin-bottom: 1.6rem;
}

.working-time-row span {
  width: 15.3rem;
}

.working-time-row span:last-child {
  text-align: right;
}

.footer-top-item:nth-child(2) {
  display: flex;
  align-items: flex-end;
  gap: 3.2rem;
}

.footer-cta-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-cta-btn {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  border-radius: 5rem;
  border: 0.1rem solid #066;
  background: #fff;
  padding: 1.2rem 4rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #066;
  transform: translateY(-15%);
  overflow: hidden;
}

.footer-cta-btn .icon {
  width: 2.4rem;
  height: 2.4rem;
}

.footer-cta-btn span {
  position: relative;
  z-index: 2;
}

.footer-cta-btn::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  background: #faa73f;
  transition: all 0.4s ease;
  pointer-events: none;
  border-radius: 5rem;
}

.footer-cta-btn:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.footer-main {
  padding: 8.6rem 0;
  background: #e9fbfb;
  color: #000;
}

/* Register row */
.footer-register {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: inline-flex;
  width: 21.9rem;
  flex-shrink: 0;
}

.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-register-title {
  margin: 0;
  flex: 1;
  color: #000;
  font-size: 2.4rem;
  font-weight: 700;
}

.footer-form {
  height: 4.8rem;
  display: flex;
  align-items: center;
  border: 0.1rem solid #007777;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
  justify-content: space-between;
}

.footer-form .wpcf7-response-output {
  position: absolute;
}

.footer-form .wpcf7 {
  width: 100%;
}

.footer-form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 2.4rem;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.6rem;
  color: #111;
}

.footer-form input::placeholder {
  color: #999;
  font-style: italic;
  font-size: 1.6rem;
}

.footer-form button {
  width: 11rem;
  height: 100%;
  border: none;
  outline: none;
  background: #007777;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  flex-shrink: 0;
  font-size: 1.6rem;
}

.footer-form button:hover {
  background: #faa73f;
}

.footer-line {
  width: 100%;
  height: 0.2rem;
  margin: 4.4rem 0 3.8rem;
  background: #007777;
}

/* Footer columns with Flex */
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 7rem;
}

.footer-col {
  min-width: 0;
}

.footer-company {
  width: 32%;
}

.footer-menu {
  width: 34%;
}

.footer-contact {
  width: 34%;
}

.footer-title {
  margin: 0 0 2.4rem;
  color: #000;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-text {
  font-size: 1.4rem;
}

.footer-text p {
  margin: 0;
}

.footer-text p:not(:last-child) {
  margin-bottom: 1.8rem;
}

.footer-text span,
.footer-text strong {
  font-weight: 600;
}

/* Social */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.footer-social li {
  flex-shrink: 0;
}

.footer-social a {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-0.2rem);
}

.footer-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer menu */
.footer-menu-flex {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.footer-list {
  width: 50%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li:not(:last-child) {
  margin-bottom: 1.4rem;
}

.footer-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #000;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.footer-list .icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
}

.footer-list a:hover {
  color: #007777;
}

/* Contact */
.footer-contact-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-contact-list li:not(:last-child) {
  margin-bottom: 2rem;
}

.footer-contact-list .icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #007777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-list .icon img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-contact-list .content {
  flex: 1;
  min-width: 0;
}

.footer-contact-list .content span {
  display: block;
  margin-bottom: 0.3rem;
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
}

.footer-contact-list .content a,
.footer-contact-list .content p {
  margin: 0;
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
}

.footer-contact-list .content a:hover {
  color: #007777;
}

/* Responsive */

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
  .footer-logo {
    width: 18rem;
  }

  .footer-register-title {
    flex: 1;
  }

  .footer-form {
    width: 100%;
  }

  .footer-flex {
    flex-wrap: wrap;
    gap: 4rem;
  }

  .footer-company,
  .footer-menu {
    width: calc(50% - 2rem);
  }

  .footer-contact {
    width: 100%;
  }

  .footer-register-title {
    font-size: 2rem;
  }

  .footer-main {
    padding: 4.8rem 0;
  }

  .working-time {
    width: 36rem;
  }

  .working-time-head {
    font-size: 2rem;
    padding: 1.4rem 0;
  }

  .working-time-head .icon {
    width: 3rem;
  }

  .working-time-body {
    padding: 1.2rem 2.4rem;
  }

  .footer-cta-title {
    font-size: 2.8rem;
  }

  .footer-cta-btn {
    padding: 1rem 2rem;
    gap: 1.2rem;
  }

  .footer-line {
    margin: 2.4rem 0;
    height: 0.1rem;
  }

  .footer-contact {
    margin-top: 2.4rem;
  }

  .footer-form {
    height: 4rem;
  }

  .footer-title {
    font-size: 1.8rem;
    margin: 0 0 1.8rem;
  }

  .footer-list li:not(:last-child) {
    margin-bottom: 1rem;
  }

  .footer-list .icon {
    width: 2rem;
    height: 2rem;
  }

  .footer-text p:not(:last-child) {
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 992px) {
  .working-time {
    position: static;
    border-radius: 1.4rem;
    overflow: hidden;
    margin-bottom: 1.6rem;
  }

  .footer-top-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .working-time-head {
    border-radius: 0;
  }

  .footer-cta-btn br {
    display: none;
  }

  .working-time {
    width: 100%;
    max-width: 48rem;
  }

  .footer-top-item:nth-child(2) {
    justify-content: space-between;
  }

  .footer-register .col:nth-child(1) {
    width: 50%;
  }

  .footer-register .col:nth-child(2) {
    width: 50%;
  }

  .footer-register .col:nth-child(3) {
    margin-top: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-form {
    max-width: 48rem;
  }

  .footer-cta-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 4rem 0 6rem;
  }

  .footer-line {
    margin: 3rem 0;
  }

  .footer-flex {
    flex-direction: column;
    gap: 3.6rem;
  }

  .footer-menu-flex {
    flex-direction: column;
    gap: 1.4rem;
  }

  .footer-list {
    width: 100%;
  }

  .footer-title {
    margin-bottom: 1.8rem;
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .footer-company,
  .footer-menu,
  .footer-contact {
    width: 100%;
  }

  .footer-register {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-logo {
    width: 16rem;
  }

  .footer-register-title {
    width: 100%;
    font-size: 1.8rem;
  }

  .footer-form {
    width: 100%;
  }

  .footer-form {
    border-radius: 0.8rem;
  }

  .footer-form input {
    width: 100%;
    height: 4rem;
    padding: 0 1.2rem;
  }

  .footer-form button {
    width: 8rem;
    height: 4rem;
  }

  .footer-contact-list .content a,
  .footer-contact-list .content p {
    font-size: 1.4rem;
  }

  .working-time-head {
    font-size: 1.8rem;
    padding: 1rem 0;
    gap: 0.6rem;
  }

  .working-time-head .icon {
    width: 2.6rem;
  }

  .working-time-row:not(:last-child) {
    margin-bottom: 1.4rem;
  }

  .footer-cta-title {
    font-size: 2rem;
  }

  .footer-top-item:nth-child(2) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
  }

  .footer-register .col:nth-child(2),
  .footer-register .col:nth-child(3) {
    width: 100%;
  }

  .footer-register .col:nth-child(3) {
    margin-top: 0;
  }

  .footer-contact-list .content span {
    font-size: 1.6rem;
  }

  .footer-title {
    margin-bottom: 1.4rem;
  }

  .footer-col:not(:last-child) {
    margin-bottom: 2.2rem;
  }

  .footer-contact {
    margin-top: 0;
  }

  .footer-contact-list li:not(:last-child) {
    margin-bottom: 1.4rem;
  }

  .footer-top-inner {
    padding: 3.2rem 0;
  }

  .working-time {
    border-radius: 0.8rem;
  }
}
