/* ============================================================
   CONTACTO PAGE — page-specific styles
   Inherits global tokens & components from styles.css
   ============================================================ */

.page-contacto {
  background: #1A1A1A;
  color: #F5F6EF;
}

.page-contacto .hero__contact.nav-active {
  text-decoration: none;
}

.hero-contact {
  width: 100%;
  padding-top: var(--header-height);
  background: #1A1A1A;
}

.contact-hero {
  width: 100%;
  min-height: 260px;
  height: clamp(250px, 30vw, 360px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(56px, 8vw, 120px);
}

.contact-hero__container {
  width: min(1200px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero__title {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(92px, 14vw, 146px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: #FFFFFF;
  text-align: center;
}

/* Info + Formulario */
.contact-body {
  width: 100%;
  padding: clamp(230px, 30vh, 290px) var(--hero-side-pad) clamp(120px, 14vw, 210px);
  background: #1A1A1A;
}

.contact-body__container {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.contact-body__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(48px, 8vw, 135px);
}

/* Info Column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: min(256px, 100%);
  flex: 0 0 min(256px, 100%);
  margin-top: -14px;
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 40px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: -14px;
  margin-bottom: -14px;
  /* Forzamos el icono a la izquierda para que su borde útil rase con el texto */
}

.contact-info__label {
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 600;
  font-size: 10px;
  line-height: 13px;
  text-transform: uppercase;
  color: #A4A4A4;
}

.contact-info__value {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.35;
  color: #FFFFFF;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: opacity 0.25s ease;
}

a.contact-info__value:hover,
a.contact-info__value:focus-visible {
  opacity: 0.68;
}

/* Form Column */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 25px;
  margin: 0;
  width: min(699.48px, 100%);
  height: auto;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.contact-form__row,
.contact-form__group,
.contact-form__group--full {
  width: 100%;
}

.contact-form__row {
  display: flex;
  flex-direction: row;
  gap: clamp(24px, 4vw, 47px);
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-form__group label {
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #A4A4A4;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-form__group input,
.contact-form__group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #A4A4A4;
  padding: 8px 0;
  color: #F5F6EF;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form__group input::placeholder {
  color: #777777;
  opacity: 1;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  border-color: var(--hero-lime);
}

.contact-form__group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form__feedback {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #F5F6EF;
}

.contact-form__feedback--success {
  color: var(--hero-lime);
}

.contact-form__feedback--error {
  color: #ff8d8d;
}

.contact-form__submit {
  all: unset;
  box-sizing: border-box;
  width: auto;
  height: 48px;
  min-width: 103px;
  max-width: 100%;
  padding: 0 24px;
  border: 1px solid #F5F6EF;
  border-radius: 999px;
  background: transparent;
  color: #F5F6EF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
  align-self: flex-start;
  flex: 0 0 auto;
}

.contact-form__submit:hover {
  background: var(--hero-lime);
  border-color: var(--hero-lime);
  color: #1A1A1A !important;
}

.contact-form__submit:focus-visible,
.contact-form__submit:active {
  background: var(--hero-lime);
  border-color: var(--hero-lime);
  color: #1A1A1A;
  outline: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .contact-hero__title {
    font-size: 92px;
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .contact-body__grid {
    gap: 60px;
  }
}

@media (max-width: 1080px) {
  .contact-hero__title {
    font-size: 80px;
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .contact-body {
    padding-bottom: 140px;
  }

  .contact-body__grid {
    flex-direction: column;
    gap: 80px;
  }

  .contact-form {
    order: 1;
  }

  .contact-info {
    order: 2;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 0;
  }

  .contact-info__item {
    flex: 1 1 220px;
    min-width: min(220px, 100%);
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-hero__title {
    font-size: 54px;
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .contact-info {
    flex-direction: column;
    gap: 24px;
  }

  .contact-info__item {
    flex: 1 1 auto;
    min-width: 0;
  }

  .contact-form__row {
    flex-direction: column;
    gap: 25px;
  }
}
