/* =========================================================
   CONTACTO — ESTILOS PREMIUM
   Complementa style.css global
========================================================= */

/* ── BODY ─────────────────────────────────────────────── */
.contacto-body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #f4f7fb;
  color: #0f172a;
}

/* =========================================================
   HERO
========================================================= */
.contacto-hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #020817 0%, #081120 50%, #0f172a 100%);
  overflow: hidden;
  padding-top: 155px;
}

/* Patrón de fondo */
.contacto-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212,169,58,.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255,216,107,.10), transparent 45%);
  pointer-events: none;
}

/* Líneas decorativas */
.contacto-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,169,58,.5), transparent);
}

.contacto-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 60L60 0M-10 10L10-10M50 70L70 50" stroke="rgba(212,169,58,0.04)" stroke-width="1"/></svg>');
}

.contacto-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.contacto-tag {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(212,169,58,.12);
  border: 1px solid rgba(212,169,58,.3);
  color: #FFD86B;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contacto-hero-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 0 40px rgba(212,169,58,.25);
}

.contacto-hero-content p {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* =========================================================
   SECCIÓN PRINCIPAL
========================================================= */
.contacto-section {
  padding: 80px 20px 100px;
  max-width: 1300px;
  margin: 0 auto;
}

.contacto-wrapper {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  align-items: start;
}

/* =========================================================
   COLUMNA IZQUIERDA — INFO
========================================================= */

/* ── TARJETA WHATSAPP ─── */
.wa-card {
  background: linear-gradient(135deg, #075e40, #128c5e, #25d366);
  border-radius: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow:
    0 20px 50px rgba(37,211,102,.25),
    0 0 0 1px rgba(255,255,255,.1);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.wa-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}

.wa-icon-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(255,255,255,.15);
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.3); }
  50%       { box-shadow: 0 0 0 14px rgba(255,255,255,.0); }
}

.wa-text h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.wa-text p {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}

.wa-number {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .5px;
  margin-top: 4px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #fff;
  color: #075e40;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  transition: .35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  width: 100%;
  justify-content: center;
}

.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  background: #f0fff4;
}

.wa-btn i { font-size: 1.3rem; }

/* ── TARJETAS DE DATOS ─── */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(15,23,42,.07);
  border: 1px solid rgba(212,169,58,.12);
  transition: .3s ease;
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(15,23,42,.12);
  border-color: rgba(212,169,58,.3);
}

.info-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D4A93A, #FFD86B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #0f172a;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212,169,58,.3);
}

.info-card h4 {
  font-size: .78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.info-card a,
.info-card span {
  font-size: .92rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.info-card a:hover { color: #D4A93A; }

/* ── REDES SOCIALES ─── */
.contacto-redes {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contacto-redes > span {
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.redes-iconos {
  display: flex;
  gap: 10px;
}

.redes-iconos a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(212,169,58,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: .9rem;
  text-decoration: none;
  transition: .3s;
  box-shadow: 0 3px 10px rgba(15,23,42,.08);
}

.redes-iconos a:hover {
  background: linear-gradient(135deg, #D4A93A, #FFD86B);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* =========================================================
   COLUMNA DERECHA — FORMULARIO
========================================================= */
.contacto-form-col {
  background: #fff;
  border-radius: 32px;
  padding: 48px 44px;
  box-shadow:
    0 20px 60px rgba(15,23,42,.09),
    0 0 0 1px rgba(212,169,58,.1);
}

.form-titulo {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.form-subtitulo {
  font-size: .9rem;
  color: #64748b;
  margin-bottom: 36px;
}

/* ── FILAS ─── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-full { margin-bottom: 20px; }

/* ── LABELS ─── */
.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i  { color: #D4A93A; font-size: .85rem; }
.form-group label span { color: #ef4444; }

/* ── INPUTS ─── */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: .3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #D4A93A;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212,169,58,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }

.form-group select { cursor: pointer; }

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ── AVISO LEGAL ─── */
.form-aviso {
  margin-bottom: 28px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .84rem;
  color: #475569;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: #D4A93A;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label a {
  color: #D4A93A;
  text-decoration: underline;
}

/* ── BOTÓN ENVIAR ─── */
.btn-enviar {
  width: 100%;
  padding: 17px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #D4A93A, #FFD86B, #D4A93A);
  background-size: 200% auto;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: .45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    0 10px 28px rgba(212,169,58,.35),
    0 0 0 0 rgba(212,169,58,.3);
}

.btn-enviar:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(212,169,58,.45),
    0 0 0 6px rgba(212,169,58,.1);
}

.btn-enviar:active { transform: scale(0.98); }

.btn-enviar:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

/* ── ALERTAS ─── */
.alerta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  margin-bottom: 28px;
  font-size: .9rem;
}

.alerta i { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.alerta strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.alerta p, .alerta ul { margin: 0; color: inherit; opacity: .85; }
.alerta ul { padding-left: 18px; }
.alerta ul li { margin-bottom: 3px; }

.alerta-ok {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
}
.alerta-ok i { color: #22c55e; }

.alerta-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}
.alerta-error i { color: #ef4444; }

/* =========================================================
   NAV ACTIVE
========================================================= */
.nav-active {
  color: #FFD86B !important;
}
.nav-active::after {
  width: 100% !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .contacto-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contacto-hero {
    min-height: 280px;
    padding-top: 120px;
  }

  .contacto-section {
    padding: 50px 16px 70px;
  }

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

  .contacto-form-col {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .wa-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .contacto-hero-content h1 { letter-spacing: -1px; }
  .form-titulo { font-size: 22px; }
}
