/* ============================================
   CONTACT
   ============================================ */

.contact {
  background-color: var(--main-bg-color);
}

/* ==== HERO ==== */

.contact-hero {
  position: relative;
  z-index: 2;
  background-color: var(--main-bg-color);
  padding: 20vh var(--padding-m) var(--padding-l) var(--padding-m);
  overflow: hidden;
}

.contact-hero__logo-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 120%;
  opacity: 0.2;
}

.contact-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--padding-m);
}

.contact-hero__text {
  max-width: 600px;
}

.contact-hero__email {
  display: inline-block;
  color: var(--black-color);
  font-weight: 600;
  text-decoration: underline;
  font-size: 22px;
}

.contact-hero__form {
  width: 100%;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: var(--padding-m);
}

@media (min-width: 900px) {
  .contact-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--padding-l);
  }

  .contact-hero__text {
    width: 30%;
  }

  .contact-hero__form {
    width: 50%;
  }
}

/* ==== CONTACT FORM 7 (generic styling, form built separately) ==== */

.contact-hero__form .wpcf7-form p {
  margin-bottom: 16px;
}

.contact-hero__form .wpcf7-form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(17, 25, 31, 0.2);
  border-radius: 1000px;
  font-family: inherit;
  font-size: 18px;
  background-color: transparent;
}

.contact-hero__form .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--black-color);
  background-color: white;
}

.contact-hero__form textarea.wpcf7-form-control {
  border-radius: 16px;
  min-height: 80px;
  resize: vertical;
}

#contact-form-consent-block {
  font-size: 16px;
}

#contact-form-consent-block a {
  color: var(--black-color);
}

#contact-form-send-button-block {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0;
}

.contact-hero__form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black-color);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 1000px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  width: fit-content;
}

.contact-hero__form .wpcf7-not-valid-tip {
  font-size: 16px;
  color: #c0392b;
}

.contact-hero__form .wpcf7-response-output {
  margin-top: 16px;
  border-radius: 12px;
  font-size: 16px;
}

.two-column-fields {
  display: flex;
  flex-direction: column;
}

.two-column-fields p {
  flex: 1;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .two-column-fields {
    flex-direction: row;
    gap: 16px;
  }
}

/* ==== WHERE TO BUY ==== */

.contact-where-to-buy {
  position: relative;
  z-index: 2;
  background-color: var(--main-bg-color);
  text-align: center;
  padding: var(--padding-l) var(--padding-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-where-to-buy .block-texts {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-where-to-buy .block-texts__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-where-to-buy__logos {
  margin-top: var(--padding-m);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.contact-where-to-buy__logo-link,
.contact-where-to-buy__logo {
  display: block;
}

.contact-where-to-buy__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ==== IMAGE TEXT ==== */
.image-text-block {
  position: relative;
  z-index: 2;
  background-color: var(--main-bg-color);
  padding: var(--padding-l) 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

/* ==== FLAVOURS (bottles grid reuse) ==== */
.contact > .home {
  position: relative;
  z-index: 2;
}
