/* =============================================================
   CONTACTO.CSS — eden agency · página /contacto/ (liquid glass)
   Requiere /base.css (tokens y utilidades) y /styles.css (navbar).
   ============================================================= */

.cpage {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

/* ── Hero band ── */
.cp-hero {
  padding: 8rem 5% 3rem;
  text-align: center;
  position: relative;
}
.cp-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cp-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}
.cp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.cp-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
}
.cp-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
  animation: pulse-red 1.5s infinite;
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── Form wrapper ── */
.cp-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 5% 6rem;
}

/* ── Form card — vidrio ── */
.cp-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow-glass);
}

/* ── Field group ── */
.cp-group { margin-bottom: 1.4rem; }
.cp-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.cp-input,
.cp-select,
.cp-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.cp-input:focus,
.cp-select:focus,
.cp-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.cp-input::placeholder,
.cp-textarea::placeholder { color: var(--text-faint); }

/* phone row */
.cp-phone-row { display: flex; gap: 0; }
.cp-phone-prefix {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.85rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
}
.cp-phone-row .cp-input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* two-col row */
.cp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* select styling */
.cp-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255, 255, 255, 0.04);
}
.cp-select option { background: #0b0b12; color: #fff; }

.cp-textarea { resize: vertical; min-height: 120px; }

/* ── Submit — acento con canto luminoso ── */
.cp-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s var(--ease-glass), box-shadow 0.2s, opacity 0.2s;
  margin-top: 0.5rem;
}
.cp-submit:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 30px var(--accent-glow);
}
.cp-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cp-submit .icon.spin { animation: cp-spin 0.9s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }

/* ── States ── */
.cp-success,
.cp-error {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  align-items: center;
  gap: 0.7rem;
}
.cp-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #22c55e; }
.cp-error   { background: rgba(239, 68, 68, 0.1);  border: 1px solid rgba(239, 68, 68, 0.3);  color: #ef4444; }

/* ── Trust strip ── */
.cp-trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 0;
  flex-wrap: wrap;
}
.cp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cp-trust-item .icon { color: var(--accent); font-size: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 560px) {
  .cp-form { padding: 1.5rem; }
  .cp-row-2 { grid-template-columns: 1fr; }
}
