/* =============================================
   OM ENERGY — CONTACT US
   ============================================= */

/* =============================================
   WRAPPER
   ============================================= */
.page-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: #aaaaaa;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  width: 100px;
  height: 80px;
  background-image: url("../assets/images/logos/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1);
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 18px;
}

.navbar__link {
  height: 10px;
  border-radius: 2px;
  color: #000000;
}

.navbar__cta {
  height: auto;
  width: auto;
  color: #ffffff;
  font-size: 12px;
  border: none;
  background-color: #404742;
  padding-left: 16px;
  padding-bottom: 8px;
  padding-right: 16px;
  padding-top: 8px;
  transition: all 0.2s ease;
}

.navbar__cta:hover {
  background-color: #ffffff;
  color: #000000;
}

/* =============================================
   HERO — CONTACT
   ============================================= */
.hero__contact {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 100px;
  padding-top: 200px;
  background-color: #aaaaaa;
}

.hero-info__left {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  gap: 48px;
}

.hero-left__top {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  width: 80%;
  font-size: 48px;
  color: #000000;
}

.hero__subtitle {
  width: 60%;
  font-size: 24px;
  color: #000000;
}

.hero-info__bottom {
  height: auto;
  width: auto;
  display: flex;
  align-items: start;
  justify-content: flex-start;
}

.Headquarters__container {
  height: auto;
  width: auto;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.Headquarters__title {
  font-size: 24px;
  color: #000000;
}

.Headquarters__content {
  font-size: 16px;
  color: #000000;
}

.hero-info__right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  gap: 48px;
}

.hero-contact__title {
  width: 60%;
  font-size: 24px;
  color: #000000;
}

.hero-contact__form {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 48px;
}

.form-row__top {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.form-row__middle {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.form-row__bottom {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.form__input {
  height: 30px;
  width: 100%;
  background-color: transparent;
  padding-bottom: 8px;
  border: none;
  border-bottom: 1px solid #000000;
  font: inherit;
}

textarea.form__input {
  font: inherit;
  resize: none;
}

.submit__input {
  height: auto;
  width: auto;
  color: #ffffff;
  font-size: 16px;
  border: none;
  background-color: #000000;
  padding-left: 16px;
  padding-bottom: 8px;
  padding-right: 16px;
  padding-top: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.submit__input:hover {
  background-color: #ffffff;
  color: #000000;
}

.map {
  width: 100%;
  height: 450px;
  border: 0;
}

/* =============================================
   FOOTER SPLIT
   ============================================= */
.footer-split {
  height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-split__left {
  height: 100%;
  width: auto;
  background-color: #404742;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.footer-split__right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  position: relative;
  background-image: url("../assets/images/footer/footer-image.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 24px;
  padding-left: 40px;
}

.footer__info {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.footer-split__cta-title {
  font-size: 48px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 6px;
}

.footer__title {
  font-size: 48px;
  color: #fffefe;
}

.footer__desc {
  font-size: 24px;
  line-height: 29px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer__nav {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__contact {
  margin-bottom: 20px;
}

.footer__contact-label {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer__contact-email {
  font-size: 14px;
  color: #ffffff;
  list-style: none;
  margin-bottom: 8px;
}

.footer__contact-note {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
}

/* =============================================
   FOOTER — LEGAL LINKS
   ============================================= */
.footer__legal {
  margin-bottom: 20px;
}

.footer__legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__legal-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal-links li a:hover {
  color: #ffffff;
}

.footer__bottom {
  height: auto;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.footer__logo {
  height: 70px;
  width: auto;
}

.footer__copy {
  font-size: 10px;
  color: #ffffff;
}

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .navbar {
    height: 70px;
    padding: 12px 24px;
  }

  .navbar__logo {
    width: 80px;
    height: 60px;
  }

  .navbar__links {
    gap: 12px;
  }

  .navbar__link {
    font-size: 13px;
  }

  .hero__contact {
    flex-direction: column;
    padding: 160px 32px 80px;
    gap: 48px;
  }

  .hero__title {
    width: 75%;
    font-size: 38px;
  }

  .hero__subtitle {
    width: 75%;
    font-size: 18px;
  }

  .Headquarters__title {
    font-size: 20px;
  }

  .Headquarters__content {
    font-size: 15px;
  }

  .hero-contact__title {
    width: 80%;
    font-size: 18px;
  }

  .form-row__top,
  .form-row__middle {
    gap: 16px;
  }

  .map {
    width: 100%;
    height: 320px;
  }

  .footer-split {
    height: auto;
    flex-direction: column;
  }

  .footer-split__left {
    width: 100%;
    padding: 48px 32px 32px;
  }

  .footer-split__right {
    width: 100%;
    height: 300px;
    padding: 32px;
  }

  .footer-split__cta-title {
    font-size: 36px;
  }

  .footer__title {
    font-size: 36px;
  }

  .footer__desc {
    font-size: 18px;
  }
}

.footer__sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.footer__sitemap-links li a:hover {
  color: #ffffff;
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .navbar {
    height: 64px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .navbar__logo {
    width: 70px;
    height: 54px;
  }

  .navbar__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 20px;
    gap: 0;
    overflow-y: auto;
    z-index: 9998;
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar__link {
    display: block;
    width: 100%;
    height: auto;
    color: #ffffff;
    font-size: 16px;
    padding: 16px 0;
    text-decoration: none;
  }

  .navbar__dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 0 8px 16px;
    width: 100%;
    min-width: unset;
    display: none !important;
  }

  .navbar__dropdown--active {
    display: flex !important;
    pointer-events: all;
    transform: none !important;
  }

  .navbar__dropdown-label {
    color: #cccccc;
    font-size: 14px;
  }

  .navbar__dropdown-arrow {
    color: #cccccc;
  }

  .navbar__dropdown-row {
    padding: 10px 8px;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }

  .navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .navbar__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar__hamburger--open span:nth-child(2) {
    opacity: 0;
  }

  .navbar__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__contact {
    flex-direction: column;
    padding: 120px 20px 60px;
    gap: 48px;
  }

  .hero-info__left {
    gap: 32px;
  }

  .hero__title {
    width: 100%;
    font-size: 28px;
  }

  .hero__subtitle {
    width: 100%;
    font-size: 16px;
  }

  .Headquarters__title {
    font-size: 18px;
  }

  .Headquarters__content {
    font-size: 14px;
  }

  .hero-info__right {
    gap: 32px;
  }

  .hero-contact__title {
    width: 100%;
    font-size: 14px;
  }

  .hero-contact__form {
    gap: 32px;
  }

  .form-row__top,
  .form-row__middle {
    flex-direction: column;
    gap: 32px;
  }

  .form-row__bottom {
    gap: 0;
  }

  .form__input {
    font-size: 14px;
  }

  .submit__input {
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .map {
    width: 100%;
    height: 260px;
  }

  .footer-split {
    height: auto;
    flex-direction: column;
  }

  .footer-split__left {
    width: 100%;
    padding: 48px 20px 32px;
  }

  .footer-split__right {
    width: 100%;
    height: 250px;
    padding: 24px 20px;
  }

  .footer-split__cta-title {
    font-size: 28px;
  }

  .footer__title {
    font-size: 28px;
  }

  .footer__desc {
    font-size: 16px;
  }

  .footer__nav {
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 48px;
  }

  .footer__legal-links {
    gap: 8px;
  }
}

.success-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 3rem));
  z-index: 9999;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 2rem); /* ← ocupa todo el ancho menos márgenes */
  max-width: 480px; /* ← tope en desktop */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
  pointer-events: none;
  box-sizing: border-box;
}
