/* =====================================================
   CONTACTO VIBALCA
===================================================== */


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

.contact-hero {

  position: relative;

  width: 100%;
  height: 540px;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}


.contact-hero-image {

  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 1.2s ease;
}


.contact-hero:hover .contact-hero-image {

  transform: scale(1.025);

}


.contact-hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 32, 55, 0.72),
      rgba(8, 32, 55, 0.34),
      rgba(8, 32, 55, 0.48)
    );
}


.contact-hero-content {

  position: relative;

  z-index: 2;

  width: 90%;

  max-width: 850px;

  text-align: center;

  color: #ffffff;
}


.contact-hero-content span {

  display: block;

  margin-bottom: 16px;

  color: #70d3f5;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 4px;
}


.contact-hero-content h1 {

  margin: 0 0 15px;

  font-size: clamp(50px, 6vw, 76px);

  line-height: 1;

  letter-spacing: -2px;
}


.contact-hero-content p {

  margin: 0;

  color: rgba(255,255,255,0.9);

  font-size: 18px;

  line-height: 1.6;
}



/* =====================================================
   INTRO
===================================================== */

.contact-intro {

  padding: 100px 7% 80px;

  background:

    radial-gradient(
      circle at 12% 40%,
      rgba(8,169,232,0.07),
      transparent 28%
    ),

    #f8fafc;
}


.contact-intro-inner {

  width: 100%;

  max-width: 800px;

  margin: auto;

  text-align: center;
}


.contact-label {

  display: block;

  margin-bottom: 15px;

  color: #08a9e8;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;
}


.contact-intro h2 {

  margin: 0 0 20px;

  color: #0e2a47;

  font-size: clamp(35px, 4vw, 52px);

  line-height: 1.1;

  letter-spacing: -1.3px;
}


.contact-intro p {

  max-width: 680px;

  margin: auto;

  color: #6e7f90;

  font-size: 17px;

  line-height: 1.75;
}



/* =====================================================
   CONTACTO PRINCIPAL
===================================================== */

.contact-main {

  position: relative;

  padding: 30px 7% 120px;

  background:

    linear-gradient(
      135deg,
      #f8fafc 0%,
      #eef6fa 50%,
      #f9fbfc 100%
    );

  overflow: hidden;
}


.contact-main::before {

  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  right: -220px;
  top: 100px;

  border-radius: 50%;

  background: rgba(8,169,232,0.045);

  pointer-events: none;
}


.contact-main-container {

  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 1150px;

  margin: auto;

  display: grid;

  grid-template-columns: 0.82fr 1.18fr;

  gap: 80px;

  align-items: start;
}



/* =====================================================
   INFORMACIÓN
===================================================== */

.contact-info {

  padding-top: 15px;
}


.contact-section-label {

  display: block;

  margin-bottom: 15px;

  color: #08a9e8;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 2.5px;
}


.contact-info h2 {

  max-width: 430px;

  margin: 0 0 18px;

  color: #0e2a47;

  font-size: 40px;

  line-height: 1.1;

  letter-spacing: -1px;
}


.contact-info-intro {

  max-width: 450px;

  margin: 0 0 38px;

  color: #718293;

  font-size: 15px;

  line-height: 1.7;
}



/* =====================================================
   DATOS DE CONTACTO
===================================================== */

.contact-info-item {

  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 24px;

  text-decoration: none;

  color: inherit;
}


.contact-icon {

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #ffffff;

  color: #08a9e8;

  box-shadow:
    0 8px 25px rgba(14,42,71,0.07);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


.contact-info-item:hover .contact-icon {

  transform: translateY(-3px);

  background: #0e2a47;

  color: #ffffff;
}


.contact-info-text {

  display: flex;

  flex-direction: column;

  gap: 4px;
}


.contact-info-text small {

  color: #8a98a5;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;
}


.contact-info-text strong {

  color: #0e2a47;

  font-size: 15px;

  font-weight: 600;

  line-height: 1.4;
}


.contact-info-text em {

  color: #7c8b99;

  font-size: 13px;

  font-style: normal;
}



/* =====================================================
   HORARIOS
===================================================== */

.contact-hours {

  display: flex;

  align-items: flex-start;

  gap: 18px;

  margin-top: 35px;

  padding-top: 30px;

  border-top: 1px solid rgba(14,42,71,0.08);
}


.contact-hours-icon {

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #0e2a47;

  color: #ffffff;
}


.contact-hours small {

  display: block;

  margin-bottom: 12px;

  color: #8a98a5;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;
}


.hours-row {

  display: flex;

  justify-content: space-between;

  gap: 30px;

  min-width: 310px;

  padding: 6px 0;

  color: #697b8c;

  font-size: 13px;
}


.hours-row strong {

  color: #0e2a47;

  font-weight: 600;
}


.hours-row.closed strong {

  color: #9aa6b0;
}



/* =====================================================
   REDES
===================================================== */

.contact-social {

  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 35px;
}


.contact-social > span {

  color: #8a98a5;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;
}


.contact-social-links {

  display: flex;

  gap: 9px;
}


.contact-social-links a {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #ffffff;

  color: #0e2a47;

  text-decoration: none;

  box-shadow:
    0 7px 20px rgba(14,42,71,0.06);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


.contact-social-links a:hover {

  transform: translateY(-3px);

  background: #0e2a47;

  color: #ffffff;
}



/* =====================================================
   FORMULARIO
===================================================== */

.contact-form-wrapper {

  padding: 50px;

  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 25px 65px rgba(14,42,71,0.09);
}


.contact-form-heading {

  margin-bottom: 32px;
}


.contact-form-heading span {

  display: block;

  margin-bottom: 9px;

  color: #08a9e8;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;
}


.contact-form-heading h3 {

  margin: 0;

  color: #0e2a47;

  font-size: 29px;

  line-height: 1.2;
}


.contact-form {

  display: flex;

  flex-direction: column;

  gap: 20px;
}


.form-row {

  display: grid;

  grid-template-columns:
        repeat(2, 1fr);

  gap: 18px;
}


.form-group {

  display: flex;

  flex-direction: column;

  gap: 8px;
}


.form-group label {

  color: #0e2a47;

  font-size: 12px;

  font-weight: 600;
}


.form-group label span {

  color: #9aa6b0;

  font-weight: 400;
}


.form-group input,
.form-group select,
.form-group textarea {

  width: 100%;

  padding: 14px 16px;

  border: 1px solid #dce5eb;

  border-radius: 10px;

  outline: none;

  background: #fbfcfd;

  color: #0e2a47;

  font-family: inherit;

  font-size: 13px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.form-group textarea {

  resize: vertical;

  min-height: 140px;
}


.form-group input::placeholder,
.form-group textarea::placeholder {

  color: #a4afb8;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

  border-color: #08a9e8;

  background: #ffffff;

  box-shadow:
    0 0 0 3px rgba(8,169,232,0.08);
}



/* =====================================================
   BOTÓN
===================================================== */

.contact-submit {

  align-self: flex-start;

  display: inline-flex;

  align-items: center;

  gap: 18px;

  margin-top: 8px;

  padding: 14px 18px 14px 23px;

  border: none;

  border-radius: 30px;

  background: #0e2a47;

  color: #ffffff;

  font-family: inherit;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.contact-submit i {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: #08a9e8;

  font-size: 11px;
}


.contact-submit:hover {

  transform: translateY(-2px);

  background: #123858;
}



/* =====================================================
   UBICACIÓN
===================================================== */

.contact-location {

  padding: 105px 7% 120px;

  background: #ffffff;
}


.contact-location-heading {

  width: 100%;

  max-width: 1150px;

  margin: 0 auto 35px;
}


.contact-location-heading span {

  display: block;

  margin-bottom: 10px;

  color: #08a9e8;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2.5px;
}


.contact-location-heading h2 {

  margin: 0 0 8px;

  color: #0e2a47;

  font-size: 42px;

  line-height: 1.1;
}


.contact-location-heading p {

  margin: 0;

  color: #778796;

  font-size: 15px;
}



/* =====================================================
   MAPA
===================================================== */

.contact-map-wrapper {

  position: relative;

  width: 100%;

  max-width: 1150px;

  height: 430px;

  margin: auto;

  overflow: hidden;

  border-radius: 25px;

  box-shadow:
    0 20px 55px rgba(14,42,71,0.10);
}


.contact-map-wrapper iframe {

  width: 100%;

  height: 100%;

  border: 0;

  display: block;

  filter:
    saturate(0.82)
    contrast(0.96);
}


.contact-map-button {

  position: absolute;

  right: 22px;

  bottom: 22px;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 12px 18px;

  border-radius: 25px;

  background: #0e2a47;

  color: #ffffff;

  text-decoration: none;

  font-size: 12px;

  font-weight: 600;

  box-shadow:
    0 8px 25px rgba(14,42,71,0.2);

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.contact-map-button:hover {

  transform: translateY(-2px);

  background: #08a9e8;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

  .contact-main-container {

    grid-template-columns: 1fr;

    gap: 60px;

  }


  .contact-info h2 {

    max-width: 600px;

  }


  .contact-info-intro {

    max-width: 650px;

  }

}


@media (max-width: 700px) {

  .contact-hero {

    height: 470px;

  }


  .contact-intro {

    padding: 80px 7% 60px;

  }


  .contact-main {

    padding: 20px 5% 80px;

  }


  .contact-form-wrapper {

    padding: 35px 25px;

  }


  .form-row {

    grid-template-columns: 1fr;

  }


  .hours-row {

    min-width: 0;

    flex-direction: column;

    gap: 2px;

  }


  .contact-location {

    padding: 80px 5%;

  }


  .contact-location-heading h2 {

    font-size: 34px;

  }


  .contact-map-wrapper {

    height: 360px;

  }

}


@media (max-width: 500px) {

  .contact-hero-content h1 {

    font-size: 52px;

  }


  .contact-info h2 {

    font-size: 34px;

  }


  .contact-form-heading h3 {

    font-size: 25px;

  }


  .contact-social {

    align-items: flex-start;

    flex-direction: column;

    gap: 10px;

  }

}
