/* ---------------------------------------
   HERO INTERIOR
   --------------------------------------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-900);
}

.page-hero > .parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: none !important;
  will-change: auto;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 14, 26, 0.88) 0%, rgba(13, 43, 78, 0.75) 50%, rgba(6, 14, 26, 0.85) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
}

.page-hero-content h1 em {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  background-clip: text;
  font-style: normal;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-content p {
  max-width: 550px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.breadcrumb a {
  color: var(--gold-300);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold-200);
}

/* ---------------------------------------
   SECCIÓN DE CONTACTO
   --------------------------------------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-light {
  background: var(--off-white);
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 0.6rem;
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-heading em {
  color: var(--gold-500);
  font-style: italic;
}

/* ---------------------------------------
   FORMULARIO
   --------------------------------------- */
.contact-form-panel {
  padding: 3rem;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(6, 14, 26, 0.1);
}

.contact-form-heading {
  margin-bottom: 2rem;
}

.contact-form-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.75;
}

.formContact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.formContact .form-control {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: 0;
  background: var(--white);
  color: var(--navy-700);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.formContact textarea.form-control {
  min-height: 190px;
  padding: 12px;
  resize: vertical;
}

.formContact .form-control::placeholder {
  color: var(--gray-400);
  opacity: 1;
}

.formContact .form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(200, 147, 58, 0.12);
}

.contact-recaptcha {
  min-height: 78px;
  margin-top: 0.25rem;
}

.contact-submit {
  width: max-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold-500);
  border-radius: 0;
  background: var(--gold-500);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.contact-submit i {
  font-size: 1.25rem;
  line-height: 1;
}

.contact-submit:hover {
  transform: translateY(-2px);
  border-color: var(--gold-600);
  background: var(--gold-600);
}

/* ---------------------------------------
   DATOS DE CONTACTO
   --------------------------------------- */
.contact-data {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--navy-900);
}

.contact-data-heading {
  margin-bottom: 2rem;
}

.contact-data-heading .section-heading {
  color: var(--white);
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-phone-grid > .contact-info-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.contact-info-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s;
}

a.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 147, 58, 0.7);
  background: rgba(200, 147, 58, 0.08);
  color: var(--white);
}

.contact-info-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-400);
  font-size: 1.45rem;
}

.contact-info-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-info-label {
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-info-value {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ---------------------------------------
   MAPA
   --------------------------------------- */
.contact-map {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------
   ANIMACIONES
   --------------------------------------- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--delay, 0s) var(--ease-out) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------------------------------------
   RESPONSIVE
   --------------------------------------- */
@media (max-width: 768px) {
  .page-hero {
    min-height: 420px;
  }

  .page-hero-content {
    padding: 7rem 1.5rem 3.5rem;
  }

  .contact-form-panel,
  .contact-data {
    padding: 2rem;
  }

  .contact-form-row,
  .contact-phone-grid {
    grid-template-columns: 1fr;
  }

  .contact-phone-grid > .contact-info-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 2.2rem;
  }

  .page-hero-content p {
    font-size: 0.95rem;
  }

  .contact-form-panel,
  .contact-data {
    padding: 1.5rem;
  }

  .contact-info-card {
    min-height: 96px;
    padding: 1rem;
  }

  .contact-info-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 1.2rem;
  }

  .contact-submit {
    width: 100%;
  }

  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: left top;
  }
}
