/* ==============================
   CONTACTO — ESTILOS ESPECÍFICOS
============================== */

/* Hero más corto en esta página */
.about-hero--short {
  height: 320px !important;
}

@media (max-width: 767px) {
  .about-hero--short { height: 240px !important; }
}

/* ---- Layout principal ---- */
.contact-section {
  padding: 0;
  background: var(--white);
}

.contact-grid {
  min-height: 700px;
}

/* ---- Panel izquierdo ---- */
.contact-info {
  background: var(--dark);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.contact-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245,200,0,0.1);
  border: 1px solid rgba(245,200,0,0.3);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.2rem;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-heading span { color: var(--yellow); }

.contact-body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* ---- WhatsApp destacado ---- */
.wa-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #25d366;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.wa-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.wa-highlight:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.wa-highlight__icon {
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
}

.wa-highlight__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.wa-highlight__eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.wa-highlight__cta {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.wa-highlight__number {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.wa-highlight__arrow {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.wa-highlight:hover .wa-highlight__arrow {
  transform: translateX(4px);
}

/* ---- Datos de contacto ---- */
.contact-data {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-data li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.contact-data__icon {
  color: var(--yellow);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ---- Redes sociales ---- */
.contact-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---- Panel derecho: formulario ---- */
.contact-form-col {
  background: var(--white);
  display: flex;
  align-items: stretch;
}

.contact-form-wrap {
  padding: 4rem 3.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--yellow);
}

/* ---- Campos ---- */
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cf-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
}

.cf-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}

.cf-input:focus {
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245,200,0,0.15);
}

.cf-input--error {
  border-color: #e53935 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1) !important;
}

.cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.cf-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ---- Botón enviar ---- */
.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--dark);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid var(--dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}

.cf-submit:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
  transform: translateY(-2px);
}

.cf-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cf-submit__icon { font-size: 1rem; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cf-spin { display: inline-block; animation: spin 0.8s linear infinite; }

/* ---- Mensaje de éxito ---- */
.cf-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.8rem;
}

.cf-success__icon {
  font-size: 3.5rem;
  color: #25d366;
}

.cf-success__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--dark);
  margin: 0;
}

.cf-success__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
  max-width: 340px;
  margin: 0;
}

.cf-success__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.cf-success__wa:hover { background: #1ebe5d; color: var(--white); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .contact-info,
  .contact-form-wrap {
    padding: 3rem 2rem;
  }
}

@media (max-width: 767px) {
  .contact-info {
    padding: 2.5rem 1.5rem;
  }

  .contact-form-wrap {
    padding: 2.5rem 1.5rem;
  }

  .contact-grid {
    min-height: auto;
  }
}

/* Enlaces de correo y teléfono */
.contact-data a { color: inherit; text-decoration: none; }
.contact-data a:hover { text-decoration: underline; }

/* Campo trampa anti-spam (oculto) */
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Mensajes de error / estado del formulario */
.cf-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid #e5484d;
  background: rgba(229, 72, 77, 0.08);
  color: #b3261e;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cf-status.is-visible { display: block; }
