/* ============================================================
  FOOTER.CSS – Nozomi Japan footer styles
============================================================ */

/* Site Footer */
.site-footer {
  background: var(--color-blue);
  color: var(--color-white);
  position: relative;
}

/* Footer Main */
.site-footer .footer-main {
  padding: 9rem 0 3rem;
}

.site-footer .footer-main .container {
  position: relative;
}

.site-footer .footer-img {
  position: absolute;
  right: 13%;
  top: -24.5rem;
  z-index: 1;
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 32rem 1fr 28rem;
  gap: 7rem;
}

/* Company Details */
.site-footer .footer-company {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.site-footer .footer-logo {
  width: 8.8rem;
  height: 8.8rem;
}

.site-footer .footer-logo img {
  width: 100%;
  height: 100%;
}

.site-footer .footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-footer .footer-tagline {
  font-size: 1.8rem;
  line-height: 2.4rem;
}

.site-footer .footer-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.site-footer .footer-form-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-bottom: 0.1rem solid var(--white-rgba6);
  padding-bottom: 1.5rem;
  padding-top: 1rem;
  gap: 0.8rem;
}

.site-footer .footer-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--color-white);
  font-family: "SUSE", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
}

.site-footer .footer-form input::placeholder {
  color: var(--white-rgba5);
}

.site-footer .footer-form button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  color: var(--color-white);
}

.site-footer .footer-form button:hover {
  opacity: 1;
}

.site-footer .footer-form button img {
  width: 2rem;
}

.site-footer .footer-social {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.site-footer .footer-social > p {
  font-size: 1.8rem;
  line-height: 2.3rem;
}

.site-footer .footer-social-icons ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-footer .footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  text-decoration: none;
}

.site-footer .footer-social-icons a:hover {
  filter: brightness(0) invert(1);
}

.site-footer .footer-social-icons a img {
  width: 100%;
  transition: var(--transition);
}

/* Footer Link */
.site-footer .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  padding-top: 0.4rem;
}

.site-footer .footer-links-col h4 {
  font-size: 1.8rem;
  line-height: 2.3rem;
  margin: 0 0 1.2rem;
  font-weight: 400;
}

.site-footer .footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.site-footer .footer-links-col ul li a {
  font-size: 1.6rem;
  color: var(--white-rgba2);
  white-space: nowrap;
}

.site-footer .footer-links-col ul li a:hover {
  color: var(--color-white);
}

/* Footer Contact */
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.site-footer .footer-contact-block h4 {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white-rgba3);
  margin: 0 0 1.2rem;
}

.site-footer .footer-contact-block a,
.site-footer .footer-contact-block p {
  font-size: 1.6rem;
  color: var(--color-white);
  line-height: 1.6;
}

.site-footer .footer-contact-block p span {
  display: block;
  line-height: normal;
}

.site-footer .footer-contact-block a + a {
  margin-top: 0.6rem;
}

.site-footer .footer-contact-block:first-child a {
  font-size: 2rem;
  line-height: 2.5rem;
  display: inline-block;
  width: max-content;
}

.site-footer .footer-contact-block a:hover {
  color: var(--color-blue3);
}

/* Footer Bottom Bar */
.site-footer .footer-bottom {
  border-top: 0.1rem solid var(--white-rgba4);
  padding: 3rem 0;
  font-size: 1.4rem;
  color: var(--white-rgba5);
}

.site-footer .footer-bottom .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.site-footer .footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer .footer-dev a {
  color: var(--white-rgba5);
}

.site-footer .footer-legal a {
  color: var(--white-rgba5);
}

.site-footer .footer-legal a:hover,
.site-footer .footer-dev a:hover {
  color: var(--color-white);
}

.site-footer .footer-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--white-rgba);
  display: inline-block;
  flex-shrink: 0;
}

.site-footer .footer-form input:-webkit-autofill,
.site-footer .footer-form input:-webkit-autofill:hover,
.site-footer .footer-form input:-webkit-autofill:focus,
.site-footer .footer-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px var(--color-blue) inset;
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
}


/* ============================================================
  RESPONSIVE BREAKPOINTS
============================================================ */
@media (max-width: 1300px) {
  .site-footer .footer-inner {
    gap: 4rem;
    grid-template-columns: 28rem 1fr 24rem;
  }

  .site-footer .footer-links {
    gap: 4rem;
  }

  .site-footer .footer-bottom {
    padding: 2.4rem 0;
  }
}

@media (max-width: 1024px) {
  .site-footer .footer-img {
    max-width: 34.6rem;
    top: -20rem;
  }

  .site-footer .footer-links {
    gap: 4rem;
  }

  .site-footer .footer-main {
    padding: 7rem 0 3rem;
  }

  .site-footer .footer-inner {
    gap: 2.5rem;
  }

  .site-footer .footer-links {
    gap: 2.5rem;
  }

  .site-footer .footer-company {
    gap: 3rem;
  }

  .site-footer .footer-contact-block:first-child a {
    font-size: 1.8rem;
    line-height: 2.3rem;
  }
}

@media (max-width: 991px) {
  .site-footer .footer-img {
    top: -18rem;
  }

  .site-footer .footer-main {
    padding: 5rem 0 3rem;
  }

  .site-footer .footer-logo {
    width: 5rem;
    height: 5rem;
  }

  .site-footer .footer-company {
    gap: 2rem;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .site-footer .footer-links {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    gap: 2.4rem;
  }

  .site-footer .footer-bottom {
    padding: 2rem 0;
  }

  .site-footer .footer-bottom .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .site-footer .footer-contact {
    gap: 2rem;
  }

  .site-footer .footer-contact-block h4 {
    font-size: 1.6rem;
    margin: 0 0 1rem;
  }

  .site-footer .footer-contact-block:first-child a {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }

  .site-footer .footer-links-col ul li a {
    white-space: normal;
  }

  .site-footer .footer-social-icons a {
    width: 2.4rem;
    height: 2.4rem;
  }

  .footer-contact-block {
    flex-direction: column;
    display: flex;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-img {
    right: 0;
    top: -13.3rem;
    max-width: 25rem;
  }

  .site-footer .footer-main {
    padding: 4rem 0 2.4rem;
  }

  .site-footer .footer-inner {
    gap: 3rem;
  }

  .site-footer .footer-bottom {
    padding: 1.6rem 0;
  }

  .site-footer .footer-links-col h4 {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .site-footer .footer-contact-block:first-child a {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }

  .site-footer .footer-contact-block a,
  .site-footer .footer-contact-block p,
  .site-footer .footer-contact-block p span {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .site-footer .footer-social > p {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .site-footer .footer-tagline {
    font-size: 1.6rem;
    line-height: 2rem;
  }
  .site-footer .footer-links-col ul li a {
    font-size: 1.4rem;
  }
}
