/* =========================
   CONTACTO (React)
   Paleta: #2D54AC (azul) | #779A31 (verde) | #F7862A (naranja) | #fff
========================= */

.contact-hero{
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(45,84,172,.10), transparent 60%),
    radial-gradient(circle at 82% 34%, rgba(247,134,42,.10), transparent 62%),
    radial-gradient(circle at 55% 90%, rgba(119,154,49,.08), transparent 60%),
    #fff;
}

.contact-head{
  text-align:center;
  margin-bottom: 36px;
}

.contact-head h1{
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.6px;
  color: rgba(15,26,51,.92);
}

.contact-head p{
  margin-top: 10px;
  font-size: 16px;
  color: rgba(45,84,172,.65);
}

/* Card */
.contact-card{
  width: min(980px, 100%);
  margin: 0 auto;

  display:grid;
  grid-template-columns: 1fr 1.35fr;

  border-radius: 26px;
  overflow:hidden;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(45,84,172,.12);
  box-shadow: 0 34px 80px rgba(45,84,172,.12);
}

/* Lado info */
.contact-side{
  background: linear-gradient(135deg, rgba(45,84,172,.98), rgba(119,154,49,.88));
  color: rgba(255,255,255,.92);
  padding: 34px 34px 28px;
}

.contact-side h3{
  font-size: 18px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.96);
  letter-spacing: -.2px;
}

.contact-side p{
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-side p strong{
  color: rgba(255,255,255,.95);
  font-weight: 900;
}

.side-items{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 22px;
}

.side-item{
  display:flex;
  align-items:center;
  gap: 14px;
}

.side-ico{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;

  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
}

.side-ico i{
  font-size: 18px;
  color: rgba(255,255,255,.95);
}

.side-txt strong{
  display:block;
  font-size: 14px;
  font-weight: 900;
}

.side-txt span{
  display:block;
  font-size: 13px;
  color: rgba(255,255,255,.80);
  margin-top: 2px;
  word-break: break-word;
}

/* box horarios */
.side-box{
  margin-top: 26px;
  padding: 18px 18px;
  border-radius: 16px;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
}

.side-box-title{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 900;
}

.side-box-title i{
  opacity: .95;
}

.side-box-body p{
  margin: 6px 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}

/* Form */
.contact-form{
  padding: 34px 34px 30px;
  background: rgba(255,255,255,.92);
}

.form-row{
  margin-bottom: 18px;
}

.form-row label{
  display:block;
  font-size: 14px;
  font-weight: 900;
  color: rgba(15,26,51,.86);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea{
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;

  border: 1px solid rgba(45,84,172,.18);
  background: rgba(255,255,255,.96);
  color: rgba(15,26,51,.84);
  font-size: 14px;

  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row textarea{
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  border-color: rgba(119,154,49,.70);
  box-shadow: 0 0 0 4px rgba(119,154,49,.18);
}

/* Botón */
.send-btn{
  width: 100%;
  border: none;
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 999px;

  font-weight: 1000;
  color: #fff;

  background: linear-gradient(90deg, #2D54AC, #F7862A);
  box-shadow: 0 20px 45px rgba(45,84,172,.18);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.send-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 26px 60px rgba(45,84,172,.22);
}

.send-btn:active{
  transform: translateY(0px);
}

.form-note{
  display:block;
  margin-top: 10px;
  color: rgba(45,84,172,.60);
  font-size: 12px;
  text-align:center;
}
/* Mejora visual select */
.form-row select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #2D54AC 50%),
    linear-gradient(135deg, #2D54AC 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* Hover suave */
.form-row input:hover,
.form-row textarea:hover,
.form-row select:hover {
  border-color: rgba(45,84,172,.45);
}

/* Animación leve */
.contact-card {
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 980px){
  .contact-card{
    grid-template-columns: 1fr;
  }
  .contact-side{
    padding: 28px 22px;
  }
  .contact-form{
    padding: 28px 22px;
  }
}
