/* ════════════════════════════════════════════════
   AMASHIFT — contacto.css
   Estilos exclusivos de la página de Contacto
   ════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.ct-hero {
  position: relative;
  padding: 160px 0 88px;
  overflow: hidden;
}

.ct-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,163,255,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.ct-hero-content {
  position: relative;
  z-index: 1;
}

.ct-hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.ct-hero-subtitle {
  font-size: 1.05rem;
  color: #71717A;
  line-height: 1.8;
  max-width: 480px;
}

/* ════════════════════════════════════════════════
   LAYOUT FORMULARIO
   ════════════════════════════════════════════════ */
.ct-form-section { padding: 0 0 120px; }

.ct-form-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid #1C1C1E;
  padding-top: 72px;
}

/* ════════════════════════════════════════════════
   INFO LATERAL
   ════════════════════════════════════════════════ */
.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.ct-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3F3F46;
  margin-bottom: 6px;
  display: block;
}

.ct-info-value {
  font-size: 0.9rem;
  color: #71717A;
  line-height: 1.5;
}
.ct-info-value a {
  color: #71717A;
  transition: color var(--transition);
}
.ct-info-value a:hover { color: #F0F2F5; }

/* ════════════════════════════════════════════════
   FORMULARIO
   ════════════════════════════════════════════════ */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #52525B;
  user-select: none;
}

.ct-required { color: var(--accent); }
.ct-optional {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #3F3F46;
}

/* Input style — solo borde inferior */
.ct-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #27272A;
  border-radius: 0;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #F0F2F5;
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ct-input::placeholder { color: #3F3F46; }

.ct-input:focus {
  border-bottom-color: #00A3FF;
}

/* Quita el autofill azul de Chrome */
.ct-input:-webkit-autofill,
.ct-input:-webkit-autofill:hover,
.ct-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #0B0C0E inset;
  box-shadow: 0 0 0px 1000px #0B0C0E inset;
  -webkit-text-fill-color: #F0F2F5;
  caret-color: #F0F2F5;
  transition: background-color 5000s ease-in-out 0s;
}

.ct-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

/* Footer del formulario */
.ct-form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Botón submit — estado deshabilitado */
.ct-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Feedback */
.ct-feedback {
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 20px;
  line-height: 1.5;
}

.ct-feedback.success { color: #22c55e; }
.ct-feedback.error   { color: #ef4444; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ct-form-layout {
    grid-template-columns: 180px 1fr;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .ct-hero { padding: 130px 0 64px; }

  .ct-br { display: none; }

  .ct-form-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 52px;
  }

  .ct-info-list {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 48px;
  }

  .ct-field-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .ct-hero { padding: 110px 0 52px; }

  .ct-hero-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }

  .ct-form { gap: 32px; }

  .ct-form-footer .btn { width: 100%; justify-content: center; }
}
